[2026-09-21 00:00:04] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:04] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:04] local.INFO: IMEI packet received {"connection_id":189567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":189567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:00:10] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:10] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:00:10] local.INFO: IMEI packet received {"connection_id":189567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":189567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:00:11] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:11] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:11] local.INFO: Packet analysis {"connection_id":189567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c010"} 
[2026-09-21 00:00:11] local.INFO: Extracted packet for processing {"connection_id":189567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c010"} 
[2026-09-21 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:00:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221671680001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:00:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:00:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:00:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:00:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789928706000,"timestamp_ms":1789928706000,"timestamp_seconds":1789928706,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0108fd0"} 
[2026-09-21 00:00:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:00:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:00:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:00:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:00:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:00:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:00:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:00:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:00:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:00:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:00:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:00:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:00:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:00:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221671680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:00:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:00:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:00:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221671680001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:00:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:00:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:00:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:00:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:00:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221671680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:00:11] local.INFO: DEBUG: GPS processor result {"connection_id":189567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:00:11] local.INFO: GPS data processed {"connection_id":189567,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:00:11] local.INFO: Acknowledgment sent {"connection_id":189567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:00:42] local.INFO: TCP Data received {"connection_id":189567,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:42] local.INFO: Processing buffer {"connection_id":189567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0108fd0012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 00:00:42] local.INFO: Packet analysis {"connection_id":189567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c010"} 
[2026-09-21 00:00:42] local.INFO: Extracted packet for processing {"connection_id":189567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c010"} 
[2026-09-21 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221671680001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789928706000,"timestamp_ms":1789928706000,"timestamp_seconds":1789928706,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0108fd0"} 
[2026-09-21 00:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:00: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-09-21 00:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221671680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221671680001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221671680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":189567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:00:42] local.INFO: GPS data processed {"connection_id":189567,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:00:42] local.INFO: Acknowledgment sent {"connection_id":189567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:01:05] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:05] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:05] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:01:10] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:10] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:01:10] local.INFO: IMEI packet received {"connection_id":188120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":188120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:01:12] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:12] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:12] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:01:12] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:01:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:01:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:01:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:01:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:01:12] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:01:12] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:01:43] local.INFO: TCP Data received {"connection_id":188120,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:43] local.INFO: Processing buffer {"connection_id":188120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:01:43] local.INFO: Packet analysis {"connection_id":188120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:01:43] local.INFO: Extracted packet for processing {"connection_id":188120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:01:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":188120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:01:43] local.INFO: GPS data processed {"connection_id":188120,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:01:43] local.INFO: Acknowledgment sent {"connection_id":188120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:01:56] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 00:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:01:56] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:01:56] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 00:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:02:00] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:02:00] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 00:02:00] local.INFO: IMEI packet received {"connection_id":190901,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 00:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":190901,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:02:04] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:04] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:04] local.INFO: IMEI packet received {"connection_id":189568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":189568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:02:06] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0bf3dbf10012d7e380005d34cb80003003331..."} 
[2026-09-21 00:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0bf3dbf10012d7e380005d34cb80003003331..."} 
[2026-09-21 00:02:06] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0bf3dbf10012d7e380005d34cb80003003331..."} 
[2026-09-21 00:02:06] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0bf3d"} 
[2026-09-21 00:02:06] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0bf3d"} 
[2026-09-21 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763246592,"raw_latitude":97733816,"longitude_deg":76.3246592,"latitude_deg":9.7733816,"altitude":3,"angle":51,"satellites":49,"speed":0,"hex_longitude":"2d7e3800","hex_latitude":"05d34cb8","is_valid_coordinates":true} 
[2026-09-21 00:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458218134784001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494573568,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:06] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,24,16,45],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-09-21 00:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789914890000,"timestamp_ms":1789914890000,"timestamp_seconds":1789914890,"priority":1,"record_length":96,"hex_timestamp":"000001a0bf3dbf10"} 
[2026-09-21 00:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11520,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:02:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-09-21 00:02:06] 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-09-21 00:02:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 00:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 00:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 00:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 00:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458218134784001,"66":2231,"24":0,"16":135586439587954688,"45":9095019472494573568},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,16,45]} 
[2026-09-21 00:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 00:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 00:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458218134784001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586439587954688,"km_value":135586439587954.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9095019472494573568,"description":"Unknown IO ID 45"} 
[2026-09-21 00:02:06] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":458218134784001,"power":2231,"ignition":0,"odometer":null,"unknown_45":9095019472494573568}} 
[2026-09-21 00:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874395,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:02:06] local.INFO: GPS data processed {"connection_id":190901,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:02:06] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:02:10] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:10] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:02:10] local.INFO: IMEI packet received {"connection_id":189568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":189568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:02:11] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:11] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:11] local.INFO: Packet analysis {"connection_id":189568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:02:11] local.INFO: Extracted packet for processing {"connection_id":189568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:02:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:02: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-09-21 00:02:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:02:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:02:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":189568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:02:11] local.INFO: GPS data processed {"connection_id":189568,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:02:11] local.INFO: Acknowledgment sent {"connection_id":189568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:02:37] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":249,"data_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-09-21 00:02:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":249,"packet_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-09-21 00:02:37] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":249,"buffer_hex":"00000000000000ed8e0300000000000109a00100000000000000000000000000..."} 
[2026-09-21 00:02:37] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":237,"total_packet_length":249,"buffer_length":249,"packet_hex_start":"00000000000000ed8e03000000000001"} 
[2026-09-21 00:02:37] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":249,"remaining_buffer_length":0,"packet_hex_start":"00000000000000ed8e03000000000001"} 
[2026-09-21 00:02:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 00: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":249,"current_offset":40} 
[2026-09-21 00:02:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458218211840001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9095019472494573568,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,109,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:02:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 00:02:37] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":3,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:02:37] local.INFO: AVL Records parsing completed {"total_expected":3,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 00:02:37] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":0,"avl_records_expected":3,"crc_valid":false} 
[2026-09-21 00:02:37] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:02:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:02:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 00:02:37] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 00:02:37] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 00:02:37] local.ERROR: GPS data processing failed {"connection_id":190901,"error":"No valid data to process"} 
[2026-09-21 00:02:37] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":0,"records_expected":3,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 00:02:42] local.INFO: TCP Data received {"connection_id":189568,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:42] local.INFO: Processing buffer {"connection_id":189568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:02:42] local.INFO: Packet analysis {"connection_id":189568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:02:42] local.INFO: Extracted packet for processing {"connection_id":189568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:02: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-09-21 00:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:02: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-09-21 00:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":189568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:02:42] local.INFO: GPS data processed {"connection_id":189568,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:02:42] local.INFO: Acknowledgment sent {"connection_id":189568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:03:07] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e01000001a0c01771880100000000000000000000000000..."} 
[2026-09-21 00:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":93,"packet_hex":"00000000000000518e01000001a0c01771880100000000000000000000000000..."} 
[2026-09-21 00:03:07] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0c01771880100000000000000000000000000..."} 
[2026-09-21 00:03:07] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:03:07] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:03:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 00:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-21 00:03: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-09-21 00:03: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-09-21 00:03:07] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:03:07] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 00:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 00:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 00:03:07] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 00:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 00:03:07] local.ERROR: GPS data processing failed {"connection_id":190901,"error":"No valid data to process"} 
[2026-09-21 00:03:07] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 00:03:10] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:10] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:10] local.INFO: IMEI packet received {"connection_id":189569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":189569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:03:15] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:15] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:03:15] local.INFO: IMEI packet received {"connection_id":189569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":189569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:03:16] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:16] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:16] local.INFO: Packet analysis {"connection_id":189569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:03:16] local.INFO: Extracted packet for processing {"connection_id":189569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:03:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03: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-09-21 00:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:03:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:03:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:03:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:03:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:03:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":189569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:03:16] local.INFO: GPS data processed {"connection_id":189569,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:03:16] local.INFO: Acknowledgment sent {"connection_id":189569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:03:20] local.INFO: TCP Data received {"connection_id":189569,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:20] local.INFO: Processing buffer {"connection_id":189569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:03:20] local.INFO: Packet analysis {"connection_id":189569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:03:20] local.INFO: Extracted packet for processing {"connection_id":189569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":189569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:03:20] local.INFO: GPS data processed {"connection_id":189569,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:03:20] local.INFO: Acknowledgment sent {"connection_id":189569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:03:39] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e01000001a0c017c3900100000000000000000000000000..."} 
[2026-09-21 00:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":93,"packet_hex":"00000000000000518e01000001a0c017c3900100000000000000000000000000..."} 
[2026-09-21 00:03:39] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0c017c3900100000000000000000000000000..."} 
[2026-09-21 00:03:39] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:03:39] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:03:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 00:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-09-21 00:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:03:39] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:03:39] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 00:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 00:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 00:03:39] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 00:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 00:03:39] local.ERROR: GPS data processing failed {"connection_id":190901,"error":"No valid data to process"} 
[2026-09-21 00:03:39] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 00:04:04] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:04] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:04] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:04:10] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:10] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:04:10] local.INFO: IMEI packet received {"connection_id":188297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":188297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:04:10] local.INFO: TCP Data received {"connection_id":190901,"ip":"42.109.136.3","data_length":93,"data_hex":"00000000000000518e01000001a0c017cb60012d7e224005d35198004d011d05..."} 
[2026-09-21 00:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190901,"packet_length":93,"packet_hex":"00000000000000518e01000001a0c017cb60012d7e224005d35198004d011d05..."} 
[2026-09-21 00:04:10] local.INFO: Processing buffer {"connection_id":190901,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0c017cb60012d7e224005d35198004d011d05..."} 
[2026-09-21 00:04:10] local.INFO: Packet analysis {"connection_id":190901,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:04:10] local.INFO: Extracted packet for processing {"connection_id":190901,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0c017"} 
[2026-09-21 00:04:10] local.INFO: GPS Element Parsed {"raw_longitude":763241024,"raw_latitude":97735064,"longitude_deg":76.3241024,"latitude_deg":9.7735064,"altitude":77,"angle":285,"satellites":5,"speed":23,"hex_longitude":"2d7e2240","hex_latitude":"05d35198","is_valid_coordinates":true} 
[2026-09-21 00:04:10] 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":93,"current_offset":40} 
[2026-09-21 00:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:04:10] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:04:10] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 00:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190901,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 00:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190901,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 00:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.3","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 00:04:10] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 00:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":190901,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 00:04:10] local.ERROR: GPS data processing failed {"connection_id":190901,"error":"No valid data to process"} 
[2026-09-21 00:04:10] local.INFO: Acknowledgment sent {"connection_id":190901,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 00:04:10] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:10] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:10] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:04:10] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:04: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-09-21 00: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-09-21 00:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:04:10] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:04:10] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:04:41] local.INFO: TCP Data received {"connection_id":189570,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:04:41] local.INFO: Processing buffer {"connection_id":189570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:04:41] local.INFO: IMEI packet received {"connection_id":189570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":189570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:04:42] local.INFO: TCP Data received {"connection_id":188297,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:42] local.INFO: Processing buffer {"connection_id":188297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:04:42] local.INFO: Packet analysis {"connection_id":188297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:04:42] local.INFO: Extracted packet for processing {"connection_id":188297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:04: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-09-21 00: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-09-21 00:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":188297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:04:42] local.INFO: GPS data processed {"connection_id":188297,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:04:42] local.INFO: Acknowledgment sent {"connection_id":188297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:05:05] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:05] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:05] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:05:10] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:10] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:05:10] local.INFO: IMEI packet received {"connection_id":188121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":188121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:05:11] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:11] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:11] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:05:11] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:05: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-09-21 00:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:05:11] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:05:11] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:05:21] local.INFO: TCP Data received {"connection_id":189571,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:05:21] local.INFO: Processing buffer {"connection_id":189571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:05:21] local.INFO: IMEI packet received {"connection_id":189571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":189571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:05:43] local.INFO: TCP Data received {"connection_id":188121,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:43] local.INFO: Processing buffer {"connection_id":188121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0152798012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 00:05:43] local.INFO: Packet analysis {"connection_id":188121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:05:43] local.INFO: Extracted packet for processing {"connection_id":188121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c015"} 
[2026-09-21 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221748736001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929007000,"timestamp_ms":1789929007000,"timestamp_seconds":1789929007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0152798"} 
[2026-09-21 00:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221748736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221748736001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221748736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":188121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:05:43] local.INFO: GPS data processed {"connection_id":188121,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:05:43] local.INFO: Acknowledgment sent {"connection_id":188121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:06:04] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:04] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:04] local.INFO: IMEI packet received {"connection_id":190905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":190905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:06:10] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:10] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:06:10] local.INFO: IMEI packet received {"connection_id":190905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":190905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:06:11] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:11] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:11] local.INFO: Packet analysis {"connection_id":190905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:06:11] local.INFO: Extracted packet for processing {"connection_id":190905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:06: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-09-21 00:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":190905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:06:11] local.INFO: GPS data processed {"connection_id":190905,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:06:11] local.INFO: Acknowledgment sent {"connection_id":190905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:06:42] local.INFO: TCP Data received {"connection_id":190905,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:42] local.INFO: Processing buffer {"connection_id":190905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:06:42] local.INFO: Packet analysis {"connection_id":190905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:06:42] local.INFO: Extracted packet for processing {"connection_id":190905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:06: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-09-21 00:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":190905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:06:42] local.INFO: GPS data processed {"connection_id":190905,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:06:42] local.INFO: Acknowledgment sent {"connection_id":190905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:07:04] local.INFO: TCP Data received {"connection_id":189572,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:04] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:04] local.INFO: IMEI packet received {"connection_id":189572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":189572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:07:10] local.INFO: TCP Data received {"connection_id":189572,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:10] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:07:10] local.INFO: IMEI packet received {"connection_id":189572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":189572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:07:12] local.INFO: TCP Data received {"connection_id":189572,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:12] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:12] local.INFO: Packet analysis {"connection_id":189572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:07:12] local.INFO: Extracted packet for processing {"connection_id":189572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:07:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:07:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":189572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:07:12] local.INFO: GPS data processed {"connection_id":189572,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:07:12] local.INFO: Acknowledgment sent {"connection_id":189572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:07:44] local.INFO: TCP Data received {"connection_id":189572,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:44] local.INFO: Processing buffer {"connection_id":189572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:07:44] local.INFO: Packet analysis {"connection_id":189572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:07:44] local.INFO: Extracted packet for processing {"connection_id":189572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:07:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:07:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:07:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":189572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:07:44] local.INFO: GPS data processed {"connection_id":189572,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:07:44] local.INFO: Acknowledgment sent {"connection_id":189572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:08:04] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:04] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:04] local.INFO: IMEI packet received {"connection_id":190906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":190906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:08:10] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:10] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:08:10] local.INFO: IMEI packet received {"connection_id":190906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":190906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:08:10] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:10] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:10] local.INFO: Packet analysis {"connection_id":190906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:08:10] local.INFO: Extracted packet for processing {"connection_id":190906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:08: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-09-21 00:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":190906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:08:11] local.INFO: GPS data processed {"connection_id":190906,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:08:11] local.INFO: Acknowledgment sent {"connection_id":190906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:08:42] local.INFO: TCP Data received {"connection_id":190906,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:42] local.INFO: Processing buffer {"connection_id":190906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:08:42] local.INFO: Packet analysis {"connection_id":190906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:08:42] local.INFO: Extracted packet for processing {"connection_id":190906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:08: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-09-21 00: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-09-21 00:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":190906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:08:42] local.INFO: GPS data processed {"connection_id":190906,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:08:42] local.INFO: Acknowledgment sent {"connection_id":190906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:09:10] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:10] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:10] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:09:15] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:15] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:09:15] local.INFO: IMEI packet received {"connection_id":188123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":188123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:09:15] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:15] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:15] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:09:15] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:09:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:09:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09: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-09-21 00:09:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:09:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:09:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:09:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:09:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:09:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:09:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:09:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:09:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:09:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:09:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:09:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:09:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:09:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:09:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:09:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:09:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:09:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:09:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:09:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:09:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:09:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:09:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:09:16] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:09:16] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:09:16] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:09:20] local.INFO: TCP Data received {"connection_id":188123,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:20] local.INFO: Processing buffer {"connection_id":188123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:09:20] local.INFO: Packet analysis {"connection_id":188123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:09:20] local.INFO: Extracted packet for processing {"connection_id":188123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:09:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:09:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:09:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":188123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:09:20] local.INFO: GPS data processed {"connection_id":188123,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:09:20] local.INFO: Acknowledgment sent {"connection_id":188123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:10:04] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:04] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:04] local.INFO: IMEI packet received {"connection_id":190908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":190908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:10:10] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:10] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:10:10] local.INFO: IMEI packet received {"connection_id":190908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":190908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:10:11] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:11] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:11] local.INFO: Packet analysis {"connection_id":190908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:10:11] local.INFO: Extracted packet for processing {"connection_id":190908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:10:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:10: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-09-21 00: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-09-21 00:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:10:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:10:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":190908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:10:11] local.INFO: GPS data processed {"connection_id":190908,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:10:11] local.INFO: Acknowledgment sent {"connection_id":190908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:10:42] local.INFO: TCP Data received {"connection_id":190908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:42] local.INFO: Processing buffer {"connection_id":190908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c019bf60012d34bdc006aa40f80008000c2a..."} 
[2026-09-21 00:10:42] local.INFO: Packet analysis {"connection_id":190908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:10:42] local.INFO: Extracted packet for processing {"connection_id":190908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c019"} 
[2026-09-21 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221825792001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929308000,"timestamp_ms":1789929308000,"timestamp_seconds":1789929308,"priority":1,"record_length":96,"hex_timestamp":"000001a0c019bf60"} 
[2026-09-21 00:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:10: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-09-21 00: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-09-21 00:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221825792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221825792001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221825792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":190908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:10:42] local.INFO: GPS data processed {"connection_id":190908,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:10:42] local.INFO: Acknowledgment sent {"connection_id":190908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:10:57] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:10:57] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:10:57] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:11:05] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:05] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:05] local.INFO: IMEI packet received {"connection_id":189573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":189573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:11:10] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:10] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:11:10] local.INFO: IMEI packet received {"connection_id":189573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":189573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:11:11] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:11] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:11] local.INFO: Packet analysis {"connection_id":189573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:11:11] local.INFO: Extracted packet for processing {"connection_id":189573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:11:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":189573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:11:11] local.INFO: GPS data processed {"connection_id":189573,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:11:11] local.INFO: Acknowledgment sent {"connection_id":189573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:11:17] local.INFO: TCP Data received {"connection_id":189574,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:11:17] local.INFO: Processing buffer {"connection_id":189574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:11:17] local.INFO: IMEI packet received {"connection_id":189574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":189574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:11:43] local.INFO: TCP Data received {"connection_id":189573,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:43] local.INFO: Processing buffer {"connection_id":189573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:11:43] local.INFO: Packet analysis {"connection_id":189573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:11:43] local.INFO: Extracted packet for processing {"connection_id":189573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:11:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":189573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:11:43] local.INFO: GPS data processed {"connection_id":189573,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:11:43] local.INFO: Acknowledgment sent {"connection_id":189573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:12:04] local.INFO: TCP Data received {"connection_id":189575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:04] local.INFO: Processing buffer {"connection_id":189575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:04] local.INFO: IMEI packet received {"connection_id":189575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":189575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:12:10] local.INFO: TCP Data received {"connection_id":189575,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:10] local.INFO: Processing buffer {"connection_id":189575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:12:10] local.INFO: IMEI packet received {"connection_id":189575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":189575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:12:11] local.INFO: TCP Data received {"connection_id":189575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:11] local.INFO: Processing buffer {"connection_id":189575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:11] local.INFO: Packet analysis {"connection_id":189575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:12:11] local.INFO: Extracted packet for processing {"connection_id":189575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:12: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:12:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":189575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:12:11] local.INFO: GPS data processed {"connection_id":189575,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:12:11] local.INFO: Acknowledgment sent {"connection_id":189575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:12:42] local.INFO: TCP Data received {"connection_id":189575,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:42] local.INFO: Processing buffer {"connection_id":189575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:12:42] local.INFO: Packet analysis {"connection_id":189575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:12:42] local.INFO: Extracted packet for processing {"connection_id":189575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:12:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:12: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-09-21 00:12:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":189575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:12:42] local.INFO: GPS data processed {"connection_id":189575,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:12:42] local.INFO: Acknowledgment sent {"connection_id":189575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:13:04] local.INFO: TCP Data received {"connection_id":189576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:04] local.INFO: Processing buffer {"connection_id":189576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:04] local.INFO: IMEI packet received {"connection_id":189576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":189576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:13:10] local.INFO: TCP Data received {"connection_id":189576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:10] local.INFO: Processing buffer {"connection_id":189576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:13:10] local.INFO: IMEI packet received {"connection_id":189576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":189576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:13:11] local.INFO: TCP Data received {"connection_id":189576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:11] local.INFO: Processing buffer {"connection_id":189576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:11] local.INFO: Packet analysis {"connection_id":189576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:13:11] local.INFO: Extracted packet for processing {"connection_id":189576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":189576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:13:11] local.INFO: GPS data processed {"connection_id":189576,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:13:11] local.INFO: Acknowledgment sent {"connection_id":189576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:13:42] local.INFO: TCP Data received {"connection_id":189576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:42] local.INFO: Processing buffer {"connection_id":189576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:13:42] local.INFO: Packet analysis {"connection_id":189576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:13:42] local.INFO: Extracted packet for processing {"connection_id":189576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:13: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-09-21 00:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":189576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:13:42] local.INFO: GPS data processed {"connection_id":189576,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:13:42] local.INFO: Acknowledgment sent {"connection_id":189576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:14:04] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:04] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:04] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:14:10] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:10] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:14:10] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:14:11] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:11] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:11] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:14:11] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:14:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:14:11] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:14:11] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:14:42] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:42] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:14:42] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:14:42] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:14: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-09-21 00: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-09-21 00:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:14:42] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:14:42] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:15:05] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:05] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:05] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:15:10] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:10] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:15:10] local.INFO: IMEI packet received {"connection_id":188125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":188125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:15:11] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:11] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:11] local.INFO: Packet analysis {"connection_id":188125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:15:11] local.INFO: Extracted packet for processing {"connection_id":188125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":188125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:15:11] local.INFO: GPS data processed {"connection_id":188125,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:15:11] local.INFO: Acknowledgment sent {"connection_id":188125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:15:43] local.INFO: TCP Data received {"connection_id":188125,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:43] local.INFO: Processing buffer {"connection_id":188125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c01e5728012d34bdc006aa40f80007000c29..."} 
[2026-09-21 00:15:43] local.INFO: Packet analysis {"connection_id":188125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:15:43] local.INFO: Extracted packet for processing {"connection_id":188125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c01e"} 
[2026-09-21 00:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221902848001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929609000,"timestamp_ms":1789929609000,"timestamp_seconds":1789929609,"priority":1,"record_length":96,"hex_timestamp":"000001a0c01e5728"} 
[2026-09-21 00:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 00:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221902848001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221902848001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221902848001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":188125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:15:43] local.INFO: GPS data processed {"connection_id":188125,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:15:43] local.INFO: Acknowledgment sent {"connection_id":188125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:16:04] local.INFO: TCP Data received {"connection_id":189577,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:04] local.INFO: Processing buffer {"connection_id":189577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:04] local.INFO: IMEI packet received {"connection_id":189577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":189577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:16:10] local.INFO: TCP Data received {"connection_id":189577,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:10] local.INFO: Processing buffer {"connection_id":189577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:16:10] local.INFO: IMEI packet received {"connection_id":189577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":189577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:16:11] local.INFO: TCP Data received {"connection_id":189577,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:11] local.INFO: Processing buffer {"connection_id":189577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:11] local.INFO: Packet analysis {"connection_id":189577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:16:11] local.INFO: Extracted packet for processing {"connection_id":189577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:16: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-09-21 00:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":189577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:16:11] local.INFO: GPS data processed {"connection_id":189577,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:16:11] local.INFO: Acknowledgment sent {"connection_id":189577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:16:32] local.INFO: TCP Data received {"connection_id":188126,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188126,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:16:32] local.INFO: Processing buffer {"connection_id":188126,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:16:32] local.INFO: IMEI packet received {"connection_id":188126,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":188126,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:16:42] local.INFO: TCP Data received {"connection_id":189577,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:42] local.INFO: Processing buffer {"connection_id":189577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:16:42] local.INFO: Packet analysis {"connection_id":189577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:16:42] local.INFO: Extracted packet for processing {"connection_id":189577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:16: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-09-21 00:16:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":189577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:16:42] local.INFO: GPS data processed {"connection_id":189577,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:16:42] local.INFO: Acknowledgment sent {"connection_id":189577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:17:05] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:05] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:05] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:17:10] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:10] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:17:10] local.INFO: IMEI packet received {"connection_id":190912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":190912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:17:11] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:11] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:11] local.INFO: Packet analysis {"connection_id":190912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:17:11] local.INFO: Extracted packet for processing {"connection_id":190912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:17: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-09-21 00:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":190912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:17:11] local.INFO: GPS data processed {"connection_id":190912,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:17:11] local.INFO: Acknowledgment sent {"connection_id":190912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:17:19] local.INFO: TCP Data received {"connection_id":189578,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:17:20] local.INFO: Processing buffer {"connection_id":189578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:17:20] local.INFO: IMEI packet received {"connection_id":189578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":189578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:17:43] local.INFO: TCP Data received {"connection_id":190912,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:43] local.INFO: Processing buffer {"connection_id":190912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:17:43] local.INFO: Packet analysis {"connection_id":190912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:17:43] local.INFO: Extracted packet for processing {"connection_id":190912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:17:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:17:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":190912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:17:43] local.INFO: GPS data processed {"connection_id":190912,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:17:43] local.INFO: Acknowledgment sent {"connection_id":190912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:18:04] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:04] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:04] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:18:10] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:10] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:18:10] local.INFO: IMEI packet received {"connection_id":190913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":190913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:18:11] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:11] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:11] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:18:11] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:18: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-09-21 00:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:18:11] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:18:11] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:18:42] local.INFO: TCP Data received {"connection_id":190913,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190913,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:42] local.INFO: Processing buffer {"connection_id":190913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:18:42] local.INFO: Packet analysis {"connection_id":190913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:18:42] local.INFO: Extracted packet for processing {"connection_id":190913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:18: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-09-21 00: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-09-21 00:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":190913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:18:42] local.INFO: GPS data processed {"connection_id":190913,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:18:42] local.INFO: Acknowledgment sent {"connection_id":190913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:19:10] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:10] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:10] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:19:15] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:15] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:19:15] local.INFO: IMEI packet received {"connection_id":188128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":188128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:19:15] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:15] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:15] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:19:15] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:19:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:19:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19: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-09-21 00:19:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:19:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:19:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:19:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:19:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:19:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:19:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:19:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:19:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:19:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:19:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:19:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:19:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:19:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:19:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:19:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:19:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:19:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:19:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:19:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:19:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:19:16] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:19:16] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:19:16] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:19:20] local.INFO: TCP Data received {"connection_id":188128,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:20] local.INFO: Processing buffer {"connection_id":188128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:19:20] local.INFO: Packet analysis {"connection_id":188128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:19:20] local.INFO: Extracted packet for processing {"connection_id":188128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:19:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:19:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:19:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":188128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:19:20] local.INFO: GPS data processed {"connection_id":188128,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:19:20] local.INFO: Acknowledgment sent {"connection_id":188128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:20:04] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:04] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:04] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:20:10] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:10] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:20:10] local.INFO: IMEI packet received {"connection_id":188130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":188130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:20:10] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:10] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:10] local.INFO: Packet analysis {"connection_id":188130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:20:10] local.INFO: Extracted packet for processing {"connection_id":188130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:20: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-09-21 00: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-09-21 00:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":188130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:20:11] local.INFO: GPS data processed {"connection_id":188130,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:20:11] local.INFO: Acknowledgment sent {"connection_id":188130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:20:43] local.INFO: TCP Data received {"connection_id":188130,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:43] local.INFO: Processing buffer {"connection_id":188130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c022eef0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 00:20:43] local.INFO: Packet analysis {"connection_id":188130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:20:43] local.INFO: Extracted packet for processing {"connection_id":188130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c022"} 
[2026-09-21 00:20:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:20:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458221979904001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:20:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:20:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:20:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:20:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789929910000,"timestamp_ms":1789929910000,"timestamp_seconds":1789929910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c022eef0"} 
[2026-09-21 00:20:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:20:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:20:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 00:20:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:20:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:20:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:20:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:20:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:20:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:20:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:20:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:20:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:20:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:20:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458221979904001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:20:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:20:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:20:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458221979904001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:20:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:20:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:20:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:20:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:20:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458221979904001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:20:43] local.INFO: DEBUG: GPS processor result {"connection_id":188130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:20:43] local.INFO: GPS data processed {"connection_id":188130,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:20:43] local.INFO: Acknowledgment sent {"connection_id":188130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:21:05] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:05] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:05] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:21:10] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:10] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:21:10] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:21:11] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:11] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:11] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:21:11] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:21: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-09-21 00:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:21:11] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:21:11] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:21:42] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:42] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:21:42] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:21:42] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:21: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-09-21 00:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:21: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-09-21 00:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:21:42] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:21:42] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:22:04] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:04] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:04] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:22:10] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:10] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:22:10] local.INFO: IMEI packet received {"connection_id":190915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":190915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:22:10] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:10] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:10] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:22:10] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00: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-09-21 00:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:22:11] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:22:11] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:22:11] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:22:24] local.INFO: TCP Data received {"connection_id":189580,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:22:24] local.INFO: Processing buffer {"connection_id":189580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:22:24] local.INFO: IMEI packet received {"connection_id":189580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":189580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:22:42] local.INFO: TCP Data received {"connection_id":190915,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:42] local.INFO: Processing buffer {"connection_id":190915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:22:42] local.INFO: Packet analysis {"connection_id":190915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:22:42] local.INFO: Extracted packet for processing {"connection_id":190915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:22: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-09-21 00: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-09-21 00:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":190915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:22:42] local.INFO: GPS data processed {"connection_id":190915,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:22:42] local.INFO: Acknowledgment sent {"connection_id":190915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:23:04] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:04] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:04] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:23:10] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:10] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:23:10] local.INFO: IMEI packet received {"connection_id":188131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":188131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:23:11] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:11] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:11] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:23:11] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:23: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-09-21 00:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:23:11] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:23:11] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:23:43] local.INFO: TCP Data received {"connection_id":188131,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:43] local.INFO: Processing buffer {"connection_id":188131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:23:43] local.INFO: Packet analysis {"connection_id":188131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:23:43] local.INFO: Extracted packet for processing {"connection_id":188131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:23:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:23: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-09-21 00:23:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:23:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:23:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":188131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:23:43] local.INFO: GPS data processed {"connection_id":188131,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:23:43] local.INFO: Acknowledgment sent {"connection_id":188131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:24:10] local.INFO: TCP Data received {"connection_id":188132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:10] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:10] local.INFO: IMEI packet received {"connection_id":188132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":188132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:24:15] local.INFO: TCP Data received {"connection_id":188132,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:15] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:24:15] local.INFO: IMEI packet received {"connection_id":188132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":188132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:24:16] local.INFO: TCP Data received {"connection_id":188132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:16] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:16] local.INFO: Packet analysis {"connection_id":188132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:24:16] local.INFO: Extracted packet for processing {"connection_id":188132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:24:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:24:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:24:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:24:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":188132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:24:16] local.INFO: GPS data processed {"connection_id":188132,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:24:16] local.INFO: Acknowledgment sent {"connection_id":188132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:24:20] local.INFO: TCP Data received {"connection_id":188132,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:20] local.INFO: Processing buffer {"connection_id":188132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:24:20] local.INFO: Packet analysis {"connection_id":188132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:24:20] local.INFO: Extracted packet for processing {"connection_id":188132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:24:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:24:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:24:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:24:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:24:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:24:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:24:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:24:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:24:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:24:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:24:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:24:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:24:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:24:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:24:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:24:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:24:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:24:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:24:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:24:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:24:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:24:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:24:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:24:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:24:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:24:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:24:21] local.INFO: DEBUG: GPS processor result {"connection_id":188132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:24:21] local.INFO: GPS data processed {"connection_id":188132,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:24:21] local.INFO: Acknowledgment sent {"connection_id":188132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:25:05] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:05] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:05] local.INFO: IMEI packet received {"connection_id":189581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":189581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:25:10] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:10] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:25:10] local.INFO: IMEI packet received {"connection_id":189581,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":189581,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:25:11] local.INFO: TCP Data received {"connection_id":189581,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:25:11] local.INFO: Processing buffer {"connection_id":189581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02786b8012d34bdc006aa40f80006000c28..."} 
[2026-09-21 00:25:11] local.INFO: Packet analysis {"connection_id":189581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:25:11] local.INFO: Extracted packet for processing {"connection_id":189581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c027"} 
[2026-09-21 00:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222056960001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930211000,"timestamp_ms":1789930211000,"timestamp_seconds":1789930211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02786b8"} 
[2026-09-21 00:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:25: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-09-21 00: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-09-21 00:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189581,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222056960001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222056960001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222056960001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":189581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:25:11] local.INFO: GPS data processed {"connection_id":189581,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:25:11] local.INFO: Acknowledgment sent {"connection_id":189581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:26:04] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:04] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:04] local.INFO: IMEI packet received {"connection_id":188304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":188304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:26:10] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:10] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:26:10] local.INFO: IMEI packet received {"connection_id":188304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":188304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:26:11] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:11] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:11] local.INFO: Packet analysis {"connection_id":188304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:26:11] local.INFO: Extracted packet for processing {"connection_id":188304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":188304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:26:11] local.INFO: GPS data processed {"connection_id":188304,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:26:11] local.INFO: Acknowledgment sent {"connection_id":188304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:26:42] local.INFO: TCP Data received {"connection_id":188304,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:42] local.INFO: Processing buffer {"connection_id":188304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:26:42] local.INFO: Packet analysis {"connection_id":188304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:26:42] local.INFO: Extracted packet for processing {"connection_id":188304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:26: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-09-21 00:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":188304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:26:42] local.INFO: GPS data processed {"connection_id":188304,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:26:42] local.INFO: Acknowledgment sent {"connection_id":188304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:27:04] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:04] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:04] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:27:10] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:10] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:27:10] local.INFO: IMEI packet received {"connection_id":190918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":190918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:27:11] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:11] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:11] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:27:11] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:27:11] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:27:11] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:27:42] local.INFO: TCP Data received {"connection_id":190918,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:42] local.INFO: Processing buffer {"connection_id":190918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:27:42] local.INFO: Packet analysis {"connection_id":190918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:27:42] local.INFO: Extracted packet for processing {"connection_id":190918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:27: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-09-21 00: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-09-21 00:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":190918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:27:42] local.INFO: GPS data processed {"connection_id":190918,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:27:42] local.INFO: Acknowledgment sent {"connection_id":190918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:27:55] local.INFO: TCP Data received {"connection_id":188135,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188135,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:27:55] local.INFO: Processing buffer {"connection_id":188135,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:27:55] local.INFO: IMEI packet received {"connection_id":188135,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":188135,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:28:04] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:04] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:04] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:28:10] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:10] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:28:10] local.INFO: IMEI packet received {"connection_id":188136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":188136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:28:11] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:11] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:11] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:28:11] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:28:11] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:28:11] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:28:22] local.INFO: TCP Data received {"connection_id":189582,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:28:22] local.INFO: Processing buffer {"connection_id":189582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:28:22] local.INFO: IMEI packet received {"connection_id":189582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":189582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:28:42] local.INFO: TCP Data received {"connection_id":188136,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:42] local.INFO: Processing buffer {"connection_id":188136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:28:42] local.INFO: Packet analysis {"connection_id":188136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:28:42] local.INFO: Extracted packet for processing {"connection_id":188136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:28: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-09-21 00:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":188136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:28:42] local.INFO: GPS data processed {"connection_id":188136,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:28:42] local.INFO: Acknowledgment sent {"connection_id":188136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:29:10] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:10] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:10] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:29:15] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:15] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:29:15] local.INFO: IMEI packet received {"connection_id":190919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":190919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:29:16] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:16] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:16] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:29:16] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:29:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:29:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29: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-09-21 00:29:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:29:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:29:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:29:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:29:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:29:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:29:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:29:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:29:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:29:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:29:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:29:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:29:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:29:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:29:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:29:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:29:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:29:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:29:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:29:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:29:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:29:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:29:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:29:16] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:29:16] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:29:16] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:29:20] local.INFO: TCP Data received {"connection_id":190919,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:20] local.INFO: Processing buffer {"connection_id":190919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:29:20] local.INFO: Packet analysis {"connection_id":190919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:29:20] local.INFO: Extracted packet for processing {"connection_id":190919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:29:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:29:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":190919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:29:20] local.INFO: GPS data processed {"connection_id":190919,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:29:20] local.INFO: Acknowledgment sent {"connection_id":190919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:30:04] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:04] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:04] local.INFO: IMEI packet received {"connection_id":189583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":189583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:30:10] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:10] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:30:10] local.INFO: IMEI packet received {"connection_id":189583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":189583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:30:10] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:10] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:10] local.INFO: Packet analysis {"connection_id":189583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:30:10] local.INFO: Extracted packet for processing {"connection_id":189583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:30: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-09-21 00:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":189583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:30:10] local.INFO: GPS data processed {"connection_id":189583,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:30:10] local.INFO: Acknowledgment sent {"connection_id":189583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:30:42] local.INFO: TCP Data received {"connection_id":189583,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:42] local.INFO: Processing buffer {"connection_id":189583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c02c1e80012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 00:30:42] local.INFO: Packet analysis {"connection_id":189583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:30:42] local.INFO: Extracted packet for processing {"connection_id":189583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c02c"} 
[2026-09-21 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222134016001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:30: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-09-21 00:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930512000,"timestamp_ms":1789930512000,"timestamp_seconds":1789930512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c02c1e80"} 
[2026-09-21 00:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 00:30: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-09-21 00:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222134016001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222134016001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222134016001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":189583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:30:42] local.INFO: GPS data processed {"connection_id":189583,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:30:42] local.INFO: Acknowledgment sent {"connection_id":189583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:31:05] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:05] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:05] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:31:10] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:10] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:31:10] local.INFO: IMEI packet received {"connection_id":188305,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":188305,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:31:11] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:11] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:11] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:31:11] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:31: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-09-21 00:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:31:11] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:31:11] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:31:43] local.INFO: TCP Data received {"connection_id":188305,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188305,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:43] local.INFO: Processing buffer {"connection_id":188305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:31:43] local.INFO: Packet analysis {"connection_id":188305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:31:43] local.INFO: Extracted packet for processing {"connection_id":188305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:31:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:31: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-09-21 00:31:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188305,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":188305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:31:43] local.INFO: GPS data processed {"connection_id":188305,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:31:43] local.INFO: Acknowledgment sent {"connection_id":188305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:32:04] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:04] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:04] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:32:10] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:10] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:32:10] local.INFO: IMEI packet received {"connection_id":188139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":188139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:32:10] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:10] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:10] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:32:10] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:32: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-09-21 00: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-09-21 00:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:32:11] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:32:11] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:32:42] local.INFO: TCP Data received {"connection_id":188139,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:42] local.INFO: Processing buffer {"connection_id":188139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:32:42] local.INFO: Packet analysis {"connection_id":188139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:32:42] local.INFO: Extracted packet for processing {"connection_id":188139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:32: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-09-21 00: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-09-21 00:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":188139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:32:42] local.INFO: GPS data processed {"connection_id":188139,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:32:42] local.INFO: Acknowledgment sent {"connection_id":188139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:33:04] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:04] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:04] local.INFO: IMEI packet received {"connection_id":189585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":189585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:33:10] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:10] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:33:10] local.INFO: IMEI packet received {"connection_id":189585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":189585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:33:11] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:11] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:11] local.INFO: Packet analysis {"connection_id":189585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:33:11] local.INFO: Extracted packet for processing {"connection_id":189585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:33: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-09-21 00:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":189585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:33:11] local.INFO: GPS data processed {"connection_id":189585,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:33:11] local.INFO: Acknowledgment sent {"connection_id":189585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:33:42] local.INFO: TCP Data received {"connection_id":189585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:42] local.INFO: Processing buffer {"connection_id":189585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:33:42] local.INFO: Packet analysis {"connection_id":189585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:33:42] local.INFO: Extracted packet for processing {"connection_id":189585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:33: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-09-21 00: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-09-21 00:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":189585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:33:42] local.INFO: GPS data processed {"connection_id":189585,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:33:42] local.INFO: Acknowledgment sent {"connection_id":189585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:33:47] local.INFO: TCP Data received {"connection_id":189586,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:33:47] local.INFO: Processing buffer {"connection_id":189586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:33:47] local.INFO: IMEI packet received {"connection_id":189586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:33:47] local.INFO: IMEI acknowledgment sent {"connection_id":189586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:34:04] local.INFO: TCP Data received {"connection_id":189587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:04] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:04] local.INFO: IMEI packet received {"connection_id":189587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":189587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:34:10] local.INFO: TCP Data received {"connection_id":189587,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:10] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:34:10] local.INFO: IMEI packet received {"connection_id":189587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":189587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:34:10] local.INFO: TCP Data received {"connection_id":189587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:10] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:10] local.INFO: Packet analysis {"connection_id":189587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:34:10] local.INFO: Extracted packet for processing {"connection_id":189587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:34: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-09-21 00:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":189587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:34:10] local.INFO: GPS data processed {"connection_id":189587,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:34:10] local.INFO: Acknowledgment sent {"connection_id":189587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:34:16] local.INFO: TCP Data received {"connection_id":190920,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:34:16] local.INFO: Processing buffer {"connection_id":190920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:34:16] local.INFO: IMEI packet received {"connection_id":190920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":190920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:34:42] local.INFO: TCP Data received {"connection_id":189587,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:42] local.INFO: Processing buffer {"connection_id":189587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:34:42] local.INFO: Packet analysis {"connection_id":189587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:34:42] local.INFO: Extracted packet for processing {"connection_id":189587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:34: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-09-21 00:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":189587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:34:42] local.INFO: GPS data processed {"connection_id":189587,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:34:42] local.INFO: Acknowledgment sent {"connection_id":189587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:35:10] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:10] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:10] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:35:15] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:15] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:35:15] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:35:15] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:15] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:15] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:35:15] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35: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-09-21 00:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:35:15] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:35:15] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:35:20] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:20] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c030b648012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 00:35:20] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:35:20] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c030"} 
[2026-09-21 00:35:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:35:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222211072001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:35:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:35:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789930813000,"timestamp_ms":1789930813000,"timestamp_seconds":1789930813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c030b648"} 
[2026-09-21 00:35:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:35:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:35:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:35:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:35:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:35:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:35:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:35:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:35:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:35:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:35:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:35:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:35:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:35:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222211072001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:35:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:35:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:35:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222211072001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:35:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:35:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:35:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:35:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:35:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222211072001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:35:20] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:35:20] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:35:20] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:36:04] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:04] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:04] local.INFO: IMEI packet received {"connection_id":188140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":188140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:36:10] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:10] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:36:10] local.INFO: IMEI packet received {"connection_id":188140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:36:11] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:11] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:11] local.INFO: Packet analysis {"connection_id":188140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:36:11] local.INFO: Extracted packet for processing {"connection_id":188140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:36:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:36:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:36:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:36:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":188140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:36:11] local.INFO: GPS data processed {"connection_id":188140,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:36:11] local.INFO: Acknowledgment sent {"connection_id":188140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:36:42] local.INFO: TCP Data received {"connection_id":188140,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:42] local.INFO: Processing buffer {"connection_id":188140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:36:42] local.INFO: Packet analysis {"connection_id":188140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:36:42] local.INFO: Extracted packet for processing {"connection_id":188140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:36: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-09-21 00:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":188140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:36:42] local.INFO: GPS data processed {"connection_id":188140,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:36:42] local.INFO: Acknowledgment sent {"connection_id":188140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:37:04] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:04] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:04] local.INFO: IMEI packet received {"connection_id":190922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":190922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:37:10] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:10] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:37:10] local.INFO: IMEI packet received {"connection_id":190922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":190922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:37:11] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:11] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:11] local.INFO: Packet analysis {"connection_id":190922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:37:11] local.INFO: Extracted packet for processing {"connection_id":190922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:37: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-09-21 00:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:37:11] local.INFO: GPS data processed {"connection_id":190922,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:37:11] local.INFO: Acknowledgment sent {"connection_id":190922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:37:42] local.INFO: TCP Data received {"connection_id":190922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:42] local.INFO: Processing buffer {"connection_id":190922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:37:42] local.INFO: Packet analysis {"connection_id":190922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:37:42] local.INFO: Extracted packet for processing {"connection_id":190922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:37: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-09-21 00:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":190922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:37:42] local.INFO: GPS data processed {"connection_id":190922,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:37:42] local.INFO: Acknowledgment sent {"connection_id":190922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:38:04] local.INFO: TCP Data received {"connection_id":188143,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:04] local.INFO: Processing buffer {"connection_id":188143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:04] local.INFO: IMEI packet received {"connection_id":188143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":188143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:38:10] local.INFO: TCP Data received {"connection_id":188143,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:10] local.INFO: Processing buffer {"connection_id":188143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:38:10] local.INFO: IMEI packet received {"connection_id":188143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":188143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:38:11] local.INFO: TCP Data received {"connection_id":188143,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:11] local.INFO: Processing buffer {"connection_id":188143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:11] local.INFO: Packet analysis {"connection_id":188143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:38:11] local.INFO: Extracted packet for processing {"connection_id":188143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:38: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-09-21 00:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:38:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":188143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:38:11] local.INFO: GPS data processed {"connection_id":188143,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:38:11] local.INFO: Acknowledgment sent {"connection_id":188143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:38:42] local.INFO: TCP Data received {"connection_id":188143,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:42] local.INFO: Processing buffer {"connection_id":188143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:38:42] local.INFO: Packet analysis {"connection_id":188143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:38:42] local.INFO: Extracted packet for processing {"connection_id":188143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:38: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-09-21 00:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:38:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":188143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:38:42] local.INFO: GPS data processed {"connection_id":188143,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:38:42] local.INFO: Acknowledgment sent {"connection_id":188143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:39:04] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:04] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:04] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:39:10] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:10] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:39:10] local.INFO: IMEI packet received {"connection_id":190923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":190923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:39:11] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:11] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:11] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:39:11] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:39: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-09-21 00:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:39:11] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:39:11] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:39:42] local.INFO: TCP Data received {"connection_id":189589,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:39:42] local.INFO: Processing buffer {"connection_id":189589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:39:42] local.INFO: IMEI packet received {"connection_id":189589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:39:42] local.INFO: IMEI acknowledgment sent {"connection_id":189589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:39:42] local.INFO: TCP Data received {"connection_id":190923,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:42] local.INFO: Processing buffer {"connection_id":190923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:39:42] local.INFO: Packet analysis {"connection_id":190923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:39:42] local.INFO: Extracted packet for processing {"connection_id":190923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":190923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:39:42] local.INFO: GPS data processed {"connection_id":190923,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:39:42] local.INFO: Acknowledgment sent {"connection_id":190923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:40:04] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:04] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:04] local.INFO: IMEI packet received {"connection_id":188144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":188144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:40:10] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:10] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:40:10] local.INFO: IMEI packet received {"connection_id":188144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":188144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:40:11] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:11] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:11] local.INFO: Packet analysis {"connection_id":188144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:40:11] local.INFO: Extracted packet for processing {"connection_id":188144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:40:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:40:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:40:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:40: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-09-21 00:40:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:40:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:40:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":188144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:40:11] local.INFO: GPS data processed {"connection_id":188144,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:40:11] local.INFO: Acknowledgment sent {"connection_id":188144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:40:16] local.INFO: TCP Data received {"connection_id":190924,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:40:16] local.INFO: Processing buffer {"connection_id":190924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:40:16] local.INFO: IMEI packet received {"connection_id":190924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":190924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:40:42] local.INFO: TCP Data received {"connection_id":188144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:42] local.INFO: Processing buffer {"connection_id":188144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0354e10012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 00:40:42] local.INFO: Packet analysis {"connection_id":188144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:40:42] local.INFO: Extracted packet for processing {"connection_id":188144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c035"} 
[2026-09-21 00:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222288128001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931114000,"timestamp_ms":1789931114000,"timestamp_seconds":1789931114,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0354e10"} 
[2026-09-21 00:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:40: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-09-21 00: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-09-21 00:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222288128001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222288128001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222288128001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":188144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:40:42] local.INFO: GPS data processed {"connection_id":188144,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:40:42] local.INFO: Acknowledgment sent {"connection_id":188144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:41:10] local.INFO: TCP Data received {"connection_id":189590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:10] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:10] local.INFO: IMEI packet received {"connection_id":189590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":189590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:41:15] local.INFO: TCP Data received {"connection_id":189590,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:15] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:41:15] local.INFO: IMEI packet received {"connection_id":189590,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":189590,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:41:16] local.INFO: TCP Data received {"connection_id":189590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:16] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:16] local.INFO: Packet analysis {"connection_id":189590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:41:16] local.INFO: Extracted packet for processing {"connection_id":189590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:41:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:41:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41: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-09-21 00:41:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:41:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:41:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:41:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:41:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:41:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:41:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:41:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:41:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:41:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:41:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:41:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:41:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:41:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:41:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:41:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:41:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:41:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:41:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:41:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:41:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:41:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:41:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:41:16] local.INFO: DEBUG: GPS processor result {"connection_id":189590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:41:16] local.INFO: GPS data processed {"connection_id":189590,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:41:16] local.INFO: Acknowledgment sent {"connection_id":189590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:41:20] local.INFO: TCP Data received {"connection_id":189590,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:20] local.INFO: Processing buffer {"connection_id":189590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:41:20] local.INFO: Packet analysis {"connection_id":189590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:41:20] local.INFO: Extracted packet for processing {"connection_id":189590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:41:20] 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-09-21 00:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189590,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":189590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:41:20] local.INFO: GPS data processed {"connection_id":189590,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:41:20] local.INFO: Acknowledgment sent {"connection_id":189590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:42:04] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:04] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:04] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:42:10] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:10] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:42:10] local.INFO: IMEI packet received {"connection_id":188145,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":188145,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:42:11] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:11] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:11] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:42:11] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 00:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 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-09-21 00:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:42:11] 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-09-21 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-09-21 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-09-21 00:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:42:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:42:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:42:11] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:42:11] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:42:11] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:42:42] local.INFO: TCP Data received {"connection_id":188145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:42] local.INFO: Processing buffer {"connection_id":188145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:42:42] local.INFO: Packet analysis {"connection_id":188145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:42:42] local.INFO: Extracted packet for processing {"connection_id":188145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188145,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":188145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:42:42] local.INFO: GPS data processed {"connection_id":188145,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:42:42] local.INFO: Acknowledgment sent {"connection_id":188145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:43:04] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:04] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:04] local.INFO: IMEI packet received {"connection_id":190927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":190927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:43:10] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:10] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:43:10] local.INFO: IMEI packet received {"connection_id":190927,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":190927,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:43:11] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:11] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:11] local.INFO: Packet analysis {"connection_id":190927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:43:11] local.INFO: Extracted packet for processing {"connection_id":190927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:43:11] 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-09-21 00: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-09-21 00:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":190927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:43:11] local.INFO: GPS data processed {"connection_id":190927,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:43:11] local.INFO: Acknowledgment sent {"connection_id":190927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:43:42] local.INFO: TCP Data received {"connection_id":190927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:42] local.INFO: Processing buffer {"connection_id":190927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:43:42] local.INFO: Packet analysis {"connection_id":190927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:43:42] local.INFO: Extracted packet for processing {"connection_id":190927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:43: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-09-21 00:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190927,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":190927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:43:42] local.INFO: GPS data processed {"connection_id":190927,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:43:42] local.INFO: Acknowledgment sent {"connection_id":190927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:44:04] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:04] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:04] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:44:10] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:10] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:44:10] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:44:11] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:11] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:11] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:44:11] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:44:11] 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-09-21 00:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:44:11] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:44:11] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:44:42] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:42] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:44:42] local.INFO: Packet analysis {"connection_id":188308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:44:42] local.INFO: Extracted packet for processing {"connection_id":188308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 00:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 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-09-21 00:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 00:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":188308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:44:42] local.INFO: GPS data processed {"connection_id":188308,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:44:42] local.INFO: Acknowledgment sent {"connection_id":188308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:45:04] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:04] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:04] local.INFO: IMEI packet received {"connection_id":188146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:45:10] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:10] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:45:10] local.INFO: IMEI packet received {"connection_id":188146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":188146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:45:11] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:11] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:11] local.INFO: Packet analysis {"connection_id":188146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:45:11] local.INFO: Extracted packet for processing {"connection_id":188146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:45:11] 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-09-21 00:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":188146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:45:11] local.INFO: GPS data processed {"connection_id":188146,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:45:11] local.INFO: Acknowledgment sent {"connection_id":188146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:45:42] local.INFO: TCP Data received {"connection_id":188310,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:45:42] local.INFO: Processing buffer {"connection_id":188310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:45:42] local.INFO: IMEI packet received {"connection_id":188310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:45:42] local.INFO: IMEI acknowledgment sent {"connection_id":188310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:45:43] local.INFO: TCP Data received {"connection_id":188146,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:43] local.INFO: Processing buffer {"connection_id":188146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c039e5d8012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:45:43] local.INFO: Packet analysis {"connection_id":188146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:45:43] local.INFO: Extracted packet for processing {"connection_id":188146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c039"} 
[2026-09-21 00:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222365184001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789931415000,"timestamp_ms":1789931415000,"timestamp_seconds":1789931415,"priority":1,"record_length":96,"hex_timestamp":"000001a0c039e5d8"} 
[2026-09-21 00:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:45:43] 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-09-21 00:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222365184001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222365184001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222365184001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":188146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:45:43] local.INFO: GPS data processed {"connection_id":188146,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:45:43] local.INFO: Acknowledgment sent {"connection_id":188146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:46:10] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:10] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:10] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:46:15] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:15] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:46:15] local.INFO: IMEI packet received {"connection_id":188311,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":188311,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:46:15] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:15] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:15] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:46:15] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:46:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:46:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46: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-09-21 00:46:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:46:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:46:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:46:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:46:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:46:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:46:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:46:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:46:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:46:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:46:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:46:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:46:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:46:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:46:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:46:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:46:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:46:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:46:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:46:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:46:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:46:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:46:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:46:15] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:46:15] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:46:15] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:46:20] local.INFO: TCP Data received {"connection_id":188311,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:20] local.INFO: Processing buffer {"connection_id":188311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:46:20] local.INFO: Packet analysis {"connection_id":188311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:46:20] local.INFO: Extracted packet for processing {"connection_id":188311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188311,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":188311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:46:20] local.INFO: GPS data processed {"connection_id":188311,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:46:20] local.INFO: Acknowledgment sent {"connection_id":188311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:46:22] local.INFO: TCP Data received {"connection_id":190928,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:46:22] local.INFO: Processing buffer {"connection_id":190928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:46:22] local.INFO: IMEI packet received {"connection_id":190928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:46:22] local.INFO: IMEI acknowledgment sent {"connection_id":190928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:47:04] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:04] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:04] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:47:10] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:10] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:47:10] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:47:11] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:11] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:11] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:47:11] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 00:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 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-09-21 00:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 00:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:47:11] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:47:11] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:47:43] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:43] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:47:43] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:47:43] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:47:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:47:43] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:47:43] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:48:04] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:04] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:04] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:48:10] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:10] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:48:10] local.INFO: IMEI packet received {"connection_id":188147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":188147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:48:10] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:10] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:10] local.INFO: Packet analysis {"connection_id":188147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:48:10] local.INFO: Extracted packet for processing {"connection_id":188147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":188147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:48:11] local.INFO: GPS data processed {"connection_id":188147,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:48:11] local.INFO: Acknowledgment sent {"connection_id":188147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:48:42] local.INFO: TCP Data received {"connection_id":188147,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:42] local.INFO: Processing buffer {"connection_id":188147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:48:42] local.INFO: Packet analysis {"connection_id":188147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:48:42] local.INFO: Extracted packet for processing {"connection_id":188147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:48:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":188147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:48:42] local.INFO: GPS data processed {"connection_id":188147,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:48:42] local.INFO: Acknowledgment sent {"connection_id":188147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:49:04] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:04] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:04] local.INFO: IMEI packet received {"connection_id":189595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":189595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:49:10] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:10] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:49:10] local.INFO: IMEI packet received {"connection_id":189595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":189595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:49:11] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:11] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:11] local.INFO: Packet analysis {"connection_id":189595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:49:11] local.INFO: Extracted packet for processing {"connection_id":189595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":189595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:49:11] local.INFO: GPS data processed {"connection_id":189595,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:49:11] local.INFO: Acknowledgment sent {"connection_id":189595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:49:42] local.INFO: TCP Data received {"connection_id":189595,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:42] local.INFO: Processing buffer {"connection_id":189595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:49:42] local.INFO: Packet analysis {"connection_id":189595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:49:42] local.INFO: Extracted packet for processing {"connection_id":189595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":189595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:49:42] local.INFO: GPS data processed {"connection_id":189595,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:49:42] local.INFO: Acknowledgment sent {"connection_id":189595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:50:04] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:04] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:04] local.INFO: IMEI packet received {"connection_id":190929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":190929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:50:10] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:10] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:50:10] local.INFO: IMEI packet received {"connection_id":190929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":190929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:50:10] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:10] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:10] local.INFO: Packet analysis {"connection_id":190929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:50:10] local.INFO: Extracted packet for processing {"connection_id":190929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":190929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:50:10] local.INFO: GPS data processed {"connection_id":190929,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:50:10] local.INFO: Acknowledgment sent {"connection_id":190929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:50:42] local.INFO: TCP Data received {"connection_id":190929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:42] local.INFO: Processing buffer {"connection_id":190929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c03e7da0012d34bdc006aa40f80000000c2b..."} 
[2026-09-21 00:50:42] local.INFO: Packet analysis {"connection_id":190929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:50:42] local.INFO: Extracted packet for processing {"connection_id":190929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c03e"} 
[2026-09-21 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222442240001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:50: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-09-21 00:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789931716000,"timestamp_ms":1789931716000,"timestamp_seconds":1789931716,"priority":1,"record_length":96,"hex_timestamp":"000001a0c03e7da0"} 
[2026-09-21 00:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 00:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222442240001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222442240001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222442240001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":190929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:50:42] local.INFO: GPS data processed {"connection_id":190929,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:50:42] local.INFO: Acknowledgment sent {"connection_id":190929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:51:10] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:10] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:10] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:51:15] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:15] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:51:15] local.INFO: IMEI packet received {"connection_id":190931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":190931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:51:15] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:15] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:15] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:51:15] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:51:15] 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-09-21 00: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-09-21 00:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:51:15] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:51:15] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:51:20] local.INFO: TCP Data received {"connection_id":190931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:20] local.INFO: Processing buffer {"connection_id":190931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:51:20] local.INFO: Packet analysis {"connection_id":190931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:51:20] local.INFO: Extracted packet for processing {"connection_id":190931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:51:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:51:20] 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-09-21 00:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:51:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":190931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:51:20] local.INFO: GPS data processed {"connection_id":190931,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:51:20] local.INFO: Acknowledgment sent {"connection_id":190931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:51:47] local.INFO: TCP Data received {"connection_id":188149,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188149,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:51:47] local.INFO: Processing buffer {"connection_id":188149,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:51:47] local.INFO: IMEI packet received {"connection_id":188149,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":188149,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:52:04] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:04] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:04] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:52:10] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:10] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:52:10] local.INFO: IMEI packet received {"connection_id":188150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":188150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:52:10] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:10] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:10] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:52:10] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:52:10] 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-09-21 00: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-09-21 00:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:52:10] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:52:10] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:52:16] local.INFO: TCP Data received {"connection_id":189596,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:52:16] local.INFO: Processing buffer {"connection_id":189596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:52:16] local.INFO: IMEI packet received {"connection_id":189596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":189596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:52:42] local.INFO: TCP Data received {"connection_id":188150,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188150,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:42] local.INFO: Processing buffer {"connection_id":188150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:52:42] local.INFO: Packet analysis {"connection_id":188150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:52:42] local.INFO: Extracted packet for processing {"connection_id":188150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":188150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:52:42] local.INFO: GPS data processed {"connection_id":188150,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:52:42] local.INFO: Acknowledgment sent {"connection_id":188150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:53:04] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:04] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:04] local.INFO: IMEI packet received {"connection_id":189598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":189598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:53:10] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:10] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:53:10] local.INFO: IMEI packet received {"connection_id":189598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":189598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:53:11] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:11] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:11] local.INFO: Packet analysis {"connection_id":189598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:53:11] local.INFO: Extracted packet for processing {"connection_id":189598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:53: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:53:11] 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-09-21 00:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":189598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:53:11] local.INFO: GPS data processed {"connection_id":189598,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:53:11] local.INFO: Acknowledgment sent {"connection_id":189598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:53:42] local.INFO: TCP Data received {"connection_id":189598,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:42] local.INFO: Processing buffer {"connection_id":189598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:53:42] local.INFO: Packet analysis {"connection_id":189598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:53:42] local.INFO: Extracted packet for processing {"connection_id":189598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00: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-09-21 00:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":189598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:53:43] local.INFO: GPS data processed {"connection_id":189598,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:53:43] local.INFO: Acknowledgment sent {"connection_id":189598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:54:04] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:04] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:04] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:54:10] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:10] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:54:10] local.INFO: IMEI packet received {"connection_id":190932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":190932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:54:10] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:10] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:10] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:54:10] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:54:10] 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-09-21 00: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-09-21 00:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:54:10] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:54:10] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:54:42] local.INFO: TCP Data received {"connection_id":190932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:42] local.INFO: Processing buffer {"connection_id":190932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:54:42] local.INFO: Packet analysis {"connection_id":190932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:54:42] local.INFO: Extracted packet for processing {"connection_id":190932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 00:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":190932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:54:42] local.INFO: GPS data processed {"connection_id":190932,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:54:42] local.INFO: Acknowledgment sent {"connection_id":190932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:55:04] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:04] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:04] local.INFO: IMEI packet received {"connection_id":190934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":190934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:55:10] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:10] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:55:10] local.INFO: IMEI packet received {"connection_id":190934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":190934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:55:12] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:12] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:12] local.INFO: Packet analysis {"connection_id":190934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:55:12] local.INFO: Extracted packet for processing {"connection_id":190934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:55:12] 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-09-21 00:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:55:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":190934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:55:12] local.INFO: GPS data processed {"connection_id":190934,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:55:12] local.INFO: Acknowledgment sent {"connection_id":190934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:55:43] local.INFO: TCP Data received {"connection_id":190934,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:43] local.INFO: Processing buffer {"connection_id":190934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0431568012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 00:55:43] local.INFO: Packet analysis {"connection_id":190934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:55:43] local.INFO: Extracted packet for processing {"connection_id":190934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c043"} 
[2026-09-21 00:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222519296001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789932017000,"timestamp_ms":1789932017000,"timestamp_seconds":1789932017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0431568"} 
[2026-09-21 00:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 00:55:43] 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-09-21 00: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-09-21 00:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222519296001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222519296001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222519296001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":190934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:55:43] local.INFO: GPS data processed {"connection_id":190934,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:55:43] local.INFO: Acknowledgment sent {"connection_id":190934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:56:04] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:04] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:04] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:56:10] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:10] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:56:10] local.INFO: IMEI packet received {"connection_id":188152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":188152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:56:10] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:10] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:10] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:56:10] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:56: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-09-21 00:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:56:10] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:56:10] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:56:42] local.INFO: TCP Data received {"connection_id":188152,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:42] local.INFO: Processing buffer {"connection_id":188152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:56:42] local.INFO: Packet analysis {"connection_id":188152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:56:42] local.INFO: Extracted packet for processing {"connection_id":188152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:56: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-09-21 00:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:56: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-09-21 00:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":188152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:56:42] local.INFO: GPS data processed {"connection_id":188152,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:56:42] local.INFO: Acknowledgment sent {"connection_id":188152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:57:05] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:05] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:05] local.INFO: IMEI packet received {"connection_id":188153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":188153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:57:10] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:10] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:57:10] local.INFO: IMEI packet received {"connection_id":188153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":188153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:57:11] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:11] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:11] local.INFO: Packet analysis {"connection_id":188153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:57:11] local.INFO: Extracted packet for processing {"connection_id":188153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:57: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-09-21 00:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":188153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:57:11] local.INFO: GPS data processed {"connection_id":188153,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:57:11] local.INFO: Acknowledgment sent {"connection_id":188153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:57:27] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:57:27] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 00:57:27] local.INFO: IMEI packet received {"connection_id":188313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 00:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":188313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:57:43] local.INFO: TCP Data received {"connection_id":188153,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:43] local.INFO: Processing buffer {"connection_id":188153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:57:43] local.INFO: Packet analysis {"connection_id":188153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:57:43] local.INFO: Extracted packet for processing {"connection_id":188153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:57: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-09-21 00:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":188153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:57:43] local.INFO: GPS data processed {"connection_id":188153,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:57:43] local.INFO: Acknowledgment sent {"connection_id":188153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:58:04] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:04] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:04] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:58:10] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:10] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:58:10] local.INFO: IMEI packet received {"connection_id":190935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":190935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:58:10] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:10] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:10] local.INFO: Packet analysis {"connection_id":190935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:58:10] local.INFO: Extracted packet for processing {"connection_id":190935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:58: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-09-21 00: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-09-21 00:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":190935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:58:10] local.INFO: GPS data processed {"connection_id":190935,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:58:10] local.INFO: Acknowledgment sent {"connection_id":190935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:58:42] local.INFO: TCP Data received {"connection_id":190935,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:42] local.INFO: Processing buffer {"connection_id":190935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:58:42] local.INFO: Packet analysis {"connection_id":190935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:58:42] local.INFO: Extracted packet for processing {"connection_id":190935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:58: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-09-21 00: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-09-21 00:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":190935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:58:42] local.INFO: GPS data processed {"connection_id":190935,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:58:42] local.INFO: Acknowledgment sent {"connection_id":190935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:59:04] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:04] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:04] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 00:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 00:59:10] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:10] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 00:59:10] local.INFO: IMEI packet received {"connection_id":188314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 00:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":188314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 00:59:10] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:10] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:10] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:59:10] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 00:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 00:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:59: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-09-21 00:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 00:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:59:10] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:59:10] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 00:59:42] local.INFO: TCP Data received {"connection_id":188314,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188314,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:42] local.INFO: Processing buffer {"connection_id":188314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 00:59:42] local.INFO: Packet analysis {"connection_id":188314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:59:42] local.INFO: Extracted packet for processing {"connection_id":188314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 00: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-09-21 00:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 00:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 00:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 00: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-09-21 00:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 00:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 00:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 00: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 00:59: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-09-21 00: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-09-21 00:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 00:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 00:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 00:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 00:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 00:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 00:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 00:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 00:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 00:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 00:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 00:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 00:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 00:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 00:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 00:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 00:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":188314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 00:59:42] local.INFO: GPS data processed {"connection_id":188314,"processed":1,"errors":0,"total":1} 
[2026-09-21 00:59:42] local.INFO: Acknowledgment sent {"connection_id":188314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:00:04] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:04] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:04] local.INFO: IMEI packet received {"connection_id":189602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":189602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:00:10] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:10] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:00:10] local.INFO: IMEI packet received {"connection_id":189602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":189602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:00:10] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:10] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:10] local.INFO: Packet analysis {"connection_id":189602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 01:00:10] local.INFO: Extracted packet for processing {"connection_id":189602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 01:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 01:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":189602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:00:10] local.INFO: GPS data processed {"connection_id":189602,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:00:10] local.INFO: Acknowledgment sent {"connection_id":189602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:00:42] local.INFO: TCP Data received {"connection_id":189602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:42] local.INFO: Processing buffer {"connection_id":189602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c047ad30012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 01:00:42] local.INFO: Packet analysis {"connection_id":189602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 01:00:42] local.INFO: Extracted packet for processing {"connection_id":189602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c047"} 
[2026-09-21 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222596352001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932318000,"timestamp_ms":1789932318000,"timestamp_seconds":1789932318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c047ad30"} 
[2026-09-21 01:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 01:00: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-09-21 01:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222596352001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222596352001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222596352001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":189602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:00:42] local.INFO: GPS data processed {"connection_id":189602,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:00:42] local.INFO: Acknowledgment sent {"connection_id":189602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:01:04] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:04] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:04] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:01:10] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:10] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:01:10] local.INFO: IMEI packet received {"connection_id":188154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":188154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:01:11] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:11] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:11] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:01:11] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 01:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 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-09-21 01:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:01: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-09-21 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-09-21 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-09-21 01:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:01:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:01:11] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:01:11] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:01:42] local.INFO: TCP Data received {"connection_id":188154,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:42] local.INFO: Processing buffer {"connection_id":188154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:01:42] local.INFO: Packet analysis {"connection_id":188154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:01:42] local.INFO: Extracted packet for processing {"connection_id":188154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":188154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:01:42] local.INFO: GPS data processed {"connection_id":188154,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:01:42] local.INFO: Acknowledgment sent {"connection_id":188154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:02:04] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:04] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:04] local.INFO: IMEI packet received {"connection_id":189605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":189605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:02:10] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:10] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:02:10] local.INFO: IMEI packet received {"connection_id":189605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":189605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:02:10] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:10] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:10] local.INFO: Packet analysis {"connection_id":189605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:02:10] local.INFO: Extracted packet for processing {"connection_id":189605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:02: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-09-21 01: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-09-21 01:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":189605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:02:10] local.INFO: GPS data processed {"connection_id":189605,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:02:10] local.INFO: Acknowledgment sent {"connection_id":189605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:02:42] local.INFO: TCP Data received {"connection_id":189605,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:42] local.INFO: Processing buffer {"connection_id":189605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:02:42] local.INFO: Packet analysis {"connection_id":189605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:02:42] local.INFO: Extracted packet for processing {"connection_id":189605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:02: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-09-21 01:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:02: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-09-21 01:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":189605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:02:42] local.INFO: GPS data processed {"connection_id":189605,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:02:42] local.INFO: Acknowledgment sent {"connection_id":189605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:03:04] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:04] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:04] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:03:10] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:10] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:03:10] local.INFO: IMEI packet received {"connection_id":188316,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":188316,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:03:11] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:11] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:11] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:03:11] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:03: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-09-21 01:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:03:11] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:03:11] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:03:17] local.INFO: TCP Data received {"connection_id":188155,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:03:17] local.INFO: Processing buffer {"connection_id":188155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:03:17] local.INFO: IMEI packet received {"connection_id":188155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":188155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:03:43] local.INFO: TCP Data received {"connection_id":188316,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188316,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:43] local.INFO: Processing buffer {"connection_id":188316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:03:43] local.INFO: Packet analysis {"connection_id":188316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:03:43] local.INFO: Extracted packet for processing {"connection_id":188316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:03:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:03:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:03:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188316,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:03:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":188316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:03:43] local.INFO: GPS data processed {"connection_id":188316,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:03:43] local.INFO: Acknowledgment sent {"connection_id":188316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:04:04] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:04] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:04] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:04:10] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:10] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:04:10] local.INFO: IMEI packet received {"connection_id":190937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":190937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:04:11] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:11] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:11] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:04:11] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:04: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-09-21 01:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:04:11] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:04:11] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:04:42] local.INFO: TCP Data received {"connection_id":190937,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190937,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:42] local.INFO: Processing buffer {"connection_id":190937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:04:42] local.INFO: Packet analysis {"connection_id":190937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:04:42] local.INFO: Extracted packet for processing {"connection_id":190937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:04: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-09-21 01: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-09-21 01:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":190937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:04:42] local.INFO: GPS data processed {"connection_id":190937,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:04:42] local.INFO: Acknowledgment sent {"connection_id":190937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:05:04] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:04] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:04] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:05:18] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:18] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:18] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:05:19] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:05:19] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:05:19] local.INFO: IMEI packet received {"connection_id":189606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":189606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:05:20] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:20] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:20] local.INFO: Packet analysis {"connection_id":189606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:05:20] local.INFO: Extracted packet for processing {"connection_id":189606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":189606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:05:20] local.INFO: GPS data processed {"connection_id":189606,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:05:20] local.INFO: Acknowledgment sent {"connection_id":189606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:05:25] local.INFO: TCP Data received {"connection_id":189606,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:25] local.INFO: Processing buffer {"connection_id":189606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c04c4110012d34bdc006aa40f80005000c2c..."} 
[2026-09-21 01:05:25] local.INFO: Packet analysis {"connection_id":189606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:05:25] local.INFO: Extracted packet for processing {"connection_id":189606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c04c"} 
[2026-09-21 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:05:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222673408001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:05: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-09-21 01:05:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789932618000,"timestamp_ms":1789932618000,"timestamp_seconds":1789932618,"priority":1,"record_length":96,"hex_timestamp":"000001a0c04c4110"} 
[2026-09-21 01:05:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:05:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:05:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:05:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:05:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:05:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:05:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:05:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:05:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:05:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:05:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:05:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222673408001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:05:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:05:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:05:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222673408001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:05:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:05:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:05:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:05:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:05:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222673408001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:05:25] local.INFO: DEBUG: GPS processor result {"connection_id":189606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:05:25] local.INFO: GPS data processed {"connection_id":189606,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:05:25] local.INFO: Acknowledgment sent {"connection_id":189606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:06:04] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:04] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:04] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:06:10] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:10] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:06:10] local.INFO: IMEI packet received {"connection_id":188158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":188158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:06:10] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:10] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:10] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:06:10] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:06:10] 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-09-21 01: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-09-21 01:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:06:10] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:06:10] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:06:42] local.INFO: TCP Data received {"connection_id":188158,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:42] local.INFO: Processing buffer {"connection_id":188158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:06:42] local.INFO: Packet analysis {"connection_id":188158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:06:42] local.INFO: Extracted packet for processing {"connection_id":188158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:06:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":188158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:06:42] local.INFO: GPS data processed {"connection_id":188158,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:06:42] local.INFO: Acknowledgment sent {"connection_id":188158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:07:05] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:05] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:05] local.INFO: IMEI packet received {"connection_id":189607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":189607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:07:10] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:10] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:07:10] local.INFO: IMEI packet received {"connection_id":189607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":189607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:07:12] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:12] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:12] local.INFO: Packet analysis {"connection_id":189607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:07:12] local.INFO: Extracted packet for processing {"connection_id":189607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:07:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:07:12] 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-09-21 01:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:07:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:07:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":189607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:07:12] local.INFO: GPS data processed {"connection_id":189607,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:07:12] local.INFO: Acknowledgment sent {"connection_id":189607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:07:43] local.INFO: TCP Data received {"connection_id":189607,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:43] local.INFO: Processing buffer {"connection_id":189607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:07:43] local.INFO: Packet analysis {"connection_id":189607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:07:43] local.INFO: Extracted packet for processing {"connection_id":189607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:07:43] 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-09-21 01:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":189607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:07:43] local.INFO: GPS data processed {"connection_id":189607,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:07:43] local.INFO: Acknowledgment sent {"connection_id":189607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:08:04] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:04] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:04] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:08:10] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:10] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:08:10] local.INFO: IMEI packet received {"connection_id":190939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":190939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:08:10] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:10] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:10] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:08:10] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:08:10] 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-09-21 01:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:08:10] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:08:10] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:08:37] local.INFO: TCP Data received {"connection_id":190940,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190940,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:08:37] local.INFO: Processing buffer {"connection_id":190940,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:08:37] local.INFO: IMEI packet received {"connection_id":190940,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:08:37] local.INFO: IMEI acknowledgment sent {"connection_id":190940,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:08:42] local.INFO: TCP Data received {"connection_id":190939,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:42] local.INFO: Processing buffer {"connection_id":190939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:08:42] local.INFO: Packet analysis {"connection_id":190939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:08:42] local.INFO: Extracted packet for processing {"connection_id":190939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":190939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:08:42] local.INFO: GPS data processed {"connection_id":190939,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:08:42] local.INFO: Acknowledgment sent {"connection_id":190939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:09:04] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:04] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:04] local.INFO: IMEI packet received {"connection_id":189608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":189608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:09:10] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:10] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:09:10] local.INFO: IMEI packet received {"connection_id":189608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":189608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:09:11] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:11] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:11] local.INFO: Packet analysis {"connection_id":189608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:09:11] local.INFO: Extracted packet for processing {"connection_id":189608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:09:11] 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-09-21 01:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":189608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:09:11] local.INFO: GPS data processed {"connection_id":189608,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:09:11] local.INFO: Acknowledgment sent {"connection_id":189608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:09:17] local.INFO: TCP Data received {"connection_id":188160,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:09:17] local.INFO: Processing buffer {"connection_id":188160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:09:17] local.INFO: IMEI packet received {"connection_id":188160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:09:42] local.INFO: TCP Data received {"connection_id":189608,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:42] local.INFO: Processing buffer {"connection_id":189608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:09:42] local.INFO: Packet analysis {"connection_id":189608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:09:42] local.INFO: Extracted packet for processing {"connection_id":189608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:09: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-09-21 01:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":189608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:09:42] local.INFO: GPS data processed {"connection_id":189608,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:09:42] local.INFO: Acknowledgment sent {"connection_id":189608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:10:04] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:04] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:04] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:10:10] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:10] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:10:10] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:10:10] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:10] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:10] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:10:10] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:10:10] 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-09-21 01: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-09-21 01:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:10:10] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:10:10] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:10:42] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:42] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c050d8d8012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 01:10:42] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:10:42] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c050"} 
[2026-09-21 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222750208001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789932919000,"timestamp_ms":1789932919000,"timestamp_seconds":1789932919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c050d8d8"} 
[2026-09-21 01:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 01:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222750208001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222750208001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222750208001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:10:42] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:10:42] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:11:04] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:04] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:04] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:11:10] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:10] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:11:10] local.INFO: IMEI packet received {"connection_id":190941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":190941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:11:11] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:11] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:11] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:11:11] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:11: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-09-21 01:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:11:11] local.INFO: GPS data processed {"connection_id":190941,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:11:11] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:11:42] local.INFO: TCP Data received {"connection_id":190941,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:42] local.INFO: Processing buffer {"connection_id":190941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:11:42] local.INFO: Packet analysis {"connection_id":190941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:11:42] local.INFO: Extracted packet for processing {"connection_id":190941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:11: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-09-21 01: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-09-21 01:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":190941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:11:42] local.INFO: GPS data processed {"connection_id":190941,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:11:42] local.INFO: Acknowledgment sent {"connection_id":190941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:12:04] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:04] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:04] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:12:10] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:10] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:12:10] local.INFO: IMEI packet received {"connection_id":190942,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":190942,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:12:11] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:11] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:11] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:12:11] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:12:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:12:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:12:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:12: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-09-21 01:12: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-09-21 01:12:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:12:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:12:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:12:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:12:11] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:12:11] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:12:42] local.INFO: TCP Data received {"connection_id":190942,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:42] local.INFO: Processing buffer {"connection_id":190942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:12:42] local.INFO: Packet analysis {"connection_id":190942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:12:42] local.INFO: Extracted packet for processing {"connection_id":190942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:12: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-09-21 01: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-09-21 01:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190942,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":190942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:12:42] local.INFO: GPS data processed {"connection_id":190942,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:12:42] local.INFO: Acknowledgment sent {"connection_id":190942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:13:04] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:04] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:04] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:13:10] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:10] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:13:10] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:13:11] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:11] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:11] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:13:11] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:13: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-09-21 01:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:13:11] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:13:11] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:13:43] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:43] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:13:43] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:13:43] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:13:43] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:13:43] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:14:04] local.INFO: TCP Data received {"connection_id":188161,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:04] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:04] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:14:10] local.INFO: TCP Data received {"connection_id":188161,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:10] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:14:10] local.INFO: IMEI packet received {"connection_id":188161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":188161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:14:10] local.INFO: TCP Data received {"connection_id":188161,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:10] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:10] local.INFO: Packet analysis {"connection_id":188161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:14:10] local.INFO: Extracted packet for processing {"connection_id":188161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:14: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-09-21 01: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-09-21 01:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":188161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:14:10] local.INFO: GPS data processed {"connection_id":188161,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:14:10] local.INFO: Acknowledgment sent {"connection_id":188161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:14:30] local.INFO: TCP Data received {"connection_id":189613,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:14:30] local.INFO: Processing buffer {"connection_id":189613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:14:30] local.INFO: IMEI packet received {"connection_id":189613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":189613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:14:42] local.INFO: TCP Data received {"connection_id":188161,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:42] local.INFO: Processing buffer {"connection_id":188161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:14:42] local.INFO: Packet analysis {"connection_id":188161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:14:42] local.INFO: Extracted packet for processing {"connection_id":188161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:14: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-09-21 01: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-09-21 01:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":188161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:14:42] local.INFO: GPS data processed {"connection_id":188161,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:14:42] local.INFO: Acknowledgment sent {"connection_id":188161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:15:04] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:04] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:04] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:15:10] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:10] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:15:10] local.INFO: IMEI packet received {"connection_id":190943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":190943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:15:11] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:11] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:11] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:15:11] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:15: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-09-21 01: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-09-21 01:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:15:11] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:15:11] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:15:43] local.INFO: TCP Data received {"connection_id":190943,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:43] local.INFO: Processing buffer {"connection_id":190943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05570a0012d34bdc006aa40f80006000c29..."} 
[2026-09-21 01:15:43] local.INFO: Packet analysis {"connection_id":190943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:15:43] local.INFO: Extracted packet for processing {"connection_id":190943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c055"} 
[2026-09-21 01:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222827264001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789933220000,"timestamp_ms":1789933220000,"timestamp_seconds":1789933220,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05570a0"} 
[2026-09-21 01:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222827264001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222827264001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222827264001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":190943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:15:43] local.INFO: GPS data processed {"connection_id":190943,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:15:43] local.INFO: Acknowledgment sent {"connection_id":190943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:16:04] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:04] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:04] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:16:10] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:10] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:16:10] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:16:11] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:11] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:11] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:16:11] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:16:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:16:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:16:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:16:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:16:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:16:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:16:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:16:11] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:16:11] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:16:42] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:42] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:16:42] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:16:42] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:16:42] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:16:42] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:17:05] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:05] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:05] local.INFO: IMEI packet received {"connection_id":189614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":189614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:17:10] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:10] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:17:10] local.INFO: IMEI packet received {"connection_id":189614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":189614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:17:11] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:11] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:11] local.INFO: Packet analysis {"connection_id":189614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:17:11] local.INFO: Extracted packet for processing {"connection_id":189614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":189614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:17:11] local.INFO: GPS data processed {"connection_id":189614,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:17:11] local.INFO: Acknowledgment sent {"connection_id":189614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:17:42] local.INFO: TCP Data received {"connection_id":189614,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:42] local.INFO: Processing buffer {"connection_id":189614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:17:42] local.INFO: Packet analysis {"connection_id":189614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:17:42] local.INFO: Extracted packet for processing {"connection_id":189614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":189614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:17:42] local.INFO: GPS data processed {"connection_id":189614,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:17:42] local.INFO: Acknowledgment sent {"connection_id":189614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:18:04] local.INFO: TCP Data received {"connection_id":189615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:04] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:04] local.INFO: IMEI packet received {"connection_id":189615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":189615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:18:10] local.INFO: TCP Data received {"connection_id":189615,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:10] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:18:10] local.INFO: IMEI packet received {"connection_id":189615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":189615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:18:11] local.INFO: TCP Data received {"connection_id":189615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:11] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:11] local.INFO: Packet analysis {"connection_id":189615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:18:11] local.INFO: Extracted packet for processing {"connection_id":189615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:18:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:18:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:18:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":189615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:18:11] local.INFO: GPS data processed {"connection_id":189615,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:18:11] local.INFO: Acknowledgment sent {"connection_id":189615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:18:42] local.INFO: TCP Data received {"connection_id":189615,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:42] local.INFO: Processing buffer {"connection_id":189615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:18:42] local.INFO: Packet analysis {"connection_id":189615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:18:42] local.INFO: Extracted packet for processing {"connection_id":189615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:18: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-09-21 01: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-09-21 01:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":189615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:18:42] local.INFO: GPS data processed {"connection_id":189615,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:18:42] local.INFO: Acknowledgment sent {"connection_id":189615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:19:04] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:04] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:04] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:19:10] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:10] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:19:10] local.INFO: IMEI packet received {"connection_id":190946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":190946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:19:11] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:11] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:11] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:19:11] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:19:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:19:11] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:19:11] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:19:42] local.INFO: TCP Data received {"connection_id":190946,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:42] local.INFO: Processing buffer {"connection_id":190946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:19:42] local.INFO: Packet analysis {"connection_id":190946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:19:42] local.INFO: Extracted packet for processing {"connection_id":190946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":190946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:19:42] local.INFO: GPS data processed {"connection_id":190946,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:19:42] local.INFO: Acknowledgment sent {"connection_id":190946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:20:00] local.INFO: TCP Data received {"connection_id":188162,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188162,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:00] local.INFO: Processing buffer {"connection_id":188162,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:00] local.INFO: IMEI packet received {"connection_id":188162,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":188162,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:20:10] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:10] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:10] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:20:13] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:13] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:20:13] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:20:15] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:15] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:20:15] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:20:16] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:16] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:16] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:20:16] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20: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-09-21 01:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:20:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:20:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:20:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:20:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:20:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:20:16] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:20:16] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:20:16] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:20:20] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:20] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05a0868012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:20:20] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:20:20] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05a"} 
[2026-09-21 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222904320001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789933521000,"timestamp_ms":1789933521000,"timestamp_seconds":1789933521,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05a0868"} 
[2026-09-21 01:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:20:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 01:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222904320001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222904320001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222904320001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:20:20] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:20:20] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:21:05] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:05] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:05] local.INFO: IMEI packet received {"connection_id":189616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":189616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:21:10] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:10] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:21:10] local.INFO: IMEI packet received {"connection_id":189616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":189616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:21:10] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:10] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:10] local.INFO: Packet analysis {"connection_id":189616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:21:10] local.INFO: Extracted packet for processing {"connection_id":189616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:21: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-09-21 01:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":189616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:21:10] local.INFO: GPS data processed {"connection_id":189616,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:21:10] local.INFO: Acknowledgment sent {"connection_id":189616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:21:43] local.INFO: TCP Data received {"connection_id":189616,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:43] local.INFO: Processing buffer {"connection_id":189616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:21:43] local.INFO: Packet analysis {"connection_id":189616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:21:43] local.INFO: Extracted packet for processing {"connection_id":189616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:21:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:21:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":189616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:21:43] local.INFO: GPS data processed {"connection_id":189616,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:21:43] local.INFO: Acknowledgment sent {"connection_id":189616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:22:04] local.INFO: TCP Data received {"connection_id":188325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:04] local.INFO: Processing buffer {"connection_id":188325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:04] local.INFO: IMEI packet received {"connection_id":188325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":188325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:22:10] local.INFO: TCP Data received {"connection_id":188325,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:10] local.INFO: Processing buffer {"connection_id":188325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:22:10] local.INFO: IMEI packet received {"connection_id":188325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":188325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:22:10] local.INFO: TCP Data received {"connection_id":188325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:10] local.INFO: Processing buffer {"connection_id":188325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:10] local.INFO: Packet analysis {"connection_id":188325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:22:10] local.INFO: Extracted packet for processing {"connection_id":188325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 01:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 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-09-21 01:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:22: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-09-21 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-09-21 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-09-21 01:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":188325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:22:10] local.INFO: GPS data processed {"connection_id":188325,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:22:10] local.INFO: Acknowledgment sent {"connection_id":188325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:22:42] local.INFO: TCP Data received {"connection_id":188325,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:42] local.INFO: Processing buffer {"connection_id":188325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:22:42] local.INFO: Packet analysis {"connection_id":188325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:22:42] local.INFO: Extracted packet for processing {"connection_id":188325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:22: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-09-21 01: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-09-21 01:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":188325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:22:42] local.INFO: GPS data processed {"connection_id":188325,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:22:42] local.INFO: Acknowledgment sent {"connection_id":188325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:23:04] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:04] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:04] local.INFO: IMEI packet received {"connection_id":188163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:23:10] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:10] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:23:10] local.INFO: IMEI packet received {"connection_id":188163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":188163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:23:11] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:11] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:11] local.INFO: Packet analysis {"connection_id":188163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:23:11] local.INFO: Extracted packet for processing {"connection_id":188163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:23: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-09-21 01:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":188163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:23:11] local.INFO: GPS data processed {"connection_id":188163,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:23:11] local.INFO: Acknowledgment sent {"connection_id":188163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:23:42] local.INFO: TCP Data received {"connection_id":188163,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:42] local.INFO: Processing buffer {"connection_id":188163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:23:42] local.INFO: Packet analysis {"connection_id":188163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:23:42] local.INFO: Extracted packet for processing {"connection_id":188163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:23: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-09-21 01: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-09-21 01:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":188163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:23:42] local.INFO: GPS data processed {"connection_id":188163,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:23:42] local.INFO: Acknowledgment sent {"connection_id":188163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:24:04] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:04] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:04] local.INFO: IMEI packet received {"connection_id":190949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":190949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:24:10] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:10] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:24:10] local.INFO: IMEI packet received {"connection_id":190949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":190949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:24:10] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:10] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:10] local.INFO: Packet analysis {"connection_id":190949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:24:10] local.INFO: Extracted packet for processing {"connection_id":190949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:24: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-09-21 01:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":190949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:24:10] local.INFO: GPS data processed {"connection_id":190949,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:24:10] local.INFO: Acknowledgment sent {"connection_id":190949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:24:42] local.INFO: TCP Data received {"connection_id":190949,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:42] local.INFO: Processing buffer {"connection_id":190949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:24:42] local.INFO: Packet analysis {"connection_id":190949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:24:42] local.INFO: Extracted packet for processing {"connection_id":190949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:24: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-09-21 01:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":190949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:24:42] local.INFO: GPS data processed {"connection_id":190949,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:24:42] local.INFO: Acknowledgment sent {"connection_id":190949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:25:10] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:10] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:10] local.INFO: IMEI packet received {"connection_id":189619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":189619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:25:15] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:15] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:25:15] local.INFO: IMEI packet received {"connection_id":189619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":189619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:25:15] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:15] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:15] local.INFO: Packet analysis {"connection_id":189619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:25:15] local.INFO: Extracted packet for processing {"connection_id":189619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25: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-09-21 01:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":189619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:25:15] local.INFO: GPS data processed {"connection_id":189619,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:25:15] local.INFO: Acknowledgment sent {"connection_id":189619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:25:20] local.INFO: TCP Data received {"connection_id":189619,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:20] local.INFO: Processing buffer {"connection_id":189619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c05ea030012d34bdc006aa40f80000000c29..."} 
[2026-09-21 01:25:20] local.INFO: Packet analysis {"connection_id":189619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:25:20] local.INFO: Extracted packet for processing {"connection_id":189619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c05e"} 
[2026-09-21 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458222981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789933822000,"timestamp_ms":1789933822000,"timestamp_seconds":1789933822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c05ea030"} 
[2026-09-21 01:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458222981376001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458222981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458222981376001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":189619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:25:20] local.INFO: GPS data processed {"connection_id":189619,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:25:20] local.INFO: Acknowledgment sent {"connection_id":189619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:25:37] local.INFO: TCP Data received {"connection_id":190950,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:25:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:25:37] local.INFO: Processing buffer {"connection_id":190950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:25:37] local.INFO: IMEI packet received {"connection_id":190950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:25:37] local.INFO: IMEI acknowledgment sent {"connection_id":190950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:26:01] local.INFO: TCP Data received {"connection_id":189620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:01] local.INFO: Processing buffer {"connection_id":189620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:01] local.INFO: IMEI packet received {"connection_id":189620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":189620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:26:04] local.INFO: TCP Data received {"connection_id":189620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:04] local.INFO: Processing buffer {"connection_id":189620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:04] local.INFO: IMEI packet received {"connection_id":189620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":189620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:26:10] local.INFO: TCP Data received {"connection_id":189620,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:10] local.INFO: Processing buffer {"connection_id":189620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:26:10] local.INFO: IMEI packet received {"connection_id":189620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":189620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:26:10] local.INFO: TCP Data received {"connection_id":189620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:10] local.INFO: Processing buffer {"connection_id":189620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:10] local.INFO: Packet analysis {"connection_id":189620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:26:10] local.INFO: Extracted packet for processing {"connection_id":189620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:26: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-09-21 01: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-09-21 01:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":189620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:26:10] local.INFO: GPS data processed {"connection_id":189620,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:26:10] local.INFO: Acknowledgment sent {"connection_id":189620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:26:16] local.INFO: TCP Data received {"connection_id":188164,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:26:16] local.INFO: Processing buffer {"connection_id":188164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:26:16] local.INFO: IMEI packet received {"connection_id":188164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":188164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:26:41] local.INFO: TCP Data received {"connection_id":189620,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:41] local.INFO: Processing buffer {"connection_id":189620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:26:41] local.INFO: Packet analysis {"connection_id":189620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:26:41] local.INFO: Extracted packet for processing {"connection_id":189620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:26: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-09-21 01:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:26: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-09-21 01:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":189620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:26:41] local.INFO: GPS data processed {"connection_id":189620,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:26:41] local.INFO: Acknowledgment sent {"connection_id":189620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:27:04] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:04] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:04] local.INFO: IMEI packet received {"connection_id":190951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":190951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:27:10] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:10] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:27:10] local.INFO: IMEI packet received {"connection_id":190951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":190951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:27:11] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:11] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:11] local.INFO: Packet analysis {"connection_id":190951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:27:11] local.INFO: Extracted packet for processing {"connection_id":190951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:27: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-09-21 01:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":190951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:27:11] local.INFO: GPS data processed {"connection_id":190951,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:27:11] local.INFO: Acknowledgment sent {"connection_id":190951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:27:43] local.INFO: TCP Data received {"connection_id":190951,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:43] local.INFO: Processing buffer {"connection_id":190951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:27:43] local.INFO: Packet analysis {"connection_id":190951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:27:43] local.INFO: Extracted packet for processing {"connection_id":190951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:27:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:27:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:27:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:27:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:27:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:27:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:27:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:27:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":190951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:27:43] local.INFO: GPS data processed {"connection_id":190951,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:27:43] local.INFO: Acknowledgment sent {"connection_id":190951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:28:04] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:04] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:04] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:28:10] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:10] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:28:10] local.INFO: IMEI packet received {"connection_id":188166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":188166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:28:10] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:10] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:10] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:28:10] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:28: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-09-21 01: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-09-21 01:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:28:10] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:28:10] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:28:42] local.INFO: TCP Data received {"connection_id":188166,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:42] local.INFO: Processing buffer {"connection_id":188166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:28:42] local.INFO: Packet analysis {"connection_id":188166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:28:42] local.INFO: Extracted packet for processing {"connection_id":188166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:28: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-09-21 01:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":188166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:28:42] local.INFO: GPS data processed {"connection_id":188166,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:28:42] local.INFO: Acknowledgment sent {"connection_id":188166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:29:04] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:04] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:04] local.INFO: IMEI packet received {"connection_id":188327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":188327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:29:10] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:10] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:29:10] local.INFO: IMEI packet received {"connection_id":188327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":188327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:29:11] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:11] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:11] local.INFO: Packet analysis {"connection_id":188327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:29:11] local.INFO: Extracted packet for processing {"connection_id":188327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:29: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-09-21 01:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:29:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":188327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:29:11] local.INFO: GPS data processed {"connection_id":188327,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:29:11] local.INFO: Acknowledgment sent {"connection_id":188327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:29:38] local.INFO: TCP Data received {"connection_id":189622,"ip":"61.29.249.133","data_length":257,"data_hex":"16030100fc010000f803030eec145f90b54aa9f75a8adf55a0d366313f9b1438..."} 
[2026-09-21 01:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189622,"packet_length":257,"packet_hex":"16030100fc010000f803030eec145f90b54aa9f75a8adf55a0d366313f9b1438..."} 
[2026-09-21 01:29:38] local.INFO: Processing buffer {"connection_id":189622,"buffer_length":257,"buffer_hex":"16030100fc010000f803030eec145f90b54aa9f75a8adf55a0d366313f9b1438..."} 
[2026-09-21 01:29:38] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":189622,"buffer_length":257,"first_bytes_hex":"16030100fc010000f803030eec145f90"} 
[2026-09-21 01:29:42] local.INFO: TCP Data received {"connection_id":188327,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:42] local.INFO: Processing buffer {"connection_id":188327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:29:42] local.INFO: Packet analysis {"connection_id":188327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:29:42] local.INFO: Extracted packet for processing {"connection_id":188327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:29: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-09-21 01: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-09-21 01:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":188327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:29:42] local.INFO: GPS data processed {"connection_id":188327,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:29:42] local.INFO: Acknowledgment sent {"connection_id":188327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:29:57] local.INFO: TCP Data received {"connection_id":190952,"ip":"61.29.249.133","data_length":254,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190952,"packet_length":254,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 01:29:57] local.INFO: Processing buffer {"connection_id":190952,"buffer_length":254,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 01:29:57] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":190952,"buffer_length":254,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-21 01:30:04] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:04] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:04] local.INFO: IMEI packet received {"connection_id":188168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":188168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:30:10] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:10] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:30:10] local.INFO: IMEI packet received {"connection_id":188168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":188168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:30:10] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:10] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:10] local.INFO: Packet analysis {"connection_id":188168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:30:10] local.INFO: Extracted packet for processing {"connection_id":188168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:30: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-09-21 01:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":188168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:30:10] local.INFO: GPS data processed {"connection_id":188168,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:30:10] local.INFO: Acknowledgment sent {"connection_id":188168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:30:16] local.INFO: TCP Data received {"connection_id":189624,"ip":"61.29.249.133","data_length":4,"data_hex":"0d0a0d0a..."} 
[2026-09-21 01:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189624,"packet_length":4,"packet_hex":"0d0a0d0a..."} 
[2026-09-21 01:30:16] local.INFO: Processing buffer {"connection_id":189624,"buffer_length":4,"buffer_hex":"0d0a0d0a..."} 
[2026-09-21 01:30:34] local.INFO: TCP Data received {"connection_id":188169,"ip":"61.29.249.133","data_length":41,"data_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-09-21 01:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188169,"packet_length":41,"packet_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-09-21 01:30:34] local.INFO: Processing buffer {"connection_id":188169,"buffer_length":41,"buffer_hex":"050400010280050100030a6769746875622e636f6d0050474554202f20485454..."} 
[2026-09-21 01:30:34] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":188169,"buffer_length":41,"first_bytes_hex":"050400010280050100030a6769746875"} 
[2026-09-21 01:30:42] local.INFO: TCP Data received {"connection_id":188168,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:42] local.INFO: Processing buffer {"connection_id":188168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06337f8012d34bdc006aa40f80007000c2b..."} 
[2026-09-21 01:30:42] local.INFO: Packet analysis {"connection_id":188168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:30:42] local.INFO: Extracted packet for processing {"connection_id":188168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c063"} 
[2026-09-21 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223058432001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:30: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-09-21 01:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934123000,"timestamp_ms":1789934123000,"timestamp_seconds":1789934123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06337f8"} 
[2026-09-21 01:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:30: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-09-21 01:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223058432001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223058432001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223058432001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":188168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:30:42] local.INFO: GPS data processed {"connection_id":188168,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:30:42] local.INFO: Acknowledgment sent {"connection_id":188168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:30:53] local.INFO: TCP Data received {"connection_id":190954,"ip":"61.29.249.133","data_length":11,"data_hex":"0300000b06e00000000000..."} 
[2026-09-21 01:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190954,"packet_length":11,"packet_hex":"0300000b06e00000000000..."} 
[2026-09-21 01:30:53] local.INFO: Processing buffer {"connection_id":190954,"buffer_length":11,"buffer_hex":"0300000b06e00000000000..."} 
[2026-09-21 01:31:02] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:02] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:02] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:31:04] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:04] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:04] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:31:10] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:10] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:31:10] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:31:11] local.INFO: TCP Data received {"connection_id":189625,"ip":"61.29.249.133","data_length":51,"data_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-21 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189625,"packet_length":51,"packet_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-21 01:31:11] local.INFO: Processing buffer {"connection_id":189625,"buffer_length":51,"buffer_hex":"030000332ee00000000000436f6f6b69653a206d737473686173683d41646d69..."} 
[2026-09-21 01:31:11] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":189625,"buffer_length":51,"first_bytes_hex":"030000332ee00000000000436f6f6b69"} 
[2026-09-21 01:31:12] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:12] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:12] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:31:12] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:31:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:31:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:31:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:31:12] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:31:12] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:31:42] local.INFO: TCP Data received {"connection_id":190955,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:31:42] local.INFO: Processing buffer {"connection_id":190955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:31:42] local.INFO: IMEI packet received {"connection_id":190955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":190955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:31:44] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:44] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:31:44] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:31:44] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:31:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:31:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:31:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:31:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:31:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:31:44] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:31:44] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:32:04] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:04] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:04] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:32:10] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:10] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:32:10] local.INFO: IMEI packet received {"connection_id":190956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":190956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:32:10] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:10] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:10] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:32:10] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:32: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-09-21 01: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-09-21 01:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:32:10] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:32:10] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:32:16] local.INFO: TCP Data received {"connection_id":190957,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190957,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:32:16] local.INFO: Processing buffer {"connection_id":190957,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:32:16] local.INFO: IMEI packet received {"connection_id":190957,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":190957,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:32:42] local.INFO: TCP Data received {"connection_id":190956,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:42] local.INFO: Processing buffer {"connection_id":190956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:32:42] local.INFO: Packet analysis {"connection_id":190956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:32:42] local.INFO: Extracted packet for processing {"connection_id":190956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:32: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-09-21 01: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-09-21 01:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":190956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:32:42] local.INFO: GPS data processed {"connection_id":190956,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:32:42] local.INFO: Acknowledgment sent {"connection_id":190956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:33:04] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:04] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:04] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:33:10] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:10] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:33:10] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:33:11] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:11] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:11] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:33:11] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:33: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-09-21 01:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:33:11] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:33:11] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:33:45] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:45] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:33:45] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:33:45] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:33:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:33:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:33:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:33:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:33:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:33:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:33:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:33:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:33: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-09-21 01:33:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:33:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:33:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:33:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:33:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:33:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:33:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:33:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:33:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:33:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:33:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:33:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:33:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:33:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:33:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:33:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:33:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:33:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:33:45] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:33:45] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:33:45] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:34:04] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:04] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:04] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:34:10] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:10] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:34:10] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:34:10] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:10] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:10] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:34:10] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:34: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-09-21 01:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:34:10] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:34:10] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:34:42] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:42] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:34:42] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:34:42] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:34: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-09-21 01:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:34:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:34:42] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:34:42] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:35:04] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:04] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:04] local.INFO: IMEI packet received {"connection_id":188170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":188170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:35:09] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:09] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:35:09] local.INFO: IMEI packet received {"connection_id":188170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:35:11] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:11] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:11] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:35:11] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:35: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-09-21 01:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:35:11] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:35:11] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:35:42] local.INFO: TCP Data received {"connection_id":188170,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:42] local.INFO: Processing buffer {"connection_id":188170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c067cfc0012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 01:35:42] local.INFO: Packet analysis {"connection_id":188170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:35:42] local.INFO: Extracted packet for processing {"connection_id":188170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c067"} 
[2026-09-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223135488001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:35: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-09-21 01:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789934424000,"timestamp_ms":1789934424000,"timestamp_seconds":1789934424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c067cfc0"} 
[2026-09-21 01:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:35: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-09-21 01:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:35:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223135488001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223135488001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223135488001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":188170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:35:42] local.INFO: GPS data processed {"connection_id":188170,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:35:42] local.INFO: Acknowledgment sent {"connection_id":188170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:36:10] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:10] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:10] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:36:15] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:15] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:36:15] local.INFO: IMEI packet received {"connection_id":188171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:36:16] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:16] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:16] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:36:16] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36: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-09-21 01:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:36:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:36:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:36:16] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:36:16] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:36:20] local.INFO: TCP Data received {"connection_id":188171,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:20] local.INFO: Processing buffer {"connection_id":188171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:36:20] local.INFO: Packet analysis {"connection_id":188171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:36:20] local.INFO: Extracted packet for processing {"connection_id":188171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":188171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:36:20] local.INFO: GPS data processed {"connection_id":188171,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:36:20] local.INFO: Acknowledgment sent {"connection_id":188171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:37:04] local.INFO: TCP Data received {"connection_id":189628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:04] local.INFO: Processing buffer {"connection_id":189628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:04] local.INFO: IMEI packet received {"connection_id":189628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":189628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:37:10] local.INFO: TCP Data received {"connection_id":189628,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:10] local.INFO: Processing buffer {"connection_id":189628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:37:10] local.INFO: IMEI packet received {"connection_id":189628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":189628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:37:11] local.INFO: TCP Data received {"connection_id":189628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:11] local.INFO: Processing buffer {"connection_id":189628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:11] local.INFO: Packet analysis {"connection_id":189628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:37:11] local.INFO: Extracted packet for processing {"connection_id":189628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":189628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:37:11] local.INFO: GPS data processed {"connection_id":189628,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:37:11] local.INFO: Acknowledgment sent {"connection_id":189628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:37:31] local.INFO: TCP Data received {"connection_id":188172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:37:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:37:31] local.INFO: Processing buffer {"connection_id":188172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:37:31] local.INFO: IMEI packet received {"connection_id":188172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:37:31] local.INFO: IMEI acknowledgment sent {"connection_id":188172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:37:43] local.INFO: TCP Data received {"connection_id":189628,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:43] local.INFO: Processing buffer {"connection_id":189628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:37:43] local.INFO: Packet analysis {"connection_id":189628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:37:43] local.INFO: Extracted packet for processing {"connection_id":189628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:37:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:37:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:37:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:37: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-09-21 01:37:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:37:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:37:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":189628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:37:43] local.INFO: GPS data processed {"connection_id":189628,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:37:43] local.INFO: Acknowledgment sent {"connection_id":189628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:38:09] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:09] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:09] local.INFO: IMEI packet received {"connection_id":188332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:38:15] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:15] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:38:15] local.INFO: IMEI packet received {"connection_id":188332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":188332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:38:16] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:16] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:16] local.INFO: Packet analysis {"connection_id":188332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:38:16] local.INFO: Extracted packet for processing {"connection_id":188332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:38:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38: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-09-21 01:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:38:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:38:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:38:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:38:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:38:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:38:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:38:16] local.INFO: DEBUG: GPS processor result {"connection_id":188332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:38:16] local.INFO: GPS data processed {"connection_id":188332,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:38:16] local.INFO: Acknowledgment sent {"connection_id":188332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:38:16] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:38:16] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:38:16] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:38:47] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:47] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:38:47] local.INFO: Packet analysis {"connection_id":188332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:38:47] local.INFO: Extracted packet for processing {"connection_id":188332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:38:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:38:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:38:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:38:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:38:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:38:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:38:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:38: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-09-21 01:38:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:38:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:38:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:38:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:38:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:38:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:38:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:38:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:38:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:38:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:38:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:38:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:38:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:38:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:38:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:38:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:38:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:38:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:38:47] local.INFO: DEBUG: GPS processor result {"connection_id":188332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:38:47] local.INFO: GPS data processed {"connection_id":188332,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:38:47] local.INFO: Acknowledgment sent {"connection_id":188332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:39:05] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:05] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:05] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:39:10] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:10] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:39:10] local.INFO: IMEI packet received {"connection_id":188173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":188173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:39:11] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:11] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:11] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:39:11] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:39:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:39:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:39:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:39:11] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:39:11] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:39:43] local.INFO: TCP Data received {"connection_id":188173,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:43] local.INFO: Processing buffer {"connection_id":188173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:39:43] local.INFO: Packet analysis {"connection_id":188173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:39:43] local.INFO: Extracted packet for processing {"connection_id":188173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:39: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-09-21 01: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-09-21 01:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":188173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:39:43] local.INFO: GPS data processed {"connection_id":188173,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:39:43] local.INFO: Acknowledgment sent {"connection_id":188173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:40:04] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:04] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:04] local.INFO: IMEI packet received {"connection_id":188174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":188174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:40:09] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:09] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:40:09] local.INFO: IMEI packet received {"connection_id":188174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:40:10] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:10] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:10] local.INFO: Packet analysis {"connection_id":188174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:40:10] local.INFO: Extracted packet for processing {"connection_id":188174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":188174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:40:10] local.INFO: GPS data processed {"connection_id":188174,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:40:10] local.INFO: Acknowledgment sent {"connection_id":188174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:40:41] local.INFO: TCP Data received {"connection_id":188174,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:41] local.INFO: Processing buffer {"connection_id":188174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c06c6788012d34bdc006aa40f8000c000c2b..."} 
[2026-09-21 01:40:41] local.INFO: Packet analysis {"connection_id":188174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:40:41] local.INFO: Extracted packet for processing {"connection_id":188174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c06c"} 
[2026-09-21 01:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223212544001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789934725000,"timestamp_ms":1789934725000,"timestamp_seconds":1789934725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c06c6788"} 
[2026-09-21 01:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:40: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-09-21 01: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-09-21 01:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223212544001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223212544001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223212544001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:40:41] local.INFO: GPS data processed {"connection_id":188174,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:40:41] local.INFO: Acknowledgment sent {"connection_id":188174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:41:04] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:04] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:04] local.INFO: IMEI packet received {"connection_id":189630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":189630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:41:05] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:05] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:05] local.INFO: IMEI packet received {"connection_id":189630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":189630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:41:10] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:10] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:41:10] local.INFO: IMEI packet received {"connection_id":189630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":189630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:41:11] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:11] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:11] local.INFO: Packet analysis {"connection_id":189630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:41:11] local.INFO: Extracted packet for processing {"connection_id":189630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":189630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:41:11] local.INFO: GPS data processed {"connection_id":189630,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:41:11] local.INFO: Acknowledgment sent {"connection_id":189630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:41:42] local.INFO: TCP Data received {"connection_id":189630,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:42] local.INFO: Processing buffer {"connection_id":189630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:41:42] local.INFO: Packet analysis {"connection_id":189630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:41:42] local.INFO: Extracted packet for processing {"connection_id":189630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:41: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-09-21 01: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-09-21 01:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:41:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":189630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:41:42] local.INFO: GPS data processed {"connection_id":189630,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:41:42] local.INFO: Acknowledgment sent {"connection_id":189630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:42:10] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:10] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:10] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:42:15] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:15] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:42:15] local.INFO: IMEI packet received {"connection_id":190959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":190959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:42:16] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:16] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:16] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:42:16] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42: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-09-21 01:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:42:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:42:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:42: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-09-21 01:42:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:42:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:42:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:42:16] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:42:16] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:42:20] local.INFO: TCP Data received {"connection_id":190959,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:20] local.INFO: Processing buffer {"connection_id":190959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:42:20] local.INFO: Packet analysis {"connection_id":190959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:42:20] local.INFO: Extracted packet for processing {"connection_id":190959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:42:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:42:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:42:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:42:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":190959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:42:20] local.INFO: GPS data processed {"connection_id":190959,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:42:20] local.INFO: Acknowledgment sent {"connection_id":190959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:43:05] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:05] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:05] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:43:10] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:10] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:43:10] local.INFO: IMEI packet received {"connection_id":188176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":188176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:43:11] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:11] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:11] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:43:11] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:43:11] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:43:11] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:43:41] local.INFO: TCP Data received {"connection_id":188177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:43:41] local.INFO: Processing buffer {"connection_id":188177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:43:41] local.INFO: IMEI packet received {"connection_id":188177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:43:41] local.INFO: IMEI acknowledgment sent {"connection_id":188177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:43:43] local.INFO: TCP Data received {"connection_id":188176,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:43] local.INFO: Processing buffer {"connection_id":188176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:43:43] local.INFO: Packet analysis {"connection_id":188176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:43:43] local.INFO: Extracted packet for processing {"connection_id":188176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":188176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:43:43] local.INFO: GPS data processed {"connection_id":188176,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:43:43] local.INFO: Acknowledgment sent {"connection_id":188176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:44:04] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:04] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:04] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:44:10] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:10] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:44:10] local.INFO: IMEI packet received {"connection_id":188336,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":188336,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:44:10] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:10] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:10] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:44:10] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:44: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-09-21 01: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-09-21 01:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:44:10] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:44:10] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:44:16] local.INFO: TCP Data received {"connection_id":190960,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:44:16] local.INFO: Processing buffer {"connection_id":190960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:44:16] local.INFO: IMEI packet received {"connection_id":190960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":190960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:44:42] local.INFO: TCP Data received {"connection_id":188336,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:42] local.INFO: Processing buffer {"connection_id":188336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:44:42] local.INFO: Packet analysis {"connection_id":188336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:44:42] local.INFO: Extracted packet for processing {"connection_id":188336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:44: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-09-21 01: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-09-21 01:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188336,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":188336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:44:42] local.INFO: GPS data processed {"connection_id":188336,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:44:42] local.INFO: Acknowledgment sent {"connection_id":188336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:45:04] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:04] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:04] local.INFO: IMEI packet received {"connection_id":189631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":189631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:45:10] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:10] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:45:10] local.INFO: IMEI packet received {"connection_id":189631,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":189631,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:45:11] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:11] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:11] local.INFO: Packet analysis {"connection_id":189631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:45:11] local.INFO: Extracted packet for processing {"connection_id":189631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":189631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:45:11] local.INFO: GPS data processed {"connection_id":189631,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:45:11] local.INFO: Acknowledgment sent {"connection_id":189631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:45:43] local.INFO: TCP Data received {"connection_id":189631,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:43] local.INFO: Processing buffer {"connection_id":189631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c070ff50012d34bdc006aa40f80004000c29..."} 
[2026-09-21 01:45:43] local.INFO: Packet analysis {"connection_id":189631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:45:43] local.INFO: Extracted packet for processing {"connection_id":189631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c070"} 
[2026-09-21 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223289600001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789935026000,"timestamp_ms":1789935026000,"timestamp_seconds":1789935026,"priority":1,"record_length":96,"hex_timestamp":"000001a0c070ff50"} 
[2026-09-21 01:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189631,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223289600001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223289600001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223289600001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":189631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:45:43] local.INFO: GPS data processed {"connection_id":189631,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:45:43] local.INFO: Acknowledgment sent {"connection_id":189631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:46:04] local.INFO: TCP Data received {"connection_id":189632,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:04] local.INFO: Processing buffer {"connection_id":189632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:04] local.INFO: IMEI packet received {"connection_id":189632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":189632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:46:05] local.INFO: TCP Data received {"connection_id":189632,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:05] local.INFO: Processing buffer {"connection_id":189632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:05] local.INFO: IMEI packet received {"connection_id":189632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":189632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:46:09] local.INFO: TCP Data received {"connection_id":189632,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:09] local.INFO: Processing buffer {"connection_id":189632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:46:09] local.INFO: IMEI packet received {"connection_id":189632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":189632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:46:10] local.INFO: TCP Data received {"connection_id":189632,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:10] local.INFO: Processing buffer {"connection_id":189632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:10] local.INFO: Packet analysis {"connection_id":189632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:46:10] local.INFO: Extracted packet for processing {"connection_id":189632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:46: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-09-21 01: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-09-21 01:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":189632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:46:10] local.INFO: GPS data processed {"connection_id":189632,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:46:10] local.INFO: Acknowledgment sent {"connection_id":189632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:46:42] local.INFO: TCP Data received {"connection_id":189632,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:42] local.INFO: Processing buffer {"connection_id":189632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:46:42] local.INFO: Packet analysis {"connection_id":189632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:46:42] local.INFO: Extracted packet for processing {"connection_id":189632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":189632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:46:42] local.INFO: GPS data processed {"connection_id":189632,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:46:42] local.INFO: Acknowledgment sent {"connection_id":189632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:47:05] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:05] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:05] local.INFO: IMEI packet received {"connection_id":189634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":189634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:47:10] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:10] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:47:10] local.INFO: IMEI packet received {"connection_id":189634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":189634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:47:11] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:11] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:11] local.INFO: Packet analysis {"connection_id":189634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:47:11] local.INFO: Extracted packet for processing {"connection_id":189634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:47: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-09-21 01:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":189634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:47:11] local.INFO: GPS data processed {"connection_id":189634,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:47:11] local.INFO: Acknowledgment sent {"connection_id":189634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:47:42] local.INFO: TCP Data received {"connection_id":189634,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:42] local.INFO: Processing buffer {"connection_id":189634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:47:42] local.INFO: Packet analysis {"connection_id":189634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:47:42] local.INFO: Extracted packet for processing {"connection_id":189634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:47: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-09-21 01: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-09-21 01:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":189634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:47:42] local.INFO: GPS data processed {"connection_id":189634,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:47:42] local.INFO: Acknowledgment sent {"connection_id":189634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:48:04] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:04] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:04] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:48:10] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:10] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:48:10] local.INFO: IMEI packet received {"connection_id":190963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":190963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:48:11] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:11] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:11] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:48:11] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:48:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:48:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:48:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:48: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-09-21 01:48:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:48:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:48:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:48:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:48:11] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:48:11] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:48:42] local.INFO: TCP Data received {"connection_id":190963,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:42] local.INFO: Processing buffer {"connection_id":190963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:48:42] local.INFO: Packet analysis {"connection_id":190963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:48:42] local.INFO: Extracted packet for processing {"connection_id":190963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:48: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-09-21 01:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:48:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":190963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:48:42] local.INFO: GPS data processed {"connection_id":190963,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:48:42] local.INFO: Acknowledgment sent {"connection_id":190963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:49:04] local.INFO: TCP Data received {"connection_id":188178,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:04] local.INFO: Processing buffer {"connection_id":188178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:04] local.INFO: IMEI packet received {"connection_id":188178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:49:09] local.INFO: TCP Data received {"connection_id":188178,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:09] local.INFO: Processing buffer {"connection_id":188178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:49:09] local.INFO: IMEI packet received {"connection_id":188178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:49:11] local.INFO: TCP Data received {"connection_id":188178,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:11] local.INFO: Processing buffer {"connection_id":188178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:11] local.INFO: Packet analysis {"connection_id":188178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:49:11] local.INFO: Extracted packet for processing {"connection_id":188178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:49:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:49: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-09-21 01:49:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":188178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:49:11] local.INFO: GPS data processed {"connection_id":188178,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:49:11] local.INFO: Acknowledgment sent {"connection_id":188178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:49:41] local.INFO: TCP Data received {"connection_id":190964,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:49:41] local.INFO: Processing buffer {"connection_id":190964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:49:41] local.INFO: IMEI packet received {"connection_id":190964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:49:41] local.INFO: IMEI acknowledgment sent {"connection_id":190964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:49:42] local.INFO: TCP Data received {"connection_id":188178,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:42] local.INFO: Processing buffer {"connection_id":188178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:49:42] local.INFO: Packet analysis {"connection_id":188178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:49:42] local.INFO: Extracted packet for processing {"connection_id":188178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:49: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-09-21 01: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-09-21 01:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:49:42] local.INFO: GPS data processed {"connection_id":188178,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:49:42] local.INFO: Acknowledgment sent {"connection_id":188178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:50:04] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:04] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:04] local.INFO: IMEI packet received {"connection_id":188338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":188338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:50:09] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:09] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:50:09] local.INFO: IMEI packet received {"connection_id":188338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:50:10] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:10] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:10] local.INFO: Packet analysis {"connection_id":188338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:50:10] local.INFO: Extracted packet for processing {"connection_id":188338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:50: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-09-21 01:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":188338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:50:10] local.INFO: GPS data processed {"connection_id":188338,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:50:10] local.INFO: Acknowledgment sent {"connection_id":188338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:50:16] local.INFO: TCP Data received {"connection_id":188179,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:50:16] local.INFO: Processing buffer {"connection_id":188179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:50:16] local.INFO: IMEI packet received {"connection_id":188179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":188179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:50:42] local.INFO: TCP Data received {"connection_id":188338,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:42] local.INFO: Processing buffer {"connection_id":188338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0759718012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 01:50:42] local.INFO: Packet analysis {"connection_id":188338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:50:42] local.INFO: Extracted packet for processing {"connection_id":188338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c075"} 
[2026-09-21 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223366656001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:50: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-09-21 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935327000,"timestamp_ms":1789935327000,"timestamp_seconds":1789935327,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0759718"} 
[2026-09-21 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 01:50: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-09-21 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223366656001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223366656001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223366656001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":188338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:50:42] local.INFO: GPS data processed {"connection_id":188338,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:50:42] local.INFO: Acknowledgment sent {"connection_id":188338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:51:04] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:04] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:04] local.INFO: IMEI packet received {"connection_id":189637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":189637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:51:06] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:06] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:06] local.INFO: IMEI packet received {"connection_id":189637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":189637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:51:10] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:10] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:51:10] local.INFO: IMEI packet received {"connection_id":189637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":189637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:51:11] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:11] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:11] local.INFO: Packet analysis {"connection_id":189637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:51:11] local.INFO: Extracted packet for processing {"connection_id":189637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 01:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 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-09-21 01:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 01:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":189637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:51:11] local.INFO: GPS data processed {"connection_id":189637,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:51:11] local.INFO: Acknowledgment sent {"connection_id":189637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:51:42] local.INFO: TCP Data received {"connection_id":189637,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:42] local.INFO: Processing buffer {"connection_id":189637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:51:42] local.INFO: Packet analysis {"connection_id":189637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:51:42] local.INFO: Extracted packet for processing {"connection_id":189637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:51: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-09-21 01:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":189637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:51:42] local.INFO: GPS data processed {"connection_id":189637,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:51:42] local.INFO: Acknowledgment sent {"connection_id":189637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:52:04] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:04] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:04] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:52:10] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:10] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:52:10] local.INFO: IMEI packet received {"connection_id":190965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":190965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:52:11] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:11] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:11] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:52:11] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:52:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:52:11] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:52:11] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:52:42] local.INFO: TCP Data received {"connection_id":190965,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:42] local.INFO: Processing buffer {"connection_id":190965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:52:42] local.INFO: Packet analysis {"connection_id":190965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:52:42] local.INFO: Extracted packet for processing {"connection_id":190965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:52: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-09-21 01: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-09-21 01:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":190965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:52:42] local.INFO: GPS data processed {"connection_id":190965,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:52:42] local.INFO: Acknowledgment sent {"connection_id":190965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:53:05] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:05] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:05] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:53:10] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:10] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:53:10] local.INFO: IMEI packet received {"connection_id":188340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":188340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:53:11] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:11] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:11] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:53:11] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:53: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:53:11] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:53:11] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:53:42] local.INFO: TCP Data received {"connection_id":188340,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:42] local.INFO: Processing buffer {"connection_id":188340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:53:42] local.INFO: Packet analysis {"connection_id":188340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:53:42] local.INFO: Extracted packet for processing {"connection_id":188340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:53: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-09-21 01: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-09-21 01:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":188340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:53:43] local.INFO: GPS data processed {"connection_id":188340,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:53:43] local.INFO: Acknowledgment sent {"connection_id":188340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:54:04] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:04] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:04] local.INFO: IMEI packet received {"connection_id":188341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":188341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:54:09] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:09] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:54:09] local.INFO: IMEI packet received {"connection_id":188341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:54:10] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:10] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:10] local.INFO: Packet analysis {"connection_id":188341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:54:10] local.INFO: Extracted packet for processing {"connection_id":188341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01: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-09-21 01:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:54:10] local.INFO: GPS data processed {"connection_id":188341,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:54:10] local.INFO: Acknowledgment sent {"connection_id":188341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:54:42] local.INFO: TCP Data received {"connection_id":188341,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:42] local.INFO: Processing buffer {"connection_id":188341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:54:42] local.INFO: Packet analysis {"connection_id":188341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:54:42] local.INFO: Extracted packet for processing {"connection_id":188341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:54: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-09-21 01:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":188341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:54:42] local.INFO: GPS data processed {"connection_id":188341,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:54:42] local.INFO: Acknowledgment sent {"connection_id":188341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:55:04] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:04] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:04] local.INFO: IMEI packet received {"connection_id":189639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":189639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:55:09] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:09] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:55:09] local.INFO: IMEI packet received {"connection_id":189639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":189639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:55:11] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:11] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:11] local.INFO: Packet analysis {"connection_id":189639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:55:11] local.INFO: Extracted packet for processing {"connection_id":189639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":189639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:55:11] local.INFO: GPS data processed {"connection_id":189639,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:55:11] local.INFO: Acknowledgment sent {"connection_id":189639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:55:42] local.INFO: TCP Data received {"connection_id":189639,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:42] local.INFO: Processing buffer {"connection_id":189639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07a2ee0012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 01:55:42] local.INFO: Packet analysis {"connection_id":189639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:55:42] local.INFO: Extracted packet for processing {"connection_id":189639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07a"} 
[2026-09-21 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223443712001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:55: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-09-21 01:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935628000,"timestamp_ms":1789935628000,"timestamp_seconds":1789935628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07a2ee0"} 
[2026-09-21 01:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 01:55: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-09-21 01:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223443712001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223443712001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223443712001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":189639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:55:42] local.INFO: GPS data processed {"connection_id":189639,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:55:42] local.INFO: Acknowledgment sent {"connection_id":189639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:55:44] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:55:44] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:55:44] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:55:44] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:56:04] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:04] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:04] local.INFO: IMEI packet received {"connection_id":189640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":189640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:56:07] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:07] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:07] local.INFO: IMEI packet received {"connection_id":189640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":189640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:56:09] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:09] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:56:09] local.INFO: IMEI packet received {"connection_id":189640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":189640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:56:10] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:10] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:10] local.INFO: Packet analysis {"connection_id":189640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:56:10] local.INFO: Extracted packet for processing {"connection_id":189640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:56: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-09-21 01:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":189640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:56:10] local.INFO: GPS data processed {"connection_id":189640,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:56:10] local.INFO: Acknowledgment sent {"connection_id":189640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:56:19] local.INFO: TCP Data received {"connection_id":188181,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188181,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:56:19] local.INFO: Processing buffer {"connection_id":188181,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 01:56:19] local.INFO: IMEI packet received {"connection_id":188181,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 01:56:19] local.INFO: IMEI acknowledgment sent {"connection_id":188181,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:56:42] local.INFO: TCP Data received {"connection_id":189640,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:42] local.INFO: Processing buffer {"connection_id":189640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:56:42] local.INFO: Packet analysis {"connection_id":189640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:56:42] local.INFO: Extracted packet for processing {"connection_id":189640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:56: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-09-21 01:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:56: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-09-21 01:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":189640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:56:42] local.INFO: GPS data processed {"connection_id":189640,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:56:42] local.INFO: Acknowledgment sent {"connection_id":189640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:57:05] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:05] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:05] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:57:09] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:09] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:57:09] local.INFO: IMEI packet received {"connection_id":188182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:57:11] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:11] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:11] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:57:11] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:57:11] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:57:11] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:57:43] local.INFO: TCP Data received {"connection_id":188182,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:43] local.INFO: Processing buffer {"connection_id":188182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:57:43] local.INFO: Packet analysis {"connection_id":188182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:57:43] local.INFO: Extracted packet for processing {"connection_id":188182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 01:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":188182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:57:43] local.INFO: GPS data processed {"connection_id":188182,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:57:43] local.INFO: Acknowledgment sent {"connection_id":188182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:58:04] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:04] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:04] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:58:09] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:09] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:58:09] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:58:10] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:10] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:10] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:58:10] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:58:10] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:58:10] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:58:42] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:42] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:58:42] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:58:42] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01: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-09-21 01: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-09-21 01: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-09-21 01:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:58:42] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:58:42] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:59:04] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:04] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:04] local.INFO: IMEI packet received {"connection_id":188344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 01:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":188344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 01:59:09] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:09] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 01:59:09] local.INFO: IMEI packet received {"connection_id":188344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 01:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 01:59:11] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:11] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:11] local.INFO: Packet analysis {"connection_id":188344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:59:11] local.INFO: Extracted packet for processing {"connection_id":188344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":188344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:59:11] local.INFO: GPS data processed {"connection_id":188344,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:59:11] local.INFO: Acknowledgment sent {"connection_id":188344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 01:59:43] local.INFO: TCP Data received {"connection_id":188344,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:43] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 01:59:43] local.INFO: Packet analysis {"connection_id":188344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:59:43] local.INFO: Extracted packet for processing {"connection_id":188344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 01:59:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 01:59:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 01:59:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 01: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-09-21 01:59:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 01:59:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 01:59:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 01:59:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 01:59:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 01:59:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 01:59:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 01:59:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 01:59:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 01:59:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:59:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 01:59:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 01:59:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 01:59:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 01:59:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 01:59:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 01:59:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 01:59:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 01:59:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 01:59:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 01:59:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 01:59:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 01:59:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 01:59:43] local.INFO: DEBUG: GPS processor result {"connection_id":188344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 01:59:43] local.INFO: GPS data processed {"connection_id":188344,"processed":1,"errors":0,"total":1} 
[2026-09-21 01:59:43] local.INFO: Acknowledgment sent {"connection_id":188344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:00:04] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:04] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:04] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:00:09] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:09] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:00:09] local.INFO: IMEI packet received {"connection_id":188185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:00:10] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:10] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:10] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 02:00:10] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 02:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:00: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-09-21 02: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-09-21 02:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:00:10] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:00:10] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:00:42] local.INFO: TCP Data received {"connection_id":188185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:42] local.INFO: Processing buffer {"connection_id":188185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c07ec6a8012d34bdc006aa40f80006000c2d..."} 
[2026-09-21 02:00:42] local.INFO: Packet analysis {"connection_id":188185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 02:00:42] local.INFO: Extracted packet for processing {"connection_id":188185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c07e"} 
[2026-09-21 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223520768001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789935929000,"timestamp_ms":1789935929000,"timestamp_seconds":1789935929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c07ec6a8"} 
[2026-09-21 02:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02: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-09-21 02:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223520768001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223520768001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223520768001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":188185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:00:42] local.INFO: GPS data processed {"connection_id":188185,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:00:42] local.INFO: Acknowledgment sent {"connection_id":188185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:01:04] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:04] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:04] local.INFO: IMEI packet received {"connection_id":189642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":189642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:01:08] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:08] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:08] local.INFO: IMEI packet received {"connection_id":189642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":189642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:01:09] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:09] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:01:09] local.INFO: IMEI packet received {"connection_id":189642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:01:10] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:10] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:10] local.INFO: Packet analysis {"connection_id":189642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:10] local.INFO: Extracted packet for processing {"connection_id":189642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:01: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-09-21 02:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":189642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:01:10] local.INFO: GPS data processed {"connection_id":189642,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:01:10] local.INFO: Acknowledgment sent {"connection_id":189642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:01:16] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:16] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:16] local.INFO: Packet analysis {"connection_id":189642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:16] local.INFO: Extracted packet for processing {"connection_id":189642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01: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-09-21 02:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:01: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-09-21 02:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":189642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:01:16] local.INFO: GPS data processed {"connection_id":189642,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:01:16] local.INFO: Acknowledgment sent {"connection_id":189642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:01:47] local.INFO: TCP Data received {"connection_id":189642,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:47] local.INFO: Processing buffer {"connection_id":189642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:01:47] local.INFO: Packet analysis {"connection_id":189642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:47] local.INFO: Extracted packet for processing {"connection_id":189642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:01:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:01: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-09-21 02:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:01:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:01:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":189642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:01:47] local.INFO: GPS data processed {"connection_id":189642,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:01:47] local.INFO: Acknowledgment sent {"connection_id":189642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:01:56] local.INFO: TCP Data received {"connection_id":189643,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:01:56] local.INFO: Processing buffer {"connection_id":189643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:01:56] local.INFO: IMEI packet received {"connection_id":189643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":189643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:02:04] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:04] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:04] local.INFO: IMEI packet received {"connection_id":188186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":188186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:02:09] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:09] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:02:09] local.INFO: IMEI packet received {"connection_id":188186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:02:10] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:10] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:10] local.INFO: Packet analysis {"connection_id":188186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:02:10] local.INFO: Extracted packet for processing {"connection_id":188186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:02: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-09-21 02: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-09-21 02:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":188186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:02:10] local.INFO: GPS data processed {"connection_id":188186,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:02:10] local.INFO: Acknowledgment sent {"connection_id":188186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:02:21] local.INFO: TCP Data received {"connection_id":189644,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189644,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:02:21] local.INFO: Processing buffer {"connection_id":189644,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:02:21] local.INFO: IMEI packet received {"connection_id":189644,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":189644,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:02:42] local.INFO: TCP Data received {"connection_id":188186,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:42] local.INFO: Processing buffer {"connection_id":188186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:02:42] local.INFO: Packet analysis {"connection_id":188186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:02:42] local.INFO: Extracted packet for processing {"connection_id":188186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:02: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-09-21 02:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:02: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-09-21 02:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":188186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:02:42] local.INFO: GPS data processed {"connection_id":188186,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:02:42] local.INFO: Acknowledgment sent {"connection_id":188186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:03:05] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:05] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:05] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:03:09] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:09] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:03:09] local.INFO: IMEI packet received {"connection_id":188345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":188345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:03:11] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:11] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:11] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:03:11] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:03:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:03:11] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:03:11] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:03:42] local.INFO: TCP Data received {"connection_id":188345,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:42] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:03:42] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:03:42] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:03: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-09-21 02:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:03:42] local.INFO: GPS data processed {"connection_id":188345,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:03:42] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:04:04] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:04] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:04] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:04:09] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:09] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:04:09] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:04:11] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:11] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:11] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:04:11] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:04:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:04:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:04:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:04:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:04:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:04:11] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:04:11] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:04:42] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:42] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:04:42] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:04:42] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:04: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-09-21 02: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-09-21 02:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:04:42] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:04:42] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:05:04] local.INFO: TCP Data received {"connection_id":189646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:04] local.INFO: Processing buffer {"connection_id":189646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:04] local.INFO: IMEI packet received {"connection_id":189646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":189646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:05:10] local.INFO: TCP Data received {"connection_id":189646,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:10] local.INFO: Processing buffer {"connection_id":189646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:05:10] local.INFO: IMEI packet received {"connection_id":189646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":189646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:05:12] local.INFO: TCP Data received {"connection_id":189646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:12] local.INFO: Processing buffer {"connection_id":189646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:12] local.INFO: Packet analysis {"connection_id":189646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:05:12] local.INFO: Extracted packet for processing {"connection_id":189646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:05:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:05:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:05:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":189646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:05:12] local.INFO: GPS data processed {"connection_id":189646,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:05:12] local.INFO: Acknowledgment sent {"connection_id":189646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:05:43] local.INFO: TCP Data received {"connection_id":189646,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:43] local.INFO: Processing buffer {"connection_id":189646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0835e70012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 02:05:43] local.INFO: Packet analysis {"connection_id":189646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:05:43] local.INFO: Extracted packet for processing {"connection_id":189646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c083"} 
[2026-09-21 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223597824001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789936230000,"timestamp_ms":1789936230000,"timestamp_seconds":1789936230,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0835e70"} 
[2026-09-21 02:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:05:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:05:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223597824001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223597824001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223597824001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":189646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:05:43] local.INFO: GPS data processed {"connection_id":189646,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:05:43] local.INFO: Acknowledgment sent {"connection_id":189646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:06:04] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:04] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:04] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:06:10] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:10] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:06:10] local.INFO: IMEI packet received {"connection_id":188187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":188187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:06:11] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:11] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:11] local.INFO: Packet analysis {"connection_id":188187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:06:11] local.INFO: Extracted packet for processing {"connection_id":188187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:06:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:06:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:06:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:06:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":188187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:06:11] local.INFO: GPS data processed {"connection_id":188187,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:06:11] local.INFO: Acknowledgment sent {"connection_id":188187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:06:43] local.INFO: TCP Data received {"connection_id":188187,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:43] local.INFO: Processing buffer {"connection_id":188187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:06:43] local.INFO: Packet analysis {"connection_id":188187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:06:43] local.INFO: Extracted packet for processing {"connection_id":188187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":188187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:06:43] local.INFO: GPS data processed {"connection_id":188187,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:06:43] local.INFO: Acknowledgment sent {"connection_id":188187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:07:04] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:04] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:04] local.INFO: IMEI packet received {"connection_id":189648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":189648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:07:09] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:09] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:07:09] local.INFO: IMEI packet received {"connection_id":189648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":189648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:07:11] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:11] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:11] local.INFO: Packet analysis {"connection_id":189648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:07:11] local.INFO: Extracted packet for processing {"connection_id":189648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":189648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:07:11] local.INFO: GPS data processed {"connection_id":189648,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:07:11] local.INFO: Acknowledgment sent {"connection_id":189648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:07:43] local.INFO: TCP Data received {"connection_id":189648,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189648,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:43] local.INFO: Processing buffer {"connection_id":189648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:07:43] local.INFO: Packet analysis {"connection_id":189648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:07:43] local.INFO: Extracted packet for processing {"connection_id":189648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:07:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:07:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:07:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:07:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:07:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":189648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:07:43] local.INFO: GPS data processed {"connection_id":189648,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:07:43] local.INFO: Acknowledgment sent {"connection_id":189648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:07:45] local.INFO: TCP Data received {"connection_id":190969,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190969,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:07:45] local.INFO: Processing buffer {"connection_id":190969,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:07:45] local.INFO: IMEI packet received {"connection_id":190969,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:07:45] local.INFO: IMEI acknowledgment sent {"connection_id":190969,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:08:04] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:04] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:04] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:08:09] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:09] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:08:09] local.INFO: IMEI packet received {"connection_id":188188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:08:10] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:10] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:10] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:08:10] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:08:10] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:08:10] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:08:16] local.INFO: TCP Data received {"connection_id":189649,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:08:16] local.INFO: Processing buffer {"connection_id":189649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:08:16] local.INFO: IMEI packet received {"connection_id":189649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":189649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:08:42] local.INFO: TCP Data received {"connection_id":188188,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:42] local.INFO: Processing buffer {"connection_id":188188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:08:42] local.INFO: Packet analysis {"connection_id":188188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:08:42] local.INFO: Extracted packet for processing {"connection_id":188188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:08:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:08:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":188188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:08:42] local.INFO: GPS data processed {"connection_id":188188,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:08:42] local.INFO: Acknowledgment sent {"connection_id":188188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:09:04] local.INFO: TCP Data received {"connection_id":189650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:04] local.INFO: Processing buffer {"connection_id":189650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:04] local.INFO: IMEI packet received {"connection_id":189650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":189650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:09:09] local.INFO: TCP Data received {"connection_id":189650,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:09] local.INFO: Processing buffer {"connection_id":189650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:09:09] local.INFO: IMEI packet received {"connection_id":189650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":189650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:09:11] local.INFO: TCP Data received {"connection_id":189650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:11] local.INFO: Processing buffer {"connection_id":189650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:11] local.INFO: Packet analysis {"connection_id":189650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:09:11] local.INFO: Extracted packet for processing {"connection_id":189650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:09:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":189650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:09:11] local.INFO: GPS data processed {"connection_id":189650,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:09:11] local.INFO: Acknowledgment sent {"connection_id":189650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:09:42] local.INFO: TCP Data received {"connection_id":189650,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:42] local.INFO: Processing buffer {"connection_id":189650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:09:42] local.INFO: Packet analysis {"connection_id":189650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:09:42] local.INFO: Extracted packet for processing {"connection_id":189650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:09: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-09-21 02:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:09:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:09:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":189650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:09:42] local.INFO: GPS data processed {"connection_id":189650,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:09:42] local.INFO: Acknowledgment sent {"connection_id":189650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:10:04] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:04] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:04] local.INFO: IMEI packet received {"connection_id":189651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":189651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:10:09] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:09] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:10:09] local.INFO: IMEI packet received {"connection_id":189651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":189651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:10:10] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:10] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:10] local.INFO: Packet analysis {"connection_id":189651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:10:10] local.INFO: Extracted packet for processing {"connection_id":189651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":189651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:10:10] local.INFO: GPS data processed {"connection_id":189651,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:10:10] local.INFO: Acknowledgment sent {"connection_id":189651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:10:42] local.INFO: TCP Data received {"connection_id":189651,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:42] local.INFO: Processing buffer {"connection_id":189651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c087f638012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:10:42] local.INFO: Packet analysis {"connection_id":189651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:10:42] local.INFO: Extracted packet for processing {"connection_id":189651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c087"} 
[2026-09-21 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223674880001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936531000,"timestamp_ms":1789936531000,"timestamp_seconds":1789936531,"priority":1,"record_length":96,"hex_timestamp":"000001a0c087f638"} 
[2026-09-21 02:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 02:10:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223674880001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223674880001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223674880001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":189651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:10:42] local.INFO: GPS data processed {"connection_id":189651,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:10:42] local.INFO: Acknowledgment sent {"connection_id":189651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:11:09] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:09] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:09] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:11:10] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:10] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:11:10] local.INFO: IMEI packet received {"connection_id":188190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":188190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:11:11] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:11] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:11] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:11] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:11:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:11:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:11:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:11:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:11:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:11: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-09-21 02:11:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:11:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:11:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:11:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:11:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:11:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:11:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:11:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:11:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:11:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:11:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:11:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:11:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:11:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:11:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:11:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:11:11] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:11:11] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:11:11] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:11:15] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:15] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:15] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:15] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11: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-09-21 02:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:11:15] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:11:15] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:11:46] local.INFO: TCP Data received {"connection_id":188190,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:46] local.INFO: Processing buffer {"connection_id":188190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:11:46] local.INFO: Packet analysis {"connection_id":188190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:46] local.INFO: Extracted packet for processing {"connection_id":188190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:11:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:11:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:11:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:11:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:11:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:11:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:11: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-09-21 02:11:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:11:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:11:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:11:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:11:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:11:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:11:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:11:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:11:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:11:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:11:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:11:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:11:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:11:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:11:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:11:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:11:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:11:46] local.INFO: DEBUG: GPS processor result {"connection_id":188190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:11:46] local.INFO: GPS data processed {"connection_id":188190,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:11:46] local.INFO: Acknowledgment sent {"connection_id":188190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:12:04] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:04] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:04] local.INFO: IMEI packet received {"connection_id":190971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":190971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:12:09] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:09] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:12:09] local.INFO: IMEI packet received {"connection_id":190971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":190971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:12:10] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:10] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:10] local.INFO: Packet analysis {"connection_id":190971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:12:10] local.INFO: Extracted packet for processing {"connection_id":190971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:12: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-09-21 02: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-09-21 02:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:12:10] local.INFO: GPS data processed {"connection_id":190971,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:12:10] local.INFO: Acknowledgment sent {"connection_id":190971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:12:41] local.INFO: TCP Data received {"connection_id":190971,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:41] local.INFO: Processing buffer {"connection_id":190971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:12:41] local.INFO: Packet analysis {"connection_id":190971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:12:41] local.INFO: Extracted packet for processing {"connection_id":190971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:12: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-09-21 02:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:12: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-09-21 02:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":190971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:12:41] local.INFO: GPS data processed {"connection_id":190971,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:12:41] local.INFO: Acknowledgment sent {"connection_id":190971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:13:04] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:04] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:04] local.INFO: IMEI packet received {"connection_id":189652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":189652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:13:09] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:09] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:13:09] local.INFO: IMEI packet received {"connection_id":189652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":189652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:13:10] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:10] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:10] local.INFO: Packet analysis {"connection_id":189652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:13:10] local.INFO: Extracted packet for processing {"connection_id":189652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:13: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-09-21 02:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":189652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:13:10] local.INFO: GPS data processed {"connection_id":189652,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:13:10] local.INFO: Acknowledgment sent {"connection_id":189652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:13:41] local.INFO: TCP Data received {"connection_id":189653,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:13:41] local.INFO: Processing buffer {"connection_id":189653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:13:41] local.INFO: IMEI packet received {"connection_id":189653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:13:41] local.INFO: IMEI acknowledgment sent {"connection_id":189653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:13:42] local.INFO: TCP Data received {"connection_id":189652,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:42] local.INFO: Processing buffer {"connection_id":189652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:13:42] local.INFO: Packet analysis {"connection_id":189652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:13:42] local.INFO: Extracted packet for processing {"connection_id":189652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:13: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-09-21 02:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":189652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:13:42] local.INFO: GPS data processed {"connection_id":189652,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:13:42] local.INFO: Acknowledgment sent {"connection_id":189652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:14:04] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:04] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:04] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:14:09] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:09] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:14:09] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:14:10] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:10] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:10] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:14:10] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:14: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-09-21 02: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-09-21 02:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:14:10] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:14:10] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:14:16] local.INFO: TCP Data received {"connection_id":190973,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190973,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:14:16] local.INFO: Processing buffer {"connection_id":190973,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:14:16] local.INFO: IMEI packet received {"connection_id":190973,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":190973,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:14:42] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:42] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:14:42] local.INFO: Packet analysis {"connection_id":188349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:14:42] local.INFO: Extracted packet for processing {"connection_id":188349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:14: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-09-21 02: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-09-21 02:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 02:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":188349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:14:42] local.INFO: GPS data processed {"connection_id":188349,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:14:42] local.INFO: Acknowledgment sent {"connection_id":188349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:15:09] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:09] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:09] local.INFO: IMEI packet received {"connection_id":188191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":188191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:15:14] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:14] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:15:14] local.INFO: IMEI packet received {"connection_id":188191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:15:15] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:15] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:15] local.INFO: Packet analysis {"connection_id":188191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:15:15] local.INFO: Extracted packet for processing {"connection_id":188191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:15:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:15:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15: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-09-21 02:15:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:15:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:15:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:15:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:15:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:15:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:15:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:15:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:15:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:15:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:15:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:15: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-09-21 02:15:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:15:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:15:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 02:15:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:15:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:15:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:15:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:15:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:15:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:15:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:15:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":188191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:15:16] local.INFO: GPS data processed {"connection_id":188191,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:15:16] local.INFO: Acknowledgment sent {"connection_id":188191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:15:47] local.INFO: TCP Data received {"connection_id":188191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:47] local.INFO: Processing buffer {"connection_id":188191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:15:47] local.INFO: Packet analysis {"connection_id":188191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:15:47] local.INFO: Extracted packet for processing {"connection_id":188191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:15:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:15:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 02:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:15:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:15:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:15: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-09-21 02:15:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:15: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-09-21 02:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 02:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:15:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:15:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":188191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:15:47] local.INFO: GPS data processed {"connection_id":188191,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:15:47] local.INFO: Acknowledgment sent {"connection_id":188191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:16:04] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:04] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:04] local.INFO: IMEI packet received {"connection_id":189654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":189654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:16:09] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:09] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:16:09] local.INFO: IMEI packet received {"connection_id":189654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":189654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:16:10] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:16:10] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c08c8e00012d34bdc006aa40f80008000c29..."} 
[2026-09-21 02:16:10] local.INFO: Packet analysis {"connection_id":189654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:16:10] local.INFO: Extracted packet for processing {"connection_id":189654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c08c"} 
[2026-09-21 02:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223751936001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02: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-09-21 02:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789936832000,"timestamp_ms":1789936832000,"timestamp_seconds":1789936832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c08c8e00"} 
[2026-09-21 02:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:16: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-09-21 02: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-09-21 02:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:16: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-09-21 02:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223751936001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 02:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223751936001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 02:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223751936001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":189654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:16:10] local.INFO: GPS data processed {"connection_id":189654,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:16:10] local.INFO: Acknowledgment sent {"connection_id":189654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:16:42] local.INFO: TCP Data received {"connection_id":189654,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:16:42] local.INFO: Processing buffer {"connection_id":189654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:16:42] local.INFO: Packet analysis {"connection_id":189654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:16:42] local.INFO: Extracted packet for processing {"connection_id":189654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:16:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:16: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-09-21 02: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-09-21 02:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":189654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:16:42] local.INFO: GPS data processed {"connection_id":189654,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:16:42] local.INFO: Acknowledgment sent {"connection_id":189654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:17:06] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:06] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:06] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:17:10] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:10] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:17:10] local.INFO: IMEI packet received {"connection_id":188193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":188193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:17:11] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:11] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:11] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:11] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:17: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-09-21 02:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17: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-09-21 02:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:17:11] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:17:11] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:17:15] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:15] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:15] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:15] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17: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-09-21 02:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:17:15] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:17:15] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:17:46] local.INFO: TCP Data received {"connection_id":188193,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:46] local.INFO: Processing buffer {"connection_id":188193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:17:46] local.INFO: Packet analysis {"connection_id":188193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:46] local.INFO: Extracted packet for processing {"connection_id":188193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:17: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-09-21 02: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-09-21 02:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":188193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:17:46] local.INFO: GPS data processed {"connection_id":188193,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:17:46] local.INFO: Acknowledgment sent {"connection_id":188193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:18:04] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:04] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:04] local.INFO: IMEI packet received {"connection_id":188194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":188194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:18:09] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:09] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:18:09] local.INFO: IMEI packet received {"connection_id":188194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":188194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:18:11] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:11] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:11] local.INFO: Packet analysis {"connection_id":188194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:18:11] local.INFO: Extracted packet for processing {"connection_id":188194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 02:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 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-09-21 02:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:18: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-09-21 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-09-21 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-09-21 02:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:18:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":188194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:18:11] local.INFO: GPS data processed {"connection_id":188194,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:18:11] local.INFO: Acknowledgment sent {"connection_id":188194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:18:42] local.INFO: TCP Data received {"connection_id":188194,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:42] local.INFO: Processing buffer {"connection_id":188194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:18:42] local.INFO: Packet analysis {"connection_id":188194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:18:42] local.INFO: Extracted packet for processing {"connection_id":188194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:18: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-09-21 02: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-09-21 02:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":188194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:18:42] local.INFO: GPS data processed {"connection_id":188194,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:18:42] local.INFO: Acknowledgment sent {"connection_id":188194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:19:04] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:04] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:04] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:19:09] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:09] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:19:09] local.INFO: IMEI packet received {"connection_id":190974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":190974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:19:11] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:11] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:11] local.INFO: Packet analysis {"connection_id":190974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:19:11] local.INFO: Extracted packet for processing {"connection_id":190974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:19: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-09-21 02: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-09-21 02:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":190974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:19:11] local.INFO: GPS data processed {"connection_id":190974,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:19:11] local.INFO: Acknowledgment sent {"connection_id":190974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:19:40] local.INFO: TCP Data received {"connection_id":188351,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:19:40] local.INFO: Processing buffer {"connection_id":188351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:19:40] local.INFO: IMEI packet received {"connection_id":188351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:19:40] local.INFO: IMEI acknowledgment sent {"connection_id":188351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:19:42] local.INFO: TCP Data received {"connection_id":190974,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:42] local.INFO: Processing buffer {"connection_id":190974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:19:42] local.INFO: Packet analysis {"connection_id":190974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:19:42] local.INFO: Extracted packet for processing {"connection_id":190974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:19: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-09-21 02: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-09-21 02:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:19: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-09-21 02:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":190974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:19:42] local.INFO: GPS data processed {"connection_id":190974,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:19:42] local.INFO: Acknowledgment sent {"connection_id":190974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:20:04] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:04] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:04] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:20:09] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:09] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:20:09] local.INFO: IMEI packet received {"connection_id":188195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":188195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:20:10] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:10] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:10] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:20:10] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:20: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-09-21 02: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-09-21 02:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:20:10] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:20:10] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:20:26] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:20:26] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:20:26] local.INFO: IMEI packet received {"connection_id":188352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":188352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:20:42] local.INFO: TCP Data received {"connection_id":188195,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:42] local.INFO: Processing buffer {"connection_id":188195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:20:42] local.INFO: Packet analysis {"connection_id":188195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:20:42] local.INFO: Extracted packet for processing {"connection_id":188195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:20: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-09-21 02:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:20: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-09-21 02:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":188195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:20:42] local.INFO: GPS data processed {"connection_id":188195,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:20:42] local.INFO: Acknowledgment sent {"connection_id":188195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:21:04] local.INFO: TCP Data received {"connection_id":189657,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:04] local.INFO: Processing buffer {"connection_id":189657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:04] local.INFO: IMEI packet received {"connection_id":189657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":189657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:21:09] local.INFO: TCP Data received {"connection_id":189657,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:09] local.INFO: Processing buffer {"connection_id":189657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:21:09] local.INFO: IMEI packet received {"connection_id":189657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":189657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:21:10] local.INFO: TCP Data received {"connection_id":189657,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:21:10] local.INFO: Processing buffer {"connection_id":189657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09125c8012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 02:21:10] local.INFO: Packet analysis {"connection_id":189657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:21:10] local.INFO: Extracted packet for processing {"connection_id":189657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c091"} 
[2026-09-21 02:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937133000,"timestamp_ms":1789937133000,"timestamp_seconds":1789937133,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09125c8"} 
[2026-09-21 02:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:21: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-09-21 02:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223828992001,"66":25299,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223828992001,"power":25299,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":189657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:21:10] local.INFO: GPS data processed {"connection_id":189657,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:21:10] local.INFO: Acknowledgment sent {"connection_id":189657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:21:42] local.INFO: TCP Data received {"connection_id":189657,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:21:42] local.INFO: Processing buffer {"connection_id":189657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:21:42] local.INFO: Packet analysis {"connection_id":189657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:21:42] local.INFO: Extracted packet for processing {"connection_id":189657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:21:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:21:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":189657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:21:42] local.INFO: GPS data processed {"connection_id":189657,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:21:42] local.INFO: Acknowledgment sent {"connection_id":189657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:22:04] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:04] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:04] local.INFO: IMEI packet received {"connection_id":189658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":189658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:22:09] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:09] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:22:09] local.INFO: IMEI packet received {"connection_id":189658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":189658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:22:10] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:10] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:10] local.INFO: Packet analysis {"connection_id":189658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:22:10] local.INFO: Extracted packet for processing {"connection_id":189658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:22:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:22: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-09-21 02:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":189658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:22:10] local.INFO: GPS data processed {"connection_id":189658,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:22:10] local.INFO: Acknowledgment sent {"connection_id":189658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:22:42] local.INFO: TCP Data received {"connection_id":189658,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:42] local.INFO: Processing buffer {"connection_id":189658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:22:42] local.INFO: Packet analysis {"connection_id":189658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:22:42] local.INFO: Extracted packet for processing {"connection_id":189658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:22:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:22:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:22:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:22:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:22: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-09-21 02:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":189658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:22:42] local.INFO: GPS data processed {"connection_id":189658,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:22:42] local.INFO: Acknowledgment sent {"connection_id":189658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:23:05] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:05] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:05] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:23:09] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:09] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:23:09] local.INFO: IMEI packet received {"connection_id":188353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:23:10] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:10] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:10] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:23:10] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:23:10] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:23:10] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:23:42] local.INFO: TCP Data received {"connection_id":188353,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:42] local.INFO: Processing buffer {"connection_id":188353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:23:42] local.INFO: Packet analysis {"connection_id":188353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:23:42] local.INFO: Extracted packet for processing {"connection_id":188353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:23:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:23:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":188353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:23:42] local.INFO: GPS data processed {"connection_id":188353,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:23:42] local.INFO: Acknowledgment sent {"connection_id":188353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:24:04] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:04] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:04] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:24:09] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:09] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:24:09] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:24:10] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:10] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:10] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:24:10] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:24:10] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:24:10] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:24:42] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:42] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:24:42] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:24:42] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:24: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-09-21 02:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:24:42] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:24:42] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:25:04] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:04] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:04] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:25:09] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:09] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:25:09] local.INFO: IMEI packet received {"connection_id":188197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:25:10] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:10] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:10] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:25:10] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:25: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-09-21 02:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:25:10] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:25:10] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:25:42] local.INFO: TCP Data received {"connection_id":188197,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188197,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:42] local.INFO: Processing buffer {"connection_id":188197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:25:42] local.INFO: Packet analysis {"connection_id":188197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:25:42] local.INFO: Extracted packet for processing {"connection_id":188197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:25: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-09-21 02:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":188197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:25:42] local.INFO: GPS data processed {"connection_id":188197,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:25:42] local.INFO: Acknowledgment sent {"connection_id":188197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:25:51] local.INFO: TCP Data received {"connection_id":190976,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:25:51] local.INFO: Processing buffer {"connection_id":190976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:25:51] local.INFO: IMEI packet received {"connection_id":190976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":190976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:26:04] local.INFO: TCP Data received {"connection_id":189661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:04] local.INFO: Processing buffer {"connection_id":189661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:04] local.INFO: IMEI packet received {"connection_id":189661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":189661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:26:09] local.INFO: TCP Data received {"connection_id":189661,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:09] local.INFO: Processing buffer {"connection_id":189661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:26:09] local.INFO: IMEI packet received {"connection_id":189661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":189661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:26:11] local.INFO: TCP Data received {"connection_id":189661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:26:11] local.INFO: Processing buffer {"connection_id":189661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c095bd90012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 02:26:11] local.INFO: Packet analysis {"connection_id":189661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:26:11] local.INFO: Extracted packet for processing {"connection_id":189661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c095"} 
[2026-09-21 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223906048001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937434000,"timestamp_ms":1789937434000,"timestamp_seconds":1789937434,"priority":1,"record_length":96,"hex_timestamp":"000001a0c095bd90"} 
[2026-09-21 02:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-09-21 02:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223906048001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223906048001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223906048001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":189661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:26:11] local.INFO: GPS data processed {"connection_id":189661,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:26:11] local.INFO: Acknowledgment sent {"connection_id":189661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:26:16] local.INFO: TCP Data received {"connection_id":188355,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188355,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:26:16] local.INFO: Processing buffer {"connection_id":188355,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:26:16] local.INFO: IMEI packet received {"connection_id":188355,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":188355,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:26:42] local.INFO: TCP Data received {"connection_id":189661,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:26:42] local.INFO: Processing buffer {"connection_id":189661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:26:42] local.INFO: Packet analysis {"connection_id":189661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:26:42] local.INFO: Extracted packet for processing {"connection_id":189661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:26: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-09-21 02:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":189661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:26:42] local.INFO: GPS data processed {"connection_id":189661,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:26:42] local.INFO: Acknowledgment sent {"connection_id":189661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:27:04] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:04] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:04] local.INFO: IMEI packet received {"connection_id":189662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":189662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:27:09] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:09] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:27:09] local.INFO: IMEI packet received {"connection_id":189662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:27:10] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:10] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:10] local.INFO: Packet analysis {"connection_id":189662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:27:10] local.INFO: Extracted packet for processing {"connection_id":189662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02: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-09-21 02:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":189662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:27:10] local.INFO: GPS data processed {"connection_id":189662,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:27:10] local.INFO: Acknowledgment sent {"connection_id":189662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:27:42] local.INFO: TCP Data received {"connection_id":189662,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:42] local.INFO: Processing buffer {"connection_id":189662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:27:42] local.INFO: Packet analysis {"connection_id":189662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:27:42] local.INFO: Extracted packet for processing {"connection_id":189662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:27: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-09-21 02: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-09-21 02:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:27: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-09-21 02:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":189662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:27:42] local.INFO: GPS data processed {"connection_id":189662,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:27:42] local.INFO: Acknowledgment sent {"connection_id":189662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:28:04] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:04] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:04] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:28:09] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:09] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:28:09] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:28:10] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:10] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:10] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:28:10] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:28: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-09-21 02: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-09-21 02:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:28:10] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:28:10] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:28:41] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:41] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:28:41] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:28:41] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:28: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-09-21 02: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-09-21 02:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:28:41] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:28:41] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:29:04] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:04] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:04] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:29:09] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:09] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:29:09] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:29:11] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:11] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:11] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:29:11] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:29:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:29:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:29:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:29:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:29:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:29:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:29:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:29:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:29:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:29:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:29:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:29:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:29:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:29:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:29:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:29:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:29:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:29:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:29:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:29:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:29:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:29:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:29:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:29:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:29:11] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:29:11] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:29:11] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:29:43] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:43] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:29:43] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:29:43] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:29:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:29:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:29:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:29:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:29:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:29:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:29:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:29:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:29:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:29:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:29:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:29:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:29:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:29:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:29:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:29:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:29:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:29:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:29:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:29:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:29:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:29:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:29:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:29:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:29:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:29:43] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:29:43] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:29:43] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:30:04] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:04] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:04] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:30:09] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:09] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:30:09] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:30:10] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:10] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:10] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:30:10] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:30: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-09-21 02:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:30:10] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:30:10] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:30:41] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:41] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:30:41] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:30:41] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:30:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:30: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-09-21 02:30: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-09-21 02:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:30:41] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:30:41] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:31:04] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:04] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:04] local.INFO: IMEI packet received {"connection_id":190977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":190977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:31:09] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:09] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:31:09] local.INFO: IMEI packet received {"connection_id":190977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":190977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:31:11] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:31:11] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09a5558012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 02:31:11] local.INFO: Packet analysis {"connection_id":190977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:31:11] local.INFO: Extracted packet for processing {"connection_id":190977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09a"} 
[2026-09-21 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458223983104001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789937735000,"timestamp_ms":1789937735000,"timestamp_seconds":1789937735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09a5558"} 
[2026-09-21 02:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458223983104001,"66":25343,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458223983104001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458223983104001,"power":25343,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":190977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:31:11] local.INFO: GPS data processed {"connection_id":190977,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:31:11] local.INFO: Acknowledgment sent {"connection_id":190977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:31:42] local.INFO: TCP Data received {"connection_id":189664,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:31:42] local.INFO: Processing buffer {"connection_id":189664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:31:42] local.INFO: IMEI packet received {"connection_id":189664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:31:42] local.INFO: IMEI acknowledgment sent {"connection_id":189664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:31:42] local.INFO: TCP Data received {"connection_id":190977,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:31:42] local.INFO: Processing buffer {"connection_id":190977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:31:42] local.INFO: Packet analysis {"connection_id":190977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:31:42] local.INFO: Extracted packet for processing {"connection_id":190977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:31:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:31:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:31: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-09-21 02:31:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":190977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:31:42] local.INFO: GPS data processed {"connection_id":190977,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:31:42] local.INFO: Acknowledgment sent {"connection_id":190977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:32:04] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:04] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:04] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:32:09] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:09] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:32:09] local.INFO: IMEI packet received {"connection_id":188200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:32:10] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:10] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:10] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:32:10] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:32: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-09-21 02: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-09-21 02:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:32:10] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:32:10] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:32:17] local.INFO: TCP Data received {"connection_id":189665,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:32:17] local.INFO: Processing buffer {"connection_id":189665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:32:17] local.INFO: IMEI packet received {"connection_id":189665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":189665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:32:41] local.INFO: TCP Data received {"connection_id":188200,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:41] local.INFO: Processing buffer {"connection_id":188200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:32:41] local.INFO: Packet analysis {"connection_id":188200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:32:41] local.INFO: Extracted packet for processing {"connection_id":188200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:32:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:32: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-09-21 02:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":188200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:32:41] local.INFO: GPS data processed {"connection_id":188200,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:32:41] local.INFO: Acknowledgment sent {"connection_id":188200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:33:05] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:05] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:05] local.INFO: IMEI packet received {"connection_id":189666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":189666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:33:09] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:09] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:33:09] local.INFO: IMEI packet received {"connection_id":189666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":189666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:33:11] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:11] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:11] local.INFO: Packet analysis {"connection_id":189666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:33:11] local.INFO: Extracted packet for processing {"connection_id":189666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":189666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:33:11] local.INFO: GPS data processed {"connection_id":189666,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:33:11] local.INFO: Acknowledgment sent {"connection_id":189666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:33:42] local.INFO: TCP Data received {"connection_id":189666,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:42] local.INFO: Processing buffer {"connection_id":189666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:33:42] local.INFO: Packet analysis {"connection_id":189666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:33:42] local.INFO: Extracted packet for processing {"connection_id":189666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:33: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-09-21 02: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-09-21 02:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:33: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-09-21 02:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":189666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:33:42] local.INFO: GPS data processed {"connection_id":189666,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:33:42] local.INFO: Acknowledgment sent {"connection_id":189666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:34:04] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:04] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:04] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:34:09] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:09] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:34:09] local.INFO: IMEI packet received {"connection_id":188201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":188201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:34:10] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:10] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:10] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:34:10] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:34: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-09-21 02:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:34:10] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:34:10] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:34:42] local.INFO: TCP Data received {"connection_id":188201,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:42] local.INFO: Processing buffer {"connection_id":188201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:34:42] local.INFO: Packet analysis {"connection_id":188201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:34:42] local.INFO: Extracted packet for processing {"connection_id":188201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:34:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:34: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-09-21 02:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:34: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-09-21 02:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":188201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:34:42] local.INFO: GPS data processed {"connection_id":188201,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:34:42] local.INFO: Acknowledgment sent {"connection_id":188201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:35:04] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:04] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:04] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:35:09] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:09] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:35:09] local.INFO: IMEI packet received {"connection_id":189667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:35:10] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:10] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:10] local.INFO: Packet analysis {"connection_id":189667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:35:10] local.INFO: Extracted packet for processing {"connection_id":189667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:35: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-09-21 02: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-09-21 02:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:35: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-09-21 02:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":189667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:35:10] local.INFO: GPS data processed {"connection_id":189667,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:35:10] local.INFO: Acknowledgment sent {"connection_id":189667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:35:42] local.INFO: TCP Data received {"connection_id":189667,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:42] local.INFO: Processing buffer {"connection_id":189667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:35:42] local.INFO: Packet analysis {"connection_id":189667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:35:42] local.INFO: Extracted packet for processing {"connection_id":189667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:35:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:35:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:35: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-09-21 02:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":189667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:35:42] local.INFO: GPS data processed {"connection_id":189667,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:35:42] local.INFO: Acknowledgment sent {"connection_id":189667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:36:04] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:04] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:04] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:36:09] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:09] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:36:09] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:36:15] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:36:15] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c09eed20012d34bdc006aa40f80006000c2c..."} 
[2026-09-21 02:36:15] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:36:15] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c09e"} 
[2026-09-21 02:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224060160001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789938036000,"timestamp_ms":1789938036000,"timestamp_seconds":1789938036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c09eed20"} 
[2026-09-21 02:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 02:36: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-09-21 02:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:36: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-09-21 02:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224060160001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224060160001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224060160001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:36:15] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:36:15] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:36:46] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:36:46] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:36:46] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:36:46] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:36:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:36:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:36:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:36: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-09-21 02:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:36:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:36:46] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:36:46] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:37:04] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:04] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:04] local.INFO: IMEI packet received {"connection_id":190981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":190981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:37:09] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:09] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:37:09] local.INFO: IMEI packet received {"connection_id":190981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":190981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:37:10] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:10] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:10] local.INFO: Packet analysis {"connection_id":190981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:37:10] local.INFO: Extracted packet for processing {"connection_id":190981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:37:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":190981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:37:11] local.INFO: GPS data processed {"connection_id":190981,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:37:11] local.INFO: Acknowledgment sent {"connection_id":190981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:37:41] local.INFO: TCP Data received {"connection_id":188203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:37:41] local.INFO: Processing buffer {"connection_id":188203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:37:41] local.INFO: IMEI packet received {"connection_id":188203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:37:41] local.INFO: IMEI acknowledgment sent {"connection_id":188203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:37:42] local.INFO: TCP Data received {"connection_id":190981,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:42] local.INFO: Processing buffer {"connection_id":190981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:37:42] local.INFO: Packet analysis {"connection_id":190981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:37:42] local.INFO: Extracted packet for processing {"connection_id":190981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:37:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:37: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-09-21 02:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:37: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-09-21 02:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":190981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:37:42] local.INFO: GPS data processed {"connection_id":190981,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:37:42] local.INFO: Acknowledgment sent {"connection_id":190981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:38:04] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:04] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:04] local.INFO: IMEI packet received {"connection_id":190982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":190982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:38:09] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:09] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:38:09] local.INFO: IMEI packet received {"connection_id":190982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":190982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:38:11] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:11] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:11] local.INFO: Packet analysis {"connection_id":190982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:38:11] local.INFO: Extracted packet for processing {"connection_id":190982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:38:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:38:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:38:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:38:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:38:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:38: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-09-21 02:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:38:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":190982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:38:11] local.INFO: GPS data processed {"connection_id":190982,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:38:11] local.INFO: Acknowledgment sent {"connection_id":190982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:38:21] local.INFO: TCP Data received {"connection_id":189668,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:38:21] local.INFO: Processing buffer {"connection_id":189668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:38:21] local.INFO: IMEI packet received {"connection_id":189668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":189668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:38:42] local.INFO: TCP Data received {"connection_id":190982,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:42] local.INFO: Processing buffer {"connection_id":190982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:38:42] local.INFO: Packet analysis {"connection_id":190982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:38:42] local.INFO: Extracted packet for processing {"connection_id":190982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:38: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-09-21 02:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:38: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-09-21 02:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":190982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:38:42] local.INFO: GPS data processed {"connection_id":190982,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:38:42] local.INFO: Acknowledgment sent {"connection_id":190982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:39:04] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:04] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:04] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:39:09] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:09] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:39:09] local.INFO: IMEI packet received {"connection_id":188204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:39:10] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:10] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:10] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:39:10] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:39:10] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:39:10] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:39:42] local.INFO: TCP Data received {"connection_id":188204,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:42] local.INFO: Processing buffer {"connection_id":188204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:39:42] local.INFO: Packet analysis {"connection_id":188204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:39:42] local.INFO: Extracted packet for processing {"connection_id":188204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:39: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-09-21 02:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:39: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-09-21 02:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":188204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:39:42] local.INFO: GPS data processed {"connection_id":188204,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:39:42] local.INFO: Acknowledgment sent {"connection_id":188204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:40:04] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:04] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:04] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:40:09] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:09] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:40:09] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:40:10] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:10] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:10] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:40:10] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:40: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-09-21 02: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-09-21 02:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:40:10] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:40:10] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:40:42] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:42] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:40:42] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:40:42] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:40: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-09-21 02: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-09-21 02:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:40:42] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:40:42] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:41:04] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:04] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:04] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:41:09] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:09] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:41:09] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:41:10] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:41:10] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a384e8012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 02:41:10] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:41:10] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a3"} 
[2026-09-21 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224137216001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938337000,"timestamp_ms":1789938337000,"timestamp_seconds":1789938337,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a384e8"} 
[2026-09-21 02:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:41: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-09-21 02: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-09-21 02:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:41: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-09-21 02:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224137216001,"66":25321,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224137216001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224137216001,"power":25321,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:41:11] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:41:11] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:41:42] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:41:42] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:41:42] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:41:42] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:41:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:41: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-09-21 02: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-09-21 02:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:41: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-09-21 02:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:41:42] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:41:42] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:42:04] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:04] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:04] local.INFO: IMEI packet received {"connection_id":188205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":188205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:42:09] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:09] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:42:09] local.INFO: IMEI packet received {"connection_id":188205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:42:10] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:10] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:10] local.INFO: Packet analysis {"connection_id":188205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:42:10] local.INFO: Extracted packet for processing {"connection_id":188205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:42: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-09-21 02:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:42: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-09-21 02:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:42:10] local.INFO: GPS data processed {"connection_id":188205,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:42:10] local.INFO: Acknowledgment sent {"connection_id":188205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:42:41] local.INFO: TCP Data received {"connection_id":188205,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:41] local.INFO: Processing buffer {"connection_id":188205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:42:41] local.INFO: Packet analysis {"connection_id":188205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:42:41] local.INFO: Extracted packet for processing {"connection_id":188205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:42: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-09-21 02:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:42: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-09-21 02:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":188205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:42:41] local.INFO: GPS data processed {"connection_id":188205,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:42:41] local.INFO: Acknowledgment sent {"connection_id":188205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:43:04] local.INFO: TCP Data received {"connection_id":189670,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:04] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:04] local.INFO: IMEI packet received {"connection_id":189670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":189670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:43:09] local.INFO: TCP Data received {"connection_id":189670,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:09] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:43:09] local.INFO: IMEI packet received {"connection_id":189670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":189670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:43:10] local.INFO: TCP Data received {"connection_id":189670,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:10] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:10] local.INFO: Packet analysis {"connection_id":189670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:43:10] local.INFO: Extracted packet for processing {"connection_id":189670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:43: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-09-21 02: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-09-21 02:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:43: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-09-21 02:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":189670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:43:10] local.INFO: GPS data processed {"connection_id":189670,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:43:10] local.INFO: Acknowledgment sent {"connection_id":189670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:43:42] local.INFO: TCP Data received {"connection_id":189670,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:42] local.INFO: Processing buffer {"connection_id":189670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:43:42] local.INFO: Packet analysis {"connection_id":189670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:43:42] local.INFO: Extracted packet for processing {"connection_id":189670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:43: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-09-21 02:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:43: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-09-21 02:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":189670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:43:42] local.INFO: GPS data processed {"connection_id":189670,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:43:42] local.INFO: Acknowledgment sent {"connection_id":189670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:43:46] local.INFO: TCP Data received {"connection_id":188207,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:43:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188207,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:43:46] local.INFO: Processing buffer {"connection_id":188207,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:43:46] local.INFO: IMEI packet received {"connection_id":188207,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:43:46] local.INFO: IMEI acknowledgment sent {"connection_id":188207,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:44:04] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:04] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:04] local.INFO: IMEI packet received {"connection_id":190983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":190983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:44:09] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:09] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:44:09] local.INFO: IMEI packet received {"connection_id":190983,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":190983,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:44:10] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:10] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:10] local.INFO: Packet analysis {"connection_id":190983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:44:10] local.INFO: Extracted packet for processing {"connection_id":190983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:44: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-09-21 02: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-09-21 02:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:44: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-09-21 02:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":190983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:44:10] local.INFO: GPS data processed {"connection_id":190983,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:44:10] local.INFO: Acknowledgment sent {"connection_id":190983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:44:21] local.INFO: TCP Data received {"connection_id":188208,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:44:21] local.INFO: Processing buffer {"connection_id":188208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:44:21] local.INFO: IMEI packet received {"connection_id":188208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":188208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:44:41] local.INFO: TCP Data received {"connection_id":190983,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190983,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:41] local.INFO: Processing buffer {"connection_id":190983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:44:41] local.INFO: Packet analysis {"connection_id":190983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:44:41] local.INFO: Extracted packet for processing {"connection_id":190983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:44: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-09-21 02:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190983,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:44: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-09-21 02:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":190983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:44:41] local.INFO: GPS data processed {"connection_id":190983,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:44:41] local.INFO: Acknowledgment sent {"connection_id":190983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:45:04] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:04] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:04] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:45:09] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:09] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:45:09] local.INFO: IMEI packet received {"connection_id":188209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":188209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:45:10] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:10] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:10] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:45:10] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:45: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-09-21 02: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-09-21 02:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:45:10] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:45:10] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:45:42] local.INFO: TCP Data received {"connection_id":188209,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:42] local.INFO: Processing buffer {"connection_id":188209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:45:42] local.INFO: Packet analysis {"connection_id":188209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:45:42] local.INFO: Extracted packet for processing {"connection_id":188209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:45:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 02:45: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-09-21 02: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-09-21 02:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:45: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-09-21 02:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":188209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:45:42] local.INFO: GPS data processed {"connection_id":188209,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:45:42] local.INFO: Acknowledgment sent {"connection_id":188209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:46:04] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:04] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:04] local.INFO: IMEI packet received {"connection_id":189672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":189672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:46:09] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:09] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:46:09] local.INFO: IMEI packet received {"connection_id":189672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":189672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:46:12] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:46:12] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0a81cb0012d34bdc006aa40f80005000c2b..."} 
[2026-09-21 02:46:12] local.INFO: Packet analysis {"connection_id":189672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:46:12] local.INFO: Extracted packet for processing {"connection_id":189672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0a8"} 
[2026-09-21 02:46:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224214272001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789938638000,"timestamp_ms":1789938638000,"timestamp_seconds":1789938638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0a81cb0"} 
[2026-09-21 02:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:46:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02: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-09-21 02:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:46: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-09-21 02:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224214272001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224214272001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:46:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224214272001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":189672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:46:12] local.INFO: GPS data processed {"connection_id":189672,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:46:12] local.INFO: Acknowledgment sent {"connection_id":189672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:46:45] local.INFO: TCP Data received {"connection_id":189672,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:46:45] local.INFO: Processing buffer {"connection_id":189672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:46:45] local.INFO: Packet analysis {"connection_id":189672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:46:45] local.INFO: Extracted packet for processing {"connection_id":189672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:46:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:46: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-09-21 02:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":189672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:46:45] local.INFO: GPS data processed {"connection_id":189672,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:46:45] local.INFO: Acknowledgment sent {"connection_id":189672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:47:09] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:09] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:09] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:47:15] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:15] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:47:15] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:47:16] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:16] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:16] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:47:16] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:47:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:47:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:47:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:47:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:47: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-09-21 02:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:47:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:47:16] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:47:16] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:47:20] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:20] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:47:20] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:47:20] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:47:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:47:20] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:47:20] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:48:04] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:04] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:04] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:48:09] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:09] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:48:09] local.INFO: IMEI packet received {"connection_id":190985,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":190985,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:48:10] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:10] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:10] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:48:10] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:48: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-09-21 02: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-09-21 02:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:48: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-09-21 02:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:48:10] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:48:10] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:48:41] local.INFO: TCP Data received {"connection_id":190985,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190985,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:41] local.INFO: Processing buffer {"connection_id":190985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:48:41] local.INFO: Packet analysis {"connection_id":190985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:48:41] local.INFO: Extracted packet for processing {"connection_id":190985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:48: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-09-21 02: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-09-21 02:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190985,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":190985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:48:41] local.INFO: GPS data processed {"connection_id":190985,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:48:41] local.INFO: Acknowledgment sent {"connection_id":190985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:49:06] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:06] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:06] local.INFO: IMEI packet received {"connection_id":189674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":189674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:49:12] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:12] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:49:12] local.INFO: IMEI packet received {"connection_id":189674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":189674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:49:12] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:12] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:12] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:12] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:49:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:49:12] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:49:12] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:49:14] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:14] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:14] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:14] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49: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-09-21 02:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:49:14] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:49:14] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:49:47] local.INFO: TCP Data received {"connection_id":189674,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:47] local.INFO: Processing buffer {"connection_id":189674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:49:47] local.INFO: Packet analysis {"connection_id":189674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:47] local.INFO: Extracted packet for processing {"connection_id":189674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:49:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:49:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:49:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:49:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:49:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:49:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:49:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:49:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:49: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-09-21 02:49:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:49:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:49:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:49:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:49:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:49:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:49:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:49:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:49:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:49:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:49:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:49:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:49:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:49:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:49:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:49:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:49:47] local.INFO: DEBUG: GPS processor result {"connection_id":189674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:49:47] local.INFO: GPS data processed {"connection_id":189674,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:49:47] local.INFO: Acknowledgment sent {"connection_id":189674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:50:04] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:04] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:04] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:50:09] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:09] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:50:09] local.INFO: IMEI packet received {"connection_id":188210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:50:10] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:10] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:10] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:50:10] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:50: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-09-21 02:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:50: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-09-21 02:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:50:10] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:50:10] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:50:26] local.INFO: TCP Data received {"connection_id":190986,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190986,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:50:26] local.INFO: Processing buffer {"connection_id":190986,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:50:26] local.INFO: IMEI packet received {"connection_id":190986,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":190986,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:50:41] local.INFO: TCP Data received {"connection_id":188210,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:41] local.INFO: Processing buffer {"connection_id":188210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:50:41] local.INFO: Packet analysis {"connection_id":188210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:50:41] local.INFO: Extracted packet for processing {"connection_id":188210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:50:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:50: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-09-21 02:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":188210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:50:41] local.INFO: GPS data processed {"connection_id":188210,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:50:41] local.INFO: Acknowledgment sent {"connection_id":188210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:51:04] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:04] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:04] local.INFO: IMEI packet received {"connection_id":188367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":188367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:51:09] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:09] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:51:09] local.INFO: IMEI packet received {"connection_id":188367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":188367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:51:10] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:51:10] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0acb478012d34bdc006aa40f80003000c2c..."} 
[2026-09-21 02:51:10] local.INFO: Packet analysis {"connection_id":188367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:51:10] local.INFO: Extracted packet for processing {"connection_id":188367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ac"} 
[2026-09-21 02:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224291328001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789938939000,"timestamp_ms":1789938939000,"timestamp_seconds":1789938939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0acb478"} 
[2026-09-21 02:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:51: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-09-21 02:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224291328001,"66":25375,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224291328001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224291328001,"power":25375,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":188367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:51:10] local.INFO: GPS data processed {"connection_id":188367,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:51:10] local.INFO: Acknowledgment sent {"connection_id":188367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:51:41] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:51:41] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:51:41] local.INFO: Packet analysis {"connection_id":188367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:51:41] local.INFO: Extracted packet for processing {"connection_id":188367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:51: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-09-21 02:51: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-09-21 02:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":188367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:51:41] local.INFO: GPS data processed {"connection_id":188367,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:51:41] local.INFO: Acknowledgment sent {"connection_id":188367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:52:09] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:09] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:09] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:52:14] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:14] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:52:14] local.INFO: IMEI packet received {"connection_id":190987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":190987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:52:16] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:16] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:16] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:52:16] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:52:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:52:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:16] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:52:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:52:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:52:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:52:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:52:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:52:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:52:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:52:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:52:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:52:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:52:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:52:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:52:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:52:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:52:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:52:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:52:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:52:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:52:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:52:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:52:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:52:16] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:52:16] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:52:16] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:52:21] local.INFO: TCP Data received {"connection_id":190987,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:21] local.INFO: Processing buffer {"connection_id":190987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:52:21] local.INFO: Packet analysis {"connection_id":190987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:52:21] local.INFO: Extracted packet for processing {"connection_id":190987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:52:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:52:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:52:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":190987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:52:21] local.INFO: GPS data processed {"connection_id":190987,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:52:21] local.INFO: Acknowledgment sent {"connection_id":190987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:53:04] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:04] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:04] local.INFO: IMEI packet received {"connection_id":190988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":190988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:53:09] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:09] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:53:09] local.INFO: IMEI packet received {"connection_id":190988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":190988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:53:10] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:10] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:10] local.INFO: Packet analysis {"connection_id":190988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:53:10] local.INFO: Extracted packet for processing {"connection_id":190988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":190988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:53:10] local.INFO: GPS data processed {"connection_id":190988,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:53:10] local.INFO: Acknowledgment sent {"connection_id":190988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:53:42] local.INFO: TCP Data received {"connection_id":190988,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190988,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:42] local.INFO: Processing buffer {"connection_id":190988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:53:42] local.INFO: Packet analysis {"connection_id":190988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:53:42] local.INFO: Extracted packet for processing {"connection_id":190988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:53: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-09-21 02: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-09-21 02:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:53: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-09-21 02:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":190988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:53:42] local.INFO: GPS data processed {"connection_id":190988,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:53:42] local.INFO: Acknowledgment sent {"connection_id":190988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:54:04] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:04] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:04] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:54:09] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:09] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:54:09] local.INFO: IMEI packet received {"connection_id":188214,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188214,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:54:10] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:10] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:10] local.INFO: Packet analysis {"connection_id":188214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:54:10] local.INFO: Extracted packet for processing {"connection_id":188214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:54:10] local.INFO: GPS data processed {"connection_id":188214,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:54:10] local.INFO: Acknowledgment sent {"connection_id":188214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:54:41] local.INFO: TCP Data received {"connection_id":188214,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:41] local.INFO: Processing buffer {"connection_id":188214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:54:41] local.INFO: Packet analysis {"connection_id":188214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:54:41] local.INFO: Extracted packet for processing {"connection_id":188214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:54:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:54: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-09-21 02:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188214,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:54:41] local.INFO: GPS data processed {"connection_id":188214,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:54:41] local.INFO: Acknowledgment sent {"connection_id":188214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:55:04] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:04] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:04] local.INFO: IMEI packet received {"connection_id":189676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":189676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:55:09] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:09] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:55:09] local.INFO: IMEI packet received {"connection_id":189676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":189676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:55:10] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:10] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:10] local.INFO: Packet analysis {"connection_id":189676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:55:10] local.INFO: Extracted packet for processing {"connection_id":189676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02: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-09-21 02:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:55: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-09-21 02:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":189676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:55:10] local.INFO: GPS data processed {"connection_id":189676,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:55:10] local.INFO: Acknowledgment sent {"connection_id":189676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:55:41] local.INFO: TCP Data received {"connection_id":189676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:41] local.INFO: Processing buffer {"connection_id":189676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:55:41] local.INFO: Packet analysis {"connection_id":189676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:55:41] local.INFO: Extracted packet for processing {"connection_id":189676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:55: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-09-21 02: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-09-21 02:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":189676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:55:41] local.INFO: GPS data processed {"connection_id":189676,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:55:41] local.INFO: Acknowledgment sent {"connection_id":189676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:55:47] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:55:47] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:55:47] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:56:04] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:04] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:04] local.INFO: IMEI packet received {"connection_id":190989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":190989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:56:09] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:09] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:56:09] local.INFO: IMEI packet received {"connection_id":190989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":190989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:56:10] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:56:10] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b14c40012d34bdc006aa40f80004000c2b..."} 
[2026-09-21 02:56:10] local.INFO: Packet analysis {"connection_id":190989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:56:10] local.INFO: Extracted packet for processing {"connection_id":190989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b1"} 
[2026-09-21 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224368384001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939240000,"timestamp_ms":1789939240000,"timestamp_seconds":1789939240,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b14c40"} 
[2026-09-21 02:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 02:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:56: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-09-21 02:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224368384001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224368384001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224368384001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:56:10] local.INFO: GPS data processed {"connection_id":190989,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:56:10] local.INFO: Acknowledgment sent {"connection_id":190989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:56:14] local.INFO: TCP Data received {"connection_id":189677,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:56:14] local.INFO: Processing buffer {"connection_id":189677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 02:56:14] local.INFO: IMEI packet received {"connection_id":189677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 02:56:14] local.INFO: IMEI acknowledgment sent {"connection_id":189677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:56:41] local.INFO: TCP Data received {"connection_id":190989,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:56:41] local.INFO: Processing buffer {"connection_id":190989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:56:41] local.INFO: Packet analysis {"connection_id":190989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:56:41] local.INFO: Extracted packet for processing {"connection_id":190989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:56:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:56: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-09-21 02: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-09-21 02:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02: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-09-21 02:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":190989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:56:41] local.INFO: GPS data processed {"connection_id":190989,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:56:41] local.INFO: Acknowledgment sent {"connection_id":190989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:57:09] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:09] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:09] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:57:14] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:14] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:57:14] local.INFO: IMEI packet received {"connection_id":188216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":188216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:57:15] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:15] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:15] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:57:15] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:57:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:57:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:57:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:57:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:57:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:57:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:57:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:57:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:57:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:57:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:57:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:57:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:57:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:57:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:57:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:57:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:57:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:57:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:57:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:57:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:57:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:57:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:57:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:57:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:57:15] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:57:15] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:57:15] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:57:20] local.INFO: TCP Data received {"connection_id":188216,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:20] local.INFO: Processing buffer {"connection_id":188216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:57:20] local.INFO: Packet analysis {"connection_id":188216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:57:20] local.INFO: Extracted packet for processing {"connection_id":188216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:57:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:57:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:57:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:57:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:57:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:57:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:57:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:57:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 02:57:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:57:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:57:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:57:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:57:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:57:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:57:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:57:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:57:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:57:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:57:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:57:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:57:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:57:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:57:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:57:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:57:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:57:20] local.INFO: DEBUG: GPS processor result {"connection_id":188216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:57:20] local.INFO: GPS data processed {"connection_id":188216,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:57:20] local.INFO: Acknowledgment sent {"connection_id":188216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:58:04] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:04] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:04] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:58:09] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:09] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:58:09] local.INFO: IMEI packet received {"connection_id":188217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:58:10] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:10] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:10] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:58:10] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02: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-09-21 02:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:58: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-09-21 02: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-09-21 02:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:58: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-09-21 02:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:58:10] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:58:10] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:58:41] local.INFO: TCP Data received {"connection_id":188217,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188217,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:41] local.INFO: Processing buffer {"connection_id":188217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:58:41] local.INFO: Packet analysis {"connection_id":188217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:58:41] local.INFO: Extracted packet for processing {"connection_id":188217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:58:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:58: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-09-21 02: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-09-21 02:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:58: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-09-21 02:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":188217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:58:42] local.INFO: GPS data processed {"connection_id":188217,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:58:42] local.INFO: Acknowledgment sent {"connection_id":188217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:59:04] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:04] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:04] local.INFO: IMEI packet received {"connection_id":190991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 02:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":190991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 02:59:09] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:09] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 02:59:09] local.INFO: IMEI packet received {"connection_id":190991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 02:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":190991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 02:59:10] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:10] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:10] local.INFO: Packet analysis {"connection_id":190991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:59:10] local.INFO: Extracted packet for processing {"connection_id":190991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:59: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-09-21 02:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:59: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-09-21 02:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":190991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:59:10] local.INFO: GPS data processed {"connection_id":190991,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:59:10] local.INFO: Acknowledgment sent {"connection_id":190991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 02:59:41] local.INFO: TCP Data received {"connection_id":190991,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:41] local.INFO: Processing buffer {"connection_id":190991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 02:59:41] local.INFO: Packet analysis {"connection_id":190991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:59:41] local.INFO: Extracted packet for processing {"connection_id":190991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 02:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 02:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 02:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 02:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 02:59:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 02:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 02:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 02:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 02:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 02:59: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-09-21 02:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 02:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 02:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 02:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 02:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 02:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 02:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 02:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 02:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 02:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 02:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 02:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 02:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 02:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 02:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 02:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 02:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":190991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 02:59:41] local.INFO: GPS data processed {"connection_id":190991,"processed":1,"errors":0,"total":1} 
[2026-09-21 02:59:41] local.INFO: Acknowledgment sent {"connection_id":190991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:00:04] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:04] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:04] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:00:09] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:09] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:00:09] local.INFO: IMEI packet received {"connection_id":188218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:00:10] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:10] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:10] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:00:10] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 03:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:00: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-09-21 03: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-09-21 03:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:00: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-09-21 03:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:00:10] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:00:10] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:00:41] local.INFO: TCP Data received {"connection_id":188218,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:41] local.INFO: Processing buffer {"connection_id":188218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:00:41] local.INFO: Packet analysis {"connection_id":188218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:00:41] local.INFO: Extracted packet for processing {"connection_id":188218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 03:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:00: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-09-21 03:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:00:41] local.INFO: GPS data processed {"connection_id":188218,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:00:41] local.INFO: Acknowledgment sent {"connection_id":188218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:01:04] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:04] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:04] local.INFO: IMEI packet received {"connection_id":190992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":190992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:01:10] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:10] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:01:10] local.INFO: IMEI packet received {"connection_id":190992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":190992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:01:11] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:01:11] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0b5e408012d34bdc006aa40f80004000c2c..."} 
[2026-09-21 03:01:11] local.INFO: Packet analysis {"connection_id":190992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:01:11] local.INFO: Extracted packet for processing {"connection_id":190992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0b5"} 
[2026-09-21 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224445440001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789939541000,"timestamp_ms":1789939541000,"timestamp_seconds":1789939541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0b5e408"} 
[2026-09-21 03:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:01: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-09-21 03:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224445440001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224445440001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224445440001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":190992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:01:11] local.INFO: GPS data processed {"connection_id":190992,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:01:11] local.INFO: Acknowledgment sent {"connection_id":190992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:01:42] local.INFO: TCP Data received {"connection_id":190992,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:01:42] local.INFO: Processing buffer {"connection_id":190992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:01:42] local.INFO: Packet analysis {"connection_id":190992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:01:42] local.INFO: Extracted packet for processing {"connection_id":190992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:01:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:01: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-09-21 03: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-09-21 03:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:01: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-09-21 03:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":190992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:01:42] local.INFO: GPS data processed {"connection_id":190992,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:01:42] local.INFO: Acknowledgment sent {"connection_id":190992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:02:04] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:04] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:04] local.INFO: IMEI packet received {"connection_id":190993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":190993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:02:09] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:09] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:02:09] local.INFO: IMEI packet received {"connection_id":190993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":190993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:02:10] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:10] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:10] local.INFO: Packet analysis {"connection_id":190993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:02:10] local.INFO: Extracted packet for processing {"connection_id":190993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:02: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-09-21 03: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-09-21 03:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:02: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-09-21 03:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":190993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:02:10] local.INFO: GPS data processed {"connection_id":190993,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:02:10] local.INFO: Acknowledgment sent {"connection_id":190993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:02:42] local.INFO: TCP Data received {"connection_id":190993,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190993,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:42] local.INFO: Processing buffer {"connection_id":190993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:02:42] local.INFO: Packet analysis {"connection_id":190993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:02:42] local.INFO: Extracted packet for processing {"connection_id":190993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:02: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-09-21 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:02: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-09-21 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":190993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:02:42] local.INFO: GPS data processed {"connection_id":190993,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:02:42] local.INFO: Acknowledgment sent {"connection_id":190993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:03:09] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:09] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:09] local.INFO: IMEI packet received {"connection_id":189679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:03:14] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:14] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:03:14] local.INFO: IMEI packet received {"connection_id":189679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":189679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:03:15] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:15] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:15] local.INFO: Packet analysis {"connection_id":189679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:03:15] local.INFO: Extracted packet for processing {"connection_id":189679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:03:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:03:15] local.INFO: GPS data processed {"connection_id":189679,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:03:15] local.INFO: Acknowledgment sent {"connection_id":189679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:03:20] local.INFO: TCP Data received {"connection_id":189679,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:20] local.INFO: Processing buffer {"connection_id":189679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:03:20] local.INFO: Packet analysis {"connection_id":189679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:03:20] local.INFO: Extracted packet for processing {"connection_id":189679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:03:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:03:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:03:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:03:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:03:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:03:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:03:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:03:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:03:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:03:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:03:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:03:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:03:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:03:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:03:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:03:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:03:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:03:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:03:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:03:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:03:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:03:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:03:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:03:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:03:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:03:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:03:20] local.INFO: DEBUG: GPS processor result {"connection_id":189679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:03:20] local.INFO: GPS data processed {"connection_id":189679,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:03:20] local.INFO: Acknowledgment sent {"connection_id":189679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:04:04] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:04] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:04] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:04:09] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:09] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:04:09] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:04:10] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:10] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:10] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:04:10] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:04: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-09-21 03:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:04: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-09-21 03:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:04:10] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:04:10] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:04:11] local.INFO: TCP Data received {"connection_id":190994,"ip":"117.224.202.163","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:11] local.INFO: Processing buffer {"connection_id":190994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:11] local.INFO: IMEI packet received {"connection_id":190994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":190994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:04:17] local.INFO: TCP Data received {"connection_id":190994,"ip":"117.224.202.163","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:17] local.INFO: Processing buffer {"connection_id":190994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:17] local.INFO: IMEI packet received {"connection_id":190994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 03:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":190994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:04:41] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:41] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:04:41] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:04:41] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:04: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-09-21 03:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:04:41] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:04:41] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:04:53] local.INFO: TCP Data received {"connection_id":190994,"ip":"117.224.202.163","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:53] local.INFO: Processing buffer {"connection_id":190994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:04:53] local.INFO: IMEI packet received {"connection_id":190994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 03:04:53] local.INFO: IMEI acknowledgment sent {"connection_id":190994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:05:04] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:04] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:04] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:05:05] local.INFO: TCP Data received {"connection_id":190994,"ip":"117.224.202.163","data_length":1360,"data_hex":"000000000000030f8e0a000001a0c0bc40f0012b968f400b5366d0000d013c2c..."} 
[2026-09-21 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190994,"packet_length":1360,"packet_hex":"000000000000030f8e0a000001a0c0bc40f0012b968f400b5366d0000d013c2c..."} 
[2026-09-21 03:05:05] local.INFO: Processing buffer {"connection_id":190994,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000001a0c0bc40f0012b968f400b5366d0000d013c2c..."} 
[2026-09-21 03:05:05] local.INFO: Packet analysis {"connection_id":190994,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000001a0c0bc"} 
[2026-09-21 03:05:05] local.INFO: Extracted packet for processing {"connection_id":190994,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0c0bc"} 
[2026-09-21 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":731287360,"raw_latitude":190015184,"longitude_deg":73.128736,"latitude_deg":19.0015184,"altitude":13,"angle":316,"satellites":44,"speed":55,"hex_longitude":"2b968f40","hex_latitude":"0b5366d0","is_valid_coordinates":true} 
[2026-09-21 03:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:05:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224627456001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3442360453169152,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:05] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-7589972698360750080,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,113,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 03:05:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789939958000,"timestamp_ms":1789939958000,"timestamp_seconds":1789939958,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bc40f0"} 
[2026-09-21 03:05:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:05:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 03:05:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-09-21 03:05:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:05:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:05:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:05:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:05:05] local.INFO: Teltonika packet parsed successfully {"connection_id":190994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:05:05] local.INFO: Passing IMEI to GPS processor {"connection_id":190994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 03:05:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":190994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 03:05:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.202.163","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:05:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 03:05:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 03:05:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224627456001,"66":27800,"234":206,"113":50944,"24":55,"16":3442360453169152,"43":-7589972698360750080},"client_ip":"117.224.202.163","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,113,24,16,43]} 
[2026-09-21 03:05:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 03:05:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 03:05:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224627456001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:05:05] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-09-21 03:05:05] local.INFO: Unknown IO ID detected {"io_id":113,"value":50944,"description":"Unknown IO ID 113"} 
[2026-09-21 03:05:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3442360453169152,"km_value":3442360453169.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:05:05] local.INFO: Unknown IO ID detected {"io_id":43,"value":-7589972698360750080,"description":"Unknown IO ID 43"} 
[2026-09-21 03:05:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224627456001,"power":27800,"unknown_234":206,"unknown_113":50944,"ignition":55,"odometer":null,"unknown_43":-7589972698360750080}} 
[2026-09-21 03:05:05] local.INFO: DEBUG: GPS processor result {"connection_id":190994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874765,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:05:05] local.INFO: GPS data processed {"connection_id":190994,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:05:05] local.INFO: Acknowledgment sent {"connection_id":190994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:05:05] local.INFO: Packet analysis {"connection_id":190994,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000001a0c0bd"} 
[2026-09-21 03:05:05] local.INFO: Incomplete packet, waiting for more data {"connection_id":190994,"needed":795,"available":565} 
[2026-09-21 03:05:09] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:09] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:05:09] local.INFO: IMEI packet received {"connection_id":188219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:05:10] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:10] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:10] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:05:10] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:05:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:05: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-09-21 03:05:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:05: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-09-21 03:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:05:10] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:05:10] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:05:42] local.INFO: TCP Data received {"connection_id":188219,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:42] local.INFO: Processing buffer {"connection_id":188219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:05:42] local.INFO: Packet analysis {"connection_id":188219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:05:42] local.INFO: Extracted packet for processing {"connection_id":188219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:05: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-09-21 03:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:05: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-09-21 03:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":188219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:05:42] local.INFO: GPS data processed {"connection_id":188219,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:05:42] local.INFO: Acknowledgment sent {"connection_id":188219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:06:04] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:04] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:04] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:06:09] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:09] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:06:09] local.INFO: IMEI packet received {"connection_id":188220,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188220,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:06:10] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:06:10] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ba7bd0012d34bdc006aa40f80007000c2c..."} 
[2026-09-21 03:06:10] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:06:10] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ba"} 
[2026-09-21 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224522496001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789939842000,"timestamp_ms":1789939842000,"timestamp_seconds":1789939842,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ba7bd0"} 
[2026-09-21 03:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:06: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-09-21 03: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-09-21 03:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224522496001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224522496001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224522496001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:06:10] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:06:10] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:06:41] local.INFO: TCP Data received {"connection_id":188220,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:06:41] local.INFO: Processing buffer {"connection_id":188220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:06:41] local.INFO: Packet analysis {"connection_id":188220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:06:41] local.INFO: Extracted packet for processing {"connection_id":188220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:06: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-09-21 03:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188220,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:06:41] local.INFO: GPS data processed {"connection_id":188220,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:06:41] local.INFO: Acknowledgment sent {"connection_id":188220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:07:09] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:09] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:09] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:07:14] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:14] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:07:14] local.INFO: IMEI packet received {"connection_id":188221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":188221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:07:15] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:15] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:15] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:07:15] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:07:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:07:15] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:07:15] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:07:20] local.INFO: TCP Data received {"connection_id":188221,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:20] local.INFO: Processing buffer {"connection_id":188221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:07:20] local.INFO: Packet analysis {"connection_id":188221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:07:20] local.INFO: Extracted packet for processing {"connection_id":188221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:07:20] local.INFO: GPS data processed {"connection_id":188221,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:07:20] local.INFO: Acknowledgment sent {"connection_id":188221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:08:04] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:04] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:04] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:08:09] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:09] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:08:09] local.INFO: IMEI packet received {"connection_id":190995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":190995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:08:10] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:10] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:10] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:08:10] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03: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-09-21 03:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:08:10] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:08:10] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:08:41] local.INFO: TCP Data received {"connection_id":190995,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:41] local.INFO: Processing buffer {"connection_id":190995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:08:41] local.INFO: Packet analysis {"connection_id":190995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:08:41] local.INFO: Extracted packet for processing {"connection_id":190995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:08:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:08: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-09-21 03: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-09-21 03:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:08: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-09-21 03:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":190995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:08:41] local.INFO: GPS data processed {"connection_id":190995,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:08:41] local.INFO: Acknowledgment sent {"connection_id":190995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:09:05] local.INFO: TCP Data received {"connection_id":189680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:05] local.INFO: Processing buffer {"connection_id":189680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:05] local.INFO: IMEI packet received {"connection_id":189680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":189680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:09:09] local.INFO: TCP Data received {"connection_id":189680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:09] local.INFO: Processing buffer {"connection_id":189680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:09:09] local.INFO: IMEI packet received {"connection_id":189680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":189680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:09:10] local.INFO: TCP Data received {"connection_id":189680,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:10] local.INFO: Processing buffer {"connection_id":189680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:10] local.INFO: Packet analysis {"connection_id":189680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:09:10] local.INFO: Extracted packet for processing {"connection_id":189680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:09: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-09-21 03:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":189680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:09:10] local.INFO: GPS data processed {"connection_id":189680,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:09:10] local.INFO: Acknowledgment sent {"connection_id":189680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:09:41] local.INFO: TCP Data received {"connection_id":189680,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:41] local.INFO: Processing buffer {"connection_id":189680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:09:41] local.INFO: Packet analysis {"connection_id":189680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:09:41] local.INFO: Extracted packet for processing {"connection_id":189680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:09:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:09: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-09-21 03: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-09-21 03:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:09: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-09-21 03:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":189680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:09:41] local.INFO: GPS data processed {"connection_id":189680,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:09:41] local.INFO: Acknowledgment sent {"connection_id":189680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:10:04] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:04] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:04] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:10:09] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:09] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:10:09] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:10:10] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:10] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:10] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:10:10] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:10:10] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:10:10] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:10:41] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:41] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:10:41] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:10:41] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:10:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:10: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-09-21 03:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:10:42] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:10:42] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:11:04] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:04] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:04] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:11:09] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:09] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:11:09] local.INFO: IMEI packet received {"connection_id":188222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:11:10] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:11:10] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0bf1398012d34bdc006aa40f80009000c2c..."} 
[2026-09-21 03:11:10] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:11:10] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0bf"} 
[2026-09-21 03:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224599552001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940143000,"timestamp_ms":1789940143000,"timestamp_seconds":1789940143,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0bf1398"} 
[2026-09-21 03:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:11: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-09-21 03:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224599552001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224599552001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224599552001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:11:10] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:11:10] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:11:41] local.INFO: TCP Data received {"connection_id":188222,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:11:41] local.INFO: Processing buffer {"connection_id":188222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:11:41] local.INFO: Packet analysis {"connection_id":188222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:11:41] local.INFO: Extracted packet for processing {"connection_id":188222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:11:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":188222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:11:41] local.INFO: GPS data processed {"connection_id":188222,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:11:41] local.INFO: Acknowledgment sent {"connection_id":188222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:12:09] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:09] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:09] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:12:14] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:14] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:12:14] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:12:15] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:15] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:15] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:12:15] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:12:15] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:12:15] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:12:20] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:20] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:12:20] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:12:20] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:12: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-09-21 03:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:12:20] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:12:20] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:13:04] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:04] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:04] local.INFO: IMEI packet received {"connection_id":188223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":188223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:13:09] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:09] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:13:09] local.INFO: IMEI packet received {"connection_id":188223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":188223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:13:10] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:10] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:10] local.INFO: Packet analysis {"connection_id":188223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:13:10] local.INFO: Extracted packet for processing {"connection_id":188223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:13:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:13:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:13: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-09-21 03:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":188223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:13:10] local.INFO: GPS data processed {"connection_id":188223,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:13:10] local.INFO: Acknowledgment sent {"connection_id":188223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:13:42] local.INFO: TCP Data received {"connection_id":188223,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:42] local.INFO: Processing buffer {"connection_id":188223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:13:42] local.INFO: Packet analysis {"connection_id":188223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:13:42] local.INFO: Extracted packet for processing {"connection_id":188223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:13:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:13: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-09-21 03:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":188223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:13:42] local.INFO: GPS data processed {"connection_id":188223,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:13:42] local.INFO: Acknowledgment sent {"connection_id":188223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:14:04] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:04] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:04] local.INFO: IMEI packet received {"connection_id":190996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":190996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:14:09] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:09] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:14:09] local.INFO: IMEI packet received {"connection_id":190996,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":190996,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:14:10] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:10] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:10] local.INFO: Packet analysis {"connection_id":190996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:14:10] local.INFO: Extracted packet for processing {"connection_id":190996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:14: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-09-21 03:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":190996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:14:10] local.INFO: GPS data processed {"connection_id":190996,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:14:10] local.INFO: Acknowledgment sent {"connection_id":190996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:14:42] local.INFO: TCP Data received {"connection_id":190996,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:42] local.INFO: Processing buffer {"connection_id":190996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:14:42] local.INFO: Packet analysis {"connection_id":190996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:14:42] local.INFO: Extracted packet for processing {"connection_id":190996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:14:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190996,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:14: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-09-21 03:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":190996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:14:42] local.INFO: GPS data processed {"connection_id":190996,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:14:42] local.INFO: Acknowledgment sent {"connection_id":190996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:15:04] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:04] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:04] local.INFO: IMEI packet received {"connection_id":188224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":188224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:15:09] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:09] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:15:09] local.INFO: IMEI packet received {"connection_id":188224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":188224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:15:10] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:10] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:10] local.INFO: Packet analysis {"connection_id":188224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:15:10] local.INFO: Extracted packet for processing {"connection_id":188224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:15: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-09-21 03:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":188224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:15:10] local.INFO: GPS data processed {"connection_id":188224,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:15:10] local.INFO: Acknowledgment sent {"connection_id":188224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:15:42] local.INFO: TCP Data received {"connection_id":188224,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:42] local.INFO: Processing buffer {"connection_id":188224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:15:42] local.INFO: Packet analysis {"connection_id":188224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:15:42] local.INFO: Extracted packet for processing {"connection_id":188224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:15:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:15:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:15: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-09-21 03:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":188224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:15:42] local.INFO: GPS data processed {"connection_id":188224,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:15:42] local.INFO: Acknowledgment sent {"connection_id":188224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:16:04] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:04] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:04] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:16:09] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:09] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:16:09] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:16:10] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:16:10] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c3ab60012d34bdc006aa40f80008000c2b..."} 
[2026-09-21 03:16:10] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:16:10] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c3"} 
[2026-09-21 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224676608001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940444000,"timestamp_ms":1789940444000,"timestamp_seconds":1789940444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c3ab60"} 
[2026-09-21 03:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:16:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:16: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-09-21 03:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224676608001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224676608001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224676608001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:16:10] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:16:10] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:16:41] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:16:41] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:16:41] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:16:41] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:16:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:16:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:16: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-09-21 03:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:16:41] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:16:41] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:17:04] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:04] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:04] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:17:09] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:09] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:17:09] local.INFO: IMEI packet received {"connection_id":188225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:17:10] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:10] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:10] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:17:10] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:17: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-09-21 03: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-09-21 03:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:17:10] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:17:10] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:17:42] local.INFO: TCP Data received {"connection_id":188225,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188225,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:42] local.INFO: Processing buffer {"connection_id":188225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:17:42] local.INFO: Packet analysis {"connection_id":188225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:17:42] local.INFO: Extracted packet for processing {"connection_id":188225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:17: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-09-21 03: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-09-21 03:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":188225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:17:42] local.INFO: GPS data processed {"connection_id":188225,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:17:42] local.INFO: Acknowledgment sent {"connection_id":188225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:18:04] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:04] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:04] local.INFO: IMEI packet received {"connection_id":190997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":190997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:18:09] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:09] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:18:09] local.INFO: IMEI packet received {"connection_id":190997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":190997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:18:10] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:10] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:10] local.INFO: Packet analysis {"connection_id":190997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:18:10] local.INFO: Extracted packet for processing {"connection_id":190997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 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-09-21 03:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:18: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-09-21 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-09-21 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-09-21 03:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":190997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:18:10] local.INFO: GPS data processed {"connection_id":190997,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:18:10] local.INFO: Acknowledgment sent {"connection_id":190997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:18:21] local.INFO: TCP Data received {"connection_id":189681,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:18:21] local.INFO: Processing buffer {"connection_id":189681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:18:21] local.INFO: IMEI packet received {"connection_id":189681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":189681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:18:42] local.INFO: TCP Data received {"connection_id":190997,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:42] local.INFO: Processing buffer {"connection_id":190997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:18:42] local.INFO: Packet analysis {"connection_id":190997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:18:42] local.INFO: Extracted packet for processing {"connection_id":190997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:18:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:18: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-09-21 03: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-09-21 03:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:18:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":190997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:18:42] local.INFO: GPS data processed {"connection_id":190997,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:18:42] local.INFO: Acknowledgment sent {"connection_id":190997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:19:04] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:04] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:04] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:19:09] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:09] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:19:09] local.INFO: IMEI packet received {"connection_id":188226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:19:10] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:10] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:10] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:19:10] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:19: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-09-21 03:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:19: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-09-21 03:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:19:10] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:19:10] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:19:42] local.INFO: TCP Data received {"connection_id":188226,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:42] local.INFO: Processing buffer {"connection_id":188226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:19:42] local.INFO: Packet analysis {"connection_id":188226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:19:42] local.INFO: Extracted packet for processing {"connection_id":188226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:19:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:19: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-09-21 03: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-09-21 03:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:19: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-09-21 03:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":188226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:19:42] local.INFO: GPS data processed {"connection_id":188226,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:19:42] local.INFO: Acknowledgment sent {"connection_id":188226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:20:04] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:04] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:04] local.INFO: IMEI packet received {"connection_id":188376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":188376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:20:09] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:09] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:20:09] local.INFO: IMEI packet received {"connection_id":188376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":188376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:20:10] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:10] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:10] local.INFO: Packet analysis {"connection_id":188376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:20:10] local.INFO: Extracted packet for processing {"connection_id":188376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:20: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-09-21 03: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-09-21 03:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":188376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:20:10] local.INFO: GPS data processed {"connection_id":188376,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:20:10] local.INFO: Acknowledgment sent {"connection_id":188376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:20:42] local.INFO: TCP Data received {"connection_id":188376,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:42] local.INFO: Processing buffer {"connection_id":188376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:20:42] local.INFO: Packet analysis {"connection_id":188376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:20:42] local.INFO: Extracted packet for processing {"connection_id":188376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:20:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 03:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:20: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-09-21 03:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:20: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-09-21 03:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":188376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:20:42] local.INFO: GPS data processed {"connection_id":188376,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:20:42] local.INFO: Acknowledgment sent {"connection_id":188376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:21:04] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:04] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:04] local.INFO: IMEI packet received {"connection_id":189684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":189684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:21:09] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:09] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:21:09] local.INFO: IMEI packet received {"connection_id":189684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":189684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:21:10] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:21:10] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0c84328012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:21:10] local.INFO: Packet analysis {"connection_id":189684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:21:10] local.INFO: Extracted packet for processing {"connection_id":189684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0c8"} 
[2026-09-21 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224753664001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789940745000,"timestamp_ms":1789940745000,"timestamp_seconds":1789940745,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0c84328"} 
[2026-09-21 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-09-21 03:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:21: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-09-21 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-09-21 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-09-21 03:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03: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-09-21 03:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224753664001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224753664001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224753664001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":189684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:21:10] local.INFO: GPS data processed {"connection_id":189684,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:21:10] local.INFO: Acknowledgment sent {"connection_id":189684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:21:41] local.INFO: TCP Data received {"connection_id":189684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189684,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:21:41] local.INFO: Processing buffer {"connection_id":189684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:21:41] local.INFO: Packet analysis {"connection_id":189684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:21:41] local.INFO: Extracted packet for processing {"connection_id":189684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:21:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:21: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-09-21 03:21: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-09-21 03:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:21: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-09-21 03:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":189684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:21:41] local.INFO: GPS data processed {"connection_id":189684,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:21:41] local.INFO: Acknowledgment sent {"connection_id":189684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:22:09] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:09] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:09] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:22:14] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:14] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:22:14] local.INFO: IMEI packet received {"connection_id":190999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":190999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:22:15] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:15] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:15] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:22:15] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:22:15] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:22:15] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:22:20] local.INFO: TCP Data received {"connection_id":190999,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:20] local.INFO: Processing buffer {"connection_id":190999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:22:20] local.INFO: Packet analysis {"connection_id":190999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:22:20] local.INFO: Extracted packet for processing {"connection_id":190999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":190999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:22:20] local.INFO: GPS data processed {"connection_id":190999,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:22:20] local.INFO: Acknowledgment sent {"connection_id":190999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:23:04] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:04] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:04] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:23:09] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:09] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:23:09] local.INFO: IMEI packet received {"connection_id":188228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:23:10] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:10] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:10] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:10] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:23:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23: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-09-21 03:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:23:10] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:23:10] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:23:15] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:15] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:15] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:15] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:23:15] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:23:15] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:23:41] local.INFO: TCP Data received {"connection_id":189685,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:23:41] local.INFO: Processing buffer {"connection_id":189685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:23:41] local.INFO: IMEI packet received {"connection_id":189685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":189685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:23:46] local.INFO: TCP Data received {"connection_id":188228,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:46] local.INFO: Processing buffer {"connection_id":188228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:23:46] local.INFO: Packet analysis {"connection_id":188228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:46] local.INFO: Extracted packet for processing {"connection_id":188228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:23:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:23: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-09-21 03: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-09-21 03:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:23:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":188228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:23:46] local.INFO: GPS data processed {"connection_id":188228,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:23:46] local.INFO: Acknowledgment sent {"connection_id":188228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:24:04] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:04] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:04] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:24:09] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:09] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:24:09] local.INFO: IMEI packet received {"connection_id":188377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:24:11] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:11] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:11] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:24:11] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:24: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-09-21 03:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:24:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:24:11] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:24:11] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:24:17] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:24:17] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:24:17] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:24:42] local.INFO: TCP Data received {"connection_id":188377,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:42] local.INFO: Processing buffer {"connection_id":188377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:24:42] local.INFO: Packet analysis {"connection_id":188377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:24:42] local.INFO: Extracted packet for processing {"connection_id":188377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:24:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:24:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:24: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-09-21 03:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":188377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:24:42] local.INFO: GPS data processed {"connection_id":188377,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:24:42] local.INFO: Acknowledgment sent {"connection_id":188377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:25:05] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:05] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:05] local.INFO: IMEI packet received {"connection_id":189687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":189687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:25:09] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:09] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:25:09] local.INFO: IMEI packet received {"connection_id":189687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:25:10] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:10] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:10] local.INFO: Packet analysis {"connection_id":189687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:25:10] local.INFO: Extracted packet for processing {"connection_id":189687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":189687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:25:10] local.INFO: GPS data processed {"connection_id":189687,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:25:10] local.INFO: Acknowledgment sent {"connection_id":189687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:25:41] local.INFO: TCP Data received {"connection_id":189687,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:41] local.INFO: Processing buffer {"connection_id":189687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:25:41] local.INFO: Packet analysis {"connection_id":189687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:25:41] local.INFO: Extracted packet for processing {"connection_id":189687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:25:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:25: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-09-21 03:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":189687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:25:41] local.INFO: GPS data processed {"connection_id":189687,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:25:41] local.INFO: Acknowledgment sent {"connection_id":189687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:26:04] local.INFO: TCP Data received {"connection_id":188379,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:04] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:04] local.INFO: IMEI packet received {"connection_id":188379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":188379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:26:09] local.INFO: TCP Data received {"connection_id":188379,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:09] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:26:09] local.INFO: IMEI packet received {"connection_id":188379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:26:10] local.INFO: TCP Data received {"connection_id":188379,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:26:10] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ccdaf0012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 03:26:10] local.INFO: Packet analysis {"connection_id":188379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:26:10] local.INFO: Extracted packet for processing {"connection_id":188379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0cc"} 
[2026-09-21 03:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224830720001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941046000,"timestamp_ms":1789941046000,"timestamp_seconds":1789941046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ccdaf0"} 
[2026-09-21 03:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224830720001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224830720001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224830720001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":188379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:26:10] local.INFO: GPS data processed {"connection_id":188379,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:26:10] local.INFO: Acknowledgment sent {"connection_id":188379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:26:42] local.INFO: TCP Data received {"connection_id":188379,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:26:42] local.INFO: Processing buffer {"connection_id":188379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:26:42] local.INFO: Packet analysis {"connection_id":188379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:26:42] local.INFO: Extracted packet for processing {"connection_id":188379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 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-09-21 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:26: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-09-21 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-09-21 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-09-21 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":188379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:26:42] local.INFO: GPS data processed {"connection_id":188379,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:26:42] local.INFO: Acknowledgment sent {"connection_id":188379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:27:04] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:04] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:04] local.INFO: IMEI packet received {"connection_id":189688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":189688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:27:09] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:09] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:27:09] local.INFO: IMEI packet received {"connection_id":189688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:27:10] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:10] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:10] local.INFO: Packet analysis {"connection_id":189688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:27:10] local.INFO: Extracted packet for processing {"connection_id":189688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:27: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-09-21 03:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":189688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:27:10] local.INFO: GPS data processed {"connection_id":189688,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:27:10] local.INFO: Acknowledgment sent {"connection_id":189688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:27:42] local.INFO: TCP Data received {"connection_id":189688,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:42] local.INFO: Processing buffer {"connection_id":189688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:27:42] local.INFO: Packet analysis {"connection_id":189688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:27:42] local.INFO: Extracted packet for processing {"connection_id":189688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:27:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:27:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:27: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-09-21 03:27:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":189688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:27:42] local.INFO: GPS data processed {"connection_id":189688,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:27:42] local.INFO: Acknowledgment sent {"connection_id":189688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:28:04] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:04] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:04] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:28:09] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:09] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:28:09] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:28:10] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:10] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:10] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:28:10] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:28: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-09-21 03:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:28:10] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:28:10] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:28:41] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:41] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:28:41] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:28:41] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:28:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:28: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-09-21 03: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-09-21 03:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:28: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-09-21 03:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:28:41] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:28:41] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:29:09] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:09] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:09] local.INFO: IMEI packet received {"connection_id":189690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:29:14] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:14] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:29:14] local.INFO: IMEI packet received {"connection_id":189690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:29:14] local.INFO: IMEI acknowledgment sent {"connection_id":189690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:29:15] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:15] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:15] local.INFO: Packet analysis {"connection_id":189690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:29:15] local.INFO: Extracted packet for processing {"connection_id":189690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:29:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:29: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-09-21 03:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":189690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:29:15] local.INFO: GPS data processed {"connection_id":189690,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:29:15] local.INFO: Acknowledgment sent {"connection_id":189690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:29:20] local.INFO: TCP Data received {"connection_id":189690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:20] local.INFO: Processing buffer {"connection_id":189690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:29:20] local.INFO: Packet analysis {"connection_id":189690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:29:20] local.INFO: Extracted packet for processing {"connection_id":189690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:29:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:29:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:29: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-09-21 03:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:29:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":189690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:29:20] local.INFO: GPS data processed {"connection_id":189690,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:29:20] local.INFO: Acknowledgment sent {"connection_id":189690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:29:47] local.INFO: TCP Data received {"connection_id":191000,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:29:47] local.INFO: Processing buffer {"connection_id":191000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:29:47] local.INFO: IMEI packet received {"connection_id":191000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:29:47] local.INFO: IMEI acknowledgment sent {"connection_id":191000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:30:04] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:04] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:04] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:30:09] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:09] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:30:09] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:30:10] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:10] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:10] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:30:10] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:30: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-09-21 03:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:30:10] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:30:10] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:30:21] local.INFO: TCP Data received {"connection_id":188232,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:30:21] local.INFO: Processing buffer {"connection_id":188232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:30:21] local.INFO: IMEI packet received {"connection_id":188232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":188232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:30:43] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:43] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:30:43] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:30:43] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:30:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:30:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:30:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:30: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-09-21 03:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:30:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:30:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:30:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:30:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:30:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:30:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:30:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:30:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:30:43] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:30:43] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:31:08] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:08] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:08] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:31:09] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:09] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:31:09] local.INFO: IMEI packet received {"connection_id":191001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":191001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:31:10] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:10] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:10] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:31:10] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:31: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-09-21 03: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-09-21 03:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:31:10] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:31:10] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:31:15] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:15] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d172b8012d34bdc006aa40f80005000c2e..."} 
[2026-09-21 03:31:15] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:31:15] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d1"} 
[2026-09-21 03:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224907776001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941347000,"timestamp_ms":1789941347000,"timestamp_seconds":1789941347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d172b8"} 
[2026-09-21 03:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31: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-09-21 03:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224907776001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224907776001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224907776001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:31:15] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:31:15] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:31:46] local.INFO: TCP Data received {"connection_id":191001,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:31:46] local.INFO: Processing buffer {"connection_id":191001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:31:46] local.INFO: Packet analysis {"connection_id":191001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:31:46] local.INFO: Extracted packet for processing {"connection_id":191001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:31:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:31:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:31:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:31: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-09-21 03:31:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:31: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-09-21 03:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:31:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":191001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:31:46] local.INFO: GPS data processed {"connection_id":191001,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:31:46] local.INFO: Acknowledgment sent {"connection_id":191001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:32:04] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:04] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:04] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:32:09] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:09] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:32:09] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:32:10] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:10] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:10] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:32:10] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:32: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-09-21 03: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-09-21 03:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:32: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-09-21 03:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:32:10] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:32:10] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:32:42] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:42] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:32:42] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:32:42] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:32: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-09-21 03: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-09-21 03:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:32: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-09-21 03:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:32:42] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:32:42] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:33:04] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:04] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:04] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:33:09] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:09] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:33:09] local.INFO: IMEI packet received {"connection_id":188233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:33:10] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:10] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:10] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:33:10] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:33: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-09-21 03: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-09-21 03:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:33: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-09-21 03:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:33:10] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:33:10] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:33:42] local.INFO: TCP Data received {"connection_id":188233,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:42] local.INFO: Processing buffer {"connection_id":188233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:33:42] local.INFO: Packet analysis {"connection_id":188233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:33:42] local.INFO: Extracted packet for processing {"connection_id":188233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:33: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-09-21 03: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-09-21 03:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:33: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-09-21 03:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":188233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:33:42] local.INFO: GPS data processed {"connection_id":188233,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:33:42] local.INFO: Acknowledgment sent {"connection_id":188233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:34:04] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:04] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:04] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:34:09] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:09] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:34:09] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:34:10] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:10] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:10] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:34:10] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:34: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-09-21 03:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03: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-09-21 03:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:34:10] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:34:10] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:34:41] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:41] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:34:41] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:34:41] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:34:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:34: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-09-21 03:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:34:41] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:34:41] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:35:09] local.INFO: TCP Data received {"connection_id":189694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:09] local.INFO: Processing buffer {"connection_id":189694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:09] local.INFO: IMEI packet received {"connection_id":189694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:35:14] local.INFO: TCP Data received {"connection_id":189694,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189694,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:14] local.INFO: Processing buffer {"connection_id":189694,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:35:14] local.INFO: IMEI packet received {"connection_id":189694,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":189694,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:35:15] local.INFO: TCP Data received {"connection_id":189694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:15] local.INFO: Processing buffer {"connection_id":189694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:15] local.INFO: Packet analysis {"connection_id":189694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:35:15] local.INFO: Extracted packet for processing {"connection_id":189694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:35: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-09-21 03:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":189694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:35:15] local.INFO: GPS data processed {"connection_id":189694,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:35:15] local.INFO: Acknowledgment sent {"connection_id":189694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:35:46] local.INFO: TCP Data received {"connection_id":189694,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:46] local.INFO: Processing buffer {"connection_id":189694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:35:46] local.INFO: Packet analysis {"connection_id":189694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:35:46] local.INFO: Extracted packet for processing {"connection_id":189694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:35:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:35:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:35:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:35:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:35:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:35:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:35:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:35: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-09-21 03:35:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:35:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:35:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:35:46] local.INFO: Teltonika packet parsed successfully {"connection_id":189694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:35:46] local.INFO: Passing IMEI to GPS processor {"connection_id":189694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:35:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":189694,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:35: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-09-21 03:35:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:35:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:35:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:35:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:35:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:35:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:35:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:35:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:35:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:35:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:35:46] local.INFO: DEBUG: GPS processor result {"connection_id":189694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:35:46] local.INFO: GPS data processed {"connection_id":189694,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:35:46] local.INFO: Acknowledgment sent {"connection_id":189694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:36:04] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:04] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:04] local.INFO: IMEI packet received {"connection_id":188234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":188234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:36:09] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:09] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:36:09] local.INFO: IMEI packet received {"connection_id":188234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":188234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:36:10] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:10] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:10] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:36:10] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:36: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-09-21 03:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:36:10] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:36:10] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:36:15] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:15] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0d60a80012d34bdc006aa40f80009000c2f..."} 
[2026-09-21 03:36:15] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:36:15] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0d6"} 
[2026-09-21 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458224984832001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941648000,"timestamp_ms":1789941648000,"timestamp_seconds":1789941648,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0d60a80"} 
[2026-09-21 03:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458224984832001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458224984832001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458224984832001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:36:15] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:36:15] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:36:47] local.INFO: TCP Data received {"connection_id":188234,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:36:47] local.INFO: Processing buffer {"connection_id":188234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:36:47] local.INFO: Packet analysis {"connection_id":188234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:36:47] local.INFO: Extracted packet for processing {"connection_id":188234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:36:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:36: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-09-21 03:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:36:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":188234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:36:47] local.INFO: GPS data processed {"connection_id":188234,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:36:47] local.INFO: Acknowledgment sent {"connection_id":188234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:37:04] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:04] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:04] local.INFO: IMEI packet received {"connection_id":189695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":189695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:37:09] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:09] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:37:09] local.INFO: IMEI packet received {"connection_id":189695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":189695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:37:10] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:10] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:10] local.INFO: Packet analysis {"connection_id":189695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:37:10] local.INFO: Extracted packet for processing {"connection_id":189695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:37: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-09-21 03: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-09-21 03:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:37: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-09-21 03:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":189695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:37:10] local.INFO: GPS data processed {"connection_id":189695,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:37:10] local.INFO: Acknowledgment sent {"connection_id":189695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:37:41] local.INFO: TCP Data received {"connection_id":189695,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:41] local.INFO: Processing buffer {"connection_id":189695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:37:41] local.INFO: Packet analysis {"connection_id":189695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:37:41] local.INFO: Extracted packet for processing {"connection_id":189695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:37:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:37: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-09-21 03:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:37: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-09-21 03:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":189695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:37:41] local.INFO: GPS data processed {"connection_id":189695,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:37:41] local.INFO: Acknowledgment sent {"connection_id":189695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:38:04] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:04] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:04] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:38:09] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:09] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:38:09] local.INFO: IMEI packet received {"connection_id":188384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:38:10] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:10] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:10] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:38:10] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:38: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-09-21 03:38:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:38:10] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:38:10] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:38:42] local.INFO: TCP Data received {"connection_id":188384,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:42] local.INFO: Processing buffer {"connection_id":188384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:38:42] local.INFO: Packet analysis {"connection_id":188384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:38:42] local.INFO: Extracted packet for processing {"connection_id":188384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:38:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:38:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:38: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-09-21 03:38:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:38:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":188384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:38:42] local.INFO: GPS data processed {"connection_id":188384,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:38:42] local.INFO: Acknowledgment sent {"connection_id":188384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:39:09] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:09] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:09] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:39:14] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:14] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:39:14] local.INFO: IMEI packet received {"connection_id":191003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":191003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:39:15] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:15] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:15] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:39:15] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:39:15] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:39:15] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:39:20] local.INFO: TCP Data received {"connection_id":191003,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:20] local.INFO: Processing buffer {"connection_id":191003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:39:20] local.INFO: Packet analysis {"connection_id":191003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:39:20] local.INFO: Extracted packet for processing {"connection_id":191003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:39:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":191003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:39:20] local.INFO: GPS data processed {"connection_id":191003,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:39:20] local.INFO: Acknowledgment sent {"connection_id":191003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:40:04] local.INFO: TCP Data received {"connection_id":189696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:04] local.INFO: Processing buffer {"connection_id":189696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:04] local.INFO: IMEI packet received {"connection_id":189696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":189696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:40:09] local.INFO: TCP Data received {"connection_id":189696,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:09] local.INFO: Processing buffer {"connection_id":189696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:40:09] local.INFO: IMEI packet received {"connection_id":189696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":189696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:40:10] local.INFO: TCP Data received {"connection_id":189696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:10] local.INFO: Processing buffer {"connection_id":189696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:10] local.INFO: Packet analysis {"connection_id":189696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:40:10] local.INFO: Extracted packet for processing {"connection_id":189696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:40: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-09-21 03: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-09-21 03:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":189696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:40:10] local.INFO: GPS data processed {"connection_id":189696,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:40:10] local.INFO: Acknowledgment sent {"connection_id":189696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:40:42] local.INFO: TCP Data received {"connection_id":189696,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:42] local.INFO: Processing buffer {"connection_id":189696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:40:42] local.INFO: Packet analysis {"connection_id":189696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:40:42] local.INFO: Extracted packet for processing {"connection_id":189696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:40:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:40: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-09-21 03: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-09-21 03:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":189696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:40:42] local.INFO: GPS data processed {"connection_id":189696,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:40:42] local.INFO: Acknowledgment sent {"connection_id":189696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:41:06] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:06] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:06] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:41:09] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:09] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:41:09] local.INFO: IMEI packet received {"connection_id":188235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:41:10] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:10] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:10] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:41:10] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:41: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-09-21 03: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-09-21 03:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:41:10] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:41:10] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:41:15] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:15] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0daa248012d34bdc006aa40f80009000c2d..."} 
[2026-09-21 03:41:15] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:41:15] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0da"} 
[2026-09-21 03:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225061888001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789941949000,"timestamp_ms":1789941949000,"timestamp_seconds":1789941949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0daa248"} 
[2026-09-21 03:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 03:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225061888001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225061888001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225061888001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:41:15] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:41:15] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:41:46] local.INFO: TCP Data received {"connection_id":188235,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:41:46] local.INFO: Processing buffer {"connection_id":188235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:41:46] local.INFO: Packet analysis {"connection_id":188235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:41:46] local.INFO: Extracted packet for processing {"connection_id":188235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:41:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:41:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:41:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:41:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03: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-09-21 03: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-09-21 03:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:41:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:41:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:41:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":188235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:41:46] local.INFO: GPS data processed {"connection_id":188235,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:41:46] local.INFO: Acknowledgment sent {"connection_id":188235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:42:04] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:04] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:04] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:42:09] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:09] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:42:09] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:42:10] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:10] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:10] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:42:10] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:42:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:42: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-09-21 03:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:42:10] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:42:10] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:42:42] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:42] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:42:42] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:42:42] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:42:42] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:42:42] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:43:04] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:04] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:04] local.INFO: IMEI packet received {"connection_id":189697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":189697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:43:09] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:09] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:43:09] local.INFO: IMEI packet received {"connection_id":189697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":189697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:43:10] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:10] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:10] local.INFO: Packet analysis {"connection_id":189697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:43:10] local.INFO: Extracted packet for processing {"connection_id":189697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:43:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":189697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:43:10] local.INFO: GPS data processed {"connection_id":189697,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:43:10] local.INFO: Acknowledgment sent {"connection_id":189697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:43:42] local.INFO: TCP Data received {"connection_id":189697,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:42] local.INFO: Processing buffer {"connection_id":189697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:43:42] local.INFO: Packet analysis {"connection_id":189697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:43:42] local.INFO: Extracted packet for processing {"connection_id":189697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:43:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:43:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:43:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":189697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:43:42] local.INFO: GPS data processed {"connection_id":189697,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:43:42] local.INFO: Acknowledgment sent {"connection_id":189697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:44:04] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:04] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:04] local.INFO: IMEI packet received {"connection_id":189698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":189698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:44:09] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:09] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:09] local.INFO: IMEI packet received {"connection_id":189698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":189698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:44:14] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:14] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:44:14] local.INFO: IMEI packet received {"connection_id":189698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":189698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:44:15] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:15] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:15] local.INFO: Packet analysis {"connection_id":189698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:44:15] local.INFO: Extracted packet for processing {"connection_id":189698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:44:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:44:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:44:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:44:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:44:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:44:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:44:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:44:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:44:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:44:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:44:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:44:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:44:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:44:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:44: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-09-21 03:44:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:44:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:44:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:44:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:44:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:44:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:44:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:44:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:44:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:44:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:44:15] local.INFO: DEBUG: GPS processor result {"connection_id":189698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:44:15] local.INFO: GPS data processed {"connection_id":189698,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:44:15] local.INFO: Acknowledgment sent {"connection_id":189698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:44:47] local.INFO: TCP Data received {"connection_id":189698,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:47] local.INFO: Processing buffer {"connection_id":189698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:44:47] local.INFO: Packet analysis {"connection_id":189698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:44:47] local.INFO: Extracted packet for processing {"connection_id":189698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:44:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:44: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-09-21 03:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:44:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:44:47] local.INFO: DEBUG: GPS processor result {"connection_id":189698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:44:47] local.INFO: GPS data processed {"connection_id":189698,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:44:47] local.INFO: Acknowledgment sent {"connection_id":189698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:45:09] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:09] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:09] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:45:14] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:14] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:45:14] local.INFO: IMEI packet received {"connection_id":188236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":188236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:45:15] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:15] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:15] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:45:15] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:45: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-09-21 03:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:45:15] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:45:15] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:45:20] local.INFO: TCP Data received {"connection_id":188236,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188236,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:20] local.INFO: Processing buffer {"connection_id":188236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:45:20] local.INFO: Packet analysis {"connection_id":188236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:45:20] local.INFO: Extracted packet for processing {"connection_id":188236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:45:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:45: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-09-21 03:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:45:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":188236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:45:20] local.INFO: GPS data processed {"connection_id":188236,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:45:20] local.INFO: Acknowledgment sent {"connection_id":188236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:46:04] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:04] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:04] local.INFO: IMEI packet received {"connection_id":188386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":188386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:46:09] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:09] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:46:09] local.INFO: IMEI packet received {"connection_id":188386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":188386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:46:10] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:46:10] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0df3a10012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 03:46:10] local.INFO: Packet analysis {"connection_id":188386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:46:10] local.INFO: Extracted packet for processing {"connection_id":188386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0df"} 
[2026-09-21 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225138944001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942250000,"timestamp_ms":1789942250000,"timestamp_seconds":1789942250,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0df3a10"} 
[2026-09-21 03:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:46:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:46: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-09-21 03:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225138944001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225138944001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225138944001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":188386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:46:10] local.INFO: GPS data processed {"connection_id":188386,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:46:10] local.INFO: Acknowledgment sent {"connection_id":188386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:46:42] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:46:42] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:46:42] local.INFO: Packet analysis {"connection_id":188386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:46:42] local.INFO: Extracted packet for processing {"connection_id":188386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":188386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:46:42] local.INFO: GPS data processed {"connection_id":188386,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:46:42] local.INFO: Acknowledgment sent {"connection_id":188386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:47:04] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:04] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:04] local.INFO: IMEI packet received {"connection_id":189699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":189699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:47:09] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:09] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:47:09] local.INFO: IMEI packet received {"connection_id":189699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":189699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:47:10] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:10] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:10] local.INFO: Packet analysis {"connection_id":189699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:47:10] local.INFO: Extracted packet for processing {"connection_id":189699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:47: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-09-21 03: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-09-21 03:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:47: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-09-21 03:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":189699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:47:10] local.INFO: GPS data processed {"connection_id":189699,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:47:10] local.INFO: Acknowledgment sent {"connection_id":189699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:47:42] local.INFO: TCP Data received {"connection_id":189699,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:42] local.INFO: Processing buffer {"connection_id":189699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:47:42] local.INFO: Packet analysis {"connection_id":189699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:47:42] local.INFO: Extracted packet for processing {"connection_id":189699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:47: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-09-21 03: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-09-21 03:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:47: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-09-21 03:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":189699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:47:42] local.INFO: GPS data processed {"connection_id":189699,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:47:42] local.INFO: Acknowledgment sent {"connection_id":189699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:48:04] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:04] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:04] local.INFO: IMEI packet received {"connection_id":189700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":189700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:48:09] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:09] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:48:09] local.INFO: IMEI packet received {"connection_id":189700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:48:10] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:10] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:10] local.INFO: Packet analysis {"connection_id":189700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:48:10] local.INFO: Extracted packet for processing {"connection_id":189700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:48: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-09-21 03: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-09-21 03:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:48: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-09-21 03:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:48:10] local.INFO: GPS data processed {"connection_id":189700,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:48:10] local.INFO: Acknowledgment sent {"connection_id":189700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:48:35] local.INFO: TCP Data received {"connection_id":191004,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:48:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:48:35] local.INFO: Processing buffer {"connection_id":191004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:48:35] local.INFO: IMEI packet received {"connection_id":191004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:48:35] local.INFO: IMEI acknowledgment sent {"connection_id":191004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:48:41] local.INFO: TCP Data received {"connection_id":189700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189700,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:41] local.INFO: Processing buffer {"connection_id":189700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:48:41] local.INFO: Packet analysis {"connection_id":189700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:48:41] local.INFO: Extracted packet for processing {"connection_id":189700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:48:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:48:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:48: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-09-21 03:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":189700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:48:41] local.INFO: GPS data processed {"connection_id":189700,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:48:41] local.INFO: Acknowledgment sent {"connection_id":189700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:49:04] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:04] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:04] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:49:09] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:09] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:49:09] local.INFO: IMEI packet received {"connection_id":188237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:49:10] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:10] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:10] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:49:10] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 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-09-21 03:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:49: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-09-21 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-09-21 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-09-21 03:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:49: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-09-21 03:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:49:10] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:49:10] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:49:41] local.INFO: TCP Data received {"connection_id":188237,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:41] local.INFO: Processing buffer {"connection_id":188237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:49:41] local.INFO: Packet analysis {"connection_id":188237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:49:41] local.INFO: Extracted packet for processing {"connection_id":188237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:49: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-09-21 03:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:49:41] local.INFO: GPS data processed {"connection_id":188237,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:49:41] local.INFO: Acknowledgment sent {"connection_id":188237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:50:04] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:04] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:04] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:50:09] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:09] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:50:09] local.INFO: IMEI packet received {"connection_id":188239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":188239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:50:10] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:10] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:10] local.INFO: Packet analysis {"connection_id":188239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:50:10] local.INFO: Extracted packet for processing {"connection_id":188239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 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-09-21 03:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:50: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-09-21 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-09-21 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-09-21 03:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 03:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":188239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:50:10] local.INFO: GPS data processed {"connection_id":188239,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:50:10] local.INFO: Acknowledgment sent {"connection_id":188239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:50:42] local.INFO: TCP Data received {"connection_id":188239,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:42] local.INFO: Processing buffer {"connection_id":188239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:50:42] local.INFO: Packet analysis {"connection_id":188239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:50:42] local.INFO: Extracted packet for processing {"connection_id":188239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:50: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-09-21 03:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":188239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:50:42] local.INFO: GPS data processed {"connection_id":188239,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:50:42] local.INFO: Acknowledgment sent {"connection_id":188239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:51:09] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:09] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:09] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:51:14] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:14] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:51:14] local.INFO: IMEI packet received {"connection_id":191006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":191006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:51:15] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:15] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:15] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:51:15] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:51:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:51:15] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:51:15] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:51:20] local.INFO: TCP Data received {"connection_id":191006,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:20] local.INFO: Processing buffer {"connection_id":191006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e3d1d8012d34bdc006aa40f80006000c2e..."} 
[2026-09-21 03:51:20] local.INFO: Packet analysis {"connection_id":191006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:51:20] local.INFO: Extracted packet for processing {"connection_id":191006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e3"} 
[2026-09-21 03:51:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:51:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225216000001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:51:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:51:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:51:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789942551000,"timestamp_ms":1789942551000,"timestamp_seconds":1789942551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e3d1d8"} 
[2026-09-21 03:51:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:51: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-09-21 03:51:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 03:51:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:51:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:51:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:51:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:51:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:51:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:51:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:51:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:51:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:51:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:51:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225216000001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:51:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:51:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:51:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225216000001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:51:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:51:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:51:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:51:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225216000001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:51:20] local.INFO: DEBUG: GPS processor result {"connection_id":191006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:51:20] local.INFO: GPS data processed {"connection_id":191006,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:51:20] local.INFO: Acknowledgment sent {"connection_id":191006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:52:04] local.INFO: TCP Data received {"connection_id":189701,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:04] local.INFO: Processing buffer {"connection_id":189701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:04] local.INFO: IMEI packet received {"connection_id":189701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":189701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:52:09] local.INFO: TCP Data received {"connection_id":189701,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:09] local.INFO: Processing buffer {"connection_id":189701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:52:09] local.INFO: IMEI packet received {"connection_id":189701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":189701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:52:10] local.INFO: TCP Data received {"connection_id":189701,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:10] local.INFO: Processing buffer {"connection_id":189701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:10] local.INFO: Packet analysis {"connection_id":189701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:52:10] local.INFO: Extracted packet for processing {"connection_id":189701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:52: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-09-21 03:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":189701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:52:10] local.INFO: GPS data processed {"connection_id":189701,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:52:10] local.INFO: Acknowledgment sent {"connection_id":189701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:52:42] local.INFO: TCP Data received {"connection_id":189701,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:42] local.INFO: Processing buffer {"connection_id":189701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:52:42] local.INFO: Packet analysis {"connection_id":189701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:52:42] local.INFO: Extracted packet for processing {"connection_id":189701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:52:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:52:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:52: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-09-21 03:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":189701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:52:42] local.INFO: GPS data processed {"connection_id":189701,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:52:42] local.INFO: Acknowledgment sent {"connection_id":189701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:53:04] local.INFO: TCP Data received {"connection_id":188240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:04] local.INFO: Processing buffer {"connection_id":188240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:04] local.INFO: IMEI packet received {"connection_id":188240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":188240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:53:09] local.INFO: TCP Data received {"connection_id":188240,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:09] local.INFO: Processing buffer {"connection_id":188240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:53:09] local.INFO: IMEI packet received {"connection_id":188240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:53:10] local.INFO: TCP Data received {"connection_id":188240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:10] local.INFO: Processing buffer {"connection_id":188240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:10] local.INFO: Packet analysis {"connection_id":188240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:53:10] local.INFO: Extracted packet for processing {"connection_id":188240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:53: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-09-21 03:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":188240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:53:10] local.INFO: GPS data processed {"connection_id":188240,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:53:10] local.INFO: Acknowledgment sent {"connection_id":188240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:53:41] local.INFO: TCP Data received {"connection_id":188240,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:41] local.INFO: Processing buffer {"connection_id":188240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:53:41] local.INFO: Packet analysis {"connection_id":188240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:53:41] local.INFO: Extracted packet for processing {"connection_id":188240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:53:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:53: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-09-21 03: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-09-21 03:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:53: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-09-21 03:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":188240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:53:41] local.INFO: GPS data processed {"connection_id":188240,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:53:41] local.INFO: Acknowledgment sent {"connection_id":188240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:53:57] local.INFO: TCP Data received {"connection_id":191008,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:53:57] local.INFO: Processing buffer {"connection_id":191008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:53:57] local.INFO: IMEI packet received {"connection_id":191008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":191008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:54:04] local.INFO: TCP Data received {"connection_id":189702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:04] local.INFO: Processing buffer {"connection_id":189702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:04] local.INFO: IMEI packet received {"connection_id":189702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":189702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:54:09] local.INFO: TCP Data received {"connection_id":189702,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:09] local.INFO: Processing buffer {"connection_id":189702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:54:09] local.INFO: IMEI packet received {"connection_id":189702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":189702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:54:10] local.INFO: TCP Data received {"connection_id":189702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:10] local.INFO: Processing buffer {"connection_id":189702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:10] local.INFO: Packet analysis {"connection_id":189702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:54:10] local.INFO: Extracted packet for processing {"connection_id":189702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 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-09-21 03:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 03:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 03:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":189702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:54:10] local.INFO: GPS data processed {"connection_id":189702,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:54:10] local.INFO: Acknowledgment sent {"connection_id":189702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:54:16] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:54:16] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:54:16] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:54:42] local.INFO: TCP Data received {"connection_id":189702,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:42] local.INFO: Processing buffer {"connection_id":189702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:54:42] local.INFO: Packet analysis {"connection_id":189702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:54:42] local.INFO: Extracted packet for processing {"connection_id":189702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:54:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:54:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:54:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:54: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-09-21 03:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":189702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:54:42] local.INFO: GPS data processed {"connection_id":189702,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:54:42] local.INFO: Acknowledgment sent {"connection_id":189702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:55:04] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:04] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:04] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:55:09] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:09] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:55:09] local.INFO: IMEI packet received {"connection_id":188241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":188241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:55:10] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:10] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:10] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:55:10] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 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-09-21 03:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 03:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 03:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:55:10] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:55:10] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:55:42] local.INFO: TCP Data received {"connection_id":188241,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:42] local.INFO: Processing buffer {"connection_id":188241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:55:42] local.INFO: Packet analysis {"connection_id":188241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:55:42] local.INFO: Extracted packet for processing {"connection_id":188241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:55:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:55: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-09-21 03:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":188241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:55:42] local.INFO: GPS data processed {"connection_id":188241,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:55:42] local.INFO: Acknowledgment sent {"connection_id":188241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:56:04] local.INFO: TCP Data received {"connection_id":188391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:04] local.INFO: Processing buffer {"connection_id":188391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:04] local.INFO: IMEI packet received {"connection_id":188391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":188391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:56:09] local.INFO: TCP Data received {"connection_id":188391,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:09] local.INFO: Processing buffer {"connection_id":188391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:56:09] local.INFO: IMEI packet received {"connection_id":188391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":188391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:56:11] local.INFO: TCP Data received {"connection_id":188391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:56:11] local.INFO: Processing buffer {"connection_id":188391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0e869a0012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 03:56:11] local.INFO: Packet analysis {"connection_id":188391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:56:11] local.INFO: Extracted packet for processing {"connection_id":188391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0e8"} 
[2026-09-21 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:56:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225293056001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789942852000,"timestamp_ms":1789942852000,"timestamp_seconds":1789942852,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0e869a0"} 
[2026-09-21 03:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:56:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:56: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-09-21 03:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225293056001,"66":25419,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225293056001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:56:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:56:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225293056001,"power":25419,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":188391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:56:11] local.INFO: GPS data processed {"connection_id":188391,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:56:11] local.INFO: Acknowledgment sent {"connection_id":188391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:56:42] local.INFO: TCP Data received {"connection_id":188391,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:56:42] local.INFO: Processing buffer {"connection_id":188391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:56:42] local.INFO: Packet analysis {"connection_id":188391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:56:42] local.INFO: Extracted packet for processing {"connection_id":188391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:56:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:56:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:56: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-09-21 03:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":188391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:56:42] local.INFO: GPS data processed {"connection_id":188391,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:56:42] local.INFO: Acknowledgment sent {"connection_id":188391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:57:04] local.INFO: TCP Data received {"connection_id":189703,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:04] local.INFO: Processing buffer {"connection_id":189703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:04] local.INFO: IMEI packet received {"connection_id":189703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":189703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:57:09] local.INFO: TCP Data received {"connection_id":189703,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:09] local.INFO: Processing buffer {"connection_id":189703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:57:09] local.INFO: IMEI packet received {"connection_id":189703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":189703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:57:10] local.INFO: TCP Data received {"connection_id":189703,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:10] local.INFO: Processing buffer {"connection_id":189703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:10] local.INFO: Packet analysis {"connection_id":189703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:57:10] local.INFO: Extracted packet for processing {"connection_id":189703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:57: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-09-21 03:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":189703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:57:10] local.INFO: GPS data processed {"connection_id":189703,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:57:10] local.INFO: Acknowledgment sent {"connection_id":189703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:57:42] local.INFO: TCP Data received {"connection_id":189703,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:42] local.INFO: Processing buffer {"connection_id":189703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:57:42] local.INFO: Packet analysis {"connection_id":189703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:57:42] local.INFO: Extracted packet for processing {"connection_id":189703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:57: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-09-21 03:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":189703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:57:42] local.INFO: GPS data processed {"connection_id":189703,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:57:42] local.INFO: Acknowledgment sent {"connection_id":189703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:58:04] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:04] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:04] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:58:09] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:09] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:58:09] local.INFO: IMEI packet received {"connection_id":191011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":191011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:58:10] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:10] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:10] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:58:10] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 03:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 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-09-21 03:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 03:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 03:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:58:10] local.INFO: GPS data processed {"connection_id":191011,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:58:10] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:58:42] local.INFO: TCP Data received {"connection_id":191011,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:42] local.INFO: Processing buffer {"connection_id":191011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:58:42] local.INFO: Packet analysis {"connection_id":191011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:58:42] local.INFO: Extracted packet for processing {"connection_id":191011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03: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-09-21 03:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:58:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:58:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03: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-09-21 03:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:58: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-09-21 03:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":191011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:58:42] local.INFO: GPS data processed {"connection_id":191011,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:58:42] local.INFO: Acknowledgment sent {"connection_id":191011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:59:04] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:04] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:04] local.INFO: IMEI packet received {"connection_id":189704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 03:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":189704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:59:09] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:09] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:09] local.INFO: IMEI packet received {"connection_id":189704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":189704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:59:14] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:14] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 03:59:14] local.INFO: IMEI packet received {"connection_id":189704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 03:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":189704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 03:59:15] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:15] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:15] local.INFO: Packet analysis {"connection_id":189704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:59:15] local.INFO: Extracted packet for processing {"connection_id":189704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:59:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:59:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:59:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:59:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:59:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:59:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:59:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:59:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:59:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:59:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:59:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:59:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:59:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:59:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:59: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-09-21 03:59:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:59:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:59:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:59:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:59:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:59:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:59:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:59:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:59:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:59:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:59:15] local.INFO: DEBUG: GPS processor result {"connection_id":189704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:59:15] local.INFO: GPS data processed {"connection_id":189704,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:59:15] local.INFO: Acknowledgment sent {"connection_id":189704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 03:59:31] local.INFO: TCP Data received {"connection_id":189705,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:59:31] local.INFO: Processing buffer {"connection_id":189705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 03:59:31] local.INFO: IMEI packet received {"connection_id":189705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 03:59:31] local.INFO: IMEI acknowledgment sent {"connection_id":189705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 03:59:47] local.INFO: TCP Data received {"connection_id":189704,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189704,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:47] local.INFO: Processing buffer {"connection_id":189704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 03:59:47] local.INFO: Packet analysis {"connection_id":189704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:59:47] local.INFO: Extracted packet for processing {"connection_id":189704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 03:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 03:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 03:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 03:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 03:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 03:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 03:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 03:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 03:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 03:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 03:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 03:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 03:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 03:59: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-09-21 03:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 03:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 03:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 03:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 03:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 03:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 03:59:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 03:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 03:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 03:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 03:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":189704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 03:59:47] local.INFO: GPS data processed {"connection_id":189704,"processed":1,"errors":0,"total":1} 
[2026-09-21 03:59:47] local.INFO: Acknowledgment sent {"connection_id":189704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:00:04] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:04] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:04] local.INFO: IMEI packet received {"connection_id":189706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":189706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:00:09] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:09] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:00:09] local.INFO: IMEI packet received {"connection_id":189706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":189706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:00:10] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:10] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:10] local.INFO: Packet analysis {"connection_id":189706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:00:10] local.INFO: Extracted packet for processing {"connection_id":189706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 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-09-21 04:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 04:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 04:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":189706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:00:10] local.INFO: GPS data processed {"connection_id":189706,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:00:10] local.INFO: Acknowledgment sent {"connection_id":189706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:00:41] local.INFO: TCP Data received {"connection_id":189706,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:41] local.INFO: Processing buffer {"connection_id":189706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:00:41] local.INFO: Packet analysis {"connection_id":189706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:00:41] local.INFO: Extracted packet for processing {"connection_id":189706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:00:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 04:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 04:00: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-09-21 04:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":189706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:00:41] local.INFO: GPS data processed {"connection_id":189706,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:00:41] local.INFO: Acknowledgment sent {"connection_id":189706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:01:09] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:09] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:09] local.INFO: IMEI packet received {"connection_id":188242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":188242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:01:14] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:14] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:01:14] local.INFO: IMEI packet received {"connection_id":188242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":188242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:01:15] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:15] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:15] local.INFO: Packet analysis {"connection_id":188242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:01:15] local.INFO: Extracted packet for processing {"connection_id":188242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 04:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 04:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":188242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:01:15] local.INFO: GPS data processed {"connection_id":188242,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:01:15] local.INFO: Acknowledgment sent {"connection_id":188242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:01:20] local.INFO: TCP Data received {"connection_id":188242,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:20] local.INFO: Processing buffer {"connection_id":188242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ed0168012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:01:20] local.INFO: Packet analysis {"connection_id":188242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:01:20] local.INFO: Extracted packet for processing {"connection_id":188242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ed"} 
[2026-09-21 04:01:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:01:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225370112001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:20] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:01:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:01:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:01:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789943153000,"timestamp_ms":1789943153000,"timestamp_seconds":1789943153,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ed0168"} 
[2026-09-21 04:01:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:01: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-09-21 04:01:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 04:01:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:01:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:01:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:01:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:01:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:01:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:01:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:01:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:01:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:01:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:01:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225370112001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:01:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:01:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:01:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225370112001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:01:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:01:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:01:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:01:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225370112001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":188242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:01:20] local.INFO: GPS data processed {"connection_id":188242,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:01:20] local.INFO: Acknowledgment sent {"connection_id":188242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:02:04] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:04] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:04] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:02:09] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:09] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:02:09] local.INFO: IMEI packet received {"connection_id":191013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":191013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:02:10] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:10] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:10] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:02:10] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 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-09-21 04:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:02: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-09-21 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-09-21 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-09-21 04:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:02: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-09-21 04:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:02:10] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:02:10] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:02:42] local.INFO: TCP Data received {"connection_id":191013,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:42] local.INFO: Processing buffer {"connection_id":191013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:02:42] local.INFO: Packet analysis {"connection_id":191013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:02:42] local.INFO: Extracted packet for processing {"connection_id":191013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 04:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:02: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-09-21 04:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:02: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-09-21 04:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":191013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:02:42] local.INFO: GPS data processed {"connection_id":191013,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:02:42] local.INFO: Acknowledgment sent {"connection_id":191013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:03:04] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:04] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:04] local.INFO: IMEI packet received {"connection_id":188395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":188395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:03:09] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:09] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:03:09] local.INFO: IMEI packet received {"connection_id":188395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":188395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:03:10] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:10] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:10] local.INFO: Packet analysis {"connection_id":188395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:03:10] local.INFO: Extracted packet for processing {"connection_id":188395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 04:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:03: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-09-21 04: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-09-21 04:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:03: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-09-21 04:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":188395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:03:10] local.INFO: GPS data processed {"connection_id":188395,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:03:10] local.INFO: Acknowledgment sent {"connection_id":188395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:03:42] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:42] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:03:42] local.INFO: Packet analysis {"connection_id":188395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:03:42] local.INFO: Extracted packet for processing {"connection_id":188395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:03:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 04:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:03: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-09-21 04:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:03: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-09-21 04:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":188395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:03:42] local.INFO: GPS data processed {"connection_id":188395,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:03:42] local.INFO: Acknowledgment sent {"connection_id":188395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:04:04] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:04] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:04] local.INFO: IMEI packet received {"connection_id":189707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":189707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:04:09] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:09] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:04:09] local.INFO: IMEI packet received {"connection_id":189707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:04:10] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:10] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:10] local.INFO: Packet analysis {"connection_id":189707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:04:10] local.INFO: Extracted packet for processing {"connection_id":189707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 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-09-21 04:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:04: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-09-21 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-09-21 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-09-21 04:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:04: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-09-21 04:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":189707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:04:10] local.INFO: GPS data processed {"connection_id":189707,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:04:10] local.INFO: Acknowledgment sent {"connection_id":189707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:04:42] local.INFO: TCP Data received {"connection_id":189707,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189707,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:42] local.INFO: Processing buffer {"connection_id":189707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:04:42] local.INFO: Packet analysis {"connection_id":189707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:04:42] local.INFO: Extracted packet for processing {"connection_id":189707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:04:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 04:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:04: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-09-21 04: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-09-21 04:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:04: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-09-21 04:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":189707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:04:42] local.INFO: GPS data processed {"connection_id":189707,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:04:42] local.INFO: Acknowledgment sent {"connection_id":189707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:04:51] local.INFO: TCP Data received {"connection_id":188243,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:04:51] local.INFO: Processing buffer {"connection_id":188243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:04:51] local.INFO: IMEI packet received {"connection_id":188243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":188243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:05:04] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:04] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:04] local.INFO: IMEI packet received {"connection_id":189708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":189708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:05:09] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:09] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:05:09] local.INFO: IMEI packet received {"connection_id":189708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":189708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:05:10] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:10] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:10] local.INFO: Packet analysis {"connection_id":189708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:05:10] local.INFO: Extracted packet for processing {"connection_id":189708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 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-09-21 04:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:05: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-09-21 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-09-21 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-09-21 04:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:05: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-09-21 04:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":189708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:05:10] local.INFO: GPS data processed {"connection_id":189708,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:05:10] local.INFO: Acknowledgment sent {"connection_id":189708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:05:42] local.INFO: TCP Data received {"connection_id":189708,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:42] local.INFO: Processing buffer {"connection_id":189708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:05:42] local.INFO: Packet analysis {"connection_id":189708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:05:42] local.INFO: Extracted packet for processing {"connection_id":189708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:05:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 04:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:05: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-09-21 04:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":189708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:05:42] local.INFO: GPS data processed {"connection_id":189708,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:05:42] local.INFO: Acknowledgment sent {"connection_id":189708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:06:04] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:04] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:04] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:06:09] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:09] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:06:09] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:06:10] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:06:10] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f19930012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 04:06:10] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:06:10] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f1"} 
[2026-09-21 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225447168001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943454000,"timestamp_ms":1789943454000,"timestamp_seconds":1789943454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f19930"} 
[2026-09-21 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-09-21 04:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:06: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-09-21 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-09-21 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-09-21 04:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:06: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-09-21 04:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225447168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225447168001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225447168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:06:10] local.INFO: GPS data processed {"connection_id":188396,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:06:10] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:06:16] local.INFO: TCP Data received {"connection_id":191015,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:06:16] local.INFO: Processing buffer {"connection_id":191015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:06:16] local.INFO: IMEI packet received {"connection_id":191015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":191015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:06:42] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:06:42] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:06:42] local.INFO: Packet analysis {"connection_id":188396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:06:42] local.INFO: Extracted packet for processing {"connection_id":188396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:06:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:06: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-09-21 04:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:06: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-09-21 04:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":188396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:06:42] local.INFO: GPS data processed {"connection_id":188396,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:06:42] local.INFO: Acknowledgment sent {"connection_id":188396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:07:04] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:04] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:04] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:07:09] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:09] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:07:09] local.INFO: IMEI packet received {"connection_id":188245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":188245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:07:10] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:10] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:10] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:07:10] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 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-09-21 04:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:07: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-09-21 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-09-21 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-09-21 04:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:07: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-09-21 04:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:07:10] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:07:10] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:07:42] local.INFO: TCP Data received {"connection_id":188245,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:42] local.INFO: Processing buffer {"connection_id":188245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:07:42] local.INFO: Packet analysis {"connection_id":188245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:07:42] local.INFO: Extracted packet for processing {"connection_id":188245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:07:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:07: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-09-21 04: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-09-21 04:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:07: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-09-21 04:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":188245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874895,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:07:42] local.INFO: GPS data processed {"connection_id":188245,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:07:42] local.INFO: Acknowledgment sent {"connection_id":188245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:08:04] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:04] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:04] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:08:09] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:09] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:08:09] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:08:10] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:10] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:10] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:08:10] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:08: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-09-21 04:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:08: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-09-21 04:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:08:10] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:08:10] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:08:43] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:43] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:08:43] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:08:43] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:08:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:08:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:08: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-09-21 04:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:08:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:08:43] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:08:43] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:09:04] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:04] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:04] local.INFO: IMEI packet received {"connection_id":191016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":191016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:09:09] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:09] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:09:09] local.INFO: IMEI packet received {"connection_id":191016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":191016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:09:10] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:10] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:10] local.INFO: Packet analysis {"connection_id":191016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:09:10] local.INFO: Extracted packet for processing {"connection_id":191016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 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-09-21 04:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:09: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-09-21 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-09-21 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-09-21 04:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 04:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":191016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:09:10] local.INFO: GPS data processed {"connection_id":191016,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:09:10] local.INFO: Acknowledgment sent {"connection_id":191016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:09:42] local.INFO: TCP Data received {"connection_id":191016,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:42] local.INFO: Processing buffer {"connection_id":191016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:09:42] local.INFO: Packet analysis {"connection_id":191016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:09:42] local.INFO: Extracted packet for processing {"connection_id":191016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:09:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:09: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-09-21 04:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:09: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-09-21 04:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":191016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:09:42] local.INFO: GPS data processed {"connection_id":191016,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:09:42] local.INFO: Acknowledgment sent {"connection_id":191016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:10:04] local.INFO: TCP Data received {"connection_id":189710,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:04] local.INFO: Processing buffer {"connection_id":189710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:04] local.INFO: IMEI packet received {"connection_id":189710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":189710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:10:09] local.INFO: TCP Data received {"connection_id":189710,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:09] local.INFO: Processing buffer {"connection_id":189710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:10:09] local.INFO: IMEI packet received {"connection_id":189710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":189710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:10:10] local.INFO: TCP Data received {"connection_id":189710,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:10] local.INFO: Processing buffer {"connection_id":189710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:10] local.INFO: Packet analysis {"connection_id":189710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:10:10] local.INFO: Extracted packet for processing {"connection_id":189710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 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-09-21 04:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:10: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-09-21 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-09-21 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-09-21 04:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:10: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-09-21 04:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":189710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:10:10] local.INFO: GPS data processed {"connection_id":189710,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:10:10] local.INFO: Acknowledgment sent {"connection_id":189710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:10:42] local.INFO: TCP Data received {"connection_id":189710,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:42] local.INFO: Processing buffer {"connection_id":189710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:10:42] local.INFO: Packet analysis {"connection_id":189710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:10:42] local.INFO: Extracted packet for processing {"connection_id":189710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:10:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 04:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:10: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-09-21 04: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-09-21 04:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:10: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-09-21 04:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":189710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:10:42] local.INFO: GPS data processed {"connection_id":189710,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:10:42] local.INFO: Acknowledgment sent {"connection_id":189710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:11:04] local.INFO: TCP Data received {"connection_id":188246,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:04] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:04] local.INFO: IMEI packet received {"connection_id":188246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":188246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:11:09] local.INFO: TCP Data received {"connection_id":188246,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:09] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:11:09] local.INFO: IMEI packet received {"connection_id":188246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:11:10] local.INFO: TCP Data received {"connection_id":188246,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:11:10] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0f630f8012d34bdc006aa40f80008000c2e..."} 
[2026-09-21 04:11:10] local.INFO: Packet analysis {"connection_id":188246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:11:10] local.INFO: Extracted packet for processing {"connection_id":188246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0f6"} 
[2026-09-21 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225524224001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789943755000,"timestamp_ms":1789943755000,"timestamp_seconds":1789943755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0f630f8"} 
[2026-09-21 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-09-21 04:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:11: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-09-21 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-09-21 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-09-21 04:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:11: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-09-21 04:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225524224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225524224001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225524224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":188246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:11:10] local.INFO: GPS data processed {"connection_id":188246,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:11:10] local.INFO: Acknowledgment sent {"connection_id":188246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:11:42] local.INFO: TCP Data received {"connection_id":188246,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:11:42] local.INFO: Processing buffer {"connection_id":188246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:11:42] local.INFO: Packet analysis {"connection_id":188246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:11:42] local.INFO: Extracted packet for processing {"connection_id":188246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:11:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:11: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-09-21 04: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-09-21 04:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:11: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-09-21 04:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":188246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:11:42] local.INFO: GPS data processed {"connection_id":188246,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:11:42] local.INFO: Acknowledgment sent {"connection_id":188246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:11:50] local.INFO: TCP Data received {"connection_id":188247,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:11:50] local.INFO: Processing buffer {"connection_id":188247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:11:50] local.INFO: IMEI packet received {"connection_id":188247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":188247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:12:09] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:09] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:09] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:12:14] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:14] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:12:14] local.INFO: IMEI packet received {"connection_id":191017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":191017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:12:15] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:15] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:15] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:12:15] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:12:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:12:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:12:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:12:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:12:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:12:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:12:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:12:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:12:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:12:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:12:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:12:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:12:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:12:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:12:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:12:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:12:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:12:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:12:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:12:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:12:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:12:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:12:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:12:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:12:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:12:15] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:12:15] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:12:15] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:12:31] local.INFO: TCP Data received {"connection_id":188248,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:12:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188248,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:12:31] local.INFO: Processing buffer {"connection_id":188248,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:12:31] local.INFO: IMEI packet received {"connection_id":188248,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:12:31] local.INFO: IMEI acknowledgment sent {"connection_id":188248,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:12:47] local.INFO: TCP Data received {"connection_id":191017,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:47] local.INFO: Processing buffer {"connection_id":191017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:12:47] local.INFO: Packet analysis {"connection_id":191017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:12:47] local.INFO: Extracted packet for processing {"connection_id":191017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:12:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:12:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:12:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:12:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:12:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:12: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-09-21 04:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:12:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":191017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:12:47] local.INFO: GPS data processed {"connection_id":191017,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:12:47] local.INFO: Acknowledgment sent {"connection_id":191017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:13:07] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:07] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:07] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:13:09] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:09] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:13:09] local.INFO: IMEI packet received {"connection_id":188249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":188249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:13:10] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:10] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:10] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:10] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 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-09-21 04:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:13: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-09-21 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-09-21 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-09-21 04:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13: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-09-21 04:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:13:10] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:13:10] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:13:15] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:15] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:15] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:15] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:13:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:13:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:13:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:13:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:13:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:13:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:13:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:13:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:13:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:13:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13: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-09-21 04:13:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:13:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:13:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:13:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:13:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:13:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:13:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:13:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:13:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:13:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:13:15] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:13:15] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:13:15] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:13:46] local.INFO: TCP Data received {"connection_id":188249,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188249,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:46] local.INFO: Processing buffer {"connection_id":188249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:13:46] local.INFO: Packet analysis {"connection_id":188249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:46] local.INFO: Extracted packet for processing {"connection_id":188249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:13:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:13:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:46] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:13:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:13:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:13:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:13:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:13:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:13:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:13: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-09-21 04:13:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:13:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:13:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:13:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:13:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:13:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:13:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:13:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:13:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:13:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:13:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:13:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:13:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:13:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:13:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:13:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:13:46] local.INFO: DEBUG: GPS processor result {"connection_id":188249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:13:46] local.INFO: GPS data processed {"connection_id":188249,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:13:46] local.INFO: Acknowledgment sent {"connection_id":188249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:14:04] local.INFO: TCP Data received {"connection_id":188250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:04] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:04] local.INFO: IMEI packet received {"connection_id":188250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":188250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:14:09] local.INFO: TCP Data received {"connection_id":188250,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:09] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:14:09] local.INFO: IMEI packet received {"connection_id":188250,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188250,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:14:11] local.INFO: TCP Data received {"connection_id":188250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:11] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:11] local.INFO: Packet analysis {"connection_id":188250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:14:11] local.INFO: Extracted packet for processing {"connection_id":188250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:14:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:14:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:14:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:14: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-09-21 04:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:14:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":188250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:14:11] local.INFO: GPS data processed {"connection_id":188250,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:14:11] local.INFO: Acknowledgment sent {"connection_id":188250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:14:42] local.INFO: TCP Data received {"connection_id":188250,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:42] local.INFO: Processing buffer {"connection_id":188250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:14:42] local.INFO: Packet analysis {"connection_id":188250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:14:42] local.INFO: Extracted packet for processing {"connection_id":188250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:14:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:14: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-09-21 04: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-09-21 04:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188250,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04: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-09-21 04:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":188250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:14:42] local.INFO: GPS data processed {"connection_id":188250,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:14:42] local.INFO: Acknowledgment sent {"connection_id":188250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:15:04] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:04] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:04] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:15:09] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:09] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:15:09] local.INFO: IMEI packet received {"connection_id":188251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":188251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:15:11] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:11] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:11] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:15:11] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:11] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 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-09-21 04:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 04:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:15:11] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:15:11] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:15:43] local.INFO: TCP Data received {"connection_id":188251,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:43] local.INFO: Processing buffer {"connection_id":188251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:15:43] local.INFO: Packet analysis {"connection_id":188251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:15:43] local.INFO: Extracted packet for processing {"connection_id":188251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 04:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:15: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-09-21 04:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":188251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:15:43] local.INFO: GPS data processed {"connection_id":188251,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:15:43] local.INFO: Acknowledgment sent {"connection_id":188251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:16:04] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:04] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:04] local.INFO: IMEI packet received {"connection_id":188401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":188401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:16:09] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:09] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:16:09] local.INFO: IMEI packet received {"connection_id":188401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:16:10] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:16:10] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0fac8c0012d34bdc006aa40f80003000c2e..."} 
[2026-09-21 04:16:10] local.INFO: Packet analysis {"connection_id":188401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:16:10] local.INFO: Extracted packet for processing {"connection_id":188401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0fa"} 
[2026-09-21 04:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225601280001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:16:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 04:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 04:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944056000,"timestamp_ms":1789944056000,"timestamp_seconds":1789944056,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0fac8c0"} 
[2026-09-21 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-09-21 04:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:16: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-09-21 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-09-21 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-09-21 04:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:16: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-09-21 04:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225601280001,"66":25430,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 04:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225601280001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225601280001,"power":25430,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":188401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:16:10] local.INFO: GPS data processed {"connection_id":188401,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:16:10] local.INFO: Acknowledgment sent {"connection_id":188401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:16:43] local.INFO: TCP Data received {"connection_id":188401,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:16:43] local.INFO: Processing buffer {"connection_id":188401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:16:43] local.INFO: Packet analysis {"connection_id":188401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:16:43] local.INFO: Extracted packet for processing {"connection_id":188401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:16:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:16:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:16:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:16: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-09-21 04:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:16:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:16:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":188401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:16:43] local.INFO: GPS data processed {"connection_id":188401,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:16:43] local.INFO: Acknowledgment sent {"connection_id":188401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:17:09] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:09] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:09] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:17:14] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:14] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:17:14] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:17:15] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:15] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:15] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:17:15] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:17:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:17: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-09-21 04:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:17:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:17:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:17:15] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:17:15] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:17:46] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:46] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:17:46] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:17:46] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:17:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:17:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:17: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-09-21 04: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-09-21 04:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:17:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:17:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:17:46] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:17:46] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:17:51] local.INFO: TCP Data received {"connection_id":188252,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:17:51] local.INFO: Processing buffer {"connection_id":188252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:17:51] local.INFO: IMEI packet received {"connection_id":188252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":188252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:18:04] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:04] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:04] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:18:09] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:09] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:18:09] local.INFO: IMEI packet received {"connection_id":188253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":188253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:18:10] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:10] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:10] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:18:10] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:18: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-09-21 04: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-09-21 04:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:18:10] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:18:10] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:18:16] local.INFO: TCP Data received {"connection_id":191020,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:18:16] local.INFO: Processing buffer {"connection_id":191020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:18:16] local.INFO: IMEI packet received {"connection_id":191020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":191020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:18:42] local.INFO: TCP Data received {"connection_id":188253,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:42] local.INFO: Processing buffer {"connection_id":188253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:18:42] local.INFO: Packet analysis {"connection_id":188253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:18:42] local.INFO: Extracted packet for processing {"connection_id":188253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:18: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-09-21 04: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-09-21 04:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:18: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-09-21 04:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":188253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:18:42] local.INFO: GPS data processed {"connection_id":188253,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:18:42] local.INFO: Acknowledgment sent {"connection_id":188253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:19:04] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:04] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:04] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:19:09] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:09] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:19:09] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:19:11] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:11] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:11] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:19:11] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:19: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-09-21 04: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-09-21 04:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:19:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:19:11] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:19:11] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:19:44] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:44] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:19:44] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:19:44] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:19:44] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:19:44] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:20:04] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:04] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:04] local.INFO: IMEI packet received {"connection_id":189712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":189712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:20:09] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:09] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:20:09] local.INFO: IMEI packet received {"connection_id":189712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":189712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:20:11] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:11] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:11] local.INFO: Packet analysis {"connection_id":189712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:20:11] local.INFO: Extracted packet for processing {"connection_id":189712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:20:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:20: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-09-21 04: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-09-21 04:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:20: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-09-21 04:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:20:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:20:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":189712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:20:11] local.INFO: GPS data processed {"connection_id":189712,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:20:11] local.INFO: Acknowledgment sent {"connection_id":189712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:20:42] local.INFO: TCP Data received {"connection_id":189712,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:42] local.INFO: Processing buffer {"connection_id":189712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:20:42] local.INFO: Packet analysis {"connection_id":189712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:20:42] local.INFO: Extracted packet for processing {"connection_id":189712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:20: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-09-21 04:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:20: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-09-21 04:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:20: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-09-21 04:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":189712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:20:42] local.INFO: GPS data processed {"connection_id":189712,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:20:42] local.INFO: Acknowledgment sent {"connection_id":189712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:21:04] local.INFO: TCP Data received {"connection_id":188254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:04] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:04] local.INFO: IMEI packet received {"connection_id":188254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":188254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:21:09] local.INFO: TCP Data received {"connection_id":188254,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:09] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:21:09] local.INFO: IMEI packet received {"connection_id":188254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:21:11] local.INFO: TCP Data received {"connection_id":188254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:21:11] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c0ff6088012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 04:21:11] local.INFO: Packet analysis {"connection_id":188254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:21:11] local.INFO: Extracted packet for processing {"connection_id":188254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c0ff"} 
[2026-09-21 04:21:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225678336001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944357000,"timestamp_ms":1789944357000,"timestamp_seconds":1789944357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c0ff6088"} 
[2026-09-21 04:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:21:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:21:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:21: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-09-21 04:21:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:21: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-09-21 04:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225678336001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225678336001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:21:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:21:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225678336001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":188254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:21:11] local.INFO: GPS data processed {"connection_id":188254,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:21:11] local.INFO: Acknowledgment sent {"connection_id":188254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:21:43] local.INFO: TCP Data received {"connection_id":188254,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:21:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:21:43] local.INFO: Processing buffer {"connection_id":188254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:21:43] local.INFO: Packet analysis {"connection_id":188254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:21:43] local.INFO: Extracted packet for processing {"connection_id":188254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:21:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:21:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:21:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:21:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:21:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:21:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:21:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:21: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-09-21 04: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-09-21 04:21:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:21:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:21:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:21:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:21:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:21: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-09-21 04:21:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:21:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:21:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:21:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:21:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:21:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:21:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:21:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:21:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:21:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:21:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:21:43] local.INFO: DEBUG: GPS processor result {"connection_id":188254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:21:43] local.INFO: GPS data processed {"connection_id":188254,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:21:43] local.INFO: Acknowledgment sent {"connection_id":188254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:22:09] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:09] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:09] local.INFO: IMEI packet received {"connection_id":189714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":189714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:22:14] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:14] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:22:14] local.INFO: IMEI packet received {"connection_id":189714,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":189714,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:22:15] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:15] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:15] local.INFO: Packet analysis {"connection_id":189714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:22:15] local.INFO: Extracted packet for processing {"connection_id":189714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:22:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:22:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:22:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:22: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-09-21 04:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:22:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:22:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":189714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:22:15] local.INFO: GPS data processed {"connection_id":189714,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:22:15] local.INFO: Acknowledgment sent {"connection_id":189714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:22:20] local.INFO: TCP Data received {"connection_id":189714,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:20] local.INFO: Processing buffer {"connection_id":189714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:22:20] local.INFO: Packet analysis {"connection_id":189714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:22:20] local.INFO: Extracted packet for processing {"connection_id":189714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:22:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:22:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:22:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189714,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:22:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:22:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":189714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:22:20] local.INFO: GPS data processed {"connection_id":189714,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:22:20] local.INFO: Acknowledgment sent {"connection_id":189714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:23:04] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:04] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:04] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:23:09] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:09] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:23:09] local.INFO: IMEI packet received {"connection_id":188405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:23:11] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:11] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:11] local.INFO: Packet analysis {"connection_id":188405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:23:11] local.INFO: Extracted packet for processing {"connection_id":188405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:23: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-09-21 04:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:23:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:23:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:23:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:23:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":188405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:23:11] local.INFO: GPS data processed {"connection_id":188405,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:23:11] local.INFO: Acknowledgment sent {"connection_id":188405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:23:31] local.INFO: TCP Data received {"connection_id":189715,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:23:31] local.INFO: Processing buffer {"connection_id":189715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:23:31] local.INFO: IMEI packet received {"connection_id":189715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":189715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:23:42] local.INFO: TCP Data received {"connection_id":188405,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:42] local.INFO: Processing buffer {"connection_id":188405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:23:42] local.INFO: Packet analysis {"connection_id":188405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:23:42] local.INFO: Extracted packet for processing {"connection_id":188405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:23: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-09-21 04: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-09-21 04:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:23: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-09-21 04:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":188405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:23:42] local.INFO: GPS data processed {"connection_id":188405,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:23:42] local.INFO: Acknowledgment sent {"connection_id":188405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:24:04] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:04] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:04] local.INFO: IMEI packet received {"connection_id":191023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":191023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:24:09] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:09] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:24:09] local.INFO: IMEI packet received {"connection_id":191023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":191023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:24:10] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:10] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:10] local.INFO: Packet analysis {"connection_id":191023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:24:10] local.INFO: Extracted packet for processing {"connection_id":191023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":191023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:24:10] local.INFO: GPS data processed {"connection_id":191023,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:24:10] local.INFO: Acknowledgment sent {"connection_id":191023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:24:15] local.INFO: TCP Data received {"connection_id":191024,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:24:15] local.INFO: Processing buffer {"connection_id":191024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:24:15] local.INFO: IMEI packet received {"connection_id":191024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":191024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:24:41] local.INFO: TCP Data received {"connection_id":191023,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:41] local.INFO: Processing buffer {"connection_id":191023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:24:41] local.INFO: Packet analysis {"connection_id":191023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:24:41] local.INFO: Extracted packet for processing {"connection_id":191023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04: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-09-21 04: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-09-21 04:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:24: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-09-21 04:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":191023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:24:41] local.INFO: GPS data processed {"connection_id":191023,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:24:41] local.INFO: Acknowledgment sent {"connection_id":191023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:25:04] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:04] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:04] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:25:09] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:09] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:25:09] local.INFO: IMEI packet received {"connection_id":188255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:25:11] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:11] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:11] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:25:11] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:25: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-09-21 04:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:25:11] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:25:11] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:25:43] local.INFO: TCP Data received {"connection_id":188255,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:43] local.INFO: Processing buffer {"connection_id":188255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:25:43] local.INFO: Packet analysis {"connection_id":188255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:25:43] local.INFO: Extracted packet for processing {"connection_id":188255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:25:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:25:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 04:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:25:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:25:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:25: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-09-21 04:25:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:25: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-09-21 04:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:25:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:25:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":188255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:25:43] local.INFO: GPS data processed {"connection_id":188255,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:25:43] local.INFO: Acknowledgment sent {"connection_id":188255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:26:04] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:04] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:04] local.INFO: IMEI packet received {"connection_id":189716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":189716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:26:09] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:09] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:26:09] local.INFO: IMEI packet received {"connection_id":189716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":189716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:26:10] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:26:10] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c103f850012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:26:10] local.INFO: Packet analysis {"connection_id":189716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:26:10] local.INFO: Extracted packet for processing {"connection_id":189716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c103"} 
[2026-09-21 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225755392001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944658000,"timestamp_ms":1789944658000,"timestamp_seconds":1789944658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c103f850"} 
[2026-09-21 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-09-21 04:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 04:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 04:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:26: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-09-21 04:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225755392001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225755392001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225755392001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":189716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:26:10] local.INFO: GPS data processed {"connection_id":189716,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:26:10] local.INFO: Acknowledgment sent {"connection_id":189716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:26:41] local.INFO: TCP Data received {"connection_id":189716,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:26:41] local.INFO: Processing buffer {"connection_id":189716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:26:41] local.INFO: Packet analysis {"connection_id":189716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:26:41] local.INFO: Extracted packet for processing {"connection_id":189716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:26: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-09-21 04:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":189716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:26:41] local.INFO: GPS data processed {"connection_id":189716,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:26:41] local.INFO: Acknowledgment sent {"connection_id":189716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:27:10] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:10] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:10] local.INFO: IMEI packet received {"connection_id":188257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":188257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:27:14] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:14] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:27:14] local.INFO: IMEI packet received {"connection_id":188257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:27:15] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:15] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:15] local.INFO: Packet analysis {"connection_id":188257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:27:15] local.INFO: Extracted packet for processing {"connection_id":188257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:27: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-09-21 04:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":188257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:27:15] local.INFO: GPS data processed {"connection_id":188257,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:27:15] local.INFO: Acknowledgment sent {"connection_id":188257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:27:20] local.INFO: TCP Data received {"connection_id":188257,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:20] local.INFO: Processing buffer {"connection_id":188257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:27:20] local.INFO: Packet analysis {"connection_id":188257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:27:20] local.INFO: Extracted packet for processing {"connection_id":188257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:27: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-09-21 04:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":188257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:27:20] local.INFO: GPS data processed {"connection_id":188257,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:27:20] local.INFO: Acknowledgment sent {"connection_id":188257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:28:04] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:04] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:04] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:28:09] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:09] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:28:09] local.INFO: IMEI packet received {"connection_id":188408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:28:10] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:10] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:10] local.INFO: Packet analysis {"connection_id":188408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:28:10] local.INFO: Extracted packet for processing {"connection_id":188408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:28: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-09-21 04: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-09-21 04:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:28: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-09-21 04:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:28:10] local.INFO: GPS data processed {"connection_id":188408,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:28:10] local.INFO: Acknowledgment sent {"connection_id":188408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:28:41] local.INFO: TCP Data received {"connection_id":188408,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:41] local.INFO: Processing buffer {"connection_id":188408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:28:41] local.INFO: Packet analysis {"connection_id":188408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:28:41] local.INFO: Extracted packet for processing {"connection_id":188408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:28:41] local.INFO: GPS data processed {"connection_id":188408,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:28:41] local.INFO: Acknowledgment sent {"connection_id":188408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:29:04] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:04] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:04] local.INFO: IMEI packet received {"connection_id":189717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":189717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:29:10] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:10] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:29:10] local.INFO: IMEI packet received {"connection_id":189717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":189717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:29:12] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:12] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:12] local.INFO: Packet analysis {"connection_id":189717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:29:12] local.INFO: Extracted packet for processing {"connection_id":189717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:29:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:29:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:29: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:29:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:29:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:29:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":189717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:29:12] local.INFO: GPS data processed {"connection_id":189717,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:29:12] local.INFO: Acknowledgment sent {"connection_id":189717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:29:21] local.INFO: TCP Data received {"connection_id":189718,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:29:21] local.INFO: Processing buffer {"connection_id":189718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:29:21] local.INFO: IMEI packet received {"connection_id":189718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":189718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:29:44] local.INFO: TCP Data received {"connection_id":189717,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:44] local.INFO: Processing buffer {"connection_id":189717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:29:44] local.INFO: Packet analysis {"connection_id":189717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:29:44] local.INFO: Extracted packet for processing {"connection_id":189717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:29:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:29:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:29:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:29:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:29:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:29:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:29:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:29:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":189717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:29:44] local.INFO: GPS data processed {"connection_id":189717,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:29:44] local.INFO: Acknowledgment sent {"connection_id":189717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:30:04] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:04] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:04] local.INFO: IMEI packet received {"connection_id":191026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":191026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:30:09] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:09] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:30:09] local.INFO: IMEI packet received {"connection_id":191026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":191026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:30:10] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:10] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:10] local.INFO: Packet analysis {"connection_id":191026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:30:10] local.INFO: Extracted packet for processing {"connection_id":191026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:30: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-09-21 04:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:30: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-09-21 04:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":191026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:30:10] local.INFO: GPS data processed {"connection_id":191026,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:30:10] local.INFO: Acknowledgment sent {"connection_id":191026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:30:42] local.INFO: TCP Data received {"connection_id":191026,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:42] local.INFO: Processing buffer {"connection_id":191026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:30:42] local.INFO: Packet analysis {"connection_id":191026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:30:42] local.INFO: Extracted packet for processing {"connection_id":191026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:30: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-09-21 04:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:30: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-09-21 04:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:30:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":191026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:30:42] local.INFO: GPS data processed {"connection_id":191026,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:30:42] local.INFO: Acknowledgment sent {"connection_id":191026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:31:04] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:04] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:04] local.INFO: IMEI packet received {"connection_id":189719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":189719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:31:09] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:09] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:31:09] local.INFO: IMEI packet received {"connection_id":189719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":189719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:31:11] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:31:11] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1089018012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:31:11] local.INFO: Packet analysis {"connection_id":189719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:31:11] local.INFO: Extracted packet for processing {"connection_id":189719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c108"} 
[2026-09-21 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:31:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225832448001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789944959000,"timestamp_ms":1789944959000,"timestamp_seconds":1789944959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1089018"} 
[2026-09-21 04:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:31:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225832448001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225832448001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:31:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:31:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225832448001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":189719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:31:11] local.INFO: GPS data processed {"connection_id":189719,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:31:11] local.INFO: Acknowledgment sent {"connection_id":189719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:31:43] local.INFO: TCP Data received {"connection_id":189719,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:31:43] local.INFO: Processing buffer {"connection_id":189719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:31:43] local.INFO: Packet analysis {"connection_id":189719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:31:43] local.INFO: Extracted packet for processing {"connection_id":189719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:31:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:31:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:31:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:31:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":189719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:31:43] local.INFO: GPS data processed {"connection_id":189719,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:31:43] local.INFO: Acknowledgment sent {"connection_id":189719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:32:09] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:09] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:09] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:32:14] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:14] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:32:14] local.INFO: IMEI packet received {"connection_id":188259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:32:14] local.INFO: IMEI acknowledgment sent {"connection_id":188259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:32:15] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:15] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:15] local.INFO: Packet analysis {"connection_id":188259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:32:15] local.INFO: Extracted packet for processing {"connection_id":188259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":188259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:32:15] local.INFO: GPS data processed {"connection_id":188259,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:32:15] local.INFO: Acknowledgment sent {"connection_id":188259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:32:20] local.INFO: TCP Data received {"connection_id":188259,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:20] local.INFO: Processing buffer {"connection_id":188259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:32:20] local.INFO: Packet analysis {"connection_id":188259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:32:20] local.INFO: Extracted packet for processing {"connection_id":188259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:32:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:32:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:32:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":188259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:32:20] local.INFO: GPS data processed {"connection_id":188259,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:32:20] local.INFO: Acknowledgment sent {"connection_id":188259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:33:04] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:04] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:04] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:33:09] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:09] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:33:09] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:33:10] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:10] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:10] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:33:10] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:33: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-09-21 04: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-09-21 04:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:33: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-09-21 04:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:33:10] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:33:10] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:33:42] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:42] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:33:42] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:33:42] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:33: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-09-21 04: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-09-21 04:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:33: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-09-21 04:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:33:42] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:33:42] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:34:04] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:04] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:04] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:34:09] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:09] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:34:09] local.INFO: IMEI packet received {"connection_id":191028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":191028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:34:10] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:10] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:10] local.INFO: Packet analysis {"connection_id":191028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:34:10] local.INFO: Extracted packet for processing {"connection_id":191028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 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-09-21 04:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:34: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-09-21 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-09-21 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-09-21 04:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04: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-09-21 04:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:34:10] local.INFO: GPS data processed {"connection_id":191028,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:34:10] local.INFO: Acknowledgment sent {"connection_id":191028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:34:42] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:34:42] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:34:42] local.INFO: IMEI packet received {"connection_id":188412,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:34:42] local.INFO: IMEI acknowledgment sent {"connection_id":188412,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:34:42] local.INFO: TCP Data received {"connection_id":191028,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191028,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:42] local.INFO: Processing buffer {"connection_id":191028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:34:42] local.INFO: Packet analysis {"connection_id":191028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:34:42] local.INFO: Extracted packet for processing {"connection_id":191028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04: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-09-21 04:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":191028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:34:42] local.INFO: GPS data processed {"connection_id":191028,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:34:42] local.INFO: Acknowledgment sent {"connection_id":191028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:35:04] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:04] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:04] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:35:09] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:09] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:35:09] local.INFO: IMEI packet received {"connection_id":188260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:35:10] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:10] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:10] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:35:10] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 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-09-21 04:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:35: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-09-21 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-09-21 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-09-21 04:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:35: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-09-21 04:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:35:10] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:35:10] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:35:16] local.INFO: TCP Data received {"connection_id":189721,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:35:16] local.INFO: Processing buffer {"connection_id":189721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:35:16] local.INFO: IMEI packet received {"connection_id":189721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":189721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:35:43] local.INFO: TCP Data received {"connection_id":188260,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:43] local.INFO: Processing buffer {"connection_id":188260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:35:43] local.INFO: Packet analysis {"connection_id":188260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:35:43] local.INFO: Extracted packet for processing {"connection_id":188260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:35:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 04:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:35:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:35:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:35:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:35:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:35: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-09-21 04:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:35:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:35:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":188260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:35:43] local.INFO: GPS data processed {"connection_id":188260,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:35:43] local.INFO: Acknowledgment sent {"connection_id":188260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:36:04] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:04] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:04] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:36:09] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:09] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:36:09] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:36:10] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:36:10] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10d27e0012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:36:10] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:36:10] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10d"} 
[2026-09-21 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225909504001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945260000,"timestamp_ms":1789945260000,"timestamp_seconds":1789945260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10d27e0"} 
[2026-09-21 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-09-21 04:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:36: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-09-21 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-09-21 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-09-21 04:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:36: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-09-21 04:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225909504001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225909504001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225909504001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:36:10] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:36:10] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:36:42] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:36:42] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:36:42] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:36:42] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:36: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-09-21 04:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:36: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-09-21 04:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:36:42] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:36:42] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:37:04] local.INFO: TCP Data received {"connection_id":188261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:04] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:04] local.INFO: IMEI packet received {"connection_id":188261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":188261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:37:09] local.INFO: TCP Data received {"connection_id":188261,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:09] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:37:09] local.INFO: IMEI packet received {"connection_id":188261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":188261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:37:10] local.INFO: TCP Data received {"connection_id":188261,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:10] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:10] local.INFO: Packet analysis {"connection_id":188261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:37:10] local.INFO: Extracted packet for processing {"connection_id":188261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:37: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-09-21 04: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-09-21 04:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":188261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:37:10] local.INFO: GPS data processed {"connection_id":188261,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:37:10] local.INFO: Acknowledgment sent {"connection_id":188261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:37:42] local.INFO: TCP Data received {"connection_id":188261,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:42] local.INFO: Processing buffer {"connection_id":188261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:37:42] local.INFO: Packet analysis {"connection_id":188261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:37:42] local.INFO: Extracted packet for processing {"connection_id":188261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:37: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-09-21 04:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:37:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:37:42] local.INFO: DEBUG: GPS processor result {"connection_id":188261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:37:42] local.INFO: GPS data processed {"connection_id":188261,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:37:42] local.INFO: Acknowledgment sent {"connection_id":188261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:38:04] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:04] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:04] local.INFO: IMEI packet received {"connection_id":191029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":191029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:38:09] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:09] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:38:09] local.INFO: IMEI packet received {"connection_id":191029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":191029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:38:10] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:10] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:10] local.INFO: Packet analysis {"connection_id":191029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:38:10] local.INFO: Extracted packet for processing {"connection_id":191029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 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-09-21 04:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:38: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-09-21 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-09-21 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-09-21 04:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 04:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:38:10] local.INFO: GPS data processed {"connection_id":191029,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:38:10] local.INFO: Acknowledgment sent {"connection_id":191029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:38:41] local.INFO: TCP Data received {"connection_id":191029,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:41] local.INFO: Processing buffer {"connection_id":191029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:38:41] local.INFO: Packet analysis {"connection_id":191029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:38:41] local.INFO: Extracted packet for processing {"connection_id":191029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:38: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-09-21 04:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:38:41] local.INFO: GPS data processed {"connection_id":191029,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:38:41] local.INFO: Acknowledgment sent {"connection_id":191029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:39:09] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:09] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:09] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:39:14] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:14] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:39:14] local.INFO: IMEI packet received {"connection_id":188262,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":188262,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:39:15] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:15] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:15] local.INFO: Packet analysis {"connection_id":188262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:39:15] local.INFO: Extracted packet for processing {"connection_id":188262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:39: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-09-21 04:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":188262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:39:15] local.INFO: GPS data processed {"connection_id":188262,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:39:15] local.INFO: Acknowledgment sent {"connection_id":188262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:39:20] local.INFO: TCP Data received {"connection_id":188262,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:20] local.INFO: Processing buffer {"connection_id":188262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:39:20] local.INFO: Packet analysis {"connection_id":188262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:39:20] local.INFO: Extracted packet for processing {"connection_id":188262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:39:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:39:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:39:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:39:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:39:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:39:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:39:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:39: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-09-21 04:39:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:39:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:39:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:39:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:39:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:39:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:39:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:39:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188262,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:39:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:39:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:39:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:39:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:39:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:39:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:39:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:39:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:39:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:39:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:39:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:39:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:39:20] local.INFO: DEBUG: GPS processor result {"connection_id":188262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:39:20] local.INFO: GPS data processed {"connection_id":188262,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:39:20] local.INFO: Acknowledgment sent {"connection_id":188262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:40:04] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:04] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:04] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:40:09] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:09] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:40:09] local.INFO: IMEI packet received {"connection_id":188416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:40:10] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:10] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:10] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:40:10] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:40: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-09-21 04: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-09-21 04:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:40: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-09-21 04:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:40:10] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:40:10] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:40:41] local.INFO: TCP Data received {"connection_id":188416,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:41] local.INFO: Processing buffer {"connection_id":188416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:40:41] local.INFO: Packet analysis {"connection_id":188416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:40:41] local.INFO: Extracted packet for processing {"connection_id":188416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 04:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:40:41] local.INFO: GPS data processed {"connection_id":188416,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:40:41] local.INFO: Acknowledgment sent {"connection_id":188416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:40:46] local.INFO: TCP Data received {"connection_id":189723,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:40:46] local.INFO: Processing buffer {"connection_id":189723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:40:46] local.INFO: IMEI packet received {"connection_id":189723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:40:46] local.INFO: IMEI acknowledgment sent {"connection_id":189723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:41:05] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:05] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:05] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:41:09] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:09] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:41:09] local.INFO: IMEI packet received {"connection_id":191031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":191031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:41:10] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:41:10] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111bfa8012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 04:41:10] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:41:10] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458225986560001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945561000,"timestamp_ms":1789945561000,"timestamp_seconds":1789945561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111bfa8"} 
[2026-09-21 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-09-21 04:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:41: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-09-21 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-09-21 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-09-21 04:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:41: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-09-21 04:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458225986560001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458225986560001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458225986560001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:41:10] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:41:10] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:41:16] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:16] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:16] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:41:21] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:21] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:41:21] local.INFO: IMEI packet received {"connection_id":188417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 04:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":188417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:41:22] local.INFO: TCP Data received {"connection_id":188417,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c10f94f8012b887bc00b7c80800013010225..."} 
[2026-09-21 04:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c10f94f8012b887bc00b7c80800013010225..."} 
[2026-09-21 04:41:22] local.INFO: Processing buffer {"connection_id":188417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c10f94f8012b887bc00b7c80800013010225..."} 
[2026-09-21 04:41:22] local.INFO: Packet analysis {"connection_id":188417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c10f"} 
[2026-09-21 04:41:22] local.INFO: Extracted packet for processing {"connection_id":188417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c10f"} 
[2026-09-21 04:41:22] local.INFO: GPS Element Parsed {"raw_longitude":730364864,"raw_latitude":192708736,"longitude_deg":73.0364864,"latitude_deg":19.2708736,"altitude":19,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2b887bc0","hex_latitude":"0b7c8080","is_valid_coordinates":true} 
[2026-09-21 04:41:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:41:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226021888001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3600548393648128,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8612078706849972224,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:41:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789945419000,"timestamp_ms":1789945419000,"timestamp_seconds":1789945419,"priority":1,"record_length":96,"hex_timestamp":"000001a0c10f94f8"} 
[2026-09-21 04:41:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:41:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 04: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-09-21 04:41:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:41:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:41:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:41:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:41:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:41:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 04:41:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 04:41:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:41:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 04:41:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 04:41:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226021888001,"66":27832,"26":206,"234":55296,"24":0,"16":3600548393648128,"43":-8612078706849972224},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,234,24,16,43]} 
[2026-09-21 04:41:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 04:41:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 04:41:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226021888001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:41:22] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-09-21 04:41:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 04:41:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3600548393648128,"km_value":3600548393648.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:41:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8612078706849972224,"description":"Unknown IO ID 43"} 
[2026-09-21 04:41:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226021888001,"power":27832,"unknown_26":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8612078706849972224}} 
[2026-09-21 04:41:22] local.INFO: DEBUG: GPS processor result {"connection_id":188417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874964,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:41:22] local.INFO: GPS data processed {"connection_id":188417,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:41:22] local.INFO: Acknowledgment sent {"connection_id":188417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:41:42] local.INFO: TCP Data received {"connection_id":191031,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:41:42] local.INFO: Processing buffer {"connection_id":191031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:41:42] local.INFO: Packet analysis {"connection_id":191031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:41:42] local.INFO: Extracted packet for processing {"connection_id":191031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:41: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-09-21 04: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-09-21 04:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:41: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-09-21 04:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 04:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":191031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:41:42] local.INFO: GPS data processed {"connection_id":191031,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:41:42] local.INFO: Acknowledgment sent {"connection_id":191031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:42:04] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:04] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:04] local.INFO: IMEI packet received {"connection_id":191032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":191032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:42:06] local.INFO: TCP Data received {"connection_id":188418,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:42:06] local.INFO: Processing buffer {"connection_id":188418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:42:06] local.INFO: IMEI packet received {"connection_id":188418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":188418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:42:09] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:09] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:42:09] local.INFO: IMEI packet received {"connection_id":191032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":191032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:42:10] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:10] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:10] local.INFO: Packet analysis {"connection_id":191032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:42:10] local.INFO: Extracted packet for processing {"connection_id":191032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 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-09-21 04:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:42: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-09-21 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-09-21 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-09-21 04:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:42: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-09-21 04:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":191032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:42:10] local.INFO: GPS data processed {"connection_id":191032,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:42:10] local.INFO: Acknowledgment sent {"connection_id":191032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:42:41] local.INFO: TCP Data received {"connection_id":191032,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:41] local.INFO: Processing buffer {"connection_id":191032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:42:41] local.INFO: Packet analysis {"connection_id":191032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:42:41] local.INFO: Extracted packet for processing {"connection_id":191032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:42: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-09-21 04:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:42: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-09-21 04:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":191032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:42:41] local.INFO: GPS data processed {"connection_id":191032,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:42:41] local.INFO: Acknowledgment sent {"connection_id":191032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:43:09] local.INFO: TCP Data received {"connection_id":188263,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:09] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:09] local.INFO: IMEI packet received {"connection_id":188263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":188263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:43:14] local.INFO: TCP Data received {"connection_id":188263,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:14] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:43:14] local.INFO: IMEI packet received {"connection_id":188263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:43:15] local.INFO: TCP Data received {"connection_id":188263,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:15] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:15] local.INFO: Packet analysis {"connection_id":188263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:43:15] local.INFO: Extracted packet for processing {"connection_id":188263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:43:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43: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-09-21 04:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:43:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:43:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:43:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:43:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":188263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:43:15] local.INFO: GPS data processed {"connection_id":188263,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:43:15] local.INFO: Acknowledgment sent {"connection_id":188263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:43:19] local.INFO: TCP Data received {"connection_id":188263,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:19] local.INFO: Processing buffer {"connection_id":188263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:43:19] local.INFO: Packet analysis {"connection_id":188263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:43:19] local.INFO: Extracted packet for processing {"connection_id":188263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:43:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:43:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:43:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":188263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:43:20] local.INFO: GPS data processed {"connection_id":188263,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:43:20] local.INFO: Acknowledgment sent {"connection_id":188263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:44:04] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:04] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:04] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:44:09] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:09] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:44:09] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:44:11] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:11] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:11] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:44:11] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:44:11] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:44:11] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:44:42] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:42] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:44:42] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:44:42] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:44: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-09-21 04: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-09-21 04:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:44: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-09-21 04:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:44:42] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:44:42] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:45:04] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:04] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:04] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:45:11] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:11] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:45:11] local.INFO: IMEI packet received {"connection_id":188264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":188264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:45:12] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:12] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:12] local.INFO: Packet analysis {"connection_id":188264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:45:12] local.INFO: Extracted packet for processing {"connection_id":188264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":188264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:45:12] local.INFO: GPS data processed {"connection_id":188264,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:45:12] local.INFO: Acknowledgment sent {"connection_id":188264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:45:44] local.INFO: TCP Data received {"connection_id":188264,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:44] local.INFO: Processing buffer {"connection_id":188264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:45:44] local.INFO: Packet analysis {"connection_id":188264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:45:44] local.INFO: Extracted packet for processing {"connection_id":188264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 04:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":188264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:45:44] local.INFO: GPS data processed {"connection_id":188264,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:45:44] local.INFO: Acknowledgment sent {"connection_id":188264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:46:04] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:04] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:04] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:46:09] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:09] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:46:09] local.INFO: IMEI packet received {"connection_id":188266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":188266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:46:10] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:46:10] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1165770012d34bdc006aa40f80000000c2c..."} 
[2026-09-21 04:46:10] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:46:10] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c116"} 
[2026-09-21 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226063616001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789945862000,"timestamp_ms":1789945862000,"timestamp_seconds":1789945862,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1165770"} 
[2026-09-21 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-09-21 04:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:46: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-09-21 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-09-21 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-09-21 04:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:46:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226063616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226063616001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226063616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:46:10] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:46:10] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:46:42] local.INFO: TCP Data received {"connection_id":188266,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:46:42] local.INFO: Processing buffer {"connection_id":188266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:46:42] local.INFO: Packet analysis {"connection_id":188266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:46:42] local.INFO: Extracted packet for processing {"connection_id":188266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":188266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:46:42] local.INFO: GPS data processed {"connection_id":188266,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:46:42] local.INFO: Acknowledgment sent {"connection_id":188266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:47:04] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:04] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:04] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:47:09] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:09] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:47:09] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:47:11] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:11] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:11] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:47:11] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:47: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-09-21 04:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:47:11] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:47:11] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:47:26] local.INFO: TCP Data received {"connection_id":188267,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:47:26] local.INFO: Processing buffer {"connection_id":188267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:47:26] local.INFO: IMEI packet received {"connection_id":188267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":188267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:47:42] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:42] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:47:42] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:47:42] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:47: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-09-21 04: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-09-21 04:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:47: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-09-21 04:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:47:42] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:47:42] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:48:09] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:09] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:09] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:48:14] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:14] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:48:14] local.INFO: IMEI packet received {"connection_id":188268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:48:15] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:15] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:15] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:48:15] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:48:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:48: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-09-21 04:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:48:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:48:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:48:15] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:48:15] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:48:19] local.INFO: TCP Data received {"connection_id":188268,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:19] local.INFO: Processing buffer {"connection_id":188268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:48:19] local.INFO: Packet analysis {"connection_id":188268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:48:19] local.INFO: Extracted packet for processing {"connection_id":188268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:48:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:48:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:48:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":188268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:48:19] local.INFO: GPS data processed {"connection_id":188268,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:48:19] local.INFO: Acknowledgment sent {"connection_id":188268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:49:04] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:04] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:04] local.INFO: IMEI packet received {"connection_id":189728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":189728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:49:09] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:09] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:49:09] local.INFO: IMEI packet received {"connection_id":189728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:49:10] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:10] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:10] local.INFO: Packet analysis {"connection_id":189728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:49:10] local.INFO: Extracted packet for processing {"connection_id":189728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 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-09-21 04:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:49: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-09-21 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-09-21 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-09-21 04:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:49: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-09-21 04:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":189728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:49:10] local.INFO: GPS data processed {"connection_id":189728,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:49:10] local.INFO: Acknowledgment sent {"connection_id":189728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:49:42] local.INFO: TCP Data received {"connection_id":189728,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189728,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:42] local.INFO: Processing buffer {"connection_id":189728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:49:42] local.INFO: Packet analysis {"connection_id":189728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:49:42] local.INFO: Extracted packet for processing {"connection_id":189728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:49: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-09-21 04: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-09-21 04:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:49: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-09-21 04:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":189728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:49:42] local.INFO: GPS data processed {"connection_id":189728,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:49:42] local.INFO: Acknowledgment sent {"connection_id":189728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:50:04] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:04] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:04] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:50:09] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:09] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:50:09] local.INFO: IMEI packet received {"connection_id":191034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":191034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:50:10] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:10] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:10] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:50:10] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 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-09-21 04:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:50: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-09-21 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-09-21 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-09-21 04:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:50:10] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:50:10] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:50:42] local.INFO: TCP Data received {"connection_id":191034,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:42] local.INFO: Processing buffer {"connection_id":191034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:50:42] local.INFO: Packet analysis {"connection_id":191034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:50:42] local.INFO: Extracted packet for processing {"connection_id":191034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:50: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-09-21 04:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:50:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":191034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:50:42] local.INFO: GPS data processed {"connection_id":191034,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:50:42] local.INFO: Acknowledgment sent {"connection_id":191034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:51:04] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:04] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:04] local.INFO: IMEI packet received {"connection_id":189729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":189729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:51:10] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:10] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:51:10] local.INFO: IMEI packet received {"connection_id":189729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":189729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:51:11] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:11] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:11] local.INFO: Packet analysis {"connection_id":189729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:51:11] local.INFO: Extracted packet for processing {"connection_id":189729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":189729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:51:11] local.INFO: GPS data processed {"connection_id":189729,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:51:11] local.INFO: Acknowledgment sent {"connection_id":189729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:51:42] local.INFO: TCP Data received {"connection_id":189729,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:42] local.INFO: Processing buffer {"connection_id":189729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11aef38012d34bdc006aa40f80004000c2e..."} 
[2026-09-21 04:51:42] local.INFO: Packet analysis {"connection_id":189729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:51:42] local.INFO: Extracted packet for processing {"connection_id":189729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11a"} 
[2026-09-21 04:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226140672001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946163000,"timestamp_ms":1789946163000,"timestamp_seconds":1789946163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11aef38"} 
[2026-09-21 04:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:51:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226140672001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226140672001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226140672001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":189729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:51:42] local.INFO: GPS data processed {"connection_id":189729,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:51:42] local.INFO: Acknowledgment sent {"connection_id":189729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:52:04] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:04] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:04] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:52:09] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:09] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:52:09] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:52:10] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:10] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:10] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:52:10] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 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-09-21 04:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:52: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-09-21 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-09-21 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-09-21 04:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:52:10] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:52:10] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:52:41] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:41] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:52:41] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:52:41] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:52:41] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:52:41] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:53:04] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:04] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:04] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:53:10] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:10] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:53:10] local.INFO: IMEI packet received {"connection_id":191037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":191037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:53:11] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:11] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:11] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:53:11] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:53:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:53:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:53:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:53:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:53:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:53: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:53:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:53:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:53:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:53:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:53:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:53:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:53:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:53:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:53:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:53:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:53:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:53:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:53:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:53:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:53:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:53:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:53:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:53:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:53:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:53:11] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:53:11] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:53:11] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:53:27] local.INFO: TCP Data received {"connection_id":188270,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188270,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:53:27] local.INFO: Processing buffer {"connection_id":188270,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:53:27] local.INFO: IMEI packet received {"connection_id":188270,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":188270,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:53:43] local.INFO: TCP Data received {"connection_id":191037,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:43] local.INFO: Processing buffer {"connection_id":191037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:53:43] local.INFO: Packet analysis {"connection_id":191037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:53:43] local.INFO: Extracted packet for processing {"connection_id":191037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:53: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-09-21 04:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":191037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:53:43] local.INFO: GPS data processed {"connection_id":191037,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:53:43] local.INFO: Acknowledgment sent {"connection_id":191037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:54:09] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:09] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:09] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:54:14] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:14] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:54:14] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:54:16] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:16] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:16] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:16] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:54:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54: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-09-21 04:54:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:54:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:54:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:54:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:54:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:54:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:54:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:54:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:54:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:54:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:54:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:54:17] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:54:17] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:54:19] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:19] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:19] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:19] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:54:19] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:54:19] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:54:25] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:25] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:54:25] local.INFO: Packet analysis {"connection_id":188422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:25] local.INFO: Extracted packet for processing {"connection_id":188422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:54:25] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:54:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:54:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:54:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188422,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:54:25] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:54:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:54:25] local.INFO: DEBUG: GPS processor result {"connection_id":188422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:54:25] local.INFO: GPS data processed {"connection_id":188422,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:54:25] local.INFO: Acknowledgment sent {"connection_id":188422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:55:04] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:04] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:04] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:55:10] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:10] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:55:10] local.INFO: IMEI packet received {"connection_id":191038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":191038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:55:11] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:11] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:11] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:55:11] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:55: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-09-21 04:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:55:11] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:55:11] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:55:42] local.INFO: TCP Data received {"connection_id":191038,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:42] local.INFO: Processing buffer {"connection_id":191038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:55:42] local.INFO: Packet analysis {"connection_id":191038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:55:42] local.INFO: Extracted packet for processing {"connection_id":191038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:55: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-09-21 04:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:55:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:55: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-09-21 04:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":191038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:55:42] local.INFO: GPS data processed {"connection_id":191038,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:55:42] local.INFO: Acknowledgment sent {"connection_id":191038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:56:04] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:04] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:04] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:56:09] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:09] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:56:09] local.INFO: IMEI packet received {"connection_id":188272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":188272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:56:10] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:10] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:10] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:56:10] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:56: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-09-21 04:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:56: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-09-21 04:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:56:10] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:56:10] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:56:41] local.INFO: TCP Data received {"connection_id":188272,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:41] local.INFO: Processing buffer {"connection_id":188272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c11f8700012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 04:56:41] local.INFO: Packet analysis {"connection_id":188272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:56:41] local.INFO: Extracted packet for processing {"connection_id":188272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c11f"} 
[2026-09-21 04:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226217728001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789946464000,"timestamp_ms":1789946464000,"timestamp_seconds":1789946464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c11f8700"} 
[2026-09-21 04:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 04:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04: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-09-21 04:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226217728001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226217728001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226217728001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:56:41] local.INFO: GPS data processed {"connection_id":188272,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:56:41] local.INFO: Acknowledgment sent {"connection_id":188272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:57:04] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:04] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:04] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:57:09] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:09] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:57:09] local.INFO: IMEI packet received {"connection_id":191039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":191039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:57:11] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:11] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:11] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:57:11] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 04:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:57: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-09-21 04:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:57:11] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:57:11] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:57:43] local.INFO: TCP Data received {"connection_id":191039,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191039,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:43] local.INFO: Processing buffer {"connection_id":191039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:57:43] local.INFO: Packet analysis {"connection_id":191039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:57:43] local.INFO: Extracted packet for processing {"connection_id":191039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:57:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04:57:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 04:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 04:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:57:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 04:57:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:57: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-09-21 04:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:57:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:57:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":191039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:57:43] local.INFO: GPS data processed {"connection_id":191039,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:57:43] local.INFO: Acknowledgment sent {"connection_id":191039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:58:04] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:04] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:04] local.INFO: IMEI packet received {"connection_id":189730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":189730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:58:09] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:09] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:58:09] local.INFO: IMEI packet received {"connection_id":189730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":189730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:58:10] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:10] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:10] local.INFO: Packet analysis {"connection_id":189730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:58:10] local.INFO: Extracted packet for processing {"connection_id":189730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 04:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 04:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 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-09-21 04:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:58: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-09-21 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-09-21 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-09-21 04:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":189730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":874999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:58:10] local.INFO: GPS data processed {"connection_id":189730,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:58:10] local.INFO: Acknowledgment sent {"connection_id":189730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:58:36] local.INFO: TCP Data received {"connection_id":191041,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:58:36] local.INFO: Processing buffer {"connection_id":191041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:58:36] local.INFO: IMEI packet received {"connection_id":191041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:58:36] local.INFO: IMEI acknowledgment sent {"connection_id":191041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:58:42] local.INFO: TCP Data received {"connection_id":189730,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:42] local.INFO: Processing buffer {"connection_id":189730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:58:42] local.INFO: Packet analysis {"connection_id":189730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:58:42] local.INFO: Extracted packet for processing {"connection_id":189730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 04:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:58: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-09-21 04: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-09-21 04:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":189730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:58:42] local.INFO: GPS data processed {"connection_id":189730,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:58:42] local.INFO: Acknowledgment sent {"connection_id":189730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:59:04] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:04] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:04] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 04:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:59:09] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:09] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 04:59:09] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 04:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 04:59:11] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:11] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:11] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:59:11] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 04:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 04:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:59: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-09-21 04:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 04:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:59:11] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:59:11] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 04:59:16] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:59:16] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 04:59:16] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 04:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 04:59:42] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:42] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 04:59:42] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:59:42] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 04:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 04: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-09-21 04:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 04:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 04:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 04: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-09-21 04:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 04:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 04:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 04: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 04:59: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-09-21 04: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-09-21 04:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 04:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 04:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 04:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 04:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 04:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 04:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 04:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 04:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 04:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 04:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 04:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 04:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 04:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 04:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 04:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 04:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 04:59:42] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-21 04:59:42] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:00:09] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:09] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:09] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:00:14] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:14] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:00:14] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:00:16] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:16] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:16] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:00:16] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 05:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:00:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 05:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:00:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:00:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:00:16] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:00:16] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:00:20] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:20] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:00:20] local.INFO: Packet analysis {"connection_id":188427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:00:20] local.INFO: Extracted packet for processing {"connection_id":188427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:00:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:00:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:00:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:00:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 05:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:00:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 05:00:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:00:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:00:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:00:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:00:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":188427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:00:20] local.INFO: GPS data processed {"connection_id":188427,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:00:20] local.INFO: Acknowledgment sent {"connection_id":188427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:01:04] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:04] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:04] local.INFO: IMEI packet received {"connection_id":189732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":189732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:01:09] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:09] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:01:09] local.INFO: IMEI packet received {"connection_id":189732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:01:11] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:11] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:11] local.INFO: Packet analysis {"connection_id":189732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:01:11] local.INFO: Extracted packet for processing {"connection_id":189732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:01:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 05:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 05:01: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-09-21 05:01:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:01: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-09-21 05:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:01:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:01:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":189732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:01:11] local.INFO: GPS data processed {"connection_id":189732,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:01:11] local.INFO: Acknowledgment sent {"connection_id":189732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:01:42] local.INFO: TCP Data received {"connection_id":189732,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:42] local.INFO: Processing buffer {"connection_id":189732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1241ec8012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 05:01:42] local.INFO: Packet analysis {"connection_id":189732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:01:42] local.INFO: Extracted packet for processing {"connection_id":189732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c124"} 
[2026-09-21 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226294784001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789946765000,"timestamp_ms":1789946765000,"timestamp_seconds":1789946765,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1241ec8"} 
[2026-09-21 05:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:01:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 05: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-09-21 05:01:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:01: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-09-21 05:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226294784001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226294784001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226294784001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":189732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:01:42] local.INFO: GPS data processed {"connection_id":189732,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:01:42] local.INFO: Acknowledgment sent {"connection_id":189732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:02:04] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:04] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:04] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:02:09] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:09] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:02:09] local.INFO: IMEI packet received {"connection_id":191042,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":191042,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:02:10] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:10] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:10] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:02:10] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 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-09-21 05:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:02: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-09-21 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-09-21 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-09-21 05:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:02:10] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:02:10] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:02:41] local.INFO: TCP Data received {"connection_id":191042,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:41] local.INFO: Processing buffer {"connection_id":191042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:02:41] local.INFO: Packet analysis {"connection_id":191042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:02:41] local.INFO: Extracted packet for processing {"connection_id":191042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:02: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-09-21 05:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191042,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":191042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:02:41] local.INFO: GPS data processed {"connection_id":191042,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:02:41] local.INFO: Acknowledgment sent {"connection_id":191042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:03:04] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:04] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:04] local.INFO: IMEI packet received {"connection_id":189733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":189733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:03:09] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:09] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:03:09] local.INFO: IMEI packet received {"connection_id":189733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:03:10] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:10] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:10] local.INFO: Packet analysis {"connection_id":189733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:03:10] local.INFO: Extracted packet for processing {"connection_id":189733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:03: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-09-21 05: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-09-21 05:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:03: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-09-21 05:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":189733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:03:10] local.INFO: GPS data processed {"connection_id":189733,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:03:10] local.INFO: Acknowledgment sent {"connection_id":189733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:03:41] local.INFO: TCP Data received {"connection_id":189733,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:41] local.INFO: Processing buffer {"connection_id":189733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:03:41] local.INFO: Packet analysis {"connection_id":189733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:03:41] local.INFO: Extracted packet for processing {"connection_id":189733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:03: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-09-21 05:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:03: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-09-21 05:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":189733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:03:41] local.INFO: GPS data processed {"connection_id":189733,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:03:41] local.INFO: Acknowledgment sent {"connection_id":189733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:04:04] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:04] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:04] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:04:09] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:09] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:04:09] local.INFO: IMEI packet received {"connection_id":188275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":188275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:04:10] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:10] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:10] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:04:10] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:04: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-09-21 05: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-09-21 05:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:04: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-09-21 05:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:04:10] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:04:10] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:04:41] local.INFO: TCP Data received {"connection_id":188276,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:04:41] local.INFO: Processing buffer {"connection_id":188276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:04:41] local.INFO: IMEI packet received {"connection_id":188276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":188276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:04:43] local.INFO: TCP Data received {"connection_id":188275,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:43] local.INFO: Processing buffer {"connection_id":188275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:04:43] local.INFO: Packet analysis {"connection_id":188275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:04:43] local.INFO: Extracted packet for processing {"connection_id":188275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:04:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:04:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:04:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:04:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:04: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-09-21 05:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:04:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:04:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":188275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:04:43] local.INFO: GPS data processed {"connection_id":188275,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:04:43] local.INFO: Acknowledgment sent {"connection_id":188275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:05:09] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:09] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:09] local.INFO: IMEI packet received {"connection_id":188277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:05:14] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:14] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:05:14] local.INFO: IMEI packet received {"connection_id":188277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:05:15] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:15] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:15] local.INFO: Packet analysis {"connection_id":188277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:05:15] local.INFO: Extracted packet for processing {"connection_id":188277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:05:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:05:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05: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-09-21 05:05:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:05:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:05:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:05:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:05:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:05:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:05:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:05:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:05:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:05: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-09-21 05:05:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:05:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:05:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:05:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:05:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:05:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:05:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:05:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:05:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:05:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:05:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:05:15] local.INFO: DEBUG: GPS processor result {"connection_id":188277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:05:15] local.INFO: GPS data processed {"connection_id":188277,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:05:15] local.INFO: Acknowledgment sent {"connection_id":188277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:05:16] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:16] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:16] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:05:20] local.INFO: TCP Data received {"connection_id":188277,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:20] local.INFO: Processing buffer {"connection_id":188277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:05:20] local.INFO: Packet analysis {"connection_id":188277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:05:20] local.INFO: Extracted packet for processing {"connection_id":188277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:05:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:05:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":188277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:05:20] local.INFO: GPS data processed {"connection_id":188277,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:05:20] local.INFO: Acknowledgment sent {"connection_id":188277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:05:21] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:21] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:05:21] local.INFO: IMEI packet received {"connection_id":191044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 05:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":191044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:05:22] local.INFO: TCP Data received {"connection_id":191044,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c111d330012b8846400b7c83000017010326..."} 
[2026-09-21 05:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c111d330012b8846400b7c83000017010326..."} 
[2026-09-21 05:05:22] local.INFO: Processing buffer {"connection_id":191044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c111d330012b8846400b7c83000017010326..."} 
[2026-09-21 05:05:22] local.INFO: Packet analysis {"connection_id":191044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 05:05:22] local.INFO: Extracted packet for processing {"connection_id":191044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c111"} 
[2026-09-21 05:05:22] local.INFO: GPS Element Parsed {"raw_longitude":730351168,"raw_latitude":192709376,"longitude_deg":73.0351168,"latitude_deg":19.2709376,"altitude":23,"angle":259,"satellites":38,"speed":0,"hex_longitude":"2b884640","hex_latitude":"0b7c8300","is_valid_coordinates":true} 
[2026-09-21 05:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226059520001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3600548393648128,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8627137618103828480,"note":"Value kept but may cause issues"} 
[2026-09-21 05:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789945566000,"timestamp_ms":1789945566000,"timestamp_seconds":1789945566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c111d330"} 
[2026-09-21 05:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:05:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 05:05:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 05:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:05:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 05:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191044,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 05:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 05:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 05:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226059520001,"66":28354,"27":206,"234":55296,"24":0,"16":3600548393648128,"43":-8627137618103828480},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 05:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 05:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 05:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226059520001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:05:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 05:05:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 05:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3600548393648128,"km_value":3600548393648.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:05:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8627137618103828480,"description":"Unknown IO ID 43"} 
[2026-09-21 05:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226059520001,"power":28354,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8627137618103828480}} 
[2026-09-21 05:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":191044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:05:22] local.INFO: GPS data processed {"connection_id":191044,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:05:22] local.INFO: Acknowledgment sent {"connection_id":191044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:06:04] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:04] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:04] local.INFO: IMEI packet received {"connection_id":191045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":191045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:06:06] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:06:06] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:06:06] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:06:09] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:09] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:06:09] local.INFO: IMEI packet received {"connection_id":191045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":191045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:06:10] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:10] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:10] local.INFO: Packet analysis {"connection_id":191045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:06:10] local.INFO: Extracted packet for processing {"connection_id":191045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 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-09-21 05:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:06: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-09-21 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-09-21 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-09-21 05:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:06: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-09-21 05:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":191045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:06:10] local.INFO: GPS data processed {"connection_id":191045,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:06:10] local.INFO: Acknowledgment sent {"connection_id":191045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:06:41] local.INFO: TCP Data received {"connection_id":191045,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:41] local.INFO: Processing buffer {"connection_id":191045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c128b690012d34bdc006aa40f80000000c2d..."} 
[2026-09-21 05:06:41] local.INFO: Packet analysis {"connection_id":191045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:06:41] local.INFO: Extracted packet for processing {"connection_id":191045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c128"} 
[2026-09-21 05:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226371840001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947066000,"timestamp_ms":1789947066000,"timestamp_seconds":1789947066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c128b690"} 
[2026-09-21 05:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:06: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-09-21 05:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:06: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-09-21 05:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226371840001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226371840001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226371840001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":191045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:06:41] local.INFO: GPS data processed {"connection_id":191045,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:06:41] local.INFO: Acknowledgment sent {"connection_id":191045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:07:04] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:04] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:04] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:07:09] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:09] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:07:09] local.INFO: IMEI packet received {"connection_id":188429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":188429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:07:10] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:10] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:10] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:07:10] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:07: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-09-21 05: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-09-21 05:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:07: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-09-21 05:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:07:10] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:07:10] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:07:42] local.INFO: TCP Data received {"connection_id":188429,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:42] local.INFO: Processing buffer {"connection_id":188429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:07:42] local.INFO: Packet analysis {"connection_id":188429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:07:42] local.INFO: Extracted packet for processing {"connection_id":188429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:07: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-09-21 05: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-09-21 05:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:07: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-09-21 05:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":188429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:07:42] local.INFO: GPS data processed {"connection_id":188429,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:07:42] local.INFO: Acknowledgment sent {"connection_id":188429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:08:04] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:04] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:04] local.INFO: IMEI packet received {"connection_id":189734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":189734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:08:09] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:09] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:08:09] local.INFO: IMEI packet received {"connection_id":189734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":189734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:08:10] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:10] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:10] local.INFO: Packet analysis {"connection_id":189734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:08:10] local.INFO: Extracted packet for processing {"connection_id":189734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 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-09-21 05:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:08: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-09-21 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-09-21 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-09-21 05:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:08: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-09-21 05:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":189734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:08:10] local.INFO: GPS data processed {"connection_id":189734,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:08:10] local.INFO: Acknowledgment sent {"connection_id":189734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:08:41] local.INFO: TCP Data received {"connection_id":189734,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:41] local.INFO: Processing buffer {"connection_id":189734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:08:41] local.INFO: Packet analysis {"connection_id":189734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:08:41] local.INFO: Extracted packet for processing {"connection_id":189734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:08: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-09-21 05:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":189734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:08:41] local.INFO: GPS data processed {"connection_id":189734,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:08:41] local.INFO: Acknowledgment sent {"connection_id":189734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:09:04] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:04] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:04] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:09:09] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:09] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:09:09] local.INFO: IMEI packet received {"connection_id":191048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":191048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:09:11] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:11] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:11] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:09:11] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:09:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:09:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:09:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:09:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:09:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:09:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:09:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:09:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:09:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:09:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:09:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:09:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:09:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:09: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-09-21 05:09:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:09:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:09:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:09:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:09:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:09:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:09:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:09:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:09:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:09:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:09:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:09:11] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:09:11] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:09:11] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:09:42] local.INFO: TCP Data received {"connection_id":191048,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:42] local.INFO: Processing buffer {"connection_id":191048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:09:42] local.INFO: Packet analysis {"connection_id":191048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:09:42] local.INFO: Extracted packet for processing {"connection_id":191048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:09: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-09-21 05:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:09: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-09-21 05:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:09: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-09-21 05:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":191048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:09:42] local.INFO: GPS data processed {"connection_id":191048,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:09:42] local.INFO: Acknowledgment sent {"connection_id":191048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:10:04] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:04] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:04] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:10:09] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:09] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:10:09] local.INFO: IMEI packet received {"connection_id":188278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:10:10] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:10] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:10] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:10:10] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 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-09-21 05:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:10: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-09-21 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-09-21 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-09-21 05:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:10: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-09-21 05:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:10:10] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:10:10] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:10:42] local.INFO: TCP Data received {"connection_id":188278,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:42] local.INFO: Processing buffer {"connection_id":188278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:10:42] local.INFO: Packet analysis {"connection_id":188278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:10:42] local.INFO: Extracted packet for processing {"connection_id":188278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:10: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-09-21 05: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-09-21 05:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:10:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":188278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:10:42] local.INFO: GPS data processed {"connection_id":188278,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:10:42] local.INFO: Acknowledgment sent {"connection_id":188278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:11:09] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:09] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:09] local.INFO: IMEI packet received {"connection_id":191050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":191050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:11:14] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:14] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:11:14] local.INFO: IMEI packet received {"connection_id":191050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":191050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:11:15] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:15] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:15] local.INFO: Packet analysis {"connection_id":191050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:11:15] local.INFO: Extracted packet for processing {"connection_id":191050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:11: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-09-21 05:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:11:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:11:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:11:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:11:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:11:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":191050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:11:15] local.INFO: GPS data processed {"connection_id":191050,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:11:15] local.INFO: Acknowledgment sent {"connection_id":191050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:11:36] local.INFO: TCP Data received {"connection_id":188279,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188279,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:11:36] local.INFO: Processing buffer {"connection_id":188279,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:11:36] local.INFO: IMEI packet received {"connection_id":188279,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":188279,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:11:47] local.INFO: TCP Data received {"connection_id":191050,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:47] local.INFO: Processing buffer {"connection_id":191050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c12d4e58012d34bdc006aa40f80002000c2d..."} 
[2026-09-21 05:11:47] local.INFO: Packet analysis {"connection_id":191050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:11:47] local.INFO: Extracted packet for processing {"connection_id":191050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c12d"} 
[2026-09-21 05:11:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789947367000,"timestamp_ms":1789947367000,"timestamp_seconds":1789947367,"priority":1,"record_length":96,"hex_timestamp":"000001a0c12d4e58"} 
[2026-09-21 05:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226448896001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:11:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:11:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226448896001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":191050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:11:47] local.INFO: GPS data processed {"connection_id":191050,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:11:47] local.INFO: Acknowledgment sent {"connection_id":191050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:12:04] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:04] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:04] local.INFO: IMEI packet received {"connection_id":189735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":189735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:12:09] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:09] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:12:09] local.INFO: IMEI packet received {"connection_id":189735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":189735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:12:10] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:10] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:10] local.INFO: Packet analysis {"connection_id":189735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:12:10] local.INFO: Extracted packet for processing {"connection_id":189735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 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-09-21 05:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 05:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:12: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-09-21 05:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":189735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:12:10] local.INFO: GPS data processed {"connection_id":189735,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:12:10] local.INFO: Acknowledgment sent {"connection_id":189735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:12:16] local.INFO: TCP Data received {"connection_id":189736,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:12:16] local.INFO: Processing buffer {"connection_id":189736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:12:16] local.INFO: IMEI packet received {"connection_id":189736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":189736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:12:41] local.INFO: TCP Data received {"connection_id":189735,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:41] local.INFO: Processing buffer {"connection_id":189735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:12:41] local.INFO: Packet analysis {"connection_id":189735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:12:41] local.INFO: Extracted packet for processing {"connection_id":189735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:12: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-09-21 05:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:12: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-09-21 05:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":189735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:12:41] local.INFO: GPS data processed {"connection_id":189735,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:12:41] local.INFO: Acknowledgment sent {"connection_id":189735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:13:04] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:04] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:04] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:13:09] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:09] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:13:09] local.INFO: IMEI packet received {"connection_id":191051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":191051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:13:10] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:10] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:10] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:13:10] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:13: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-09-21 05:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:13:10] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:13:10] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:13:42] local.INFO: TCP Data received {"connection_id":191051,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:42] local.INFO: Processing buffer {"connection_id":191051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:13:42] local.INFO: Packet analysis {"connection_id":191051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:13:42] local.INFO: Extracted packet for processing {"connection_id":191051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:13: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-09-21 05:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":191051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:13:42] local.INFO: GPS data processed {"connection_id":191051,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:13:42] local.INFO: Acknowledgment sent {"connection_id":191051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:14:04] local.INFO: TCP Data received {"connection_id":189737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:04] local.INFO: Processing buffer {"connection_id":189737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:04] local.INFO: IMEI packet received {"connection_id":189737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":189737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:14:09] local.INFO: TCP Data received {"connection_id":189737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:09] local.INFO: Processing buffer {"connection_id":189737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:09] local.INFO: IMEI packet received {"connection_id":189737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":189737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:14:14] local.INFO: TCP Data received {"connection_id":189737,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:14] local.INFO: Processing buffer {"connection_id":189737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:14:14] local.INFO: IMEI packet received {"connection_id":189737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:14:14] local.INFO: IMEI acknowledgment sent {"connection_id":189737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:14:15] local.INFO: TCP Data received {"connection_id":189737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:15] local.INFO: Processing buffer {"connection_id":189737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:15] local.INFO: Packet analysis {"connection_id":189737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:14:15] local.INFO: Extracted packet for processing {"connection_id":189737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:14:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:14:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:14:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:14:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:14:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:14:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:14:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:14:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:14:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:14:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:14:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:14:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:14:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:14:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:14:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:14:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:14:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:14:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:14:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:14:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:14:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:14:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:14:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:14:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:14:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:14:15] local.INFO: DEBUG: GPS processor result {"connection_id":189737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:14:15] local.INFO: GPS data processed {"connection_id":189737,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:14:15] local.INFO: Acknowledgment sent {"connection_id":189737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:14:47] local.INFO: TCP Data received {"connection_id":189737,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:47] local.INFO: Processing buffer {"connection_id":189737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:14:47] local.INFO: Packet analysis {"connection_id":189737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:14:47] local.INFO: Extracted packet for processing {"connection_id":189737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:14:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:14: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-09-21 05:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:14:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:14:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":189737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:14:47] local.INFO: GPS data processed {"connection_id":189737,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:14:47] local.INFO: Acknowledgment sent {"connection_id":189737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:15:04] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:04] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:04] local.INFO: IMEI packet received {"connection_id":188281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":188281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:15:10] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:10] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:15:10] local.INFO: IMEI packet received {"connection_id":188281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":188281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:15:12] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:12] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:12] local.INFO: Packet analysis {"connection_id":188281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:15:12] local.INFO: Extracted packet for processing {"connection_id":188281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:15:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:15:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:15:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":188281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:15:12] local.INFO: GPS data processed {"connection_id":188281,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:15:12] local.INFO: Acknowledgment sent {"connection_id":188281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:15:43] local.INFO: TCP Data received {"connection_id":188281,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:43] local.INFO: Processing buffer {"connection_id":188281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:15:43] local.INFO: Packet analysis {"connection_id":188281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:15:43] local.INFO: Extracted packet for processing {"connection_id":188281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:15: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-09-21 05:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:15: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-09-21 05:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":188281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:15:43] local.INFO: GPS data processed {"connection_id":188281,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:15:43] local.INFO: Acknowledgment sent {"connection_id":188281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:16:09] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:09] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:09] local.INFO: IMEI packet received {"connection_id":189739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":189739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:16:14] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:14] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:16:14] local.INFO: IMEI packet received {"connection_id":189739,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":189739,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:16:15] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:15] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:15] local.INFO: Packet analysis {"connection_id":189739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:16:15] local.INFO: Extracted packet for processing {"connection_id":189739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16: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-09-21 05:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:16:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":189739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:16:15] local.INFO: GPS data processed {"connection_id":189739,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:16:15] local.INFO: Acknowledgment sent {"connection_id":189739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:16:19] local.INFO: TCP Data received {"connection_id":189739,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:19] local.INFO: Processing buffer {"connection_id":189739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c131e620012d34bdc006aa40f80001000c2e..."} 
[2026-09-21 05:16:19] local.INFO: Packet analysis {"connection_id":189739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:16:19] local.INFO: Extracted packet for processing {"connection_id":189739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c131"} 
[2026-09-21 05:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226525952001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789947668000,"timestamp_ms":1789947668000,"timestamp_seconds":1789947668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c131e620"} 
[2026-09-21 05:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189739,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226525952001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226525952001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226525952001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":189739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:16:19] local.INFO: GPS data processed {"connection_id":189739,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:16:19] local.INFO: Acknowledgment sent {"connection_id":189739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:17:04] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:04] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:04] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:17:09] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:09] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:17:09] local.INFO: IMEI packet received {"connection_id":191052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":191052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:17:10] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:10] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:10] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:17:10] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:17: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-09-21 05: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-09-21 05:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:17:10] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:17:10] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:17:42] local.INFO: TCP Data received {"connection_id":191052,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:42] local.INFO: Processing buffer {"connection_id":191052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:17:42] local.INFO: Packet analysis {"connection_id":191052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:17:42] local.INFO: Extracted packet for processing {"connection_id":191052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:17: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-09-21 05: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-09-21 05:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:17:42] local.INFO: GPS data processed {"connection_id":191052,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:17:42] local.INFO: Acknowledgment sent {"connection_id":191052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:17:46] local.INFO: TCP Data received {"connection_id":191053,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191053,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:17:46] local.INFO: Processing buffer {"connection_id":191053,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:17:46] local.INFO: IMEI packet received {"connection_id":191053,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":191053,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:18:04] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:04] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:04] local.INFO: IMEI packet received {"connection_id":189740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":189740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:18:09] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:09] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:18:09] local.INFO: IMEI packet received {"connection_id":189740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":189740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:18:10] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:10] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:10] local.INFO: Packet analysis {"connection_id":189740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:18:10] local.INFO: Extracted packet for processing {"connection_id":189740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:18: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-09-21 05: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-09-21 05:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":189740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:18:10] local.INFO: GPS data processed {"connection_id":189740,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:18:10] local.INFO: Acknowledgment sent {"connection_id":189740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:18:16] local.INFO: TCP Data received {"connection_id":189741,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:18:16] local.INFO: Processing buffer {"connection_id":189741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:18:16] local.INFO: IMEI packet received {"connection_id":189741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":189741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:18:41] local.INFO: TCP Data received {"connection_id":189740,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:41] local.INFO: Processing buffer {"connection_id":189740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:18:41] local.INFO: Packet analysis {"connection_id":189740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:18:41] local.INFO: Extracted packet for processing {"connection_id":189740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:18: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-09-21 05:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":189740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:18:41] local.INFO: GPS data processed {"connection_id":189740,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:18:41] local.INFO: Acknowledgment sent {"connection_id":189740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:19:04] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:04] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:04] local.INFO: IMEI packet received {"connection_id":189742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":189742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:19:10] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:10] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:19:10] local.INFO: IMEI packet received {"connection_id":189742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":189742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:19:11] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:11] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:11] local.INFO: Packet analysis {"connection_id":189742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:19:11] local.INFO: Extracted packet for processing {"connection_id":189742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:19:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:19:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:19:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:19:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:19:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:19:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:19:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:19:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:19:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:19:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:19:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:19:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:19:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:19:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:19:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:19:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:19:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:19:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:19:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:19:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:19:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:19:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:19:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:19:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:19:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:19:11] local.INFO: DEBUG: GPS processor result {"connection_id":189742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:19:11] local.INFO: GPS data processed {"connection_id":189742,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:19:11] local.INFO: Acknowledgment sent {"connection_id":189742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:19:42] local.INFO: TCP Data received {"connection_id":189742,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:42] local.INFO: Processing buffer {"connection_id":189742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:19:42] local.INFO: Packet analysis {"connection_id":189742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:19:42] local.INFO: Extracted packet for processing {"connection_id":189742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:19: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-09-21 05: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-09-21 05:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:19:43] local.INFO: DEBUG: GPS processor result {"connection_id":189742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:19:43] local.INFO: GPS data processed {"connection_id":189742,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:19:43] local.INFO: Acknowledgment sent {"connection_id":189742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:20:04] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:04] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:04] local.INFO: IMEI packet received {"connection_id":189743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":189743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:20:09] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:09] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:20:09] local.INFO: IMEI packet received {"connection_id":189743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":189743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:20:10] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:10] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:10] local.INFO: Packet analysis {"connection_id":189743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:20:10] local.INFO: Extracted packet for processing {"connection_id":189743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:20: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-09-21 05: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-09-21 05:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":189743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:20:10] local.INFO: GPS data processed {"connection_id":189743,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:20:10] local.INFO: Acknowledgment sent {"connection_id":189743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:20:42] local.INFO: TCP Data received {"connection_id":189743,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:42] local.INFO: Processing buffer {"connection_id":189743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:20:42] local.INFO: Packet analysis {"connection_id":189743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:20:42] local.INFO: Extracted packet for processing {"connection_id":189743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:20: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-09-21 05:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:20: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-09-21 05:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":189743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:20:42] local.INFO: GPS data processed {"connection_id":189743,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:20:42] local.INFO: Acknowledgment sent {"connection_id":189743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:21:04] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:04] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:04] local.INFO: IMEI packet received {"connection_id":189744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":189744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:21:09] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:09] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:21:09] local.INFO: IMEI packet received {"connection_id":189744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":189744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:21:10] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:10] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:10] local.INFO: Packet analysis {"connection_id":189744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:21:10] local.INFO: Extracted packet for processing {"connection_id":189744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:21: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-09-21 05:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":189744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:21:11] local.INFO: GPS data processed {"connection_id":189744,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:21:11] local.INFO: Acknowledgment sent {"connection_id":189744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:21:42] local.INFO: TCP Data received {"connection_id":189744,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:42] local.INFO: Processing buffer {"connection_id":189744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1367de8012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:21:42] local.INFO: Packet analysis {"connection_id":189744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:21:42] local.INFO: Extracted packet for processing {"connection_id":189744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c136"} 
[2026-09-21 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226603008001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:21: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-09-21 05:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789947969000,"timestamp_ms":1789947969000,"timestamp_seconds":1789947969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1367de8"} 
[2026-09-21 05:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:21: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-09-21 05:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226603008001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226603008001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226603008001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":189744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:21:42] local.INFO: GPS data processed {"connection_id":189744,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:21:42] local.INFO: Acknowledgment sent {"connection_id":189744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:22:09] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:09] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:09] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:22:14] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:14] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:22:14] local.INFO: IMEI packet received {"connection_id":188434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:22:16] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:16] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:16] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:22:16] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:22: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-09-21 05:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:22:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:22:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:22:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:22:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:22:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:22:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:22:16] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:22:16] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:22:47] local.INFO: TCP Data received {"connection_id":188434,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188434,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:47] local.INFO: Processing buffer {"connection_id":188434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:22:47] local.INFO: Packet analysis {"connection_id":188434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:22:47] local.INFO: Extracted packet for processing {"connection_id":188434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:22:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:22:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:22:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:22:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:22:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":188434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:22:47] local.INFO: GPS data processed {"connection_id":188434,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:22:47] local.INFO: Acknowledgment sent {"connection_id":188434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:23:04] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:04] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:04] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:23:09] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:09] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:23:09] local.INFO: IMEI packet received {"connection_id":188282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:23:10] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:10] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:10] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:23:10] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:23: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-09-21 05: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-09-21 05:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:23:10] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:23:10] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:23:41] local.INFO: TCP Data received {"connection_id":191056,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:23:41] local.INFO: Processing buffer {"connection_id":191056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:23:41] local.INFO: IMEI packet received {"connection_id":191056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":191056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:23:42] local.INFO: TCP Data received {"connection_id":188282,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:42] local.INFO: Processing buffer {"connection_id":188282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:23:42] local.INFO: Packet analysis {"connection_id":188282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:23:42] local.INFO: Extracted packet for processing {"connection_id":188282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:23: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-09-21 05: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-09-21 05:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:23:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":188282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:23:42] local.INFO: GPS data processed {"connection_id":188282,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:23:42] local.INFO: Acknowledgment sent {"connection_id":188282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:24:04] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:04] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:04] local.INFO: IMEI packet received {"connection_id":189745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":189745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:24:09] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:09] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:24:09] local.INFO: IMEI packet received {"connection_id":189745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":189745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:24:10] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:10] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:10] local.INFO: Packet analysis {"connection_id":189745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:24:10] local.INFO: Extracted packet for processing {"connection_id":189745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:24: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-09-21 05:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:24:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":189745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:24:10] local.INFO: GPS data processed {"connection_id":189745,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:24:10] local.INFO: Acknowledgment sent {"connection_id":189745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:24:22] local.INFO: TCP Data received {"connection_id":189746,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:24:22] local.INFO: Processing buffer {"connection_id":189746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:24:22] local.INFO: IMEI packet received {"connection_id":189746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":189746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:24:41] local.INFO: TCP Data received {"connection_id":189745,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:41] local.INFO: Processing buffer {"connection_id":189745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:24:41] local.INFO: Packet analysis {"connection_id":189745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:24:41] local.INFO: Extracted packet for processing {"connection_id":189745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":189745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:24:41] local.INFO: GPS data processed {"connection_id":189745,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:24:41] local.INFO: Acknowledgment sent {"connection_id":189745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:25:04] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:04] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:04] local.INFO: IMEI packet received {"connection_id":191057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":191057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:25:09] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:09] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:25:09] local.INFO: IMEI packet received {"connection_id":191057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":191057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:25:11] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:11] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:11] local.INFO: Packet analysis {"connection_id":191057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:25:11] local.INFO: Extracted packet for processing {"connection_id":191057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:25:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:25:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:25:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:25:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:25:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:25:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:25:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:25:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:25:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:25:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:25:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:25:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:25:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:25:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:25:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:25:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:25:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:25:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:25:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:25:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:25:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:25:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:25:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:25:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:25:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:25:11] local.INFO: DEBUG: GPS processor result {"connection_id":191057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:25:11] local.INFO: GPS data processed {"connection_id":191057,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:25:11] local.INFO: Acknowledgment sent {"connection_id":191057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:25:42] local.INFO: TCP Data received {"connection_id":191057,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:42] local.INFO: Processing buffer {"connection_id":191057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:25:42] local.INFO: Packet analysis {"connection_id":191057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:25:42] local.INFO: Extracted packet for processing {"connection_id":191057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:25: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-09-21 05:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":191057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:25:42] local.INFO: GPS data processed {"connection_id":191057,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:25:42] local.INFO: Acknowledgment sent {"connection_id":191057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:26:04] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:04] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:04] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:26:09] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:09] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:26:09] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:26:10] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:10] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:10] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:26:10] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05: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-09-21 05: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-09-21 05:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:26:10] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:26:10] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:26:41] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:41] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13b15b0012d34bdc006aa40f80000000c2e..."} 
[2026-09-21 05:26:41] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:26:41] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13b"} 
[2026-09-21 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:26: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-09-21 05:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948270000,"timestamp_ms":1789948270000,"timestamp_seconds":1789948270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13b15b0"} 
[2026-09-21 05:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226680064001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226680064001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:26:41] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:26:41] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:27:09] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:09] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:09] local.INFO: IMEI packet received {"connection_id":188437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":188437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:27:14] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:14] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:27:14] local.INFO: IMEI packet received {"connection_id":188437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:27:16] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:16] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:16] local.INFO: Packet analysis {"connection_id":188437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:27:16] local.INFO: Extracted packet for processing {"connection_id":188437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27: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-09-21 05:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:27: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-09-21 05:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:27:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:27:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":188437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:27:16] local.INFO: GPS data processed {"connection_id":188437,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:27:16] local.INFO: Acknowledgment sent {"connection_id":188437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:27:20] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:20] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:27:20] local.INFO: Packet analysis {"connection_id":188437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:27:20] local.INFO: Extracted packet for processing {"connection_id":188437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":188437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:27:20] local.INFO: GPS data processed {"connection_id":188437,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:27:20] local.INFO: Acknowledgment sent {"connection_id":188437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:28:04] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:04] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:04] local.INFO: IMEI packet received {"connection_id":189748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":189748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:28:09] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:09] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:28:09] local.INFO: IMEI packet received {"connection_id":189748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":189748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:28:10] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:10] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:10] local.INFO: Packet analysis {"connection_id":189748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:28:10] local.INFO: Extracted packet for processing {"connection_id":189748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:28:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:28: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-09-21 05:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":189748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:28:10] local.INFO: GPS data processed {"connection_id":189748,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:28:10] local.INFO: Acknowledgment sent {"connection_id":189748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:28:41] local.INFO: TCP Data received {"connection_id":189748,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:41] local.INFO: Processing buffer {"connection_id":189748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:28:41] local.INFO: Packet analysis {"connection_id":189748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:28:41] local.INFO: Extracted packet for processing {"connection_id":189748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:28: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-09-21 05: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-09-21 05:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:28: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-09-21 05:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":189748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:28:42] local.INFO: GPS data processed {"connection_id":189748,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:28:42] local.INFO: Acknowledgment sent {"connection_id":189748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:29:05] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:05] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:05] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:29:09] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:09] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:29:09] local.INFO: IMEI packet received {"connection_id":188285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":188285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:29:10] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:10] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:10] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:29:10] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 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-09-21 05:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 05:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:29: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-09-21 05:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:29:10] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:29:10] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:29:41] local.INFO: TCP Data received {"connection_id":188286,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:29:41] local.INFO: Processing buffer {"connection_id":188286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:29:41] local.INFO: IMEI packet received {"connection_id":188286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":188286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:29:42] local.INFO: TCP Data received {"connection_id":188285,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:42] local.INFO: Processing buffer {"connection_id":188285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:29:42] local.INFO: Packet analysis {"connection_id":188285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:29:42] local.INFO: Extracted packet for processing {"connection_id":188285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:29:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:29: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-09-21 05:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":188285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:29:42] local.INFO: GPS data processed {"connection_id":188285,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:29:42] local.INFO: Acknowledgment sent {"connection_id":188285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:30:04] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:04] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:04] local.INFO: IMEI packet received {"connection_id":189749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":189749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:30:09] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:09] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:30:09] local.INFO: IMEI packet received {"connection_id":189749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":189749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:30:10] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:10] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:10] local.INFO: Packet analysis {"connection_id":189749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:30:10] local.INFO: Extracted packet for processing {"connection_id":189749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:30: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-09-21 05:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":189749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:30:10] local.INFO: GPS data processed {"connection_id":189749,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:30:10] local.INFO: Acknowledgment sent {"connection_id":189749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:30:16] local.INFO: TCP Data received {"connection_id":189750,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:30:16] local.INFO: Processing buffer {"connection_id":189750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:30:16] local.INFO: IMEI packet received {"connection_id":189750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":189750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:30:41] local.INFO: TCP Data received {"connection_id":189749,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:42] local.INFO: Processing buffer {"connection_id":189749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:30:42] local.INFO: Packet analysis {"connection_id":189749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:30:42] local.INFO: Extracted packet for processing {"connection_id":189749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:30: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-09-21 05:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:30: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-09-21 05:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":189749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:30:42] local.INFO: GPS data processed {"connection_id":189749,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:30:42] local.INFO: Acknowledgment sent {"connection_id":189749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:31:04] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:04] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:04] local.INFO: IMEI packet received {"connection_id":188287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":188287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:31:09] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:09] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:31:09] local.INFO: IMEI packet received {"connection_id":188287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:31:10] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:10] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:10] local.INFO: Packet analysis {"connection_id":188287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:31:10] local.INFO: Extracted packet for processing {"connection_id":188287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:31: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-09-21 05:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":188287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:31:10] local.INFO: GPS data processed {"connection_id":188287,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:31:10] local.INFO: Acknowledgment sent {"connection_id":188287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:31:42] local.INFO: TCP Data received {"connection_id":188287,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188287,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:42] local.INFO: Processing buffer {"connection_id":188287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c13fad78012d34bdc006aa40f80002000c2c..."} 
[2026-09-21 05:31:42] local.INFO: Packet analysis {"connection_id":188287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:31:42] local.INFO: Extracted packet for processing {"connection_id":188287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c13f"} 
[2026-09-21 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226757120001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948571000,"timestamp_ms":1789948571000,"timestamp_seconds":1789948571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c13fad78"} 
[2026-09-21 05:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 05:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:31: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-09-21 05:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226757120001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226757120001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226757120001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":188287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:31:42] local.INFO: GPS data processed {"connection_id":188287,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:31:42] local.INFO: Acknowledgment sent {"connection_id":188287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:32:04] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:04] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:04] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:32:09] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:09] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:32:09] local.INFO: IMEI packet received {"connection_id":191060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":191060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:32:10] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:10] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:10] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:32:10] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:32: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-09-21 05: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-09-21 05:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:32: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-09-21 05:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:32:10] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:32:10] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:32:41] local.INFO: TCP Data received {"connection_id":191060,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:41] local.INFO: Processing buffer {"connection_id":191060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:32:41] local.INFO: Packet analysis {"connection_id":191060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:32:41] local.INFO: Extracted packet for processing {"connection_id":191060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:32: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-09-21 05:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:32: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-09-21 05:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":191060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:32:41] local.INFO: GPS data processed {"connection_id":191060,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:32:41] local.INFO: Acknowledgment sent {"connection_id":191060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:33:04] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:04] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:04] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:33:09] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:09] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:33:09] local.INFO: IMEI packet received {"connection_id":188288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:33:10] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:11] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:11] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:33:11] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 05:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:33:11] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:33:11] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:33:42] local.INFO: TCP Data received {"connection_id":188288,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188288,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:42] local.INFO: Processing buffer {"connection_id":188288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:33:42] local.INFO: Packet analysis {"connection_id":188288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:33:42] local.INFO: Extracted packet for processing {"connection_id":188288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:33: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-09-21 05: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-09-21 05:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 05:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":188288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:33:42] local.INFO: GPS data processed {"connection_id":188288,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:33:42] local.INFO: Acknowledgment sent {"connection_id":188288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:34:04] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:04] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:04] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:34:09] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:09] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:34:09] local.INFO: IMEI packet received {"connection_id":191061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":191061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:34:10] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:10] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:10] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:34:10] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:34: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-09-21 05:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:34:10] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:34:10] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:34:41] local.INFO: TCP Data received {"connection_id":191061,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191061,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:41] local.INFO: Processing buffer {"connection_id":191061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:34:41] local.INFO: Packet analysis {"connection_id":191061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:34:41] local.INFO: Extracted packet for processing {"connection_id":191061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:34: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-09-21 05:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":191061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:34:41] local.INFO: GPS data processed {"connection_id":191061,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:34:41] local.INFO: Acknowledgment sent {"connection_id":191061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:35:04] local.INFO: TCP Data received {"connection_id":189753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:04] local.INFO: Processing buffer {"connection_id":189753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:04] local.INFO: IMEI packet received {"connection_id":189753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":189753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:35:09] local.INFO: TCP Data received {"connection_id":189753,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:09] local.INFO: Processing buffer {"connection_id":189753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:35:09] local.INFO: IMEI packet received {"connection_id":189753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:35:10] local.INFO: TCP Data received {"connection_id":189753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:10] local.INFO: Processing buffer {"connection_id":189753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:10] local.INFO: Packet analysis {"connection_id":189753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:35:10] local.INFO: Extracted packet for processing {"connection_id":189753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 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-09-21 05:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:35: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-09-21 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-09-21 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-09-21 05:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:35: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-09-21 05:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":189753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:35:10] local.INFO: GPS data processed {"connection_id":189753,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:35:10] local.INFO: Acknowledgment sent {"connection_id":189753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:35:41] local.INFO: TCP Data received {"connection_id":189753,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:41] local.INFO: Processing buffer {"connection_id":189753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:35:41] local.INFO: Packet analysis {"connection_id":189753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:35:41] local.INFO: Extracted packet for processing {"connection_id":189753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:35: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-09-21 05:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:35: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-09-21 05:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":189753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:35:41] local.INFO: GPS data processed {"connection_id":189753,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:35:41] local.INFO: Acknowledgment sent {"connection_id":189753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:35:48] local.INFO: TCP Data received {"connection_id":188438,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188438,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:35:48] local.INFO: Processing buffer {"connection_id":188438,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:35:48] local.INFO: IMEI packet received {"connection_id":188438,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":188438,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:36:04] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:04] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:04] local.INFO: IMEI packet received {"connection_id":188289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":188289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:36:09] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:09] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:36:09] local.INFO: IMEI packet received {"connection_id":188289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":188289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:36:10] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:10] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:10] local.INFO: Packet analysis {"connection_id":188289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:36:10] local.INFO: Extracted packet for processing {"connection_id":188289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:36: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-09-21 05:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:36: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-09-21 05:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":188289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:36:10] local.INFO: GPS data processed {"connection_id":188289,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:36:10] local.INFO: Acknowledgment sent {"connection_id":188289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:36:21] local.INFO: TCP Data received {"connection_id":188290,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188290,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:36:21] local.INFO: Processing buffer {"connection_id":188290,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:36:21] local.INFO: IMEI packet received {"connection_id":188290,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":188290,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:36:42] local.INFO: TCP Data received {"connection_id":188289,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:42] local.INFO: Processing buffer {"connection_id":188289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1444540012d34bdc006aa40f80005000c2d..."} 
[2026-09-21 05:36:42] local.INFO: Packet analysis {"connection_id":188289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:36:42] local.INFO: Extracted packet for processing {"connection_id":188289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c144"} 
[2026-09-21 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226834176001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789948872000,"timestamp_ms":1789948872000,"timestamp_seconds":1789948872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1444540"} 
[2026-09-21 05:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:36: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-09-21 05:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226834176001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226834176001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226834176001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":188289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:36:42] local.INFO: GPS data processed {"connection_id":188289,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:36:42] local.INFO: Acknowledgment sent {"connection_id":188289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:37:04] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:04] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:04] local.INFO: IMEI packet received {"connection_id":191063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":191063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:37:09] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:09] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:37:09] local.INFO: IMEI packet received {"connection_id":191063,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":191063,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:37:10] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:10] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:10] local.INFO: Packet analysis {"connection_id":191063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:37:10] local.INFO: Extracted packet for processing {"connection_id":191063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:37: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-09-21 05: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-09-21 05:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:37: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-09-21 05:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":191063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:37:10] local.INFO: GPS data processed {"connection_id":191063,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:37:10] local.INFO: Acknowledgment sent {"connection_id":191063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:37:41] local.INFO: TCP Data received {"connection_id":191063,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191063,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:41] local.INFO: Processing buffer {"connection_id":191063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:37:41] local.INFO: Packet analysis {"connection_id":191063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:37:41] local.INFO: Extracted packet for processing {"connection_id":191063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:37: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-09-21 05:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191063,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":191063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:37:41] local.INFO: GPS data processed {"connection_id":191063,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:37:41] local.INFO: Acknowledgment sent {"connection_id":191063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:38:04] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:04] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:04] local.INFO: IMEI packet received {"connection_id":189754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":189754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:38:09] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:09] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:38:09] local.INFO: IMEI packet received {"connection_id":189754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":189754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:38:10] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:10] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:10] local.INFO: Packet analysis {"connection_id":189754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:38:10] local.INFO: Extracted packet for processing {"connection_id":189754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:38: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-09-21 05: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-09-21 05:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":189754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:38:10] local.INFO: GPS data processed {"connection_id":189754,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:38:10] local.INFO: Acknowledgment sent {"connection_id":189754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:38:41] local.INFO: TCP Data received {"connection_id":189754,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:41] local.INFO: Processing buffer {"connection_id":189754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:38:41] local.INFO: Packet analysis {"connection_id":189754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:38:41] local.INFO: Extracted packet for processing {"connection_id":189754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":189754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:38:41] local.INFO: GPS data processed {"connection_id":189754,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:38:41] local.INFO: Acknowledgment sent {"connection_id":189754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:39:04] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:05] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:05] local.INFO: IMEI packet received {"connection_id":188292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":188292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:39:09] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:09] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:39:09] local.INFO: IMEI packet received {"connection_id":188292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:39:10] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:10] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:10] local.INFO: Packet analysis {"connection_id":188292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:39:10] local.INFO: Extracted packet for processing {"connection_id":188292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 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-09-21 05:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:39: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-09-21 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-09-21 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-09-21 05:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:39: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-09-21 05:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":188292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:39:10] local.INFO: GPS data processed {"connection_id":188292,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:39:10] local.INFO: Acknowledgment sent {"connection_id":188292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:39:43] local.INFO: TCP Data received {"connection_id":188292,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:43] local.INFO: Processing buffer {"connection_id":188292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:39:43] local.INFO: Packet analysis {"connection_id":188292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:39:43] local.INFO: Extracted packet for processing {"connection_id":188292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 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-09-21 05:39:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 05:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:39: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-09-21 05:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:39:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:39:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:39:43] local.INFO: DEBUG: GPS processor result {"connection_id":188292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:39:43] local.INFO: GPS data processed {"connection_id":188292,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:39:43] local.INFO: Acknowledgment sent {"connection_id":188292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:40:04] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:04] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:04] local.INFO: IMEI packet received {"connection_id":189755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":189755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:40:09] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:09] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:40:09] local.INFO: IMEI packet received {"connection_id":189755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":189755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:40:10] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:10] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:10] local.INFO: Packet analysis {"connection_id":189755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:40:10] local.INFO: Extracted packet for processing {"connection_id":189755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:40: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-09-21 05: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-09-21 05:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":189755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:40:10] local.INFO: GPS data processed {"connection_id":189755,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:40:10] local.INFO: Acknowledgment sent {"connection_id":189755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:40:42] local.INFO: TCP Data received {"connection_id":189755,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:42] local.INFO: Processing buffer {"connection_id":189755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:40:42] local.INFO: Packet analysis {"connection_id":189755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:40:42] local.INFO: Extracted packet for processing {"connection_id":189755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:40: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-09-21 05:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":189755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:40:42] local.INFO: GPS data processed {"connection_id":189755,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:40:42] local.INFO: Acknowledgment sent {"connection_id":189755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:41:04] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:04] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:04] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:41:09] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:09] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:41:09] local.INFO: IMEI packet received {"connection_id":188442,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188442,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:41:11] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:11] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:11] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:41:11] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:41: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:41: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-09-21 05:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:41:11] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:41:11] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:41:42] local.INFO: TCP Data received {"connection_id":188442,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:42] local.INFO: Processing buffer {"connection_id":188442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c148dd08012d34bdc006aa40f80009000c2e..."} 
[2026-09-21 05:41:42] local.INFO: Packet analysis {"connection_id":188442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:41:42] local.INFO: Extracted packet for processing {"connection_id":188442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c148"} 
[2026-09-21 05:41:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:41:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226911232001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:41:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:41:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:41:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789949173000,"timestamp_ms":1789949173000,"timestamp_seconds":1789949173,"priority":1,"record_length":96,"hex_timestamp":"000001a0c148dd08"} 
[2026-09-21 05:41:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:41:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:41: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-09-21 05: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-09-21 05:41:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:41:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:41:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:41:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:41:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188442,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:41: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-09-21 05:41:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:41:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:41:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226911232001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:41:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:41:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:41:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226911232001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:41:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:41:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:41:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:41:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:41:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226911232001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:41:42] local.INFO: DEBUG: GPS processor result {"connection_id":188442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:41:42] local.INFO: GPS data processed {"connection_id":188442,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:41:42] local.INFO: Acknowledgment sent {"connection_id":188442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:41:46] local.INFO: TCP Data received {"connection_id":189756,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:41:46] local.INFO: Processing buffer {"connection_id":189756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:41:46] local.INFO: IMEI packet received {"connection_id":189756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":189756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:42:04] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:04] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:04] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:42:09] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:09] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:42:09] local.INFO: IMEI packet received {"connection_id":188293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:42:10] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:10] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:10] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:42:10] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:42: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-09-21 05:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:42: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-09-21 05:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:42:10] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:42:10] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:42:16] local.INFO: TCP Data received {"connection_id":188294,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188294,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:42:16] local.INFO: Processing buffer {"connection_id":188294,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:42:16] local.INFO: IMEI packet received {"connection_id":188294,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":188294,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:42:41] local.INFO: TCP Data received {"connection_id":188293,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:41] local.INFO: Processing buffer {"connection_id":188293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:42:41] local.INFO: Packet analysis {"connection_id":188293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:42:41] local.INFO: Extracted packet for processing {"connection_id":188293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:42: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-09-21 05:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:42: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-09-21 05:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:42: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-09-21 05:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":188293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:42:41] local.INFO: GPS data processed {"connection_id":188293,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:42:41] local.INFO: Acknowledgment sent {"connection_id":188293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:43:04] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:04] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:04] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:43:09] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:09] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:43:09] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:43:10] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:10] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:10] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:43:10] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 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-09-21 05:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:43: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-09-21 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-09-21 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-09-21 05:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:43:10] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:43:10] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:43:41] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:41] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:43:41] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:43:41] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:43: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-09-21 05: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-09-21 05:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:43:41] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:43:41] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:44:04] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:04] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:04] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:44:09] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:09] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:44:09] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:44:10] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:10] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:10] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:44:10] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:44: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-09-21 05: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-09-21 05:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:44:10] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:44:10] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:44:41] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:41] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:44:41] local.INFO: Packet analysis {"connection_id":188444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:44:41] local.INFO: Extracted packet for processing {"connection_id":188444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:44: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-09-21 05:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:44: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-09-21 05:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:44:41] local.INFO: GPS data processed {"connection_id":188444,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:44:41] local.INFO: Acknowledgment sent {"connection_id":188444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:45:04] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:04] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:04] local.INFO: IMEI packet received {"connection_id":191064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":191064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:45:09] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:09] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:45:09] local.INFO: IMEI packet received {"connection_id":191064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":191064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:45:11] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:11] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:11] local.INFO: Packet analysis {"connection_id":191064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:45:11] local.INFO: Extracted packet for processing {"connection_id":191064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:45:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:45: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-09-21 05:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":191064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:45:11] local.INFO: GPS data processed {"connection_id":191064,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:45:11] local.INFO: Acknowledgment sent {"connection_id":191064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:45:42] local.INFO: TCP Data received {"connection_id":191064,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191064,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:42] local.INFO: Processing buffer {"connection_id":191064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:45:42] local.INFO: Packet analysis {"connection_id":191064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:45:42] local.INFO: Extracted packet for processing {"connection_id":191064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:45: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-09-21 05: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-09-21 05:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:45: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-09-21 05:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":191064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:45:42] local.INFO: GPS data processed {"connection_id":191064,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:45:42] local.INFO: Acknowledgment sent {"connection_id":191064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:46:04] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:04] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:04] local.INFO: IMEI packet received {"connection_id":189759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":189759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:46:09] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:09] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:46:09] local.INFO: IMEI packet received {"connection_id":189759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":189759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:46:10] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:10] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:10] local.INFO: Packet analysis {"connection_id":189759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:46:10] local.INFO: Extracted packet for processing {"connection_id":189759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 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-09-21 05:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:46: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-09-21 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-09-21 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-09-21 05:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:46: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-09-21 05:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":189759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:46:10] local.INFO: GPS data processed {"connection_id":189759,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:46:10] local.INFO: Acknowledgment sent {"connection_id":189759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:46:41] local.INFO: TCP Data received {"connection_id":189759,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:41] local.INFO: Processing buffer {"connection_id":189759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c14d74d0012d34bdc006aa40f80004000c2d..."} 
[2026-09-21 05:46:41] local.INFO: Packet analysis {"connection_id":189759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:46:41] local.INFO: Extracted packet for processing {"connection_id":189759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c14d"} 
[2026-09-21 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458226988288001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949474000,"timestamp_ms":1789949474000,"timestamp_seconds":1789949474,"priority":1,"record_length":96,"hex_timestamp":"000001a0c14d74d0"} 
[2026-09-21 05:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 05:46: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-09-21 05: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-09-21 05:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:46: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-09-21 05:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458226988288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458226988288001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458226988288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":189759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:46:41] local.INFO: GPS data processed {"connection_id":189759,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:46:41] local.INFO: Acknowledgment sent {"connection_id":189759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:47:04] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:04] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:04] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:47:09] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:09] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:47:09] local.INFO: IMEI packet received {"connection_id":191065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":191065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:47:11] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:11] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:11] local.INFO: Packet analysis {"connection_id":191065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:47:11] local.INFO: Extracted packet for processing {"connection_id":191065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":191065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:47:11] local.INFO: GPS data processed {"connection_id":191065,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:47:11] local.INFO: Acknowledgment sent {"connection_id":191065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:47:41] local.INFO: TCP Data received {"connection_id":189760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:47:41] local.INFO: Processing buffer {"connection_id":189760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:47:41] local.INFO: IMEI packet received {"connection_id":189760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":189760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:47:43] local.INFO: TCP Data received {"connection_id":191065,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:43] local.INFO: Processing buffer {"connection_id":191065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:47:43] local.INFO: Packet analysis {"connection_id":191065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:47:43] local.INFO: Extracted packet for processing {"connection_id":191065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:47: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-09-21 05: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-09-21 05:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:47: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-09-21 05:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:47:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:47:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":191065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:47:43] local.INFO: GPS data processed {"connection_id":191065,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:47:43] local.INFO: Acknowledgment sent {"connection_id":191065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:48:04] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:04] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:04] local.INFO: IMEI packet received {"connection_id":189761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":189761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:48:09] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:09] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:48:09] local.INFO: IMEI packet received {"connection_id":189761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:48:10] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:10] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:10] local.INFO: Packet analysis {"connection_id":189761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:48:10] local.INFO: Extracted packet for processing {"connection_id":189761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 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-09-21 05:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 05:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05: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-09-21 05:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:48:10] local.INFO: GPS data processed {"connection_id":189761,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:48:10] local.INFO: Acknowledgment sent {"connection_id":189761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:48:16] local.INFO: TCP Data received {"connection_id":191066,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191066,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:48:16] local.INFO: Processing buffer {"connection_id":191066,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:48:16] local.INFO: IMEI packet received {"connection_id":191066,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":191066,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:48:41] local.INFO: TCP Data received {"connection_id":189761,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:41] local.INFO: Processing buffer {"connection_id":189761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:48:41] local.INFO: Packet analysis {"connection_id":189761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:48:41] local.INFO: Extracted packet for processing {"connection_id":189761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:48: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-09-21 05: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-09-21 05:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05: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-09-21 05:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":189761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:48:41] local.INFO: GPS data processed {"connection_id":189761,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:48:41] local.INFO: Acknowledgment sent {"connection_id":189761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:49:04] local.INFO: TCP Data received {"connection_id":188296,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:04] local.INFO: Processing buffer {"connection_id":188296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:04] local.INFO: IMEI packet received {"connection_id":188296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:49:09] local.INFO: TCP Data received {"connection_id":188296,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:09] local.INFO: Processing buffer {"connection_id":188296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:49:09] local.INFO: IMEI packet received {"connection_id":188296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:49:10] local.INFO: TCP Data received {"connection_id":188296,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:10] local.INFO: Processing buffer {"connection_id":188296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:10] local.INFO: Packet analysis {"connection_id":188296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:49:10] local.INFO: Extracted packet for processing {"connection_id":188296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:49: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-09-21 05:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:49:10] local.INFO: GPS data processed {"connection_id":188296,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:49:10] local.INFO: Acknowledgment sent {"connection_id":188296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:49:42] local.INFO: TCP Data received {"connection_id":188296,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:42] local.INFO: Processing buffer {"connection_id":188296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:49:42] local.INFO: Packet analysis {"connection_id":188296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:49:42] local.INFO: Extracted packet for processing {"connection_id":188296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:49: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-09-21 05: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-09-21 05:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:49: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-09-21 05:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:49:42] local.INFO: GPS data processed {"connection_id":188296,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:49:42] local.INFO: Acknowledgment sent {"connection_id":188296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:50:04] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:04] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:04] local.INFO: IMEI packet received {"connection_id":189763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":189763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:50:09] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:09] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:50:09] local.INFO: IMEI packet received {"connection_id":189763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":189763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:50:10] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:10] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:10] local.INFO: Packet analysis {"connection_id":189763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:50:10] local.INFO: Extracted packet for processing {"connection_id":189763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":189763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:50:10] local.INFO: GPS data processed {"connection_id":189763,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:50:10] local.INFO: Acknowledgment sent {"connection_id":189763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:50:41] local.INFO: TCP Data received {"connection_id":189763,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:41] local.INFO: Processing buffer {"connection_id":189763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:50:41] local.INFO: Packet analysis {"connection_id":189763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:50:41] local.INFO: Extracted packet for processing {"connection_id":189763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:50: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-09-21 05:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:50: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-09-21 05:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":189763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:50:41] local.INFO: GPS data processed {"connection_id":189763,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:50:41] local.INFO: Acknowledgment sent {"connection_id":189763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:51:04] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:04] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:04] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:51:09] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:09] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:51:09] local.INFO: IMEI packet received {"connection_id":191067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":191067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:51:10] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:10] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:10] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:51:10] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:51: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-09-21 05:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:51:10] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:51:10] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:51:42] local.INFO: TCP Data received {"connection_id":191067,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191067,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:42] local.INFO: Processing buffer {"connection_id":191067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1520c98012d34bdc006aa40f80002000c2a..."} 
[2026-09-21 05:51:42] local.INFO: Packet analysis {"connection_id":191067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:51:42] local.INFO: Extracted packet for processing {"connection_id":191067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c152"} 
[2026-09-21 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227065344001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789949775000,"timestamp_ms":1789949775000,"timestamp_seconds":1789949775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1520c98"} 
[2026-09-21 05:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:51: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-09-21 05:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:51: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-09-21 05:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227065344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227065344001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227065344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":191067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:51:42] local.INFO: GPS data processed {"connection_id":191067,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:51:42] local.INFO: Acknowledgment sent {"connection_id":191067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:52:04] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:04] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:04] local.INFO: IMEI packet received {"connection_id":188299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":188299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:52:09] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:09] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:52:09] local.INFO: IMEI packet received {"connection_id":188299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:52:10] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:10] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:10] local.INFO: Packet analysis {"connection_id":188299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:52:10] local.INFO: Extracted packet for processing {"connection_id":188299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:52: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-09-21 05: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-09-21 05:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05: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-09-21 05:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:52:10] local.INFO: GPS data processed {"connection_id":188299,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:52:10] local.INFO: Acknowledgment sent {"connection_id":188299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:52:41] local.INFO: TCP Data received {"connection_id":188299,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:41] local.INFO: Processing buffer {"connection_id":188299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:52:41] local.INFO: Packet analysis {"connection_id":188299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:52:41] local.INFO: Extracted packet for processing {"connection_id":188299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05: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-09-21 05:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:52:41] local.INFO: GPS data processed {"connection_id":188299,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:52:41] local.INFO: Acknowledgment sent {"connection_id":188299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:53:04] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:04] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:04] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:53:09] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:09] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:53:09] local.INFO: IMEI packet received {"connection_id":191069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":191069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:53:10] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:10] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:10] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:10] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 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-09-21 05:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:53: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-09-21 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-09-21 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-09-21 05:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53: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-09-21 05:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:53:10] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:53:10] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:53:14] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:14] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:14] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:14] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:53:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:53:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:53:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:53:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:53:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:53:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:53:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:53:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:53:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:53:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:53:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:53:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:53:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:53:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:53:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:53:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:53:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:53:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:53:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:53:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:53:14] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:53:14] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:53:14] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:53:41] local.INFO: TCP Data received {"connection_id":188300,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188300,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:53:41] local.INFO: Processing buffer {"connection_id":188300,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:53:41] local.INFO: IMEI packet received {"connection_id":188300,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188300,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:53:46] local.INFO: TCP Data received {"connection_id":191069,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:46] local.INFO: Processing buffer {"connection_id":191069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:53:46] local.INFO: Packet analysis {"connection_id":191069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:46] local.INFO: Extracted packet for processing {"connection_id":191069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:53:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:53:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:53:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:53:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:53:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:53:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:53:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:53: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-09-21 05:53:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:53:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:53:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:53:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:53:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:53:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:53:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:53:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:53:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:53:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:53:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:53:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:53:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:53:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:53:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:53:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:53:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:53:46] local.INFO: DEBUG: GPS processor result {"connection_id":191069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:53:46] local.INFO: GPS data processed {"connection_id":191069,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:53:46] local.INFO: Acknowledgment sent {"connection_id":191069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:54:04] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:04] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:04] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:54:09] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:09] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:54:09] local.INFO: IMEI packet received {"connection_id":188301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:54:10] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:10] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:10] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:54:10] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:54: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-09-21 05: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-09-21 05:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:54:10] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:54:10] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:54:16] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:54:16] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:54:16] local.INFO: IMEI packet received {"connection_id":188446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":188446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:54:41] local.INFO: TCP Data received {"connection_id":188301,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:41] local.INFO: Processing buffer {"connection_id":188301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:54:41] local.INFO: Packet analysis {"connection_id":188301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:54:41] local.INFO: Extracted packet for processing {"connection_id":188301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:54: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-09-21 05:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:54:41] local.INFO: GPS data processed {"connection_id":188301,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:54:41] local.INFO: Acknowledgment sent {"connection_id":188301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:55:04] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:04] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:04] local.INFO: IMEI packet received {"connection_id":189764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":189764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:55:09] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:09] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:55:09] local.INFO: IMEI packet received {"connection_id":189764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":189764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:55:11] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:11] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:11] local.INFO: Packet analysis {"connection_id":189764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:55:11] local.INFO: Extracted packet for processing {"connection_id":189764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:55:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":189764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:55:11] local.INFO: GPS data processed {"connection_id":189764,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:55:11] local.INFO: Acknowledgment sent {"connection_id":189764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:55:43] local.INFO: TCP Data received {"connection_id":189764,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:43] local.INFO: Processing buffer {"connection_id":189764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:55:43] local.INFO: Packet analysis {"connection_id":189764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:55:43] local.INFO: Extracted packet for processing {"connection_id":189764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:55:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:55:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05: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-09-21 05:55:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:55: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-09-21 05:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":189764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:55:43] local.INFO: GPS data processed {"connection_id":189764,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:55:43] local.INFO: Acknowledgment sent {"connection_id":189764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:56:04] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:04] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:04] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:56:09] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:09] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:56:09] local.INFO: IMEI packet received {"connection_id":191070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":191070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:56:10] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:10] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:10] local.INFO: Packet analysis {"connection_id":191070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:56:10] local.INFO: Extracted packet for processing {"connection_id":191070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 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-09-21 05:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:56: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-09-21 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-09-21 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-09-21 05:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:56: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-09-21 05:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":191070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:56:10] local.INFO: GPS data processed {"connection_id":191070,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:56:10] local.INFO: Acknowledgment sent {"connection_id":191070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:56:42] local.INFO: TCP Data received {"connection_id":191070,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:42] local.INFO: Processing buffer {"connection_id":191070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c156a460012d34bdc006aa40f80001000c2c..."} 
[2026-09-21 05:56:42] local.INFO: Packet analysis {"connection_id":191070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:56:42] local.INFO: Extracted packet for processing {"connection_id":191070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c156"} 
[2026-09-21 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227142400001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:56: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-09-21 05:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950076000,"timestamp_ms":1789950076000,"timestamp_seconds":1789950076,"priority":1,"record_length":96,"hex_timestamp":"000001a0c156a460"} 
[2026-09-21 05:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 05:56: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-09-21 05:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:56:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227142400001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227142400001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227142400001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":191070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:56:42] local.INFO: GPS data processed {"connection_id":191070,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:56:42] local.INFO: Acknowledgment sent {"connection_id":191070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:57:04] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:04] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:04] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:57:09] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:09] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:57:09] local.INFO: IMEI packet received {"connection_id":191072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":191072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:57:11] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:11] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:11] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:57:11] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:57:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:57:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:57:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05:57:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 05:57:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 05:57:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:57:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:57:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:57:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:57:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:57:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:57:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:57:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:57:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:57:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:57:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:57:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:57:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:57:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:57:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:57:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:57:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:57:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:57:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:57:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:57:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:57:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:57:11] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:57:11] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:57:11] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:57:42] local.INFO: TCP Data received {"connection_id":191072,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191072,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:42] local.INFO: Processing buffer {"connection_id":191072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:57:42] local.INFO: Packet analysis {"connection_id":191072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:57:42] local.INFO: Extracted packet for processing {"connection_id":191072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 05:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:57: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-09-21 05: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-09-21 05:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:57: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-09-21 05:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":191072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:57:42] local.INFO: GPS data processed {"connection_id":191072,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:57:42] local.INFO: Acknowledgment sent {"connection_id":191072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:58:04] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:04] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:04] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:58:09] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:09] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:58:09] local.INFO: IMEI packet received {"connection_id":188303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":188303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:58:10] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:10] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:10] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:58:10] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 05:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 05:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 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-09-21 05:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:58:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 05:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:58: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-09-21 05:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:58:10] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:58:10] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:58:41] local.INFO: TCP Data received {"connection_id":188303,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188303,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:41] local.INFO: Processing buffer {"connection_id":188303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:58:41] local.INFO: Packet analysis {"connection_id":188303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:58:41] local.INFO: Extracted packet for processing {"connection_id":188303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 05:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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-09-21 05: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-09-21 05: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-09-21 05:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:58: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-09-21 05:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":188303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:58:41] local.INFO: GPS data processed {"connection_id":188303,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:58:41] local.INFO: Acknowledgment sent {"connection_id":188303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:59:05] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:05] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:05] local.INFO: IMEI packet received {"connection_id":189765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 05:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":189765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:59:10] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:10] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 05:59:10] local.INFO: IMEI packet received {"connection_id":189765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 05:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":189765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 05:59:11] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:11] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:11] local.INFO: Packet analysis {"connection_id":189765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:59:11] local.INFO: Extracted packet for processing {"connection_id":189765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:59:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 05:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 05:59:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 05:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:59:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:59:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":189765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:59:11] local.INFO: GPS data processed {"connection_id":189765,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:59:11] local.INFO: Acknowledgment sent {"connection_id":189765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 05:59:36] local.INFO: TCP Data received {"connection_id":191074,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:59:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191074,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:59:36] local.INFO: Processing buffer {"connection_id":191074,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 05:59:36] local.INFO: IMEI packet received {"connection_id":191074,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 05:59:36] local.INFO: IMEI acknowledgment sent {"connection_id":191074,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 05:59:42] local.INFO: TCP Data received {"connection_id":189765,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:42] local.INFO: Processing buffer {"connection_id":189765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 05:59:42] local.INFO: Packet analysis {"connection_id":189765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:59:42] local.INFO: Extracted packet for processing {"connection_id":189765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 05:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 05:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 05:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 05: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-09-21 05:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 05:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 05:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 05:59:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 05:59: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-09-21 05:59:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 05:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 05:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 05:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 05:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 05:59: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-09-21 05:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 05:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 05:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 05:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 05:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 05:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 05:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 05:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 05:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 05:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 05:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 05:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":189765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 05:59:42] local.INFO: GPS data processed {"connection_id":189765,"processed":1,"errors":0,"total":1} 
[2026-09-21 05:59:42] local.INFO: Acknowledgment sent {"connection_id":189765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:00:04] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:04] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:04] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:00:09] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:09] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:00:09] local.INFO: IMEI packet received {"connection_id":188448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:00:10] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:10] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:10] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:00:10] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 06:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:00:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:00: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-09-21 06:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:00:10] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:00:10] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:00:21] local.INFO: TCP Data received {"connection_id":191075,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:00:21] local.INFO: Processing buffer {"connection_id":191075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:00:21] local.INFO: IMEI packet received {"connection_id":191075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":191075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:00:42] local.INFO: TCP Data received {"connection_id":188448,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:42] local.INFO: Processing buffer {"connection_id":188448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:00:42] local.INFO: Packet analysis {"connection_id":188448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:00:42] local.INFO: Extracted packet for processing {"connection_id":188448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 06:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:00:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:00: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-09-21 06:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":188448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:00:42] local.INFO: GPS data processed {"connection_id":188448,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:00:42] local.INFO: Acknowledgment sent {"connection_id":188448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:01:04] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:04] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:04] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:01:09] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:09] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:01:09] local.INFO: IMEI packet received {"connection_id":191076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":191076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:01:10] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:10] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:10] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:01:10] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 06:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:01:10] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:01:10] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:01:41] local.INFO: TCP Data received {"connection_id":191076,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:41] local.INFO: Processing buffer {"connection_id":191076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15b3c28012d34bdc006aa40f80006000c2b..."} 
[2026-09-21 06:01:41] local.INFO: Packet analysis {"connection_id":191076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:01:41] local.INFO: Extracted packet for processing {"connection_id":191076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15b"} 
[2026-09-21 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227219456001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:01: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-09-21 06:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950377000,"timestamp_ms":1789950377000,"timestamp_seconds":1789950377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15b3c28"} 
[2026-09-21 06:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227219456001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227219456001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227219456001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":191076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:01:41] local.INFO: GPS data processed {"connection_id":191076,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:01:41] local.INFO: Acknowledgment sent {"connection_id":191076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:02:04] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:04] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:04] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:02:04] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:02:09] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:09] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:02:09] local.INFO: IMEI packet received {"connection_id":188449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":188449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:02:10] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:10] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:10] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:02:10] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:02:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:02:10] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:02:10] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:02:41] local.INFO: TCP Data received {"connection_id":188449,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:41] local.INFO: Processing buffer {"connection_id":188449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:02:41] local.INFO: Packet analysis {"connection_id":188449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:02:41] local.INFO: Extracted packet for processing {"connection_id":188449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:02: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-09-21 06:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:02: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-09-21 06:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:02:41] local.INFO: GPS data processed {"connection_id":188449,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:02:41] local.INFO: Acknowledgment sent {"connection_id":188449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:03:04] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:04] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:04] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:03:10] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:10] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:03:10] local.INFO: IMEI packet received {"connection_id":188450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":188450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:03:11] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:11] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:11] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:03:11] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:03:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:03:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:03:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:03:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:03:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:03:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:03:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:03:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:03:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:03:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:03:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:03:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:03:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:03:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:03:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:03: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-09-21 06:03:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:03:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:03:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:03:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:03:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:03:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:03:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:03:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:03:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:03:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:03:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:03:11] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:03:11] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:03:11] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:03:43] local.INFO: TCP Data received {"connection_id":188450,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:43] local.INFO: Processing buffer {"connection_id":188450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:03:43] local.INFO: Packet analysis {"connection_id":188450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:03:43] local.INFO: Extracted packet for processing {"connection_id":188450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:03:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:03:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:03:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:03:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:03:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:03:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:03:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:03: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-09-21 06: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-09-21 06:03:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:03:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:03:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:03:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:03:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:03: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-09-21 06:03:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:03:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:03:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:03:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:03:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:03:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:03:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:03:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:03:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:03:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:03:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:03:43] local.INFO: DEBUG: GPS processor result {"connection_id":188450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:03:43] local.INFO: GPS data processed {"connection_id":188450,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:03:43] local.INFO: Acknowledgment sent {"connection_id":188450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:04:04] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:04] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:04] local.INFO: IMEI packet received {"connection_id":189767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":189767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:04:09] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:09] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:04:09] local.INFO: IMEI packet received {"connection_id":189767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:04:10] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:10] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:10] local.INFO: Packet analysis {"connection_id":189767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:04:10] local.INFO: Extracted packet for processing {"connection_id":189767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:04: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-09-21 06:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":189767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:04:10] local.INFO: GPS data processed {"connection_id":189767,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:04:10] local.INFO: Acknowledgment sent {"connection_id":189767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:04:42] local.INFO: TCP Data received {"connection_id":189767,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:42] local.INFO: Processing buffer {"connection_id":189767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:04:42] local.INFO: Packet analysis {"connection_id":189767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:04:42] local.INFO: Extracted packet for processing {"connection_id":189767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:04: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-09-21 06: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-09-21 06:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:04: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-09-21 06:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":189767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:04:42] local.INFO: GPS data processed {"connection_id":189767,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:04:42] local.INFO: Acknowledgment sent {"connection_id":189767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:05:04] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:04] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:04] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:05:09] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:09] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:05:09] local.INFO: IMEI packet received {"connection_id":188307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:05:11] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:11] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:11] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:05:11] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:05: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-09-21 06:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:05:11] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:05:11] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:05:43] local.INFO: TCP Data received {"connection_id":188307,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:43] local.INFO: Processing buffer {"connection_id":188307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:05:43] local.INFO: Packet analysis {"connection_id":188307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:05:43] local.INFO: Extracted packet for processing {"connection_id":188307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 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-09-21 06:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:05: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-09-21 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-09-21 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-09-21 06:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:05: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-09-21 06:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":188307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:05:43] local.INFO: GPS data processed {"connection_id":188307,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:05:43] local.INFO: Acknowledgment sent {"connection_id":188307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:05:46] local.INFO: TCP Data received {"connection_id":188308,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188308,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:05:46] local.INFO: Processing buffer {"connection_id":188308,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:05:46] local.INFO: IMEI packet received {"connection_id":188308,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":188308,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:06:04] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:04] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:04] local.INFO: IMEI packet received {"connection_id":189768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":189768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:06:09] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:09] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:06:09] local.INFO: IMEI packet received {"connection_id":189768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":189768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:06:10] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:10] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:10] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:06:10] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:06:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:06: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-09-21 06:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:06:10] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:06:10] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:06:16] local.INFO: TCP Data received {"connection_id":191077,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:06:16] local.INFO: Processing buffer {"connection_id":191077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:06:16] local.INFO: IMEI packet received {"connection_id":191077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":191077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:06:41] local.INFO: TCP Data received {"connection_id":189768,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:41] local.INFO: Processing buffer {"connection_id":189768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c15fd3f0012d34bdc006aa40f8000a000c29..."} 
[2026-09-21 06:06:41] local.INFO: Packet analysis {"connection_id":189768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:06:41] local.INFO: Extracted packet for processing {"connection_id":189768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c15f"} 
[2026-09-21 06:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227296512001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950678000,"timestamp_ms":1789950678000,"timestamp_seconds":1789950678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c15fd3f0"} 
[2026-09-21 06:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:06: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-09-21 06:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227296512001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227296512001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227296512001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":189768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:06:41] local.INFO: GPS data processed {"connection_id":189768,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:06:41] local.INFO: Acknowledgment sent {"connection_id":189768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:07:04] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:04] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:04] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:07:09] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:09] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:07:09] local.INFO: IMEI packet received {"connection_id":188309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":188309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:07:10] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:10] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:10] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:07:10] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 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-09-21 06:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:07: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-09-21 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-09-21 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-09-21 06:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:07:10] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:07:10] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:07:42] local.INFO: TCP Data received {"connection_id":188309,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:42] local.INFO: Processing buffer {"connection_id":188309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:07:42] local.INFO: Packet analysis {"connection_id":188309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:07:42] local.INFO: Extracted packet for processing {"connection_id":188309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:07: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-09-21 06: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-09-21 06:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:07:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":188309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:07:42] local.INFO: GPS data processed {"connection_id":188309,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:07:42] local.INFO: Acknowledgment sent {"connection_id":188309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:08:04] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:04] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:04] local.INFO: IMEI packet received {"connection_id":189769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:08:04] local.INFO: IMEI acknowledgment sent {"connection_id":189769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:08:09] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:09] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:08:09] local.INFO: IMEI packet received {"connection_id":189769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":189769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:08:10] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:10] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:10] local.INFO: Packet analysis {"connection_id":189769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:08:10] local.INFO: Extracted packet for processing {"connection_id":189769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:08: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-09-21 06:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":189769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:08:10] local.INFO: GPS data processed {"connection_id":189769,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:08:10] local.INFO: Acknowledgment sent {"connection_id":189769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:08:42] local.INFO: TCP Data received {"connection_id":189769,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:42] local.INFO: Processing buffer {"connection_id":189769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:08:42] local.INFO: Packet analysis {"connection_id":189769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:08:42] local.INFO: Extracted packet for processing {"connection_id":189769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:08:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:08:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:08:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:08:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:08:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:08:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:08:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:08: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-09-21 06:08:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:08:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:08:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:08:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:08:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:08:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:08: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-09-21 06:08:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:08:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:08:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:08:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:08:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:08:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:08:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:08:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:08:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:08:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:08:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:08:42] local.INFO: DEBUG: GPS processor result {"connection_id":189769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:08:42] local.INFO: GPS data processed {"connection_id":189769,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:08:42] local.INFO: Acknowledgment sent {"connection_id":189769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:09:04] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:04] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:04] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:09:09] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:09] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:09:09] local.INFO: IMEI packet received {"connection_id":188452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:09:10] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:10] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:10] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:09:10] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 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-09-21 06:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:09: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-09-21 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-09-21 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-09-21 06:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:09: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-09-21 06:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:09:10] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:09:10] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:09:42] local.INFO: TCP Data received {"connection_id":188452,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188452,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:42] local.INFO: Processing buffer {"connection_id":188452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:09:42] local.INFO: Packet analysis {"connection_id":188452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:09:42] local.INFO: Extracted packet for processing {"connection_id":188452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:09:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:09:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:09:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:09: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-09-21 06:09:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:09:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:09:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:09:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:09: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-09-21 06:09:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:09:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:09:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:09:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:09:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:09:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:09: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-09-21 06:09:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:09:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:09:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:09:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:09:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:09:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:09:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:09:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:09:42] local.INFO: DEBUG: GPS processor result {"connection_id":188452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:09:42] local.INFO: GPS data processed {"connection_id":188452,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:09:42] local.INFO: Acknowledgment sent {"connection_id":188452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:10:04] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:04] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:04] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:10:09] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:09] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:10:09] local.INFO: IMEI packet received {"connection_id":191078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":191078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:10:09] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:10] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:10] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:10:10] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 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-09-21 06:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:10: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-09-21 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-09-21 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-09-21 06:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:10:10] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:10:10] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:10:41] local.INFO: TCP Data received {"connection_id":191078,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191078,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:41] local.INFO: Processing buffer {"connection_id":191078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:10:41] local.INFO: Packet analysis {"connection_id":191078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:10:41] local.INFO: Extracted packet for processing {"connection_id":191078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:10: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-09-21 06:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:10: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-09-21 06:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":191078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:10:41] local.INFO: GPS data processed {"connection_id":191078,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:10:41] local.INFO: Acknowledgment sent {"connection_id":191078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:11:04] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:04] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:04] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:11:09] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:09] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:11:09] local.INFO: IMEI packet received {"connection_id":188312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:11:10] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:10] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:10] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:11:10] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 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-09-21 06:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:11: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-09-21 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-09-21 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-09-21 06:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:11: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-09-21 06:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:11:10] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:11:10] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:11:36] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:11:36] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:11:36] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:11:36] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:11:41] local.INFO: TCP Data received {"connection_id":188312,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:41] local.INFO: Processing buffer {"connection_id":188312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1646bb8012d34bdc006aa40f80001000c29..."} 
[2026-09-21 06:11:41] local.INFO: Packet analysis {"connection_id":188312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:11:41] local.INFO: Extracted packet for processing {"connection_id":188312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c164"} 
[2026-09-21 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227373568001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789950979000,"timestamp_ms":1789950979000,"timestamp_seconds":1789950979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1646bb8"} 
[2026-09-21 06:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:11: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-09-21 06:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227373568001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227373568001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227373568001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":188312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:11:41] local.INFO: GPS data processed {"connection_id":188312,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:11:41] local.INFO: Acknowledgment sent {"connection_id":188312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:12:04] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:04] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:04] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:12:09] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:09] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:12:09] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:12:09] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:09] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:09] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:12:09] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:12: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-09-21 06:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:12:09] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:12:09] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:12:16] local.INFO: TCP Data received {"connection_id":188313,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:12:16] local.INFO: Processing buffer {"connection_id":188313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:12:16] local.INFO: IMEI packet received {"connection_id":188313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":188313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:12:40] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:40] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:12:40] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:12:40] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:12:41] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:12:41] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:13:04] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:04] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:04] local.INFO: IMEI packet received {"connection_id":191079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":191079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:13:09] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:09] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:13:09] local.INFO: IMEI packet received {"connection_id":191079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":191079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:13:10] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:10] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:10] local.INFO: Packet analysis {"connection_id":191079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:13:10] local.INFO: Extracted packet for processing {"connection_id":191079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 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-09-21 06:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:13:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 06:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:13: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-09-21 06:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":191079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:13:10] local.INFO: GPS data processed {"connection_id":191079,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:13:10] local.INFO: Acknowledgment sent {"connection_id":191079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:13:41] local.INFO: TCP Data received {"connection_id":191079,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:41] local.INFO: Processing buffer {"connection_id":191079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:13:41] local.INFO: Packet analysis {"connection_id":191079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:13:41] local.INFO: Extracted packet for processing {"connection_id":191079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:13: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-09-21 06:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:13: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-09-21 06:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:13: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-09-21 06:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":191079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:13:41] local.INFO: GPS data processed {"connection_id":191079,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:13:41] local.INFO: Acknowledgment sent {"connection_id":191079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:14:04] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:04] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:04] local.INFO: IMEI packet received {"connection_id":189771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":189771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:14:09] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:09] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:14:09] local.INFO: IMEI packet received {"connection_id":189771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":189771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:14:10] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:10] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:10] local.INFO: Packet analysis {"connection_id":189771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:14:10] local.INFO: Extracted packet for processing {"connection_id":189771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:14:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":189771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:14:10] local.INFO: GPS data processed {"connection_id":189771,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:14:10] local.INFO: Acknowledgment sent {"connection_id":189771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:14:41] local.INFO: TCP Data received {"connection_id":189771,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:41] local.INFO: Processing buffer {"connection_id":189771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:14:41] local.INFO: Packet analysis {"connection_id":189771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:14:41] local.INFO: Extracted packet for processing {"connection_id":189771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:14: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-09-21 06: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-09-21 06:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":189771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:14:41] local.INFO: GPS data processed {"connection_id":189771,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:14:41] local.INFO: Acknowledgment sent {"connection_id":189771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:15:04] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:04] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:04] local.INFO: IMEI packet received {"connection_id":189772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":189772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:15:09] local.INFO: TCP Data received {"connection_id":189772,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:09] local.INFO: Processing buffer {"connection_id":189772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:09] local.INFO: IMEI packet received {"connection_id":189772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":189772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:15:39] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:39] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:39] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:15:39] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:15:44] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:44] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:15:44] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:15:44] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:15:45] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:15:45] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:15:45] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:15:45] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:15:45] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:15:45] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:16:09] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:09] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:09] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:16:14] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:14] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:16:14] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:16:15] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:15] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:15] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:16:15] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:16:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:16:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16: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-09-21 06:16:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:16:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:16:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:16:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:16:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:16:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:16:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:16:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:16:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:16:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:16:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:16: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-09-21 06:16:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:16:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:16:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:16:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:16:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:16:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:16:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:16:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:16:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:16:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:16:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:16:15] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:16:15] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:16:15] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:16:19] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:19] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1690380012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:16:19] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:16:19] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c169"} 
[2026-09-21 06:16:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227450624001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789951280000,"timestamp_ms":1789951280000,"timestamp_seconds":1789951280,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1690380"} 
[2026-09-21 06:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227450624001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227450624001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:16:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:16:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227450624001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:16:19] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:16:19] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:17:04] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:04] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:04] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:17:10] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:10] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:17:10] local.INFO: IMEI packet received {"connection_id":191082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":191082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:17:11] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:11] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:11] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:17:11] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:17:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:17:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:17:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:17:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:17:11] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:17:11] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:17:42] local.INFO: TCP Data received {"connection_id":191082,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:42] local.INFO: Processing buffer {"connection_id":191082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:17:42] local.INFO: Packet analysis {"connection_id":191082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:17:42] local.INFO: Extracted packet for processing {"connection_id":191082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:17: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-09-21 06:17:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:17: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-09-21 06:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:17:42] local.INFO: GPS data processed {"connection_id":191082,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:17:42] local.INFO: Acknowledgment sent {"connection_id":191082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:17:46] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:17:46] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:17:46] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:18:04] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:04] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:04] local.INFO: IMEI packet received {"connection_id":188315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":188315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:18:09] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:09] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:18:09] local.INFO: IMEI packet received {"connection_id":188315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":188315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:18:10] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:10] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:10] local.INFO: Packet analysis {"connection_id":188315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:18:10] local.INFO: Extracted packet for processing {"connection_id":188315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 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-09-21 06:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:18: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-09-21 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-09-21 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-09-21 06:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":188315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:18:10] local.INFO: GPS data processed {"connection_id":188315,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:18:10] local.INFO: Acknowledgment sent {"connection_id":188315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:18:16] local.INFO: TCP Data received {"connection_id":189773,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:18:16] local.INFO: Processing buffer {"connection_id":189773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:18:16] local.INFO: IMEI packet received {"connection_id":189773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":189773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:18:43] local.INFO: TCP Data received {"connection_id":188315,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:43] local.INFO: Processing buffer {"connection_id":188315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:18:43] local.INFO: Packet analysis {"connection_id":188315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:18:43] local.INFO: Extracted packet for processing {"connection_id":188315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:18:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:18:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:18:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:18:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:18:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:18:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:18:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:18:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:18:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:18:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:18:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:18:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:18:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06: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-09-21 06:18:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:18:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:18:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:18:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:18:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:18:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:18:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:18:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:18:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:18:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:18:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:18:43] local.INFO: DEBUG: GPS processor result {"connection_id":188315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:18:43] local.INFO: GPS data processed {"connection_id":188315,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:18:43] local.INFO: Acknowledgment sent {"connection_id":188315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:19:04] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:04] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:04] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:19:09] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:09] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:19:09] local.INFO: IMEI packet received {"connection_id":191083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":191083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:19:10] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:10] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:10] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:19:10] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:19: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-09-21 06:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:19:10] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:19:10] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:19:42] local.INFO: TCP Data received {"connection_id":191083,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191083,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:42] local.INFO: Processing buffer {"connection_id":191083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:19:42] local.INFO: Packet analysis {"connection_id":191083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:19:42] local.INFO: Extracted packet for processing {"connection_id":191083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:19: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-09-21 06: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-09-21 06:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":191083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:19:42] local.INFO: GPS data processed {"connection_id":191083,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:19:42] local.INFO: Acknowledgment sent {"connection_id":191083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:20:04] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:04] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:04] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:20:09] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:09] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:20:09] local.INFO: IMEI packet received {"connection_id":191084,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":191084,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:20:10] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:10] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:10] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:20:10] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:20: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-09-21 06: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-09-21 06:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:20:10] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:20:10] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:20:42] local.INFO: TCP Data received {"connection_id":191084,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:42] local.INFO: Processing buffer {"connection_id":191084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:20:42] local.INFO: Packet analysis {"connection_id":191084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:20:42] local.INFO: Extracted packet for processing {"connection_id":191084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:20:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:20:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:20:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:20: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-09-21 06:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:20:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:20:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:20: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-09-21 06:20:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191084,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:20: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-09-21 06:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:20:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:20:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:20:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:20:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":191084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:20:42] local.INFO: GPS data processed {"connection_id":191084,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:20:42] local.INFO: Acknowledgment sent {"connection_id":191084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:21:09] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:09] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:09] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:21:14] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:14] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:21:14] local.INFO: IMEI packet received {"connection_id":188460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:21:15] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:15] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:15] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:21:15] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21: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-09-21 06:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:21:15] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:21:15] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:21:20] local.INFO: TCP Data received {"connection_id":188460,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:20] local.INFO: Processing buffer {"connection_id":188460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c16d9b48012d34bdc006aa40f80005000c28..."} 
[2026-09-21 06:21:20] local.INFO: Packet analysis {"connection_id":188460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:21:20] local.INFO: Extracted packet for processing {"connection_id":188460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c16d"} 
[2026-09-21 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:21:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227527680001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:21:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:21:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789951581000,"timestamp_ms":1789951581000,"timestamp_seconds":1789951581,"priority":1,"record_length":96,"hex_timestamp":"000001a0c16d9b48"} 
[2026-09-21 06:21:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:21:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:21:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:21:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:21:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:21:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:21:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:21:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:21:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:21:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:21:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:21:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:21:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:21:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227527680001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:21:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:21:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:21:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227527680001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:21:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:21:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:21:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:21:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:21:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227527680001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:21:20] local.INFO: DEBUG: GPS processor result {"connection_id":188460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:21:20] local.INFO: GPS data processed {"connection_id":188460,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:21:20] local.INFO: Acknowledgment sent {"connection_id":188460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:22:04] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:04] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:04] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:22:04] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:22:09] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:09] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:22:09] local.INFO: IMEI packet received {"connection_id":191086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":191086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:22:10] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:10] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:10] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:22:10] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:22: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-09-21 06:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:22: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-09-21 06:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:22:10] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:22:10] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:22:41] local.INFO: TCP Data received {"connection_id":191086,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:41] local.INFO: Processing buffer {"connection_id":191086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:22:41] local.INFO: Packet analysis {"connection_id":191086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:22:41] local.INFO: Extracted packet for processing {"connection_id":191086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":191086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:22:41] local.INFO: GPS data processed {"connection_id":191086,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:22:41] local.INFO: Acknowledgment sent {"connection_id":191086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:23:04] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:04] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:04] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:23:09] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:09] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:23:09] local.INFO: IMEI packet received {"connection_id":188318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:23:10] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:10] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:10] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:23:10] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 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-09-21 06:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:23: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-09-21 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-09-21 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-09-21 06:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:23: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-09-21 06:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:23:10] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:23:10] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:23:41] local.INFO: TCP Data received {"connection_id":188318,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:41] local.INFO: Processing buffer {"connection_id":188318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:23:41] local.INFO: Packet analysis {"connection_id":188318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:23:41] local.INFO: Extracted packet for processing {"connection_id":188318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:23: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-09-21 06:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":188318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:23:41] local.INFO: GPS data processed {"connection_id":188318,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:23:41] local.INFO: Acknowledgment sent {"connection_id":188318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:23:46] local.INFO: TCP Data received {"connection_id":188461,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:23:46] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:23:46] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:24:04] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:04] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:04] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:24:09] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:09] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:24:09] local.INFO: IMEI packet received {"connection_id":188319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:24:11] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:11] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:11] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:24:11] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:24:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:24:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:24:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:24:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:24:11] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:24:11] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:24:16] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:24:16] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:24:16] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:24:42] local.INFO: TCP Data received {"connection_id":188319,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188319,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:42] local.INFO: Processing buffer {"connection_id":188319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:24:42] local.INFO: Packet analysis {"connection_id":188319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:24:42] local.INFO: Extracted packet for processing {"connection_id":188319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:24: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-09-21 06:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:24: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-09-21 06:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":188319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:24:42] local.INFO: GPS data processed {"connection_id":188319,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:24:42] local.INFO: Acknowledgment sent {"connection_id":188319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:25:04] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:04] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:04] local.INFO: IMEI packet received {"connection_id":189774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":189774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:25:10] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:10] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:25:10] local.INFO: IMEI packet received {"connection_id":189774,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":189774,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:25:12] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:12] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:12] local.INFO: Packet analysis {"connection_id":189774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:25:12] local.INFO: Extracted packet for processing {"connection_id":189774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:25:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:25:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:25:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":189774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:25:12] local.INFO: GPS data processed {"connection_id":189774,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:25:12] local.INFO: Acknowledgment sent {"connection_id":189774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:25:44] local.INFO: TCP Data received {"connection_id":189774,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189774,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:44] local.INFO: Processing buffer {"connection_id":189774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:25:44] local.INFO: Packet analysis {"connection_id":189774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:25:44] local.INFO: Extracted packet for processing {"connection_id":189774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189774,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":189774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:25:44] local.INFO: GPS data processed {"connection_id":189774,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:25:44] local.INFO: Acknowledgment sent {"connection_id":189774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:26:04] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:04] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:04] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:26:04] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:26:09] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:09] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:26:09] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:26:10] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:10] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:10] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:26:10] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06: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-09-21 06: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-09-21 06:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:26: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-09-21 06:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:26:10] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:26:10] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:26:41] local.INFO: TCP Data received {"connection_id":188464,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:41] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1723310012d34bdc006aa40f80009000c29..."} 
[2026-09-21 06:26:41] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:26:41] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c172"} 
[2026-09-21 06:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":9,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227604736001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:26: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-09-21 06:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789951882000,"timestamp_ms":1789951882000,"timestamp_seconds":1789951882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1723310"} 
[2026-09-21 06:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227604736001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227604736001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227604736001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:26:41] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:26:41] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:27:10] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:10] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:10] local.INFO: IMEI packet received {"connection_id":189775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":189775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:27:14] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:14] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:27:14] local.INFO: IMEI packet received {"connection_id":189775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":189775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:27:15] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:15] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:15] local.INFO: Packet analysis {"connection_id":189775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:27:15] local.INFO: Extracted packet for processing {"connection_id":189775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:27:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:27:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:27:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:27:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:27:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:27:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:27:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:27:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":189775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:27:15] local.INFO: GPS data processed {"connection_id":189775,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:27:15] local.INFO: Acknowledgment sent {"connection_id":189775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:27:20] local.INFO: TCP Data received {"connection_id":189775,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:20] local.INFO: Processing buffer {"connection_id":189775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:27:20] local.INFO: Packet analysis {"connection_id":189775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:27:20] local.INFO: Extracted packet for processing {"connection_id":189775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:27:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":189775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:27:20] local.INFO: GPS data processed {"connection_id":189775,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:27:20] local.INFO: Acknowledgment sent {"connection_id":189775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:28:04] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:04] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:04] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:28:04] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:28:09] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:09] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:28:09] local.INFO: IMEI packet received {"connection_id":191087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":191087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:28:10] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:10] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:10] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:28:10] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 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-09-21 06:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:28: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-09-21 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-09-21 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-09-21 06:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:28: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-09-21 06:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:28:10] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:28:10] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:28:41] local.INFO: TCP Data received {"connection_id":191087,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191087,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:41] local.INFO: Processing buffer {"connection_id":191087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:28:41] local.INFO: Packet analysis {"connection_id":191087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:28:41] local.INFO: Extracted packet for processing {"connection_id":191087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:28:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:28: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-09-21 06:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":191087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:28:41] local.INFO: GPS data processed {"connection_id":191087,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:28:41] local.INFO: Acknowledgment sent {"connection_id":191087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:29:04] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:04] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:04] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:29:09] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:09] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:29:09] local.INFO: IMEI packet received {"connection_id":188321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":188321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:29:10] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:10] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:10] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:29:10] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 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-09-21 06:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:29: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-09-21 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-09-21 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-09-21 06:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:29: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-09-21 06:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:29:10] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:29:10] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:29:41] local.INFO: TCP Data received {"connection_id":189777,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:29:41] local.INFO: Processing buffer {"connection_id":189777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:29:41] local.INFO: IMEI packet received {"connection_id":189777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:29:41] local.INFO: IMEI acknowledgment sent {"connection_id":189777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:29:42] local.INFO: TCP Data received {"connection_id":188321,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:42] local.INFO: Processing buffer {"connection_id":188321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:29:42] local.INFO: Packet analysis {"connection_id":188321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:29:42] local.INFO: Extracted packet for processing {"connection_id":188321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:29:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:29: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-09-21 06:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":188321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:29:42] local.INFO: GPS data processed {"connection_id":188321,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:29:42] local.INFO: Acknowledgment sent {"connection_id":188321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:30:03] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:03] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:03] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:30:09] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:09] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:30:09] local.INFO: IMEI packet received {"connection_id":191088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":191088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:30:10] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:10] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:10] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:30:10] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 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-09-21 06:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:30: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-09-21 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-09-21 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-09-21 06:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:30: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-09-21 06:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:30:10] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:30:10] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:30:16] local.INFO: TCP Data received {"connection_id":189778,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189778,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:30:16] local.INFO: Processing buffer {"connection_id":189778,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:30:16] local.INFO: IMEI packet received {"connection_id":189778,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":189778,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:30:41] local.INFO: TCP Data received {"connection_id":191088,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:41] local.INFO: Processing buffer {"connection_id":191088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:30:41] local.INFO: Packet analysis {"connection_id":191088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:30:41] local.INFO: Extracted packet for processing {"connection_id":191088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:30: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-09-21 06:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:30: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-09-21 06:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":191088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:30:41] local.INFO: GPS data processed {"connection_id":191088,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:30:41] local.INFO: Acknowledgment sent {"connection_id":191088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:31:09] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:09] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:09] local.INFO: IMEI packet received {"connection_id":189779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":189779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:31:14] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:14] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:31:14] local.INFO: IMEI packet received {"connection_id":189779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":189779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:31:15] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:15] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:15] local.INFO: Packet analysis {"connection_id":189779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:31:15] local.INFO: Extracted packet for processing {"connection_id":189779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31: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-09-21 06:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:31:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":189779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:31:15] local.INFO: GPS data processed {"connection_id":189779,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:31:15] local.INFO: Acknowledgment sent {"connection_id":189779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:31:19] local.INFO: TCP Data received {"connection_id":189779,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:19] local.INFO: Processing buffer {"connection_id":189779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c176cad8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:31:19] local.INFO: Packet analysis {"connection_id":189779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:31:19] local.INFO: Extracted packet for processing {"connection_id":189779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c176"} 
[2026-09-21 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227681792001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789952183000,"timestamp_ms":1789952183000,"timestamp_seconds":1789952183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c176cad8"} 
[2026-09-21 06:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227681792001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227681792001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227681792001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":189779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:31:19] local.INFO: GPS data processed {"connection_id":189779,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:31:19] local.INFO: Acknowledgment sent {"connection_id":189779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:32:02] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:02] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:02] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:32:04] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:04] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:04] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:32:09] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:09] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:32:09] local.INFO: IMEI packet received {"connection_id":188466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:32:10] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:10] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:10] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:10] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:32: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-09-21 06: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-09-21 06:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32: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-09-21 06:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:32:10] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:32:10] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:32:15] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:15] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:15] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:15] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:32:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:32:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:32:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:32:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:32:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:32:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:32:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:32:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:32:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:32:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:32:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:32:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:32:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:32:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:32:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:32:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:32:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:32:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:32:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:32:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:32:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:32:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:32:15] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:32:15] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:32:15] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:32:46] local.INFO: TCP Data received {"connection_id":188466,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:46] local.INFO: Processing buffer {"connection_id":188466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:32:46] local.INFO: Packet analysis {"connection_id":188466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:46] local.INFO: Extracted packet for processing {"connection_id":188466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:32:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:32:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:32:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:32:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:32:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:32:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:32: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-09-21 06:32:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:32:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:32:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:32:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:32:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:32:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:32:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:32:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:32:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:32:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:32:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:32:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:32:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:32:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:32:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:32:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:32:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:32:46] local.INFO: DEBUG: GPS processor result {"connection_id":188466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:32:46] local.INFO: GPS data processed {"connection_id":188466,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:32:46] local.INFO: Acknowledgment sent {"connection_id":188466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:33:04] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:04] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:04] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:33:10] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:10] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:33:10] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:33:11] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:11] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:11] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:33:11] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:33:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:33:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:33:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:33:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:33:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:33: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-09-21 06:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:33:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:33:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:33:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:33:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:33:11] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:33:11] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:33:43] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:43] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:33:43] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:33:43] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:33:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:33: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-09-21 06:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:33:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:33:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:33:43] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:33:43] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:34:04] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:04] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:04] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:34:09] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:09] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:34:09] local.INFO: IMEI packet received {"connection_id":191090,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":191090,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:34:10] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:10] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:10] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:34:10] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:34: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-09-21 06:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:34: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-09-21 06:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:34:10] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:34:10] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:34:41] local.INFO: TCP Data received {"connection_id":191090,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191090,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:41] local.INFO: Processing buffer {"connection_id":191090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:34:41] local.INFO: Packet analysis {"connection_id":191090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:34:41] local.INFO: Extracted packet for processing {"connection_id":191090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:34: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-09-21 06:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191090,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":191090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:34:41] local.INFO: GPS data processed {"connection_id":191090,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:34:41] local.INFO: Acknowledgment sent {"connection_id":191090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:35:03] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:03] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:03] local.INFO: IMEI packet received {"connection_id":189781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":189781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:35:09] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:09] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:35:09] local.INFO: IMEI packet received {"connection_id":189781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":189781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:35:11] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:11] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:11] local.INFO: Packet analysis {"connection_id":189781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:35:11] local.INFO: Extracted packet for processing {"connection_id":189781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:35:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:35:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:35: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-09-21 06:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:35:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:35:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":189781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:35:11] local.INFO: GPS data processed {"connection_id":189781,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:35:11] local.INFO: Acknowledgment sent {"connection_id":189781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:35:36] local.INFO: TCP Data received {"connection_id":189782,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189782,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:35:36] local.INFO: Processing buffer {"connection_id":189782,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:35:36] local.INFO: IMEI packet received {"connection_id":189782,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":189782,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:35:42] local.INFO: TCP Data received {"connection_id":189781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:42] local.INFO: Processing buffer {"connection_id":189781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:35:42] local.INFO: Packet analysis {"connection_id":189781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:35:42] local.INFO: Extracted packet for processing {"connection_id":189781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:35: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-09-21 06:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:35: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-09-21 06:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:35: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-09-21 06:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":189781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:35:42] local.INFO: GPS data processed {"connection_id":189781,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:35:42] local.INFO: Acknowledgment sent {"connection_id":189781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:36:09] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:09] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:09] local.INFO: IMEI packet received {"connection_id":189783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:36:14] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:14] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:36:14] local.INFO: IMEI packet received {"connection_id":189783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:36:15] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:15] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:15] local.INFO: Packet analysis {"connection_id":189783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:36:15] local.INFO: Extracted packet for processing {"connection_id":189783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:36:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:36:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36: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-09-21 06:36:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:36:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:36:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:36:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:36:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:36:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:36:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:36:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:36:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:36:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:36:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:36:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:36:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:36:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:36:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:36:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:36:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:36:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:36:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:36:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:36:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:36:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:36:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:36:15] local.INFO: DEBUG: GPS processor result {"connection_id":189783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:36:15] local.INFO: GPS data processed {"connection_id":189783,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:36:15] local.INFO: Acknowledgment sent {"connection_id":189783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:36:19] local.INFO: TCP Data received {"connection_id":189783,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:19] local.INFO: Processing buffer {"connection_id":189783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17b62a0012d34bdc006aa40f8000c000c28..."} 
[2026-09-21 06:36:19] local.INFO: Packet analysis {"connection_id":189783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:36:19] local.INFO: Extracted packet for processing {"connection_id":189783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17b"} 
[2026-09-21 06:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":12,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227758848001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789952484000,"timestamp_ms":1789952484000,"timestamp_seconds":1789952484,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17b62a0"} 
[2026-09-21 06:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 06:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227758848001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227758848001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227758848001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":189783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:36:19] local.INFO: GPS data processed {"connection_id":189783,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:36:19] local.INFO: Acknowledgment sent {"connection_id":189783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:36:21] local.INFO: TCP Data received {"connection_id":189784,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:36:21] local.INFO: Processing buffer {"connection_id":189784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:36:21] local.INFO: IMEI packet received {"connection_id":189784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":189784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:37:03] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:37:03] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:03] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:37:10] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:10] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:37:10] local.INFO: IMEI packet received {"connection_id":188469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":188469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:37:11] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:11] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:11] local.INFO: Packet analysis {"connection_id":188469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:37:11] local.INFO: Extracted packet for processing {"connection_id":188469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:37:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:37:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:37:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:37:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:37:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":188469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:37:11] local.INFO: GPS data processed {"connection_id":188469,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:37:11] local.INFO: Acknowledgment sent {"connection_id":188469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:37:42] local.INFO: TCP Data received {"connection_id":188469,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:42] local.INFO: Processing buffer {"connection_id":188469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:37:42] local.INFO: Packet analysis {"connection_id":188469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:37:42] local.INFO: Extracted packet for processing {"connection_id":188469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:37:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:37:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:37:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:37:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:37:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:37:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:37:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:37: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-09-21 06:37:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:37:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:37:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:37:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:37:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:37:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:37: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-09-21 06:37:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:37:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:37:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:37:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:37:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:37:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:37:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:37:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:37:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:37:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:37:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:37:43] local.INFO: DEBUG: GPS processor result {"connection_id":188469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:37:43] local.INFO: GPS data processed {"connection_id":188469,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:37:43] local.INFO: Acknowledgment sent {"connection_id":188469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:38:04] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:04] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:04] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:38:09] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:09] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:38:09] local.INFO: IMEI packet received {"connection_id":191091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":191091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:38:10] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:10] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:10] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:38:10] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:38: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-09-21 06: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-09-21 06:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:38:10] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:38:10] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:38:41] local.INFO: TCP Data received {"connection_id":191091,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:41] local.INFO: Processing buffer {"connection_id":191091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:38:41] local.INFO: Packet analysis {"connection_id":191091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:38:41] local.INFO: Extracted packet for processing {"connection_id":191091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:38: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-09-21 06: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-09-21 06:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:38: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-09-21 06:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:38:41] local.INFO: GPS data processed {"connection_id":191091,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:38:41] local.INFO: Acknowledgment sent {"connection_id":191091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:39:04] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:04] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:04] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:39:09] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:09] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:39:09] local.INFO: IMEI packet received {"connection_id":188323,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188323,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:39:10] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:10] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:10] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:39:10] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:39:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:39:10] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:39:10] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:39:41] local.INFO: TCP Data received {"connection_id":188323,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:41] local.INFO: Processing buffer {"connection_id":188323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:39:41] local.INFO: Packet analysis {"connection_id":188323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:39:41] local.INFO: Extracted packet for processing {"connection_id":188323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:39: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-09-21 06:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:39: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-09-21 06:39: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-09-21 06:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188323,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:39:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":188323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:39:41] local.INFO: GPS data processed {"connection_id":188323,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:39:41] local.INFO: Acknowledgment sent {"connection_id":188323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:40:04] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:04] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:04] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:40:04] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:40:09] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:09] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:40:09] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:40:10] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:10] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:10] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:40:10] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:40: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-09-21 06: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-09-21 06:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:40: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-09-21 06:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:40:10] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:40:10] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:40:42] local.INFO: TCP Data received {"connection_id":188472,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:42] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:40:42] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:40:42] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:40:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:40: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-09-21 06: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-09-21 06:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:40:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:40:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:40:42] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:40:42] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:41:04] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:04] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:04] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:41:09] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:09] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:41:09] local.INFO: IMEI packet received {"connection_id":188324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:41:10] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:10] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:10] local.INFO: Packet analysis {"connection_id":188324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:41:10] local.INFO: Extracted packet for processing {"connection_id":188324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:41: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-09-21 06: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-09-21 06:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:41: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-09-21 06:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":188324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:41:10] local.INFO: GPS data processed {"connection_id":188324,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:41:10] local.INFO: Acknowledgment sent {"connection_id":188324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:41:41] local.INFO: TCP Data received {"connection_id":188324,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:41] local.INFO: Processing buffer {"connection_id":188324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c17ffa68012d34bdc006aa40f80006000c27..."} 
[2026-09-21 06:41:41] local.INFO: Packet analysis {"connection_id":188324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:41:41] local.INFO: Extracted packet for processing {"connection_id":188324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c17f"} 
[2026-09-21 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227835904001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789952785000,"timestamp_ms":1789952785000,"timestamp_seconds":1789952785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c17ffa68"} 
[2026-09-21 06:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:41: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-09-21 06: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-09-21 06:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227835904001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227835904001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227835904001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":188324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:41:41] local.INFO: GPS data processed {"connection_id":188324,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:41:41] local.INFO: Acknowledgment sent {"connection_id":188324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:41:51] local.INFO: TCP Data received {"connection_id":189787,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:41:51] local.INFO: Processing buffer {"connection_id":189787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:41:51] local.INFO: IMEI packet received {"connection_id":189787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":189787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:42:03] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:03] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:03] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:42:04] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:04] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:04] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:42:09] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:09] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:42:09] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:42:10] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:10] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:10] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:42:10] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:42: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-09-21 06:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:42: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-09-21 06:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:42:10] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:42:10] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:42:16] local.INFO: TCP Data received {"connection_id":191092,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191092,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:42:16] local.INFO: Processing buffer {"connection_id":191092,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:42:16] local.INFO: IMEI packet received {"connection_id":191092,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":191092,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:42:41] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:41] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:42:41] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:42:41] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:42: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-09-21 06:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:42:41] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:42:41] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:43:04] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:04] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:04] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:43:10] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:10] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:43:10] local.INFO: IMEI packet received {"connection_id":191093,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":191093,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:43:11] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:11] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:11] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:43:11] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:43:11] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:43:11] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:43:43] local.INFO: TCP Data received {"connection_id":191093,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:43] local.INFO: Processing buffer {"connection_id":191093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:43:43] local.INFO: Packet analysis {"connection_id":191093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:43:43] local.INFO: Extracted packet for processing {"connection_id":191093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:43:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191093,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:43:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":191093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:43:43] local.INFO: GPS data processed {"connection_id":191093,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:43:43] local.INFO: Acknowledgment sent {"connection_id":191093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:44:04] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:04] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:04] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:44:04] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:44:10] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:10] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:44:10] local.INFO: IMEI packet received {"connection_id":191094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":191094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:44:11] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:11] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:11] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:44:11] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:44:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:44:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:44:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:44:11] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:44:11] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:44:42] local.INFO: TCP Data received {"connection_id":191094,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191094,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:42] local.INFO: Processing buffer {"connection_id":191094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:44:42] local.INFO: Packet analysis {"connection_id":191094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:44:42] local.INFO: Extracted packet for processing {"connection_id":191094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:44: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-09-21 06: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-09-21 06:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:44: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-09-21 06:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":191094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:44:42] local.INFO: GPS data processed {"connection_id":191094,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:44:42] local.INFO: Acknowledgment sent {"connection_id":191094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:45:04] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:04] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:04] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:45:10] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:10] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:45:10] local.INFO: IMEI packet received {"connection_id":191095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":191095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:45:10] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:10] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:10] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:45:10] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:45:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:45:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:45:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:45:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:45:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:45:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:45:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:45: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-09-21 06: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-09-21 06:45:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:45:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:45:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:45:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:45:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:45: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-09-21 06:45:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:45:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:45:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:45:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:45:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:45:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:45:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:45:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:45:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:45:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:45:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:45:10] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:45:10] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:45:10] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:45:42] local.INFO: TCP Data received {"connection_id":191095,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:42] local.INFO: Processing buffer {"connection_id":191095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:45:42] local.INFO: Packet analysis {"connection_id":191095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:45:42] local.INFO: Extracted packet for processing {"connection_id":191095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:45: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-09-21 06: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-09-21 06:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:45: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-09-21 06:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":191095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:45:42] local.INFO: GPS data processed {"connection_id":191095,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:45:42] local.INFO: Acknowledgment sent {"connection_id":191095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:46:03] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:03] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:03] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:46:09] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:09] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:46:09] local.INFO: IMEI packet received {"connection_id":191096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":191096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:46:10] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:10] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:10] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:46:10] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 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-09-21 06:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:46: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-09-21 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-09-21 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-09-21 06:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:46: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-09-21 06:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:46:10] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:46:10] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:46:41] local.INFO: TCP Data received {"connection_id":191096,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:41] local.INFO: Processing buffer {"connection_id":191096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1849230012d34bdc006aa40f80007000c28..."} 
[2026-09-21 06:46:41] local.INFO: Packet analysis {"connection_id":191096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:46:41] local.INFO: Extracted packet for processing {"connection_id":191096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c184"} 
[2026-09-21 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227912960001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953086000,"timestamp_ms":1789953086000,"timestamp_seconds":1789953086,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1849230"} 
[2026-09-21 06:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:46:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:46: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-09-21 06:46:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227912960001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227912960001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227912960001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":191096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:46:41] local.INFO: GPS data processed {"connection_id":191096,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:46:41] local.INFO: Acknowledgment sent {"connection_id":191096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:47:03] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:03] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:03] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:47:04] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:04] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:04] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:47:09] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:09] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:47:09] local.INFO: IMEI packet received {"connection_id":188476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:47:11] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:11] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:11] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:47:11] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:47:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:47: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-09-21 06:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:47:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:47:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:47:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:47:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:47:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:47:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:47:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:47:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:47:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:47:11] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:47:11] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:47:41] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:47:41] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:47:41] local.INFO: IMEI packet received {"connection_id":188477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:47:41] local.INFO: IMEI acknowledgment sent {"connection_id":188477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:47:42] local.INFO: TCP Data received {"connection_id":188476,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:42] local.INFO: Processing buffer {"connection_id":188476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:47:42] local.INFO: Packet analysis {"connection_id":188476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:47:42] local.INFO: Extracted packet for processing {"connection_id":188476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:47: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-09-21 06: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-09-21 06:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:47: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-09-21 06:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":188476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:47:42] local.INFO: GPS data processed {"connection_id":188476,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:47:42] local.INFO: Acknowledgment sent {"connection_id":188476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:48:04] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:04] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:04] local.INFO: IMEI packet received {"connection_id":189789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":189789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:48:09] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:09] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:48:09] local.INFO: IMEI packet received {"connection_id":189789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:48:10] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:10] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:10] local.INFO: Packet analysis {"connection_id":189789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:48:10] local.INFO: Extracted packet for processing {"connection_id":189789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06: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-09-21 06:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:48: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-09-21 06:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:48:10] local.INFO: GPS data processed {"connection_id":189789,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:48:10] local.INFO: Acknowledgment sent {"connection_id":189789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:48:16] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:48:16] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:48:16] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:48:41] local.INFO: TCP Data received {"connection_id":189789,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:41] local.INFO: Processing buffer {"connection_id":189789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:48:41] local.INFO: Packet analysis {"connection_id":189789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:48:41] local.INFO: Extracted packet for processing {"connection_id":189789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06: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-09-21 06: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-09-21 06:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":189789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:48:41] local.INFO: GPS data processed {"connection_id":189789,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:48:41] local.INFO: Acknowledgment sent {"connection_id":189789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:49:04] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:04] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:04] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:49:10] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:10] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:49:10] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:49:10] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:10] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:10] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:49:10] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 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-09-21 06:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:49: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-09-21 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-09-21 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-09-21 06:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:49: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-09-21 06:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:49:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:49:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:49:11] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:49:11] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:49:42] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:42] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:49:42] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:49:42] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:49:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:49:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:49: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-09-21 06:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:49:42] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:49:42] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:50:04] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:04] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:04] local.INFO: IMEI packet received {"connection_id":191097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":191097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:50:09] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:09] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:50:09] local.INFO: IMEI packet received {"connection_id":191097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":191097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:50:10] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:10] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:10] local.INFO: Packet analysis {"connection_id":191097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:50:10] local.INFO: Extracted packet for processing {"connection_id":191097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 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-09-21 06:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 06:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:50: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-09-21 06:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":191097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:50:10] local.INFO: GPS data processed {"connection_id":191097,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:50:10] local.INFO: Acknowledgment sent {"connection_id":191097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:50:41] local.INFO: TCP Data received {"connection_id":191097,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191097,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:41] local.INFO: Processing buffer {"connection_id":191097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:50:41] local.INFO: Packet analysis {"connection_id":191097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:50:41] local.INFO: Extracted packet for processing {"connection_id":191097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06: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-09-21 06:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":191097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:50:41] local.INFO: GPS data processed {"connection_id":191097,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:50:41] local.INFO: Acknowledgment sent {"connection_id":191097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:51:03] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:03] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:03] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:51:09] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:09] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:51:09] local.INFO: IMEI packet received {"connection_id":191099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":191099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:51:10] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:10] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:10] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:51:10] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 06:51: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-09-21 06:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:51:10] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:51:10] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:51:41] local.INFO: TCP Data received {"connection_id":191099,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:41] local.INFO: Processing buffer {"connection_id":191099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18929f8012d34bdc006aa40f80008000c29..."} 
[2026-09-21 06:51:41] local.INFO: Packet analysis {"connection_id":191099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:51:41] local.INFO: Extracted packet for processing {"connection_id":191099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c189"} 
[2026-09-21 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":8,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458227990016001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:51: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-09-21 06:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953387000,"timestamp_ms":1789953387000,"timestamp_seconds":1789953387,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18929f8"} 
[2026-09-21 06:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:51: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-09-21 06:51: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-09-21 06:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458227990016001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458227990016001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458227990016001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":191099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:51:41] local.INFO: GPS data processed {"connection_id":191099,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:51:41] local.INFO: Acknowledgment sent {"connection_id":191099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:52:04] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:04] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:04] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:52:04] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:52:06] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:06] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:06] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:52:09] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:09] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:52:09] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:52:10] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:10] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:10] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:52:10] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 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-09-21 06:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:52: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-09-21 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-09-21 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-09-21 06:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:52: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-09-21 06:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:52:10] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:52:10] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:52:41] local.INFO: TCP Data received {"connection_id":188480,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:41] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:52:41] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:52:41] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06: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-09-21 06: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-09-21 06:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 06:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:52:41] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:52:41] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:53:04] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:04] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:04] local.INFO: IMEI packet received {"connection_id":189791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":189791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:53:09] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:09] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:53:09] local.INFO: IMEI packet received {"connection_id":189791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":189791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:53:10] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:10] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:10] local.INFO: Packet analysis {"connection_id":189791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:53:10] local.INFO: Extracted packet for processing {"connection_id":189791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:53: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-09-21 06: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-09-21 06:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":189791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:53:10] local.INFO: GPS data processed {"connection_id":189791,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:53:10] local.INFO: Acknowledgment sent {"connection_id":189791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:53:36] local.INFO: TCP Data received {"connection_id":191100,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:53:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:53:36] local.INFO: Processing buffer {"connection_id":191100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:53:36] local.INFO: IMEI packet received {"connection_id":191100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:53:36] local.INFO: IMEI acknowledgment sent {"connection_id":191100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:53:42] local.INFO: TCP Data received {"connection_id":189791,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:42] local.INFO: Processing buffer {"connection_id":189791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:53:42] local.INFO: Packet analysis {"connection_id":189791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:53:42] local.INFO: Extracted packet for processing {"connection_id":189791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:53:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06: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-09-21 06:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":189791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:53:42] local.INFO: GPS data processed {"connection_id":189791,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:53:42] local.INFO: Acknowledgment sent {"connection_id":189791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:54:05] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:05] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:05] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:54:09] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:09] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:54:09] local.INFO: IMEI packet received {"connection_id":188328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:54:10] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:10] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:10] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:54:10] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 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-09-21 06:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06: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-09-21 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-09-21 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-09-21 06:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:54: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-09-21 06:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:54:10] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:54:10] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:54:16] local.INFO: TCP Data received {"connection_id":191101,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:54:16] local.INFO: Processing buffer {"connection_id":191101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:54:16] local.INFO: IMEI packet received {"connection_id":191101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":191101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:54:41] local.INFO: TCP Data received {"connection_id":188328,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:41] local.INFO: Processing buffer {"connection_id":188328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:54:41] local.INFO: Packet analysis {"connection_id":188328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:54:41] local.INFO: Extracted packet for processing {"connection_id":188328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:54: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-09-21 06:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:54: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-09-21 06:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:54: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-09-21 06:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:54:41] local.INFO: GPS data processed {"connection_id":188328,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:54:41] local.INFO: Acknowledgment sent {"connection_id":188328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:55:04] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:04] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:04] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:55:10] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:10] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:55:10] local.INFO: IMEI packet received {"connection_id":188329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":188329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:55:11] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:11] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:11] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:55:11] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:55:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:55:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:55:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:55:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:55:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:55:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:55:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:55:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:55:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:55:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:55:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:55:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:55:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:55:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:55: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-09-21 06:55:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:55:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:55:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:55:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:55:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:55:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:55:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:55:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:55:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:55:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:55:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:55:11] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:55:11] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:55:11] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:55:42] local.INFO: TCP Data received {"connection_id":188329,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:42] local.INFO: Processing buffer {"connection_id":188329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:55:42] local.INFO: Packet analysis {"connection_id":188329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:55:42] local.INFO: Extracted packet for processing {"connection_id":188329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:55: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-09-21 06:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:55: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-09-21 06:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:55: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-09-21 06:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":188329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:55:42] local.INFO: GPS data processed {"connection_id":188329,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:55:42] local.INFO: Acknowledgment sent {"connection_id":188329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:56:04] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:04] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:04] local.INFO: IMEI packet received {"connection_id":189792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:56:04] local.INFO: IMEI acknowledgment sent {"connection_id":189792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:56:09] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:09] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:56:09] local.INFO: IMEI packet received {"connection_id":189792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":189792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:56:10] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:10] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:10] local.INFO: Packet analysis {"connection_id":189792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:56:10] local.INFO: Extracted packet for processing {"connection_id":189792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:56: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-09-21 06:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:56: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-09-21 06:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":189792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:56:10] local.INFO: GPS data processed {"connection_id":189792,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:56:10] local.INFO: Acknowledgment sent {"connection_id":189792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:56:42] local.INFO: TCP Data received {"connection_id":189792,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:42] local.INFO: Processing buffer {"connection_id":189792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c18dc1c0012d34bdc006aa40f80004000c28..."} 
[2026-09-21 06:56:42] local.INFO: Packet analysis {"connection_id":189792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:56:42] local.INFO: Extracted packet for processing {"connection_id":189792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c18d"} 
[2026-09-21 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228067072001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:56: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-09-21 06:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953688000,"timestamp_ms":1789953688000,"timestamp_seconds":1789953688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c18dc1c0"} 
[2026-09-21 06:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 06:56: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-09-21 06:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:56: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-09-21 06:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228067072001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228067072001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228067072001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":189792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:56:42] local.INFO: GPS data processed {"connection_id":189792,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:56:42] local.INFO: Acknowledgment sent {"connection_id":189792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:57:04] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:04] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:04] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:57:07] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:07] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:07] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:57:09] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:09] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:57:09] local.INFO: IMEI packet received {"connection_id":191104,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":191104,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:57:10] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:10] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:10] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:10] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 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-09-21 06:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 06:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57: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-09-21 06:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:57:10] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:57:10] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:57:14] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:14] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:14] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:14] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 06:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:57: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-09-21 06:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:57:14] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:57:14] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:57:46] local.INFO: TCP Data received {"connection_id":191104,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:46] local.INFO: Processing buffer {"connection_id":191104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:57:46] local.INFO: Packet analysis {"connection_id":191104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:46] local.INFO: Extracted packet for processing {"connection_id":191104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:57:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 06:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:57:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:57: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-09-21 06: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-09-21 06:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191104,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:57: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-09-21 06:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:57:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:57:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":191104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:57:46] local.INFO: GPS data processed {"connection_id":191104,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:57:46] local.INFO: Acknowledgment sent {"connection_id":191104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:58:09] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:09] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:09] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:58:14] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:14] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:58:14] local.INFO: IMEI packet received {"connection_id":191105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":191105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:58:15] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:15] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:15] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:58:15] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58: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-09-21 06:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 06:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:58:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:58:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:58:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:58:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:58:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:58:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:58:15] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:58:15] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:58:15] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:58:19] local.INFO: TCP Data received {"connection_id":191105,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:19] local.INFO: Processing buffer {"connection_id":191105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:58:19] local.INFO: Packet analysis {"connection_id":191105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:58:19] local.INFO: Extracted packet for processing {"connection_id":191105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 06:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 06:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 06:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 06:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 06:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":191105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:58:19] local.INFO: GPS data processed {"connection_id":191105,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:58:19] local.INFO: Acknowledgment sent {"connection_id":191105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:59:04] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:04] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:04] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 06:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 06:59:09] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:09] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 06:59:09] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 06:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 06:59:10] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:10] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:10] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:59:10] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 06:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 06:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 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-09-21 06:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 06:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 06:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:59:10] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:59:10] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:59:42] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:42] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 06:59:42] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:59:42] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 06: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-09-21 06:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 06:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 06:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 06: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-09-21 06:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 06:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 06:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 06: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 06:59: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-09-21 06: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-09-21 06:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 06:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 06:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 06:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 06:59: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-09-21 06:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 06:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 06:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 06:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 06:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 06:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 06:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 06:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 06:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 06:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 06:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 06:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 06:59:42] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-21 06:59:42] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 06:59:46] local.INFO: TCP Data received {"connection_id":189794,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:59:46] local.INFO: Processing buffer {"connection_id":189794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 06:59:46] local.INFO: IMEI packet received {"connection_id":189794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 06:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":189794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:00:03] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:03] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:03] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:00:09] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:09] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:00:09] local.INFO: IMEI packet received {"connection_id":191107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":191107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:00:10] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:10] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:10] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:00:10] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 07:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:00: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-09-21 07:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:00:10] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:00:10] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:00:16] local.INFO: TCP Data received {"connection_id":188482,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188482,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:00:16] local.INFO: Processing buffer {"connection_id":188482,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:00:16] local.INFO: IMEI packet received {"connection_id":188482,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":188482,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:00:41] local.INFO: TCP Data received {"connection_id":191107,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:41] local.INFO: Processing buffer {"connection_id":191107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:00:41] local.INFO: Packet analysis {"connection_id":191107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:00:41] local.INFO: Extracted packet for processing {"connection_id":191107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 07:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:00: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-09-21 07:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:00: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-09-21 07:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":191107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:00:41] local.INFO: GPS data processed {"connection_id":191107,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:00:41] local.INFO: Acknowledgment sent {"connection_id":191107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:01:04] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:04] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:04] local.INFO: IMEI packet received {"connection_id":189795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":189795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:01:09] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:09] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:01:09] local.INFO: IMEI packet received {"connection_id":189795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:01:10] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:10] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:10] local.INFO: Packet analysis {"connection_id":189795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:01:10] local.INFO: Extracted packet for processing {"connection_id":189795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 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-09-21 07:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":189795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:01:10] local.INFO: GPS data processed {"connection_id":189795,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:01:10] local.INFO: Acknowledgment sent {"connection_id":189795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:01:42] local.INFO: TCP Data received {"connection_id":189795,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:42] local.INFO: Processing buffer {"connection_id":189795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1925988012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:01:42] local.INFO: Packet analysis {"connection_id":189795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:01:42] local.INFO: Extracted packet for processing {"connection_id":189795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c192"} 
[2026-09-21 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228144128001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789953989000,"timestamp_ms":1789953989000,"timestamp_seconds":1789953989,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1925988"} 
[2026-09-21 07:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:01: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-09-21 07: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-09-21 07:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:01: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-09-21 07:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228144128001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228144128001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228144128001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":189795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:01:42] local.INFO: GPS data processed {"connection_id":189795,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:01:42] local.INFO: Acknowledgment sent {"connection_id":189795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:02:03] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:03] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:03] local.INFO: IMEI packet received {"connection_id":189796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":189796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:02:08] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:08] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:02:08] local.INFO: IMEI packet received {"connection_id":189796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:02:09] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:09] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:09] local.INFO: Packet analysis {"connection_id":189796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:02:09] local.INFO: Extracted packet for processing {"connection_id":189796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:02:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":189796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:02:09] local.INFO: GPS data processed {"connection_id":189796,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:02:09] local.INFO: Acknowledgment sent {"connection_id":189796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:02:41] local.INFO: TCP Data received {"connection_id":189796,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:41] local.INFO: Processing buffer {"connection_id":189796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:02:41] local.INFO: Packet analysis {"connection_id":189796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:02:41] local.INFO: Extracted packet for processing {"connection_id":189796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":189796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:02:41] local.INFO: GPS data processed {"connection_id":189796,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:02:41] local.INFO: Acknowledgment sent {"connection_id":189796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:03:04] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:04] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:04] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:03:09] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:09] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:03:09] local.INFO: IMEI packet received {"connection_id":188330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":188330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:03:10] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:10] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:10] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:03:10] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 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-09-21 07:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:03: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-09-21 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-09-21 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-09-21 07:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:03: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-09-21 07:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:03:10] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:03:10] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:03:42] local.INFO: TCP Data received {"connection_id":188330,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188330,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:42] local.INFO: Processing buffer {"connection_id":188330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:03:42] local.INFO: Packet analysis {"connection_id":188330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:03:42] local.INFO: Extracted packet for processing {"connection_id":188330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:03:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:03:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:03:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:03:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:03:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:03:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:03:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:03:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:03: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-09-21 07:03:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:03:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:03:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:03:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:03:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:03:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:03:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:03:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:03:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:03:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:03:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:03:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:03:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:03:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:03:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:03:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:03:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:03:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:03:42] local.INFO: DEBUG: GPS processor result {"connection_id":188330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:03:42] local.INFO: GPS data processed {"connection_id":188330,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:03:42] local.INFO: Acknowledgment sent {"connection_id":188330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:04:03] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:03] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:03] local.INFO: IMEI packet received {"connection_id":189798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":189798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:04:09] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:09] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:04:09] local.INFO: IMEI packet received {"connection_id":189798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:04:10] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:10] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:10] local.INFO: Packet analysis {"connection_id":189798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:04:10] local.INFO: Extracted packet for processing {"connection_id":189798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 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-09-21 07:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:04: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-09-21 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-09-21 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-09-21 07:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:04: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-09-21 07:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":189798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:04:10] local.INFO: GPS data processed {"connection_id":189798,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:04:10] local.INFO: Acknowledgment sent {"connection_id":189798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:04:41] local.INFO: TCP Data received {"connection_id":189798,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:41] local.INFO: Processing buffer {"connection_id":189798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:04:41] local.INFO: Packet analysis {"connection_id":189798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:04:41] local.INFO: Extracted packet for processing {"connection_id":189798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":189798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:04:41] local.INFO: GPS data processed {"connection_id":189798,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:04:41] local.INFO: Acknowledgment sent {"connection_id":189798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:05:04] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:04] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:04] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:05:09] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:09] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:05:09] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:05:11] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:11] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:11] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:05:11] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:05:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:05:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:05:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:05:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:05:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:05:11] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:05:11] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:05:43] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:43] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:05:43] local.INFO: Packet analysis {"connection_id":188485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:05:43] local.INFO: Extracted packet for processing {"connection_id":188485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 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-09-21 07:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:05:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:05:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:05:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:05:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:05:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:05:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:05:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:05:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:05:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:05:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":188485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:05:43] local.INFO: GPS data processed {"connection_id":188485,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:05:43] local.INFO: Acknowledgment sent {"connection_id":188485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:05:46] local.INFO: TCP Data received {"connection_id":191109,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191109,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:05:46] local.INFO: Processing buffer {"connection_id":191109,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:05:46] local.INFO: IMEI packet received {"connection_id":191109,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":191109,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:06:03] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:03] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:03] local.INFO: IMEI packet received {"connection_id":189799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":189799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:06:09] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:09] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:06:09] local.INFO: IMEI packet received {"connection_id":189799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":189799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:06:10] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:10] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:10] local.INFO: Packet analysis {"connection_id":189799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:06:10] local.INFO: Extracted packet for processing {"connection_id":189799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:06: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-09-21 07: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-09-21 07:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":189799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:06:10] local.INFO: GPS data processed {"connection_id":189799,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:06:10] local.INFO: Acknowledgment sent {"connection_id":189799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:06:16] local.INFO: TCP Data received {"connection_id":191110,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191110,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:06:16] local.INFO: Processing buffer {"connection_id":191110,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:06:16] local.INFO: IMEI packet received {"connection_id":191110,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":191110,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:06:43] local.INFO: TCP Data received {"connection_id":189799,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:43] local.INFO: Processing buffer {"connection_id":189799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c196f150012d34bdc006aa40f80000000c28..."} 
[2026-09-21 07:06:43] local.INFO: Packet analysis {"connection_id":189799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:06:43] local.INFO: Extracted packet for processing {"connection_id":189799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c196"} 
[2026-09-21 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789954290000,"timestamp_ms":1789954290000,"timestamp_seconds":1789954290,"priority":1,"record_length":96,"hex_timestamp":"000001a0c196f150"} 
[2026-09-21 07:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:06:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228221184001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228221184001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":189799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:06:43] local.INFO: GPS data processed {"connection_id":189799,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:06:43] local.INFO: Acknowledgment sent {"connection_id":189799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:07:04] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:04] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:04] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:07:09] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:09] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:07:09] local.INFO: IMEI packet received {"connection_id":191111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":191111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:07:11] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:11] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:11] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:07:11] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:07:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:07: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-09-21 07:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:07:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:07:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:07:11] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:07:11] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:07:42] local.INFO: TCP Data received {"connection_id":191111,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:42] local.INFO: Processing buffer {"connection_id":191111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:07:42] local.INFO: Packet analysis {"connection_id":191111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:07:42] local.INFO: Extracted packet for processing {"connection_id":191111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:07:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:07:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:07:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:07:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:07:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:07:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07: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-09-21 07: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-09-21 07:07:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:07:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:07:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:07:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:07:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:07: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-09-21 07:07:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:07:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:07:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:07:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:07:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:07:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:07:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:07:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:07:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:07:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:07:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:07:42] local.INFO: DEBUG: GPS processor result {"connection_id":191111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:07:42] local.INFO: GPS data processed {"connection_id":191111,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:07:42] local.INFO: Acknowledgment sent {"connection_id":191111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:08:03] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:03] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:03] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:08:09] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:09] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:08:09] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:08:10] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:10] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:10] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:08:10] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 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-09-21 07:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:08:10] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:08:10] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:08:41] local.INFO: TCP Data received {"connection_id":188487,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:41] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:08:41] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:08:41] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:08: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-09-21 07: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-09-21 07:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:08:41] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:08:41] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:09:04] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:04] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:04] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:09:09] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:09] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:09:09] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:09:10] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:10] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:10] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:09:10] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:09: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-09-21 07:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:09:10] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:09:10] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:09:41] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:41] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:09:41] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:09:41] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:09: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-09-21 07: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-09-21 07:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:09: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-09-21 07:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:09:41] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:09:41] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:10:03] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:03] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:03] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:10:09] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:09] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:10:09] local.INFO: IMEI packet received {"connection_id":191113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":191113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:10:10] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:10] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:10] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:10:10] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:10: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-09-21 07:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:10:10] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:10:10] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:10:43] local.INFO: TCP Data received {"connection_id":191113,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:43] local.INFO: Processing buffer {"connection_id":191113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:10:43] local.INFO: Packet analysis {"connection_id":191113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:10:43] local.INFO: Extracted packet for processing {"connection_id":191113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:10:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:10:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:10:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:10:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:10:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:10: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-09-21 07:10:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:10: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-09-21 07:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:10:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:10:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:10:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:10:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":191113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:10:43] local.INFO: GPS data processed {"connection_id":191113,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:10:43] local.INFO: Acknowledgment sent {"connection_id":191113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:11:03] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:03] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:03] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:11:09] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:09] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:11:09] local.INFO: IMEI packet received {"connection_id":188490,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188490,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:11:12] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:12] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:12] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:11:12] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:11:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:11:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:11:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:11:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:11:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:11:12] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:11:12] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:11:41] local.INFO: TCP Data received {"connection_id":188332,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:11:41] local.INFO: Processing buffer {"connection_id":188332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:11:41] local.INFO: IMEI packet received {"connection_id":188332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":188332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:11:43] local.INFO: TCP Data received {"connection_id":188490,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:43] local.INFO: Processing buffer {"connection_id":188490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:11:43] local.INFO: Packet analysis {"connection_id":188490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:11:43] local.INFO: Extracted packet for processing {"connection_id":188490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:11:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:11:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:11:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:11:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:11:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:11:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:11: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-09-21 07: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-09-21 07:11:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:11:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:11:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:11:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:11:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188490,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:11:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:11:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:11:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:11:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:11:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:11:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:11:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:11:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:11:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:11:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:11:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:11:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:11:43] local.INFO: DEBUG: GPS processor result {"connection_id":188490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:11:43] local.INFO: GPS data processed {"connection_id":188490,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:11:43] local.INFO: Acknowledgment sent {"connection_id":188490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:12:03] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:03] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:03] local.INFO: IMEI packet received {"connection_id":189800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":189800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:12:09] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:09] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:12:09] local.INFO: IMEI packet received {"connection_id":189800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":189800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:12:10] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:10] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c19b8918012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:10] local.INFO: Packet analysis {"connection_id":189800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:12:10] local.INFO: Extracted packet for processing {"connection_id":189800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c19b"} 
[2026-09-21 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228298240001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954591000,"timestamp_ms":1789954591000,"timestamp_seconds":1789954591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c19b8918"} 
[2026-09-21 07:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228298240001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228298240001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228298240001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":189800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:12:10] local.INFO: GPS data processed {"connection_id":189800,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:12:10] local.INFO: Acknowledgment sent {"connection_id":189800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:12:16] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:12:16] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:12:16] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:12:42] local.INFO: TCP Data received {"connection_id":189800,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:42] local.INFO: Processing buffer {"connection_id":189800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:12:42] local.INFO: Packet analysis {"connection_id":189800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:12:42] local.INFO: Extracted packet for processing {"connection_id":189800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:12:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:12:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:12:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:12:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:12:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:12:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:12:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:12: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-09-21 07: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-09-21 07:12:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:12:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:12:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:12:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:12:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:12:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:12:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:12:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:12:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:12:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:12:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:12:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:12:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:12:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:12:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:12:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:12:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:12:42] local.INFO: DEBUG: GPS processor result {"connection_id":189800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:12:42] local.INFO: GPS data processed {"connection_id":189800,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:12:42] local.INFO: Acknowledgment sent {"connection_id":189800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:13:04] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:04] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:04] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:13:10] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:10] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:13:10] local.INFO: IMEI packet received {"connection_id":188333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":188333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:13:10] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:10] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:10] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:13:10] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 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-09-21 07:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:13: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-09-21 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-09-21 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-09-21 07:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:13: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-09-21 07:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:13:10] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:13:10] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:13:42] local.INFO: TCP Data received {"connection_id":188333,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:42] local.INFO: Processing buffer {"connection_id":188333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:13:42] local.INFO: Packet analysis {"connection_id":188333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:13:42] local.INFO: Extracted packet for processing {"connection_id":188333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:13:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:13: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-09-21 07:13:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:13: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-09-21 07:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:13:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:13:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":188333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:13:42] local.INFO: GPS data processed {"connection_id":188333,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:13:42] local.INFO: Acknowledgment sent {"connection_id":188333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:14:04] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:04] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:04] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:14:09] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:09] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:14:09] local.INFO: IMEI packet received {"connection_id":191114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":191114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:14:10] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:10] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:10] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:14:10] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:14: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-09-21 07: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-09-21 07:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:14: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-09-21 07:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:14:10] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:14:10] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:14:41] local.INFO: TCP Data received {"connection_id":191114,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:41] local.INFO: Processing buffer {"connection_id":191114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:14:41] local.INFO: Packet analysis {"connection_id":191114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:14:41] local.INFO: Extracted packet for processing {"connection_id":191114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:14: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-09-21 07:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":191114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:14:41] local.INFO: GPS data processed {"connection_id":191114,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:14:41] local.INFO: Acknowledgment sent {"connection_id":191114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:15:03] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:03] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:03] local.INFO: IMEI packet received {"connection_id":188334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":188334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:15:10] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:10] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:15:10] local.INFO: IMEI packet received {"connection_id":188334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":188334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:15:11] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:11] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:11] local.INFO: Packet analysis {"connection_id":188334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:15:11] local.INFO: Extracted packet for processing {"connection_id":188334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:15:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:15:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:15:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:15:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:15:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:15:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:15:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:15:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:15:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:15:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:15:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:15:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:15:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:15:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:15:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:15:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:15:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:15:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:15:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:15:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:15:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:15:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:15:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:15:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:15:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:15:11] local.INFO: DEBUG: GPS processor result {"connection_id":188334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:15:11] local.INFO: GPS data processed {"connection_id":188334,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:15:11] local.INFO: Acknowledgment sent {"connection_id":188334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:15:43] local.INFO: TCP Data received {"connection_id":188334,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:43] local.INFO: Processing buffer {"connection_id":188334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:15:43] local.INFO: Packet analysis {"connection_id":188334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:15:43] local.INFO: Extracted packet for processing {"connection_id":188334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":188334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:15:43] local.INFO: GPS data processed {"connection_id":188334,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:15:43] local.INFO: Acknowledgment sent {"connection_id":188334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:16:03] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:03] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:03] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:16:09] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:09] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:16:09] local.INFO: IMEI packet received {"connection_id":191115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":191115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:16:10] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:10] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:10] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:16:10] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:16:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:16: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-09-21 07:16:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:16: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-09-21 07:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:16:10] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:16:10] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:16:42] local.INFO: TCP Data received {"connection_id":191115,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:42] local.INFO: Processing buffer {"connection_id":191115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:16:42] local.INFO: Packet analysis {"connection_id":191115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:16:42] local.INFO: Extracted packet for processing {"connection_id":191115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 07:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:16: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-09-21 07: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-09-21 07:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":191115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:16:42] local.INFO: GPS data processed {"connection_id":191115,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:16:42] local.INFO: Acknowledgment sent {"connection_id":191115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:17:04] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:04] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:04] local.INFO: IMEI packet received {"connection_id":191116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:17:09] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:09] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:17:09] local.INFO: IMEI packet received {"connection_id":191116,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":191116,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:17:10] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:17:10] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a020e0012d34bdc006aa40f80003000c28..."} 
[2026-09-21 07:17:10] local.INFO: Packet analysis {"connection_id":191116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:17:10] local.INFO: Extracted packet for processing {"connection_id":191116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a0"} 
[2026-09-21 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228375296001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789954892000,"timestamp_ms":1789954892000,"timestamp_seconds":1789954892,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a020e0"} 
[2026-09-21 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-09-21 07:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:17: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-09-21 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-09-21 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-09-21 07:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:17: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-09-21 07:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228375296001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228375296001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228375296001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:17:10] local.INFO: GPS data processed {"connection_id":191116,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:17:10] local.INFO: Acknowledgment sent {"connection_id":191116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:17:31] local.INFO: TCP Data received {"connection_id":188493,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:17:31] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:17:31] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:17:42] local.INFO: TCP Data received {"connection_id":191116,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:17:42] local.INFO: Processing buffer {"connection_id":191116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:17:42] local.INFO: Packet analysis {"connection_id":191116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:17:42] local.INFO: Extracted packet for processing {"connection_id":191116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:17: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-09-21 07: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-09-21 07:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191116,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:17: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-09-21 07:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":191116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:17:42] local.INFO: GPS data processed {"connection_id":191116,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:17:42] local.INFO: Acknowledgment sent {"connection_id":191116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:18:03] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:03] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:03] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:18:09] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:09] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:18:09] local.INFO: IMEI packet received {"connection_id":191117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":191117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:18:10] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:10] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:10] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:18:10] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:18: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-09-21 07:18:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:18:10] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:18:10] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:18:21] local.INFO: TCP Data received {"connection_id":189803,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:18:21] local.INFO: Processing buffer {"connection_id":189803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:18:21] local.INFO: IMEI packet received {"connection_id":189803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":189803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:18:42] local.INFO: TCP Data received {"connection_id":191117,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:42] local.INFO: Processing buffer {"connection_id":191117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:18:42] local.INFO: Packet analysis {"connection_id":191117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:18:42] local.INFO: Extracted packet for processing {"connection_id":191117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:18:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:18:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:18:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:18:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:18:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:18:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:18:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:18: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-09-21 07:18:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:18:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:18:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:18:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:18:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:18:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:18: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-09-21 07:18:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:18:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:18:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:18:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:18:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:18:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:18:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:18:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:18:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:18:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:18:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:18:42] local.INFO: DEBUG: GPS processor result {"connection_id":191117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:18:42] local.INFO: GPS data processed {"connection_id":191117,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:18:42] local.INFO: Acknowledgment sent {"connection_id":191117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:19:04] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:04] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:04] local.INFO: IMEI packet received {"connection_id":188337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:19:09] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:09] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:19:09] local.INFO: IMEI packet received {"connection_id":188337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:19:10] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:10] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:10] local.INFO: Packet analysis {"connection_id":188337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:19:10] local.INFO: Extracted packet for processing {"connection_id":188337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:19: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-09-21 07:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:19:10] local.INFO: GPS data processed {"connection_id":188337,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:19:10] local.INFO: Acknowledgment sent {"connection_id":188337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:19:42] local.INFO: TCP Data received {"connection_id":188337,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:42] local.INFO: Processing buffer {"connection_id":188337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:19:42] local.INFO: Packet analysis {"connection_id":188337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:19:42] local.INFO: Extracted packet for processing {"connection_id":188337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:19: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-09-21 07: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-09-21 07:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:19: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-09-21 07:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":188337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:19:42] local.INFO: GPS data processed {"connection_id":188337,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:19:42] local.INFO: Acknowledgment sent {"connection_id":188337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:20:03] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:03] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:03] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:20:09] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:09] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:20:09] local.INFO: IMEI packet received {"connection_id":188495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":188495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:20:10] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:10] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:10] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:20:10] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 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-09-21 07:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:20: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-09-21 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-09-21 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-09-21 07:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:20:10] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:20:10] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:20:41] local.INFO: TCP Data received {"connection_id":188495,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:41] local.INFO: Processing buffer {"connection_id":188495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:20:41] local.INFO: Packet analysis {"connection_id":188495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:20:41] local.INFO: Extracted packet for processing {"connection_id":188495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:20: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-09-21 07:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":188495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:20:41] local.INFO: GPS data processed {"connection_id":188495,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:20:41] local.INFO: Acknowledgment sent {"connection_id":188495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:21:03] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:03] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:03] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:21:09] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:09] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:21:09] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:21:10] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:10] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:10] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:21:10] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 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-09-21 07:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:21: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-09-21 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-09-21 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-09-21 07:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:21: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-09-21 07:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:21:10] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:21:10] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:21:41] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:41] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a4b8a8012d34bdc006aa40f80001000c28..."} 
[2026-09-21 07:21:41] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:21:41] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a4"} 
[2026-09-21 07:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228452352001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:21: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-09-21 07:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955193000,"timestamp_ms":1789955193000,"timestamp_seconds":1789955193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a4b8a8"} 
[2026-09-21 07:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228452352001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228452352001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228452352001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:21:41] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:21:41] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:22:09] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:09] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:09] local.INFO: IMEI packet received {"connection_id":191119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":191119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:22:12] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:12] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:22:12] local.INFO: IMEI packet received {"connection_id":191119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":191119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:22:13] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:13] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:13] local.INFO: Packet analysis {"connection_id":191119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:13] local.INFO: Extracted packet for processing {"connection_id":191119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:22:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":191119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:22:13] local.INFO: GPS data processed {"connection_id":191119,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:22:13] local.INFO: Acknowledgment sent {"connection_id":191119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:22:14] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:14] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:14] local.INFO: Packet analysis {"connection_id":191119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:14] local.INFO: Extracted packet for processing {"connection_id":191119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:22:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:22:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:22:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:22:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:22:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:22:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:22:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:22:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:22:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:22:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:22:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:22:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:22:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:22:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:22:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:22:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:22:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:22:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:22:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:22:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:22:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:22:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:22:14] local.INFO: DEBUG: GPS processor result {"connection_id":191119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:22:14] local.INFO: GPS data processed {"connection_id":191119,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:22:14] local.INFO: Acknowledgment sent {"connection_id":191119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:22:45] local.INFO: TCP Data received {"connection_id":191119,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:45] local.INFO: Processing buffer {"connection_id":191119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:22:45] local.INFO: Packet analysis {"connection_id":191119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:45] local.INFO: Extracted packet for processing {"connection_id":191119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:22: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-09-21 07:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:22: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-09-21 07:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:22: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-09-21 07:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":191119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:22:45] local.INFO: GPS data processed {"connection_id":191119,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:22:45] local.INFO: Acknowledgment sent {"connection_id":191119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:23:04] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:04] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:04] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:23:10] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:10] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:23:10] local.INFO: IMEI packet received {"connection_id":188497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":188497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:23:10] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:10] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:10] local.INFO: Packet analysis {"connection_id":188497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:23:10] local.INFO: Extracted packet for processing {"connection_id":188497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 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-09-21 07:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:23: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-09-21 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-09-21 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-09-21 07:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:23: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-09-21 07:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":188497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:23:10] local.INFO: GPS data processed {"connection_id":188497,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:23:10] local.INFO: Acknowledgment sent {"connection_id":188497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:23:41] local.INFO: TCP Data received {"connection_id":189805,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:23:41] local.INFO: Processing buffer {"connection_id":189805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:23:41] local.INFO: IMEI packet received {"connection_id":189805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":189805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:23:42] local.INFO: TCP Data received {"connection_id":188497,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:42] local.INFO: Processing buffer {"connection_id":188497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:23:42] local.INFO: Packet analysis {"connection_id":188497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:23:42] local.INFO: Extracted packet for processing {"connection_id":188497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:23:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:23:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:23:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:23:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:23:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:23:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:23:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:23: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-09-21 07:23:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:23:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:23:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:23:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:23:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:23:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:23: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-09-21 07:23:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:23:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:23:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:23:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:23:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:23:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:23:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:23:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:23:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:23:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:23:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:23:42] local.INFO: DEBUG: GPS processor result {"connection_id":188497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:23:42] local.INFO: GPS data processed {"connection_id":188497,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:23:42] local.INFO: Acknowledgment sent {"connection_id":188497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:24:03] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:03] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:03] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:24:09] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:09] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:24:09] local.INFO: IMEI packet received {"connection_id":191120,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":191120,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:24:10] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:10] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:10] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:24:10] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:24:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:24:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:24:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:24:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:24:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:24: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-09-21 07:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:24:10] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:24:10] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:24:16] local.INFO: TCP Data received {"connection_id":188498,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:24:16] local.INFO: Processing buffer {"connection_id":188498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:24:16] local.INFO: IMEI packet received {"connection_id":188498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":188498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:24:41] local.INFO: TCP Data received {"connection_id":191120,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191120,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:41] local.INFO: Processing buffer {"connection_id":191120,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:24:41] local.INFO: Packet analysis {"connection_id":191120,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:24:41] local.INFO: Extracted packet for processing {"connection_id":191120,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:24:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:24: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-09-21 07: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-09-21 07:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191120,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191120,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:24: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-09-21 07:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":191120,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:24:41] local.INFO: GPS data processed {"connection_id":191120,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:24:41] local.INFO: Acknowledgment sent {"connection_id":191120,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:25:03] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:03] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:03] local.INFO: IMEI packet received {"connection_id":189806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":189806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:25:09] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:09] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:25:09] local.INFO: IMEI packet received {"connection_id":189806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:25:10] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:10] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:10] local.INFO: Packet analysis {"connection_id":189806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:25:10] local.INFO: Extracted packet for processing {"connection_id":189806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:25: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-09-21 07: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-09-21 07:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:25: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-09-21 07:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":189806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:25:10] local.INFO: GPS data processed {"connection_id":189806,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:25:10] local.INFO: Acknowledgment sent {"connection_id":189806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:25:41] local.INFO: TCP Data received {"connection_id":189806,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:41] local.INFO: Processing buffer {"connection_id":189806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:25:41] local.INFO: Packet analysis {"connection_id":189806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:25:41] local.INFO: Extracted packet for processing {"connection_id":189806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:25: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-09-21 07:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:25: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-09-21 07:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:25: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-09-21 07:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":189806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:25:41] local.INFO: GPS data processed {"connection_id":189806,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:25:41] local.INFO: Acknowledgment sent {"connection_id":189806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:26:03] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:03] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:03] local.INFO: IMEI packet received {"connection_id":191122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:26:09] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:09] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:26:09] local.INFO: IMEI packet received {"connection_id":191122,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":191122,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:26:10] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:10] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:10] local.INFO: Packet analysis {"connection_id":191122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:26:10] local.INFO: Extracted packet for processing {"connection_id":191122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 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-09-21 07:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:26: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-09-21 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-09-21 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-09-21 07:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:26: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-09-21 07:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":191122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:26:10] local.INFO: GPS data processed {"connection_id":191122,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:26:10] local.INFO: Acknowledgment sent {"connection_id":191122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:26:41] local.INFO: TCP Data received {"connection_id":191122,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:41] local.INFO: Processing buffer {"connection_id":191122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:26:41] local.INFO: Packet analysis {"connection_id":191122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:26:41] local.INFO: Extracted packet for processing {"connection_id":191122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:26: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-09-21 07:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 07:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07:26: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-09-21 07:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191122,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":191122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:26:41] local.INFO: GPS data processed {"connection_id":191122,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:26:41] local.INFO: Acknowledgment sent {"connection_id":191122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:27:03] local.INFO: TCP Data received {"connection_id":188339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:03] local.INFO: Processing buffer {"connection_id":188339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:03] local.INFO: IMEI packet received {"connection_id":188339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":188339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:27:09] local.INFO: TCP Data received {"connection_id":188339,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:09] local.INFO: Processing buffer {"connection_id":188339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:27:09] local.INFO: IMEI packet received {"connection_id":188339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":188339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:27:10] local.INFO: TCP Data received {"connection_id":188339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:27:10] local.INFO: Processing buffer {"connection_id":188339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1a95070012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 07:27:10] local.INFO: Packet analysis {"connection_id":188339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:27:10] local.INFO: Extracted packet for processing {"connection_id":188339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1a9"} 
[2026-09-21 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228529408001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955494000,"timestamp_ms":1789955494000,"timestamp_seconds":1789955494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1a95070"} 
[2026-09-21 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-09-21 07:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 07: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-09-21 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-09-21 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-09-21 07:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:27: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-09-21 07:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228529408001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228529408001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228529408001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":188339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:27:10] local.INFO: GPS data processed {"connection_id":188339,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:27:10] local.INFO: Acknowledgment sent {"connection_id":188339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:27:40] local.INFO: TCP Data received {"connection_id":188339,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:27:40] local.INFO: Processing buffer {"connection_id":188339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:27:40] local.INFO: Packet analysis {"connection_id":188339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:27:40] local.INFO: Extracted packet for processing {"connection_id":188339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:27:41] local.INFO: GPS data processed {"connection_id":188339,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:27:41] local.INFO: Acknowledgment sent {"connection_id":188339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:28:03] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:03] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:03] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:28:09] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:09] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:28:09] local.INFO: IMEI packet received {"connection_id":191123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":191123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:28:10] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:10] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:10] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:28:10] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:28: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-09-21 07: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-09-21 07:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:28: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-09-21 07:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:28:10] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:28:10] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:28:41] local.INFO: TCP Data received {"connection_id":191123,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:41] local.INFO: Processing buffer {"connection_id":191123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:28:41] local.INFO: Packet analysis {"connection_id":191123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:28:41] local.INFO: Extracted packet for processing {"connection_id":191123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:28: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-09-21 07:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:28: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-09-21 07:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":191123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:28:41] local.INFO: GPS data processed {"connection_id":191123,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:28:41] local.INFO: Acknowledgment sent {"connection_id":191123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:29:04] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:04] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:04] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:29:04] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:29:09] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:09] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:29:09] local.INFO: IMEI packet received {"connection_id":188342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":188342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:29:10] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:10] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:10] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:29:10] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:29: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-09-21 07: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-09-21 07:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:29: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-09-21 07:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:29:10] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:29:10] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:29:41] local.INFO: TCP Data received {"connection_id":188342,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188342,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:41] local.INFO: Processing buffer {"connection_id":188342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:29:41] local.INFO: Packet analysis {"connection_id":188342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:29:41] local.INFO: Extracted packet for processing {"connection_id":188342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:29: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-09-21 07: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-09-21 07:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:29: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-09-21 07:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":188342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:29:41] local.INFO: GPS data processed {"connection_id":188342,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:29:41] local.INFO: Acknowledgment sent {"connection_id":188342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:29:46] local.INFO: TCP Data received {"connection_id":188499,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:29:46] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:29:46] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:30:03] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:03] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:03] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:30:09] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:09] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:30:09] local.INFO: IMEI packet received {"connection_id":191124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":191124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:30:10] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:10] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:10] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:30:10] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:30: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-09-21 07:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:30: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-09-21 07:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:30:10] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:30:10] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:30:16] local.INFO: TCP Data received {"connection_id":188500,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:30:16] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:30:16] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:30:42] local.INFO: TCP Data received {"connection_id":191124,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:42] local.INFO: Processing buffer {"connection_id":191124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:30:42] local.INFO: Packet analysis {"connection_id":191124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:30:42] local.INFO: Extracted packet for processing {"connection_id":191124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:30:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:30:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:30:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:30: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-09-21 07:30:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:30:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:30:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:30:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:30:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:30:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:30:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:30:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:30:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:30:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:30:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:30: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-09-21 07:30:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:30:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:30:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:30:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:30:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:30:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:30:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:30:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:30:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:30:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:30:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:30:42] local.INFO: DEBUG: GPS processor result {"connection_id":191124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:30:42] local.INFO: GPS data processed {"connection_id":191124,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:30:42] local.INFO: Acknowledgment sent {"connection_id":191124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:31:03] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:03] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:03] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:31:09] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:09] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:31:09] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:31:10] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:10] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:10] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:31:10] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:31: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-09-21 07: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-09-21 07:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:31: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-09-21 07:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:31:10] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:31:10] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:31:41] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:41] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:31:41] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:31:41] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:31: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-09-21 07:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:31: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-09-21 07:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:31: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-09-21 07:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:31:41] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:31:41] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:32:03] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:03] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:03] local.INFO: IMEI packet received {"connection_id":189809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":189809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:32:09] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:09] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:32:09] local.INFO: IMEI packet received {"connection_id":189809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":189809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:32:09] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:32:09] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ade838012d34bdc006aa40f80005000c2a..."} 
[2026-09-21 07:32:09] local.INFO: Packet analysis {"connection_id":189809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:32:09] local.INFO: Extracted packet for processing {"connection_id":189809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ad"} 
[2026-09-21 07:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228606464001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789955795000,"timestamp_ms":1789955795000,"timestamp_seconds":1789955795,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ade838"} 
[2026-09-21 07:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:32: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-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:32: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-09-21 07: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-09-21 07:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:32: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-09-21 07:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228606464001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228606464001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228606464001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":189809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:32:10] local.INFO: GPS data processed {"connection_id":189809,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:32:10] local.INFO: Acknowledgment sent {"connection_id":189809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:32:41] local.INFO: TCP Data received {"connection_id":189809,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:32:41] local.INFO: Processing buffer {"connection_id":189809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:32:41] local.INFO: Packet analysis {"connection_id":189809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:32:41] local.INFO: Extracted packet for processing {"connection_id":189809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:32: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-09-21 07:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:32: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-09-21 07:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:32: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-09-21 07:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":189809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:32:41] local.INFO: GPS data processed {"connection_id":189809,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:32:41] local.INFO: Acknowledgment sent {"connection_id":189809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:33:04] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:04] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:04] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:33:09] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:09] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:33:09] local.INFO: IMEI packet received {"connection_id":188503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:33:10] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:10] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:10] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:33:10] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:33:10] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:33:10] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:33:41] local.INFO: TCP Data received {"connection_id":188503,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:41] local.INFO: Processing buffer {"connection_id":188503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:33:41] local.INFO: Packet analysis {"connection_id":188503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:33:41] local.INFO: Extracted packet for processing {"connection_id":188503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:33: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-09-21 07:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":188503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:33:41] local.INFO: GPS data processed {"connection_id":188503,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:33:41] local.INFO: Acknowledgment sent {"connection_id":188503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:34:03] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:03] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:03] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:34:09] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:09] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:34:09] local.INFO: IMEI packet received {"connection_id":191125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":191125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:34:09] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:09] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:09] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:34:09] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:34: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-09-21 07: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-09-21 07: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-09-21 07:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:34: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-09-21 07:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:34:10] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:34:10] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:34:41] local.INFO: TCP Data received {"connection_id":191125,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:41] local.INFO: Processing buffer {"connection_id":191125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:34:41] local.INFO: Packet analysis {"connection_id":191125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:34:41] local.INFO: Extracted packet for processing {"connection_id":191125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:34: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-09-21 07:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:34: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-09-21 07:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":191125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:34:41] local.INFO: GPS data processed {"connection_id":191125,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:34:41] local.INFO: Acknowledgment sent {"connection_id":191125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:35:03] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:03] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:03] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:35:09] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:09] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:35:09] local.INFO: IMEI packet received {"connection_id":188343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:35:10] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:10] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:10] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:35:10] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 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-09-21 07:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:35: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-09-21 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-09-21 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-09-21 07:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:35:10] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:35:10] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:35:42] local.INFO: TCP Data received {"connection_id":188343,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:42] local.INFO: Processing buffer {"connection_id":188343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:35:42] local.INFO: Packet analysis {"connection_id":188343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:35:42] local.INFO: Extracted packet for processing {"connection_id":188343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:35: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-09-21 07:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:35: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-09-21 07:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:35: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-09-21 07:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":188343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:35:42] local.INFO: GPS data processed {"connection_id":188343,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:35:42] local.INFO: Acknowledgment sent {"connection_id":188343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:35:46] local.INFO: TCP Data received {"connection_id":189812,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:35:46] local.INFO: Processing buffer {"connection_id":189812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:35:46] local.INFO: IMEI packet received {"connection_id":189812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":189812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:36:04] local.INFO: TCP Data received {"connection_id":191126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:04] local.INFO: Processing buffer {"connection_id":191126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:04] local.INFO: IMEI packet received {"connection_id":191126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":191126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:36:09] local.INFO: TCP Data received {"connection_id":191126,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:09] local.INFO: Processing buffer {"connection_id":191126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:36:09] local.INFO: IMEI packet received {"connection_id":191126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":191126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:36:10] local.INFO: TCP Data received {"connection_id":191126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:10] local.INFO: Processing buffer {"connection_id":191126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:10] local.INFO: Packet analysis {"connection_id":191126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:36:10] local.INFO: Extracted packet for processing {"connection_id":191126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:36: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-09-21 07:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:36: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-09-21 07:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":191126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:36:10] local.INFO: GPS data processed {"connection_id":191126,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:36:10] local.INFO: Acknowledgment sent {"connection_id":191126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:36:16] local.INFO: TCP Data received {"connection_id":191127,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:36:16] local.INFO: Processing buffer {"connection_id":191127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:36:16] local.INFO: IMEI packet received {"connection_id":191127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":191127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:36:41] local.INFO: TCP Data received {"connection_id":191126,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:41] local.INFO: Processing buffer {"connection_id":191126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:36:41] local.INFO: Packet analysis {"connection_id":191126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:36:41] local.INFO: Extracted packet for processing {"connection_id":191126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:36: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-09-21 07:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:36: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-09-21 07:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:36: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-09-21 07:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":191126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:36:41] local.INFO: GPS data processed {"connection_id":191126,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:36:41] local.INFO: Acknowledgment sent {"connection_id":191126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:37:03] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:03] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:03] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:37:09] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:09] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:37:09] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:37:09] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:37:09] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b28000012d34bdc006aa40f80007000c29..."} 
[2026-09-21 07:37:09] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:37:09] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b2"} 
[2026-09-21 07:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228683520001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789956096000,"timestamp_ms":1789956096000,"timestamp_seconds":1789956096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b28000"} 
[2026-09-21 07:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:37: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-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:37: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-09-21 07:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228683520001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228683520001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228683520001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:37:10] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:37:10] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:37:37] local.INFO: TCP Data received {"connection_id":188344,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188344,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:37] local.INFO: Processing buffer {"connection_id":188344,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:37] local.INFO: Packet analysis {"connection_id":188344,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:37:37] local.INFO: Extracted packet for processing {"connection_id":188344,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:37:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 07:37:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 07:37:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:37] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 07:37:37] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 07:37:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 07:37:37] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:37:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188344,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 07:37:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188344,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:37:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188344,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:37:37] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:37:37] local.INFO: DEBUG: GPS processor result {"connection_id":188344,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 07:37:37] local.INFO: GPS data processed {"connection_id":188344,"processed":0,"errors":0,"total":1} 
[2026-09-21 07:37:37] local.INFO: Acknowledgment sent {"connection_id":188344,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:37:38] local.INFO: TCP Data received {"connection_id":188345,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188345,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:38] local.INFO: Processing buffer {"connection_id":188345,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:37:38] local.INFO: Packet analysis {"connection_id":188345,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:37:38] local.INFO: Extracted packet for processing {"connection_id":188345,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:37:38] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 07:37:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 07:37:38] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:38] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 07:37:38] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 07:37:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 07:37:38] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:37:38] local.INFO: Teltonika packet parsed successfully {"connection_id":188345,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 07:37:38] local.INFO: Passing IMEI to GPS processor {"connection_id":188345,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:37:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":188345,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:37:38] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:37:38] local.INFO: DEBUG: GPS processor result {"connection_id":188345,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 07:37:38] local.INFO: GPS data processed {"connection_id":188345,"processed":0,"errors":0,"total":1} 
[2026-09-21 07:37:38] local.INFO: Acknowledgment sent {"connection_id":188345,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:37:41] local.INFO: TCP Data received {"connection_id":188504,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:37:41] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:37:41] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:37:41] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:37: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-09-21 07:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:37:41] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:37:41] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:38:03] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:03] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:03] local.INFO: IMEI packet received {"connection_id":191128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":191128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:38:09] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:09] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:38:09] local.INFO: IMEI packet received {"connection_id":191128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":191128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:38:09] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:09] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:09] local.INFO: Packet analysis {"connection_id":191128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:38:09] local.INFO: Extracted packet for processing {"connection_id":191128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:38: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-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:38:10] local.INFO: GPS data processed {"connection_id":191128,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:38:10] local.INFO: Acknowledgment sent {"connection_id":191128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:38:41] local.INFO: TCP Data received {"connection_id":191128,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:41] local.INFO: Processing buffer {"connection_id":191128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:38:41] local.INFO: Packet analysis {"connection_id":191128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:38:41] local.INFO: Extracted packet for processing {"connection_id":191128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:38:41] local.INFO: GPS data processed {"connection_id":191128,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:38:41] local.INFO: Acknowledgment sent {"connection_id":191128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:39:03] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:03] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:03] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:39:09] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:09] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:39:09] local.INFO: IMEI packet received {"connection_id":188346,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":188346,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:39:10] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:10] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:10] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:39:10] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:39: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-09-21 07:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:39: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-09-21 07:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:39:10] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:39:10] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:39:42] local.INFO: TCP Data received {"connection_id":188346,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188346,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:42] local.INFO: Processing buffer {"connection_id":188346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:39:42] local.INFO: Packet analysis {"connection_id":188346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:39:42] local.INFO: Extracted packet for processing {"connection_id":188346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:39: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-09-21 07:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188346,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:39: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-09-21 07:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:39:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:39:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":188346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:39:42] local.INFO: GPS data processed {"connection_id":188346,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:39:42] local.INFO: Acknowledgment sent {"connection_id":188346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:40:03] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:03] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:03] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:40:09] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:09] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:40:09] local.INFO: IMEI packet received {"connection_id":191129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":191129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:40:10] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:10] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:10] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:40:10] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:40: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-09-21 07: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-09-21 07:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:40:10] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:40:10] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:40:41] local.INFO: TCP Data received {"connection_id":191129,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:41] local.INFO: Processing buffer {"connection_id":191129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:40:41] local.INFO: Packet analysis {"connection_id":191129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:40:41] local.INFO: Extracted packet for processing {"connection_id":191129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 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-09-21 07:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":191129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:40:41] local.INFO: GPS data processed {"connection_id":191129,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:40:41] local.INFO: Acknowledgment sent {"connection_id":191129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:41:04] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:04] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:04] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:41:09] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:09] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:41:09] local.INFO: IMEI packet received {"connection_id":188348,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188348,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:41:11] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:11] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:11] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:41:11] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:41:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:41: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:41:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:41: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-09-21 07:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:41:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:41:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:41:11] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:41:11] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:41:43] local.INFO: TCP Data received {"connection_id":188348,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188348,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:43] local.INFO: Processing buffer {"connection_id":188348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:41:43] local.INFO: Packet analysis {"connection_id":188348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:41:43] local.INFO: Extracted packet for processing {"connection_id":188348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 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-09-21 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188348,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:41: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-09-21 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:41:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:41:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":188348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:41:43] local.INFO: GPS data processed {"connection_id":188348,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:41:43] local.INFO: Acknowledgment sent {"connection_id":188348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:41:46] local.INFO: TCP Data received {"connection_id":191131,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:41:46] local.INFO: Processing buffer {"connection_id":191131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:41:46] local.INFO: IMEI packet received {"connection_id":191131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":191131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:42:03] local.INFO: TCP Data received {"connection_id":189814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:03] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:03] local.INFO: IMEI packet received {"connection_id":189814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":189814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:42:09] local.INFO: TCP Data received {"connection_id":189814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:09] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:42:09] local.INFO: IMEI packet received {"connection_id":189814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":189814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:42:10] local.INFO: TCP Data received {"connection_id":189814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:42:10] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1b717c8012d34bdc006aa40f80006000c27..."} 
[2026-09-21 07:42:10] local.INFO: Packet analysis {"connection_id":189814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:42:10] local.INFO: Extracted packet for processing {"connection_id":189814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1b7"} 
[2026-09-21 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228760576001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956397000,"timestamp_ms":1789956397000,"timestamp_seconds":1789956397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1b717c8"} 
[2026-09-21 07:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:42: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-09-21 07:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228760576001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228760576001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:42:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228760576001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":189814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:42:10] local.INFO: GPS data processed {"connection_id":189814,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:42:10] local.INFO: Acknowledgment sent {"connection_id":189814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:42:16] local.INFO: TCP Data received {"connection_id":188349,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:42:16] local.INFO: Processing buffer {"connection_id":188349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:42:16] local.INFO: IMEI packet received {"connection_id":188349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":188349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:42:42] local.INFO: TCP Data received {"connection_id":189814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:42:42] local.INFO: Processing buffer {"connection_id":189814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:42:42] local.INFO: Packet analysis {"connection_id":189814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:42:42] local.INFO: Extracted packet for processing {"connection_id":189814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:42: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-09-21 07:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:42: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-09-21 07:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":189814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:42:42] local.INFO: GPS data processed {"connection_id":189814,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:42:42] local.INFO: Acknowledgment sent {"connection_id":189814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:43:04] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:04] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:04] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:43:10] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:10] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:43:10] local.INFO: IMEI packet received {"connection_id":191132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":191132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:43:11] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:11] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:11] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:43:11] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:43:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:43:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:43:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 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-09-21 07:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:43:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:43:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:43:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:43:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:43:11] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:43:11] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:43:42] local.INFO: TCP Data received {"connection_id":191132,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:42] local.INFO: Processing buffer {"connection_id":191132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:43:42] local.INFO: Packet analysis {"connection_id":191132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:43:42] local.INFO: Extracted packet for processing {"connection_id":191132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:43:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:43:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:43:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:43: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-09-21 07:43:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:43:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:43:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:43:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:43: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-09-21 07:43:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:43:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:43:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:43:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:43:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:43:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:43: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-09-21 07:43:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:43:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:43:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:43:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:43:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:43:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:43:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:43:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:43:42] local.INFO: DEBUG: GPS processor result {"connection_id":191132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:43:42] local.INFO: GPS data processed {"connection_id":191132,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:43:42] local.INFO: Acknowledgment sent {"connection_id":191132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:44:03] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:03] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:03] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:44:09] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:09] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:44:09] local.INFO: IMEI packet received {"connection_id":191133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":191133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:44:09] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:09] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:09] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:44:09] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07: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-09-21 07:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:44: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-09-21 07:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:44:10] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:44:10] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:44:41] local.INFO: TCP Data received {"connection_id":191133,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:41] local.INFO: Processing buffer {"connection_id":191133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:44:41] local.INFO: Packet analysis {"connection_id":191133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:44:41] local.INFO: Extracted packet for processing {"connection_id":191133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:44: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-09-21 07:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:44: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-09-21 07:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:44: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-09-21 07:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":191133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:44:41] local.INFO: GPS data processed {"connection_id":191133,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:44:41] local.INFO: Acknowledgment sent {"connection_id":191133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:45:03] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:03] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:03] local.INFO: IMEI packet received {"connection_id":191134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":191134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:45:10] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:10] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:45:10] local.INFO: IMEI packet received {"connection_id":191134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":191134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:45:12] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:12] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:12] local.INFO: Packet analysis {"connection_id":191134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:45:12] local.INFO: Extracted packet for processing {"connection_id":191134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07: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-09-21 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":191134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:45:12] local.INFO: GPS data processed {"connection_id":191134,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:45:12] local.INFO: Acknowledgment sent {"connection_id":191134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:45:43] local.INFO: TCP Data received {"connection_id":191134,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191134,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:43] local.INFO: Processing buffer {"connection_id":191134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:45:43] local.INFO: Packet analysis {"connection_id":191134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:45:43] local.INFO: Extracted packet for processing {"connection_id":191134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:45:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:45:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":191134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:45:43] local.INFO: GPS data processed {"connection_id":191134,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:45:43] local.INFO: Acknowledgment sent {"connection_id":191134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:46:03] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:03] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:03] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:46:09] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:09] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:46:09] local.INFO: IMEI packet received {"connection_id":188507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":188507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:46:10] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:10] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:10] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:46:10] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:46:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:46: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-09-21 07: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-09-21 07:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:46:10] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:46:10] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:46:41] local.INFO: TCP Data received {"connection_id":188507,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:41] local.INFO: Processing buffer {"connection_id":188507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:46:41] local.INFO: Packet analysis {"connection_id":188507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:46:41] local.INFO: Extracted packet for processing {"connection_id":188507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:46: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-09-21 07: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-09-21 07:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":188507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:46:41] local.INFO: GPS data processed {"connection_id":188507,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:46:41] local.INFO: Acknowledgment sent {"connection_id":188507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:47:10] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:10] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:10] local.INFO: IMEI packet received {"connection_id":189816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":189816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:47:14] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:14] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:47:14] local.INFO: IMEI packet received {"connection_id":189816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":189816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:47:15] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:47:15] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1bbaf90012d34bdc006aa40f80007000c24..."} 
[2026-09-21 07:47:15] local.INFO: Packet analysis {"connection_id":189816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:47:15] local.INFO: Extracted packet for processing {"connection_id":189816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1bb"} 
[2026-09-21 07:47:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":36,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:47:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228837632001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:47:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789956698000,"timestamp_ms":1789956698000,"timestamp_seconds":1789956698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1bbaf90"} 
[2026-09-21 07:47:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:47:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:47:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:47:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:47:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:47:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:47:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:47:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:47:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:47:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228837632001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:47:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:47:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:47:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228837632001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:47:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:47:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:47:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:47:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:47:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228837632001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:47:15] local.INFO: DEBUG: GPS processor result {"connection_id":189816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:47:15] local.INFO: GPS data processed {"connection_id":189816,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:47:15] local.INFO: Acknowledgment sent {"connection_id":189816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:47:17] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:17] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:17] local.INFO: Packet analysis {"connection_id":189816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:47:17] local.INFO: Extracted packet for processing {"connection_id":189816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:47: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-09-21 07:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":189816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:47:17] local.INFO: GPS data processed {"connection_id":189816,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:47:17] local.INFO: Acknowledgment sent {"connection_id":189816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:47:46] local.INFO: TCP Data received {"connection_id":188509,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188509,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:47:46] local.INFO: Processing buffer {"connection_id":188509,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:47:46] local.INFO: IMEI packet received {"connection_id":188509,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":188509,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:47:49] local.INFO: TCP Data received {"connection_id":189816,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:49] local.INFO: Processing buffer {"connection_id":189816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:47:49] local.INFO: Packet analysis {"connection_id":189816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:47:49] local.INFO: Extracted packet for processing {"connection_id":189816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:47:49] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:47: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-09-21 07:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:47:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:47:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":189816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:47:49] local.INFO: GPS data processed {"connection_id":189816,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:47:49] local.INFO: Acknowledgment sent {"connection_id":189816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:48:04] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:04] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:04] local.INFO: IMEI packet received {"connection_id":189817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":189817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:48:09] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:09] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:48:09] local.INFO: IMEI packet received {"connection_id":189817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:48:10] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:10] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:10] local.INFO: Packet analysis {"connection_id":189817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:48:10] local.INFO: Extracted packet for processing {"connection_id":189817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07: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-09-21 07:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:48:10] local.INFO: GPS data processed {"connection_id":189817,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:48:10] local.INFO: Acknowledgment sent {"connection_id":189817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:48:21] local.INFO: TCP Data received {"connection_id":188351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:48:21] local.INFO: Processing buffer {"connection_id":188351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:48:21] local.INFO: IMEI packet received {"connection_id":188351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":188351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:48:26] local.INFO: TCP Data received {"connection_id":191135,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191135,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:26] local.INFO: Processing buffer {"connection_id":191135,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:26] local.INFO: Packet analysis {"connection_id":191135,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:48:26] local.INFO: Extracted packet for processing {"connection_id":191135,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:48:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 07:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 07:48:26] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:26] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 07:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 07:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 07:48:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191135,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 07:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191135,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191135,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":191135,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 07:48:26] local.INFO: GPS data processed {"connection_id":191135,"processed":0,"errors":0,"total":1} 
[2026-09-21 07:48:26] local.INFO: Acknowledgment sent {"connection_id":191135,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:48:28] local.INFO: TCP Data received {"connection_id":188510,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:28] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 07:48:28] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:48:28] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 07:48:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 07:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 07:48:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:28] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 07:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 07:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 07:48:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 07:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":null,"avl_records_count":1} 
[2026-09-21 07:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 07:48:28] local.INFO: GPS data processed {"connection_id":188510,"processed":0,"errors":0,"total":1} 
[2026-09-21 07:48:28] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:48:41] local.INFO: TCP Data received {"connection_id":189817,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:41] local.INFO: Processing buffer {"connection_id":189817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:48:41] local.INFO: Packet analysis {"connection_id":189817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:48:41] local.INFO: Extracted packet for processing {"connection_id":189817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:48: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-09-21 07: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-09-21 07:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":189817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:48:41] local.INFO: GPS data processed {"connection_id":189817,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:48:41] local.INFO: Acknowledgment sent {"connection_id":189817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:49:04] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:04] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:04] local.INFO: IMEI packet received {"connection_id":188352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:49:09] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:09] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:49:09] local.INFO: IMEI packet received {"connection_id":188352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":188352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:49:10] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:10] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:10] local.INFO: Packet analysis {"connection_id":188352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:49:10] local.INFO: Extracted packet for processing {"connection_id":188352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 07:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 07:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 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-09-21 07:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 07:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07: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-09-21 07:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:49:10] local.INFO: GPS data processed {"connection_id":188352,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:49:10] local.INFO: Acknowledgment sent {"connection_id":188352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:49:41] local.INFO: TCP Data received {"connection_id":188352,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:41] local.INFO: Processing buffer {"connection_id":188352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:49:41] local.INFO: Packet analysis {"connection_id":188352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:49:41] local.INFO: Extracted packet for processing {"connection_id":188352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:49: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-09-21 07:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:49:41] local.INFO: GPS data processed {"connection_id":188352,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:49:41] local.INFO: Acknowledgment sent {"connection_id":188352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:50:03] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:03] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:03] local.INFO: IMEI packet received {"connection_id":191136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":191136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:50:09] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:09] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:50:09] local.INFO: IMEI packet received {"connection_id":191136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":191136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:50:10] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:10] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:10] local.INFO: Packet analysis {"connection_id":191136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:50:10] local.INFO: Extracted packet for processing {"connection_id":191136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:50:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:50: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-09-21 07:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":191136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:50:10] local.INFO: GPS data processed {"connection_id":191136,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:50:10] local.INFO: Acknowledgment sent {"connection_id":191136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:50:41] local.INFO: TCP Data received {"connection_id":191136,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:41] local.INFO: Processing buffer {"connection_id":191136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:50:41] local.INFO: Packet analysis {"connection_id":191136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:50:41] local.INFO: Extracted packet for processing {"connection_id":191136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:50: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-09-21 07:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:50: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-09-21 07:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":191136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:50:41] local.INFO: GPS data processed {"connection_id":191136,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:50:41] local.INFO: Acknowledgment sent {"connection_id":191136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:51:03] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:03] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:03] local.INFO: IMEI packet received {"connection_id":189818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":189818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:51:10] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:10] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:51:10] local.INFO: IMEI packet received {"connection_id":189818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":189818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:51:11] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:11] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:11] local.INFO: Packet analysis {"connection_id":189818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:51:11] local.INFO: Extracted packet for processing {"connection_id":189818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:51:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:51:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:51:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":189818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:51:11] local.INFO: GPS data processed {"connection_id":189818,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:51:11] local.INFO: Acknowledgment sent {"connection_id":189818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:51:43] local.INFO: TCP Data received {"connection_id":189818,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:43] local.INFO: Processing buffer {"connection_id":189818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:51:43] local.INFO: Packet analysis {"connection_id":189818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:51:43] local.INFO: Extracted packet for processing {"connection_id":189818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:51:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:51:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:51:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:51: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-09-21 07:51: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-09-21 07:51:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:51:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:51:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":189818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:51:43] local.INFO: GPS data processed {"connection_id":189818,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:51:43] local.INFO: Acknowledgment sent {"connection_id":189818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:52:03] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:03] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:03] local.INFO: IMEI packet received {"connection_id":191137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":191137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:52:09] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:09] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:52:09] local.INFO: IMEI packet received {"connection_id":191137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":191137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:52:10] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:52:10] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c04758012d34bdc006aa40f80003000c26..."} 
[2026-09-21 07:52:10] local.INFO: Packet analysis {"connection_id":191137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:52:10] local.INFO: Extracted packet for processing {"connection_id":191137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c0"} 
[2026-09-21 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228914688001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789956999000,"timestamp_ms":1789956999000,"timestamp_seconds":1789956999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c04758"} 
[2026-09-21 07:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:52:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 07:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:52:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:52: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-09-21 07:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228914688001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228914688001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228914688001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":191137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:52:10] local.INFO: GPS data processed {"connection_id":191137,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:52:10] local.INFO: Acknowledgment sent {"connection_id":191137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:52:41] local.INFO: TCP Data received {"connection_id":191137,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:52:41] local.INFO: Processing buffer {"connection_id":191137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:52:41] local.INFO: Packet analysis {"connection_id":191137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:52:41] local.INFO: Extracted packet for processing {"connection_id":191137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:52: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-09-21 07: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-09-21 07:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:52: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-09-21 07:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":191137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:52:41] local.INFO: GPS data processed {"connection_id":191137,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:52:41] local.INFO: Acknowledgment sent {"connection_id":191137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:53:04] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:04] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:04] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:53:09] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:09] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:53:09] local.INFO: IMEI packet received {"connection_id":188354,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188354,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:53:10] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:10] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:10] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:53:10] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:53: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-09-21 07: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-09-21 07:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:53: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-09-21 07:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:53:10] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:53:10] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:53:47] local.INFO: TCP Data received {"connection_id":188354,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:47] local.INFO: Processing buffer {"connection_id":188354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:53:47] local.INFO: Packet analysis {"connection_id":188354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:53:47] local.INFO: Extracted packet for processing {"connection_id":188354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:53:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:53: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-09-21 07:53:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188354,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:53: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-09-21 07:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:53:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:53:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":188354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:53:47] local.INFO: GPS data processed {"connection_id":188354,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:53:47] local.INFO: Acknowledgment sent {"connection_id":188354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:53:51] local.INFO: TCP Data received {"connection_id":191138,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191138,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:53:51] local.INFO: Processing buffer {"connection_id":191138,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:53:51] local.INFO: IMEI packet received {"connection_id":191138,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":191138,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:54:03] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:03] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:03] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:54:09] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:09] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:54:09] local.INFO: IMEI packet received {"connection_id":191139,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":191139,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:54:10] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:10] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:10] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:54:10] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:54: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-09-21 07: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-09-21 07:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:54: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-09-21 07:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:54:10] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:54:10] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:54:16] local.INFO: TCP Data received {"connection_id":189820,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:54:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:54:16] local.INFO: Processing buffer {"connection_id":189820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:54:16] local.INFO: IMEI packet received {"connection_id":189820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:54:16] local.INFO: IMEI acknowledgment sent {"connection_id":189820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:54:41] local.INFO: TCP Data received {"connection_id":191139,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:41] local.INFO: Processing buffer {"connection_id":191139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:54:41] local.INFO: Packet analysis {"connection_id":191139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:54:41] local.INFO: Extracted packet for processing {"connection_id":191139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:54: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-09-21 07:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191139,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:54: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-09-21 07:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":191139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:54:41] local.INFO: GPS data processed {"connection_id":191139,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:54:41] local.INFO: Acknowledgment sent {"connection_id":191139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:55:03] local.INFO: TCP Data received {"connection_id":188355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:03] local.INFO: Processing buffer {"connection_id":188355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:03] local.INFO: IMEI packet received {"connection_id":188355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":188355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:55:09] local.INFO: TCP Data received {"connection_id":188355,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:09] local.INFO: Processing buffer {"connection_id":188355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:55:09] local.INFO: IMEI packet received {"connection_id":188355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":188355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:55:10] local.INFO: TCP Data received {"connection_id":188355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:10] local.INFO: Processing buffer {"connection_id":188355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:10] local.INFO: Packet analysis {"connection_id":188355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:55:10] local.INFO: Extracted packet for processing {"connection_id":188355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:55:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:55: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-09-21 07:55:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:55: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-09-21 07:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":188355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:55:10] local.INFO: GPS data processed {"connection_id":188355,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:55:10] local.INFO: Acknowledgment sent {"connection_id":188355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:55:41] local.INFO: TCP Data received {"connection_id":188355,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:41] local.INFO: Processing buffer {"connection_id":188355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:55:41] local.INFO: Packet analysis {"connection_id":188355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:55:41] local.INFO: Extracted packet for processing {"connection_id":188355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:55: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-09-21 07: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-09-21 07:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":188355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:55:41] local.INFO: GPS data processed {"connection_id":188355,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:55:41] local.INFO: Acknowledgment sent {"connection_id":188355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:56:03] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:03] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:03] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:56:09] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:09] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:56:09] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:56:10] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:10] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:10] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:56:10] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:56:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:56: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-09-21 07:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:56:10] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:56:10] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:56:41] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:41] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:56:41] local.INFO: Packet analysis {"connection_id":188513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:56:41] local.INFO: Extracted packet for processing {"connection_id":188513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:56: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-09-21 07: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-09-21 07:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:56: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-09-21 07:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:56:41] local.INFO: GPS data processed {"connection_id":188513,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:56:41] local.INFO: Acknowledgment sent {"connection_id":188513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:57:03] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:03] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:03] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:57:09] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:09] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:57:09] local.INFO: IMEI packet received {"connection_id":188356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":188356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:57:10] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:57:10] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c4df20012d34bdc006aa40f80000000c25..."} 
[2026-09-21 07:57:10] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:57:10] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c4"} 
[2026-09-21 07:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":37,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458228991744001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957300000,"timestamp_ms":1789957300000,"timestamp_seconds":1789957300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c4df20"} 
[2026-09-21 07:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 07:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 07:57:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:57: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-09-21 07:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458228991744001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458228991744001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458228991744001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:57:10] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:57:10] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:57:42] local.INFO: TCP Data received {"connection_id":188356,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:57:42] local.INFO: Processing buffer {"connection_id":188356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:57:42] local.INFO: Packet analysis {"connection_id":188356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:57:42] local.INFO: Extracted packet for processing {"connection_id":188356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 07:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:57: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-09-21 07:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 07:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":188356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:57:42] local.INFO: GPS data processed {"connection_id":188356,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:57:42] local.INFO: Acknowledgment sent {"connection_id":188356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:58:03] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:03] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:03] local.INFO: IMEI packet received {"connection_id":189824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":189824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:58:09] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:09] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:58:09] local.INFO: IMEI packet received {"connection_id":189824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":189824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:58:10] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:10] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:10] local.INFO: Packet analysis {"connection_id":189824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:58:10] local.INFO: Extracted packet for processing {"connection_id":189824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 07:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:58: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-09-21 07: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-09-21 07:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:58: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-09-21 07:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:58:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:58:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":189824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:58:11] local.INFO: GPS data processed {"connection_id":189824,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:58:11] local.INFO: Acknowledgment sent {"connection_id":189824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:58:42] local.INFO: TCP Data received {"connection_id":189824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:42] local.INFO: Processing buffer {"connection_id":189824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:58:42] local.INFO: Packet analysis {"connection_id":189824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:58:42] local.INFO: Extracted packet for processing {"connection_id":189824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 07:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07: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-09-21 07: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-09-21 07:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:58: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-09-21 07:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":189824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:58:42] local.INFO: GPS data processed {"connection_id":189824,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:58:42] local.INFO: Acknowledgment sent {"connection_id":189824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:59:03] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:03] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:03] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 07:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 07:59:09] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:09] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 07:59:09] local.INFO: IMEI packet received {"connection_id":191141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 07:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":191141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 07:59:10] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:10] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:10] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:59:10] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 07:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 07:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 07:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:59: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-09-21 07:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 07:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:59: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-09-21 07:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:59:11] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:59:11] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:59:11] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:59:42] local.INFO: TCP Data received {"connection_id":191141,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:42] local.INFO: Processing buffer {"connection_id":191141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 07:59:42] local.INFO: Packet analysis {"connection_id":191141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:59:42] local.INFO: Extracted packet for processing {"connection_id":191141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 07:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 07: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-09-21 07:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 07:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 07:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 07: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-09-21 07:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 07:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 07:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 07: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 07:59: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-09-21 07: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-09-21 07:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 07:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 07:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 07:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 07:59: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-09-21 07:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 07:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 07:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 07:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 07:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 07:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 07:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 07:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 07:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 07:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 07:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 07:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":191141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 07:59:42] local.INFO: GPS data processed {"connection_id":191141,"processed":1,"errors":0,"total":1} 
[2026-09-21 07:59:42] local.INFO: Acknowledgment sent {"connection_id":191141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 07:59:46] local.INFO: TCP Data received {"connection_id":188357,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188357,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:59:46] local.INFO: Processing buffer {"connection_id":188357,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 07:59:46] local.INFO: IMEI packet received {"connection_id":188357,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 07:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":188357,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:00:03] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:03] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:03] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:00:09] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:09] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:00:09] local.INFO: IMEI packet received {"connection_id":191142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":191142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:00:10] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:10] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:10] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:00:10] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 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-09-21 08:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:00: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-09-21 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-09-21 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-09-21 08:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:00: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-09-21 08:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:00:10] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:00:10] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:00:17] local.INFO: TCP Data received {"connection_id":189825,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:00:17] local.INFO: Processing buffer {"connection_id":189825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:00:17] local.INFO: IMEI packet received {"connection_id":189825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":189825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:00:41] local.INFO: TCP Data received {"connection_id":191142,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:41] local.INFO: Processing buffer {"connection_id":191142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:00:41] local.INFO: Packet analysis {"connection_id":191142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:00:41] local.INFO: Extracted packet for processing {"connection_id":191142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 08:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:00:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":191142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:00:41] local.INFO: GPS data processed {"connection_id":191142,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:00:41] local.INFO: Acknowledgment sent {"connection_id":191142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:01:03] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:03] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:03] local.INFO: IMEI packet received {"connection_id":189826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":189826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:01:09] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:09] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:01:09] local.INFO: IMEI packet received {"connection_id":189826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:01:10] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:10] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:10] local.INFO: Packet analysis {"connection_id":189826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:01:10] local.INFO: Extracted packet for processing {"connection_id":189826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 08:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:01: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-09-21 08:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:01: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-09-21 08:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":189826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:01:10] local.INFO: GPS data processed {"connection_id":189826,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:01:10] local.INFO: Acknowledgment sent {"connection_id":189826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:01:43] local.INFO: TCP Data received {"connection_id":189826,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:43] local.INFO: Processing buffer {"connection_id":189826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:01:43] local.INFO: Packet analysis {"connection_id":189826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:01:43] local.INFO: Extracted packet for processing {"connection_id":189826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:01:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 08:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:01:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:01: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-09-21 08:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:01:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:01:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:01:43] local.INFO: DEBUG: GPS processor result {"connection_id":189826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:01:43] local.INFO: GPS data processed {"connection_id":189826,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:01:43] local.INFO: Acknowledgment sent {"connection_id":189826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:02:09] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:09] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:09] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:02:14] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:14] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:02:14] local.INFO: IMEI packet received {"connection_id":191144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:02:14] local.INFO: IMEI acknowledgment sent {"connection_id":191144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:02:15] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:02:15] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1c976e8012d34bdc006aa40f80007000c28..."} 
[2026-09-21 08:02:15] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:02:15] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1c9"} 
[2026-09-21 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229068800001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:02: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-09-21 08:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789957601000,"timestamp_ms":1789957601000,"timestamp_seconds":1789957601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1c976e8"} 
[2026-09-21 08:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229068800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229068800001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229068800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:02:15] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:02:15] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:02:46] local.INFO: TCP Data received {"connection_id":191144,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:02:46] local.INFO: Processing buffer {"connection_id":191144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:02:46] local.INFO: Packet analysis {"connection_id":191144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:02:46] local.INFO: Extracted packet for processing {"connection_id":191144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:02:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:02:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:02: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-09-21 08: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-09-21 08:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:02:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:02:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":191144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:02:46] local.INFO: GPS data processed {"connection_id":191144,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:02:46] local.INFO: Acknowledgment sent {"connection_id":191144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:03:03] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:03] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:03] local.INFO: IMEI packet received {"connection_id":189827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":189827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:03:09] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:09] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:03:09] local.INFO: IMEI packet received {"connection_id":189827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:03:10] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:10] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:10] local.INFO: Packet analysis {"connection_id":189827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:03:10] local.INFO: Extracted packet for processing {"connection_id":189827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 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-09-21 08:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:03: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-09-21 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-09-21 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-09-21 08:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:03: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-09-21 08:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":189827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:03:10] local.INFO: GPS data processed {"connection_id":189827,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:03:10] local.INFO: Acknowledgment sent {"connection_id":189827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:03:41] local.INFO: TCP Data received {"connection_id":189827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:41] local.INFO: Processing buffer {"connection_id":189827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:03:41] local.INFO: Packet analysis {"connection_id":189827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:03:41] local.INFO: Extracted packet for processing {"connection_id":189827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":189827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:03:41] local.INFO: GPS data processed {"connection_id":189827,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:03:41] local.INFO: Acknowledgment sent {"connection_id":189827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:04:03] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:03] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:03] local.INFO: IMEI packet received {"connection_id":189829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":189829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:04:09] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:09] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:04:09] local.INFO: IMEI packet received {"connection_id":189829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:04:10] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:10] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:10] local.INFO: Packet analysis {"connection_id":189829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:04:10] local.INFO: Extracted packet for processing {"connection_id":189829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:04: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-09-21 08:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:04: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-09-21 08:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":189829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:04:10] local.INFO: GPS data processed {"connection_id":189829,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:04:10] local.INFO: Acknowledgment sent {"connection_id":189829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:04:41] local.INFO: TCP Data received {"connection_id":189829,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:41] local.INFO: Processing buffer {"connection_id":189829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:04:41] local.INFO: Packet analysis {"connection_id":189829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:04:41] local.INFO: Extracted packet for processing {"connection_id":189829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:04:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":189829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:04:41] local.INFO: GPS data processed {"connection_id":189829,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:04:41] local.INFO: Acknowledgment sent {"connection_id":189829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:05:03] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:03] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:03] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:05:09] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:09] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:05:09] local.INFO: IMEI packet received {"connection_id":188358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":188358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:05:10] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:10] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:10] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:05:10] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:05: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-09-21 08: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-09-21 08:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:05: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-09-21 08:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:05:10] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:05:10] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:05:31] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:05:31] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:05:31] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:05:41] local.INFO: TCP Data received {"connection_id":188358,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:42] local.INFO: Processing buffer {"connection_id":188358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:05:42] local.INFO: Packet analysis {"connection_id":188358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:05:42] local.INFO: Extracted packet for processing {"connection_id":188358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:05: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-09-21 08:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:05: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-09-21 08:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":188358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:05:42] local.INFO: GPS data processed {"connection_id":188358,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:05:42] local.INFO: Acknowledgment sent {"connection_id":188358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:06:03] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:03] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:03] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:06:09] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:09] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:06:09] local.INFO: IMEI packet received {"connection_id":188359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:06:09] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:09] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:09] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:06:09] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 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-09-21 08:06: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-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 08:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:06:10] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:06:10] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:06:16] local.INFO: TCP Data received {"connection_id":191145,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191145,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:06:16] local.INFO: Processing buffer {"connection_id":191145,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:06:16] local.INFO: IMEI packet received {"connection_id":191145,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":191145,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:06:42] local.INFO: TCP Data received {"connection_id":188359,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:42] local.INFO: Processing buffer {"connection_id":188359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:06:42] local.INFO: Packet analysis {"connection_id":188359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:06:42] local.INFO: Extracted packet for processing {"connection_id":188359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:06:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:06:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:06:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:06:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:06:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:06:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:06:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:06: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-09-21 08:06:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:06:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:06:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:06:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:06:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:06:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:06:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:06:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:06:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:06:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:06:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:06:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:06:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:06:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:06:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:06:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:06:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:06:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:06:42] local.INFO: DEBUG: GPS processor result {"connection_id":188359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:06:42] local.INFO: GPS data processed {"connection_id":188359,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:06:42] local.INFO: Acknowledgment sent {"connection_id":188359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:07:09] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:09] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:09] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:07:14] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:14] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:07:14] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:07:14] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:14] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:14] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:07:14] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:07: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-09-21 08:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:07:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:07:14] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:07:14] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:07:19] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:19] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ce0eb0012d34bdc006aa40f80002000c26..."} 
[2026-09-21 08:07:19] local.INFO: Packet analysis {"connection_id":188517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:07:19] local.INFO: Extracted packet for processing {"connection_id":188517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ce"} 
[2026-09-21 08:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":38,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229145856001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789957902000,"timestamp_ms":1789957902000,"timestamp_seconds":1789957902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ce0eb0"} 
[2026-09-21 08:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229145856001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229145856001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229145856001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":188517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:07:19] local.INFO: GPS data processed {"connection_id":188517,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:07:19] local.INFO: Acknowledgment sent {"connection_id":188517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:08:03] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:03] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:03] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:08:09] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:09] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:08:09] local.INFO: IMEI packet received {"connection_id":188360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:08:10] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:10] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:10] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:08:10] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:08:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:08:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:08: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-09-21 08:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:08:10] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:08:10] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:08:41] local.INFO: TCP Data received {"connection_id":188360,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:41] local.INFO: Processing buffer {"connection_id":188360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:08:41] local.INFO: Packet analysis {"connection_id":188360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:08:41] local.INFO: Extracted packet for processing {"connection_id":188360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:08: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-09-21 08: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-09-21 08:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:08: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-09-21 08:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:08:41] local.INFO: GPS data processed {"connection_id":188360,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:08:41] local.INFO: Acknowledgment sent {"connection_id":188360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:09:03] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:03] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:03] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:09:09] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:09] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:09:09] local.INFO: IMEI packet received {"connection_id":188362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:09:10] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:10] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:10] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:09:10] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:09: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-09-21 08:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:09:10] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:09:10] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:09:41] local.INFO: TCP Data received {"connection_id":188362,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:41] local.INFO: Processing buffer {"connection_id":188362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:09:41] local.INFO: Packet analysis {"connection_id":188362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:09:41] local.INFO: Extracted packet for processing {"connection_id":188362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:09: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-09-21 08: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-09-21 08:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:09:41] local.INFO: GPS data processed {"connection_id":188362,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:09:41] local.INFO: Acknowledgment sent {"connection_id":188362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:10:03] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:03] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:03] local.INFO: IMEI packet received {"connection_id":189832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":189832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:10:09] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:09] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:10:09] local.INFO: IMEI packet received {"connection_id":189832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":189832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:10:09] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:09] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:09] local.INFO: Packet analysis {"connection_id":189832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:10:09] local.INFO: Extracted packet for processing {"connection_id":189832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:10: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-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:10: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-09-21 08:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:10: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-09-21 08:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":189832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:10:10] local.INFO: GPS data processed {"connection_id":189832,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:10:10] local.INFO: Acknowledgment sent {"connection_id":189832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:10:41] local.INFO: TCP Data received {"connection_id":189832,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:41] local.INFO: Processing buffer {"connection_id":189832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:10:41] local.INFO: Packet analysis {"connection_id":189832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:10:41] local.INFO: Extracted packet for processing {"connection_id":189832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:10: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-09-21 08:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:10: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-09-21 08:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":189832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:10:41] local.INFO: GPS data processed {"connection_id":189832,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:10:41] local.INFO: Acknowledgment sent {"connection_id":189832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:11:03] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:03] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:03] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:11:09] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:09] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:11:09] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:11:10] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:10] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:10] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:11:10] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:11:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:11:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:11:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:11:10] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:11:10] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:11:31] local.INFO: TCP Data received {"connection_id":188363,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:11:31] local.INFO: Processing buffer {"connection_id":188363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:11:31] local.INFO: IMEI packet received {"connection_id":188363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":188363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:11:42] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:42] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:11:42] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:11:42] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:11: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-09-21 08: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-09-21 08:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:11: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-09-21 08:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:11:42] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:11:42] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:12:03] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:03] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:03] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:12:09] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:09] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:12:09] local.INFO: IMEI packet received {"connection_id":191147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":191147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:12:10] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:12:10] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d2a678012d34bdc006aa40f80002000c28..."} 
[2026-09-21 08:12:10] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:12:10] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d2"} 
[2026-09-21 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229222912001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958203000,"timestamp_ms":1789958203000,"timestamp_seconds":1789958203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d2a678"} 
[2026-09-21 08:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:12:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:12: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-09-21 08:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229222912001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229222912001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229222912001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:12:10] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:12:10] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:12:16] local.INFO: TCP Data received {"connection_id":189833,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:12:16] local.INFO: Processing buffer {"connection_id":189833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:12:16] local.INFO: IMEI packet received {"connection_id":189833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":189833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:12:44] local.INFO: TCP Data received {"connection_id":191147,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:12:44] local.INFO: Processing buffer {"connection_id":191147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:12:44] local.INFO: Packet analysis {"connection_id":191147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:12:44] local.INFO: Extracted packet for processing {"connection_id":191147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:12:44] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:12:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:12:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:12:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:12:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:12:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:12: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-09-21 08:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:12:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":191147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:12:44] local.INFO: GPS data processed {"connection_id":191147,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:12:44] local.INFO: Acknowledgment sent {"connection_id":191147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:13:03] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:03] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:03] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:13:09] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:09] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:13:09] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:13:10] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:10] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:10] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:13:10] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:13: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-09-21 08: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-09-21 08:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:13: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-09-21 08:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:13:10] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:13:10] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:13:41] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:41] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:13:41] local.INFO: Packet analysis {"connection_id":188522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:13:41] local.INFO: Extracted packet for processing {"connection_id":188522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:13: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-09-21 08:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:13: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-09-21 08:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:13: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-09-21 08:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":188522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:13:41] local.INFO: GPS data processed {"connection_id":188522,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:13:41] local.INFO: Acknowledgment sent {"connection_id":188522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:14:03] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:03] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:03] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:14:09] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:09] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:14:09] local.INFO: IMEI packet received {"connection_id":188364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:14:10] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:10] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:10] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:14:10] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:14: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-09-21 08: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-09-21 08:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08: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-09-21 08:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:14:10] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:14:10] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:14:41] local.INFO: TCP Data received {"connection_id":188364,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:41] local.INFO: Processing buffer {"connection_id":188364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:14:41] local.INFO: Packet analysis {"connection_id":188364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:14:41] local.INFO: Extracted packet for processing {"connection_id":188364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 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-09-21 08:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:14: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-09-21 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-09-21 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-09-21 08:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:14: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-09-21 08:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:14:41] local.INFO: GPS data processed {"connection_id":188364,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:14:41] local.INFO: Acknowledgment sent {"connection_id":188364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:15:09] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:09] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:09] local.INFO: IMEI packet received {"connection_id":191148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":191148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:15:14] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:14] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:15:14] local.INFO: IMEI packet received {"connection_id":191148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":191148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:15:16] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:16] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:16] local.INFO: Packet analysis {"connection_id":191148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:15:16] local.INFO: Extracted packet for processing {"connection_id":191148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15: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-09-21 08:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:15:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:15:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:15:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:15:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:15:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":191148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:15:16] local.INFO: GPS data processed {"connection_id":191148,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:15:16] local.INFO: Acknowledgment sent {"connection_id":191148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:15:20] local.INFO: TCP Data received {"connection_id":191148,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:20] local.INFO: Processing buffer {"connection_id":191148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:15:20] local.INFO: Packet analysis {"connection_id":191148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:15:20] local.INFO: Extracted packet for processing {"connection_id":191148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:15: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-09-21 08:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:15:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:15:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":191148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:15:20] local.INFO: GPS data processed {"connection_id":191148,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:15:20] local.INFO: Acknowledgment sent {"connection_id":191148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:16:03] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:03] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:03] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:16:09] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:09] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:16:09] local.INFO: IMEI packet received {"connection_id":188365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":188365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:16:10] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:10] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:10] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:16:10] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:16: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-09-21 08: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-09-21 08:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:16: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-09-21 08:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:16:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:16:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:16:10] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:16:10] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:16:41] local.INFO: TCP Data received {"connection_id":188365,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:41] local.INFO: Processing buffer {"connection_id":188365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:16:41] local.INFO: Packet analysis {"connection_id":188365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:16:41] local.INFO: Extracted packet for processing {"connection_id":188365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:16: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-09-21 08:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:16: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-09-21 08:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:16:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":188365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:16:41] local.INFO: GPS data processed {"connection_id":188365,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:16:41] local.INFO: Acknowledgment sent {"connection_id":188365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:17:04] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:04] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:04] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:17:09] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:09] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:17:09] local.INFO: IMEI packet received {"connection_id":191151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":191151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:17:10] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:10] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1d73e40012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:10] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:17:10] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1d7"} 
[2026-09-21 08:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229299968001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958504000,"timestamp_ms":1789958504000,"timestamp_seconds":1789958504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1d73e40"} 
[2026-09-21 08:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 08:17: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-09-21 08: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-09-21 08:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:17: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-09-21 08:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229299968001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229299968001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229299968001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:17:10] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:17:10] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:17:41] local.INFO: TCP Data received {"connection_id":191151,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:41] local.INFO: Processing buffer {"connection_id":191151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:17:41] local.INFO: Packet analysis {"connection_id":191151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:17:41] local.INFO: Extracted packet for processing {"connection_id":191151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:17: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-09-21 08:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:17: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-09-21 08:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":191151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:17:41] local.INFO: GPS data processed {"connection_id":191151,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:17:41] local.INFO: Acknowledgment sent {"connection_id":191151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:17:46] local.INFO: TCP Data received {"connection_id":188366,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:17:46] local.INFO: Processing buffer {"connection_id":188366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:17:46] local.INFO: IMEI packet received {"connection_id":188366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":188366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:18:03] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:03] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:03] local.INFO: IMEI packet received {"connection_id":188367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":188367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:18:09] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:09] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:18:09] local.INFO: IMEI packet received {"connection_id":188367,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":188367,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:18:10] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:10] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:10] local.INFO: Packet analysis {"connection_id":188367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:18:10] local.INFO: Extracted packet for processing {"connection_id":188367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:18: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-09-21 08: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-09-21 08:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08: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-09-21 08:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":188367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:18:10] local.INFO: GPS data processed {"connection_id":188367,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:18:10] local.INFO: Acknowledgment sent {"connection_id":188367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:18:15] local.INFO: TCP Data received {"connection_id":188368,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:18:15] local.INFO: Processing buffer {"connection_id":188368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:18:15] local.INFO: IMEI packet received {"connection_id":188368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":188368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:18:41] local.INFO: TCP Data received {"connection_id":188367,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:41] local.INFO: Processing buffer {"connection_id":188367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:18:41] local.INFO: Packet analysis {"connection_id":188367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:18:41] local.INFO: Extracted packet for processing {"connection_id":188367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:18: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-09-21 08:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188367,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:18:41] local.INFO: GPS data processed {"connection_id":188367,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:18:41] local.INFO: Acknowledgment sent {"connection_id":188367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:19:03] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:03] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:03] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:19:09] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:09] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:19:09] local.INFO: IMEI packet received {"connection_id":188370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:19:10] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:10] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:10] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:19:10] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:19: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-09-21 08:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:19: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-09-21 08:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:19:10] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:19:10] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:19:41] local.INFO: TCP Data received {"connection_id":188370,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:41] local.INFO: Processing buffer {"connection_id":188370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:19:41] local.INFO: Packet analysis {"connection_id":188370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:19:41] local.INFO: Extracted packet for processing {"connection_id":188370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:19: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-09-21 08:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:19: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-09-21 08:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":188370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:19:41] local.INFO: GPS data processed {"connection_id":188370,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:19:41] local.INFO: Acknowledgment sent {"connection_id":188370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:20:03] local.INFO: TCP Data received {"connection_id":189836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:03] local.INFO: Processing buffer {"connection_id":189836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:03] local.INFO: IMEI packet received {"connection_id":189836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":189836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:20:09] local.INFO: TCP Data received {"connection_id":189836,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:09] local.INFO: Processing buffer {"connection_id":189836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:20:09] local.INFO: IMEI packet received {"connection_id":189836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":189836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:20:10] local.INFO: TCP Data received {"connection_id":189836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:10] local.INFO: Processing buffer {"connection_id":189836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:10] local.INFO: Packet analysis {"connection_id":189836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:20:10] local.INFO: Extracted packet for processing {"connection_id":189836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:20:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:20:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:20:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:20:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:20:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:20:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:20:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:20: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-09-21 08: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-09-21 08:20:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:20:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:20:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:20:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:20:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:20:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:20:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:20:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:20:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:20:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:20:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:20:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:20:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:20:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:20:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:20:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:20:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":189836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:20:10] local.INFO: GPS data processed {"connection_id":189836,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:20:10] local.INFO: Acknowledgment sent {"connection_id":189836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:20:41] local.INFO: TCP Data received {"connection_id":189836,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:41] local.INFO: Processing buffer {"connection_id":189836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:20:41] local.INFO: Packet analysis {"connection_id":189836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:20:41] local.INFO: Extracted packet for processing {"connection_id":189836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:20: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-09-21 08:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:20: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-09-21 08:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:20: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-09-21 08:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":189836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:20:41] local.INFO: GPS data processed {"connection_id":189836,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:20:41] local.INFO: Acknowledgment sent {"connection_id":189836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:21:09] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:09] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:09] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:21:14] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:14] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:21:14] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:21:15] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:15] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:15] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:21:15] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:21:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21: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-09-21 08:21:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:21:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:21:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:21:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:21:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:21:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:21:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:21:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:21:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:21:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:21:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:21:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:21:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:21:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:21:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:21:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:21:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:21:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:21:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:21:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:21:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:21:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:21:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:21:15] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:21:15] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:21:15] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:21:19] local.INFO: TCP Data received {"connection_id":188524,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:19] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:21:19] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:21:19] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 08:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:21:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:21:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:21:19] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:21:19] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:22:03] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:03] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:03] local.INFO: IMEI packet received {"connection_id":191155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":191155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:22:09] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:09] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:22:09] local.INFO: IMEI packet received {"connection_id":191155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":191155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:22:09] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:22:09] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1dbd608012d34bdc006aa40f80006000c29..."} 
[2026-09-21 08:22:09] local.INFO: Packet analysis {"connection_id":191155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:22:09] local.INFO: Extracted packet for processing {"connection_id":191155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1db"} 
[2026-09-21 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229377024001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789958805000,"timestamp_ms":1789958805000,"timestamp_seconds":1789958805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1dbd608"} 
[2026-09-21 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-09-21 08:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:22: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-09-21 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-09-21 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-09-21 08:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229377024001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229377024001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229377024001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":191155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:22:09] local.INFO: GPS data processed {"connection_id":191155,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:22:09] local.INFO: Acknowledgment sent {"connection_id":191155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:22:41] local.INFO: TCP Data received {"connection_id":191155,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191155,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:22:41] local.INFO: Processing buffer {"connection_id":191155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:22:41] local.INFO: Packet analysis {"connection_id":191155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:22:41] local.INFO: Extracted packet for processing {"connection_id":191155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:22:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:22:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":191155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:22:41] local.INFO: GPS data processed {"connection_id":191155,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:22:41] local.INFO: Acknowledgment sent {"connection_id":191155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:23:03] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:03] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:03] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:23:09] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:09] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:23:09] local.INFO: IMEI packet received {"connection_id":188371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:23:09] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:09] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:09] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:23:09] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:23:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:23: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-09-21 08:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:23:09] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:23:09] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:23:41] local.INFO: TCP Data received {"connection_id":188371,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188371,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:41] local.INFO: Processing buffer {"connection_id":188371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:23:41] local.INFO: Packet analysis {"connection_id":188371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:23:41] local.INFO: Extracted packet for processing {"connection_id":188371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:23:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:23: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-09-21 08:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":188371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:23:41] local.INFO: GPS data processed {"connection_id":188371,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:23:41] local.INFO: Acknowledgment sent {"connection_id":188371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:23:46] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:23:46] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:23:46] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:24:03] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:03] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:03] local.INFO: IMEI packet received {"connection_id":189837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":189837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:24:09] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:09] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:24:09] local.INFO: IMEI packet received {"connection_id":189837,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":189837,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:24:10] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:10] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:10] local.INFO: Packet analysis {"connection_id":189837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:24:10] local.INFO: Extracted packet for processing {"connection_id":189837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 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-09-21 08:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:24: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-09-21 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-09-21 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-09-21 08:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:24: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-09-21 08:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":189837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:24:10] local.INFO: GPS data processed {"connection_id":189837,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:24:10] local.INFO: Acknowledgment sent {"connection_id":189837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:24:21] local.INFO: TCP Data received {"connection_id":191157,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191157,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:24:21] local.INFO: Processing buffer {"connection_id":191157,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:24:21] local.INFO: IMEI packet received {"connection_id":191157,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":191157,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:24:41] local.INFO: TCP Data received {"connection_id":189837,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:41] local.INFO: Processing buffer {"connection_id":189837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:24:41] local.INFO: Packet analysis {"connection_id":189837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:24:41] local.INFO: Extracted packet for processing {"connection_id":189837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189837,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:24: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-09-21 08:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":189837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:24:41] local.INFO: GPS data processed {"connection_id":189837,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:24:41] local.INFO: Acknowledgment sent {"connection_id":189837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:25:09] local.INFO: TCP Data received {"connection_id":189838,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:09] local.INFO: Processing buffer {"connection_id":189838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:09] local.INFO: IMEI packet received {"connection_id":189838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":189838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:25:14] local.INFO: TCP Data received {"connection_id":189838,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:14] local.INFO: Processing buffer {"connection_id":189838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:25:14] local.INFO: IMEI packet received {"connection_id":189838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:25:14] local.INFO: IMEI acknowledgment sent {"connection_id":189838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:25:15] local.INFO: TCP Data received {"connection_id":189838,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:15] local.INFO: Processing buffer {"connection_id":189838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:15] local.INFO: Packet analysis {"connection_id":189838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:25:15] local.INFO: Extracted packet for processing {"connection_id":189838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:25:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25: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-09-21 08:25:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:25:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:25:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:25:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:25:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:25:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:25:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:25:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:25:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:25:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:25:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:25:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:25:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:25:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:25:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:25:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:25:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:25:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:25:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:25:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:25:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:25:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:25:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:25:15] local.INFO: DEBUG: GPS processor result {"connection_id":189838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:25:15] local.INFO: GPS data processed {"connection_id":189838,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:25:15] local.INFO: Acknowledgment sent {"connection_id":189838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:25:20] local.INFO: TCP Data received {"connection_id":189838,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:20] local.INFO: Processing buffer {"connection_id":189838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:25:20] local.INFO: Packet analysis {"connection_id":189838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:25:20] local.INFO: Extracted packet for processing {"connection_id":189838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:25:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:25:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:25:20] local.INFO: DEBUG: GPS processor result {"connection_id":189838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:25:20] local.INFO: GPS data processed {"connection_id":189838,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:25:20] local.INFO: Acknowledgment sent {"connection_id":189838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:26:03] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:03] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:03] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:26:09] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:09] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:26:09] local.INFO: IMEI packet received {"connection_id":191159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":191159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:26:09] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:09] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:09] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:26:09] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:26: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-09-21 08:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:26:10] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:26:10] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:26:41] local.INFO: TCP Data received {"connection_id":191159,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191159,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:41] local.INFO: Processing buffer {"connection_id":191159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:26:41] local.INFO: Packet analysis {"connection_id":191159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:26:41] local.INFO: Extracted packet for processing {"connection_id":191159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:26: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-09-21 08:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":191159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:26:41] local.INFO: GPS data processed {"connection_id":191159,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:26:41] local.INFO: Acknowledgment sent {"connection_id":191159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:27:04] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:04] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:04] local.INFO: IMEI packet received {"connection_id":189839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":189839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:27:09] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:09] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:27:09] local.INFO: IMEI packet received {"connection_id":189839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":189839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:27:11] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:27:11] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e06dd0012d34bdc006aa40f80003000c2b..."} 
[2026-09-21 08:27:11] local.INFO: Packet analysis {"connection_id":189839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:27:11] local.INFO: Extracted packet for processing {"connection_id":189839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e0"} 
[2026-09-21 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229454080001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789959106000,"timestamp_ms":1789959106000,"timestamp_seconds":1789959106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e06dd0"} 
[2026-09-21 08:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:27:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:27:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229454080001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229454080001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:27:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:27:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229454080001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":189839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:27:11] local.INFO: GPS data processed {"connection_id":189839,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:27:11] local.INFO: Acknowledgment sent {"connection_id":189839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:27:42] local.INFO: TCP Data received {"connection_id":189839,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:27:42] local.INFO: Processing buffer {"connection_id":189839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:27:42] local.INFO: Packet analysis {"connection_id":189839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:27:42] local.INFO: Extracted packet for processing {"connection_id":189839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:27:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:27: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-09-21 08: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-09-21 08:27:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:27: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-09-21 08:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":189839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:27:42] local.INFO: GPS data processed {"connection_id":189839,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:27:42] local.INFO: Acknowledgment sent {"connection_id":189839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:28:03] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:03] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:03] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:28:09] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:09] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:28:09] local.INFO: IMEI packet received {"connection_id":188372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:28:09] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:09] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:09] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:28:09] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:28: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-09-21 08:28:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:28: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-09-21 08:28:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:28: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-09-21 08:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:28:09] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:28:09] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:28:41] local.INFO: TCP Data received {"connection_id":188372,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:41] local.INFO: Processing buffer {"connection_id":188372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:28:41] local.INFO: Packet analysis {"connection_id":188372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:28:41] local.INFO: Extracted packet for processing {"connection_id":188372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:28: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-09-21 08:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:28: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-09-21 08:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":188372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:28:41] local.INFO: GPS data processed {"connection_id":188372,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:28:41] local.INFO: Acknowledgment sent {"connection_id":188372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:29:03] local.INFO: TCP Data received {"connection_id":189840,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:03] local.INFO: Processing buffer {"connection_id":189840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:03] local.INFO: IMEI packet received {"connection_id":189840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":189840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:29:09] local.INFO: TCP Data received {"connection_id":189840,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:09] local.INFO: Processing buffer {"connection_id":189840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:29:09] local.INFO: IMEI packet received {"connection_id":189840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:29:10] local.INFO: TCP Data received {"connection_id":189840,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:10] local.INFO: Processing buffer {"connection_id":189840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:10] local.INFO: Packet analysis {"connection_id":189840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:29:10] local.INFO: Extracted packet for processing {"connection_id":189840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:29: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-09-21 08: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-09-21 08:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:29: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-09-21 08:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":189840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:29:10] local.INFO: GPS data processed {"connection_id":189840,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:29:10] local.INFO: Acknowledgment sent {"connection_id":189840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:29:41] local.INFO: TCP Data received {"connection_id":189840,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:41] local.INFO: Processing buffer {"connection_id":189840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:29:41] local.INFO: Packet analysis {"connection_id":189840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:29:41] local.INFO: Extracted packet for processing {"connection_id":189840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:29: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-09-21 08: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-09-21 08:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:29: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-09-21 08:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":189840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:29:41] local.INFO: GPS data processed {"connection_id":189840,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:29:41] local.INFO: Acknowledgment sent {"connection_id":189840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:29:51] local.INFO: TCP Data received {"connection_id":188529,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188529,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:29:51] local.INFO: Processing buffer {"connection_id":188529,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:29:51] local.INFO: IMEI packet received {"connection_id":188529,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":188529,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:30:03] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:03] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:03] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:30:09] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:09] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:30:09] local.INFO: IMEI packet received {"connection_id":188373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:30:09] local.INFO: IMEI acknowledgment sent {"connection_id":188373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:30:09] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:09] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:09] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:30:09] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:30: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-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:30: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-09-21 08:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:30: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-09-21 08:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:30:10] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:30:10] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:30:16] local.INFO: TCP Data received {"connection_id":191160,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:30:16] local.INFO: Processing buffer {"connection_id":191160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:30:16] local.INFO: IMEI packet received {"connection_id":191160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":191160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:30:41] local.INFO: TCP Data received {"connection_id":188373,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:41] local.INFO: Processing buffer {"connection_id":188373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:30:41] local.INFO: Packet analysis {"connection_id":188373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:30:41] local.INFO: Extracted packet for processing {"connection_id":188373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:30: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-09-21 08:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:30: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-09-21 08:30: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-09-21 08:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:30: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-09-21 08:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:30:41] local.INFO: GPS data processed {"connection_id":188373,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:30:41] local.INFO: Acknowledgment sent {"connection_id":188373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:31:09] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:09] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:09] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:31:14] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:14] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:31:14] local.INFO: IMEI packet received {"connection_id":188374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":188374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:31:15] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:15] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:15] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:31:15] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:31:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31: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-09-21 08:31:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:31:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:31:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:31:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:31:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:31:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:31:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:31:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:31:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:31:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:31:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:31: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-09-21 08:31:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:31:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:31:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:31:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:31:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:31:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:31:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:31:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:31:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:31:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:31:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:31:15] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:31:15] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:31:15] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:31:19] local.INFO: TCP Data received {"connection_id":188374,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:19] local.INFO: Processing buffer {"connection_id":188374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:31:19] local.INFO: Packet analysis {"connection_id":188374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:31:19] local.INFO: Extracted packet for processing {"connection_id":188374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 08:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":188374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:31:19] local.INFO: GPS data processed {"connection_id":188374,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:31:19] local.INFO: Acknowledgment sent {"connection_id":188374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:32:03] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:03] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:03] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:32:09] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:09] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:32:09] local.INFO: IMEI packet received {"connection_id":191161,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":191161,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:32:10] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:32:10] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e50598012d34bdc006aa40f80002000c2b..."} 
[2026-09-21 08:32:10] local.INFO: Packet analysis {"connection_id":191161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:32:10] local.INFO: Extracted packet for processing {"connection_id":191161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e5"} 
[2026-09-21 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959407000,"timestamp_ms":1789959407000,"timestamp_seconds":1789959407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e50598"} 
[2026-09-21 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-09-21 08:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:32: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-09-21 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-09-21 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-09-21 08:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:32: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-09-21 08:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229531136001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229531136001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":191161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:32:10] local.INFO: GPS data processed {"connection_id":191161,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:32:10] local.INFO: Acknowledgment sent {"connection_id":191161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:32:41] local.INFO: TCP Data received {"connection_id":191161,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:32:41] local.INFO: Processing buffer {"connection_id":191161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:32:41] local.INFO: Packet analysis {"connection_id":191161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:32:41] local.INFO: Extracted packet for processing {"connection_id":191161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:32: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-09-21 08:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:32:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191161,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":191161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:32:41] local.INFO: GPS data processed {"connection_id":191161,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:32:41] local.INFO: Acknowledgment sent {"connection_id":191161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:33:03] local.INFO: TCP Data received {"connection_id":191162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:03] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:03] local.INFO: IMEI packet received {"connection_id":191162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":191162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:33:09] local.INFO: TCP Data received {"connection_id":191162,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:09] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:33:09] local.INFO: IMEI packet received {"connection_id":191162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":191162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:33:10] local.INFO: TCP Data received {"connection_id":191162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:10] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:10] local.INFO: Packet analysis {"connection_id":191162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:33:10] local.INFO: Extracted packet for processing {"connection_id":191162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:33:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:33: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-09-21 08:33:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:33: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-09-21 08:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":191162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:33:10] local.INFO: GPS data processed {"connection_id":191162,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:33:10] local.INFO: Acknowledgment sent {"connection_id":191162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:33:41] local.INFO: TCP Data received {"connection_id":191162,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:41] local.INFO: Processing buffer {"connection_id":191162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:33:41] local.INFO: Packet analysis {"connection_id":191162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:33:41] local.INFO: Extracted packet for processing {"connection_id":191162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:33: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-09-21 08:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":191162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:33:41] local.INFO: GPS data processed {"connection_id":191162,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:33:41] local.INFO: Acknowledgment sent {"connection_id":191162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:34:04] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:04] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:04] local.INFO: IMEI packet received {"connection_id":189843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:34:04] local.INFO: IMEI acknowledgment sent {"connection_id":189843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:34:09] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:09] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:34:09] local.INFO: IMEI packet received {"connection_id":189843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":189843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:34:10] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:10] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:10] local.INFO: Packet analysis {"connection_id":189843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:34:10] local.INFO: Extracted packet for processing {"connection_id":189843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 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-09-21 08:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:34: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-09-21 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-09-21 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-09-21 08:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:34: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-09-21 08:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":189843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:34:10] local.INFO: GPS data processed {"connection_id":189843,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:34:10] local.INFO: Acknowledgment sent {"connection_id":189843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:34:42] local.INFO: TCP Data received {"connection_id":189843,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:42] local.INFO: Processing buffer {"connection_id":189843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:34:42] local.INFO: Packet analysis {"connection_id":189843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:34:42] local.INFO: Extracted packet for processing {"connection_id":189843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:34:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:34:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:34:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:34:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:34:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:34:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:34:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:34:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:34:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:34:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:34:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:34:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:34:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:34:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:34: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-09-21 08:34:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:34:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:34:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:34:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:34:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:34:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:34:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:34:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:34:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:34:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:34:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:34:42] local.INFO: DEBUG: GPS processor result {"connection_id":189843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:34:42] local.INFO: GPS data processed {"connection_id":189843,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:34:42] local.INFO: Acknowledgment sent {"connection_id":189843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:35:09] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:09] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:09] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:35:14] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:14] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:35:14] local.INFO: IMEI packet received {"connection_id":188375,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":188375,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:35:15] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:15] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:15] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:35:15] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:35:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:35:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35: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-09-21 08:35:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:35:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:35:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:35:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:35:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:35:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:35:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:35:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:35:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:35:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:35:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:35:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:35:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:35:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:35:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:35:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:35:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:35:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:35:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:35:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:35:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:35:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:35:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:35:15] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:35:15] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:35:15] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:35:19] local.INFO: TCP Data received {"connection_id":188375,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:19] local.INFO: Processing buffer {"connection_id":188375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:35:19] local.INFO: Packet analysis {"connection_id":188375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:35:19] local.INFO: Extracted packet for processing {"connection_id":188375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188375,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:35:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:35:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:35:19] local.INFO: GPS data processed {"connection_id":188375,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:35:19] local.INFO: Acknowledgment sent {"connection_id":188375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:35:31] local.INFO: TCP Data received {"connection_id":191165,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191165,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:35:31] local.INFO: Processing buffer {"connection_id":191165,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:35:31] local.INFO: IMEI packet received {"connection_id":191165,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":191165,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:36:03] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:03] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:03] local.INFO: IMEI packet received {"connection_id":189844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":189844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:36:09] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:09] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:36:09] local.INFO: IMEI packet received {"connection_id":189844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:36:10] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:10] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:10] local.INFO: Packet analysis {"connection_id":189844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:36:10] local.INFO: Extracted packet for processing {"connection_id":189844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:36: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-09-21 08:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":189844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:36:10] local.INFO: GPS data processed {"connection_id":189844,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:36:10] local.INFO: Acknowledgment sent {"connection_id":189844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:36:21] local.INFO: TCP Data received {"connection_id":188530,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:36:21] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:36:21] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:36:42] local.INFO: TCP Data received {"connection_id":189844,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:42] local.INFO: Processing buffer {"connection_id":189844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:36:42] local.INFO: Packet analysis {"connection_id":189844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:36:42] local.INFO: Extracted packet for processing {"connection_id":189844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:36: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-09-21 08:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":189844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:36:42] local.INFO: GPS data processed {"connection_id":189844,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:36:42] local.INFO: Acknowledgment sent {"connection_id":189844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:37:04] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:04] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:04] local.INFO: IMEI packet received {"connection_id":191166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":191166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:37:09] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:09] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:37:09] local.INFO: IMEI packet received {"connection_id":191166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":191166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:37:09] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:37:10] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1e99d60012d34bdc006aa40f80001000c2a..."} 
[2026-09-21 08:37:10] local.INFO: Packet analysis {"connection_id":191166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:37:10] local.INFO: Extracted packet for processing {"connection_id":191166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1e9"} 
[2026-09-21 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229608192001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789959708000,"timestamp_ms":1789959708000,"timestamp_seconds":1789959708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1e99d60"} 
[2026-09-21 08:37:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:37:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:37: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-09-21 08:37:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:37:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229608192001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229608192001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229608192001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":191166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:37:10] local.INFO: GPS data processed {"connection_id":191166,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:37:10] local.INFO: Acknowledgment sent {"connection_id":191166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:37:41] local.INFO: TCP Data received {"connection_id":191166,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:37:41] local.INFO: Processing buffer {"connection_id":191166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:37:41] local.INFO: Packet analysis {"connection_id":191166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:37:41] local.INFO: Extracted packet for processing {"connection_id":191166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:37: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-09-21 08:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":191166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:37:41] local.INFO: GPS data processed {"connection_id":191166,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:37:41] local.INFO: Acknowledgment sent {"connection_id":191166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:38:03] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:03] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:03] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:38:09] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:09] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:38:09] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:38:09] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:38:10] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:10] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:10] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:38:10] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:38: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-09-21 08: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-09-21 08:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:38: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-09-21 08:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:38:10] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:38:10] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:38:41] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:41] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:38:41] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:38:41] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:38:41] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:38:41] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:39:09] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:09] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:09] local.INFO: IMEI packet received {"connection_id":189846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":189846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:39:14] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:14] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:39:14] local.INFO: IMEI packet received {"connection_id":189846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:39:14] local.INFO: IMEI acknowledgment sent {"connection_id":189846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:39:15] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:15] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:15] local.INFO: Packet analysis {"connection_id":189846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:39:15] local.INFO: Extracted packet for processing {"connection_id":189846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":189846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:39:15] local.INFO: GPS data processed {"connection_id":189846,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:39:15] local.INFO: Acknowledgment sent {"connection_id":189846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:39:21] local.INFO: TCP Data received {"connection_id":189846,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:21] local.INFO: Processing buffer {"connection_id":189846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:39:21] local.INFO: Packet analysis {"connection_id":189846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:39:21] local.INFO: Extracted packet for processing {"connection_id":189846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:39:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:39:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:39:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:39:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:39:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:39:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:39:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:39:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:39:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:39:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:39:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:39:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:39:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:39:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:39:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:39:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:39:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:39:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:39:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:39:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:39:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:39:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:39:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:39:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:39:21] local.INFO: DEBUG: GPS processor result {"connection_id":189846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:39:21] local.INFO: GPS data processed {"connection_id":189846,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:39:21] local.INFO: Acknowledgment sent {"connection_id":189846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:40:03] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:03] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:03] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:40:09] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:09] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:40:09] local.INFO: IMEI packet received {"connection_id":188378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:40:09] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:09] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:09] local.INFO: Packet analysis {"connection_id":188378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:40:09] local.INFO: Extracted packet for processing {"connection_id":188378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 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-09-21 08:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:40:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 08:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:40: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-09-21 08:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:40:09] local.INFO: GPS data processed {"connection_id":188378,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:40:09] local.INFO: Acknowledgment sent {"connection_id":188378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:40:41] local.INFO: TCP Data received {"connection_id":188378,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:41] local.INFO: Processing buffer {"connection_id":188378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:40:41] local.INFO: Packet analysis {"connection_id":188378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:40:41] local.INFO: Extracted packet for processing {"connection_id":188378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:40:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:40: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-09-21 08:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:40:41] local.INFO: GPS data processed {"connection_id":188378,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:40:41] local.INFO: Acknowledgment sent {"connection_id":188378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:41:04] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:04] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:04] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:41:09] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:09] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:41:09] local.INFO: IMEI packet received {"connection_id":188380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:41:10] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:10] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:10] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:41:10] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:41:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:41: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-09-21 08: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-09-21 08:41:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:41:10] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:41:10] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:41:41] local.INFO: TCP Data received {"connection_id":191167,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191167,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:41:41] local.INFO: Processing buffer {"connection_id":191167,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:41:41] local.INFO: IMEI packet received {"connection_id":191167,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:41:41] local.INFO: IMEI acknowledgment sent {"connection_id":191167,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:41:41] local.INFO: TCP Data received {"connection_id":188380,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:41] local.INFO: Processing buffer {"connection_id":188380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:41:41] local.INFO: Packet analysis {"connection_id":188380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:41:41] local.INFO: Extracted packet for processing {"connection_id":188380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:41:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":188380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:41:41] local.INFO: GPS data processed {"connection_id":188380,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:41:41] local.INFO: Acknowledgment sent {"connection_id":188380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:42:03] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:03] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:03] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:42:09] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:09] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:42:09] local.INFO: IMEI packet received {"connection_id":188381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":188381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:42:09] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:42:09] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1ee3528012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 08:42:09] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:42:09] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1ee"} 
[2026-09-21 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229685248001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960009000,"timestamp_ms":1789960009000,"timestamp_seconds":1789960009,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1ee3528"} 
[2026-09-21 08:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229685248001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229685248001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229685248001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:42:10] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:42:10] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:42:16] local.INFO: TCP Data received {"connection_id":191168,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:42:16] local.INFO: Processing buffer {"connection_id":191168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:42:16] local.INFO: IMEI packet received {"connection_id":191168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":191168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:42:41] local.INFO: TCP Data received {"connection_id":188381,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:42:41] local.INFO: Processing buffer {"connection_id":188381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:42:41] local.INFO: Packet analysis {"connection_id":188381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:42:41] local.INFO: Extracted packet for processing {"connection_id":188381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:42: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-09-21 08:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":188381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:42:41] local.INFO: GPS data processed {"connection_id":188381,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:42:41] local.INFO: Acknowledgment sent {"connection_id":188381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:43:03] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:03] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:03] local.INFO: IMEI packet received {"connection_id":189847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":189847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:43:09] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:09] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:43:09] local.INFO: IMEI packet received {"connection_id":189847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":189847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:43:09] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:09] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:09] local.INFO: Packet analysis {"connection_id":189847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:43:09] local.INFO: Extracted packet for processing {"connection_id":189847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":189847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:43:09] local.INFO: GPS data processed {"connection_id":189847,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:43:09] local.INFO: Acknowledgment sent {"connection_id":189847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:43:41] local.INFO: TCP Data received {"connection_id":189847,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:41] local.INFO: Processing buffer {"connection_id":189847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:43:41] local.INFO: Packet analysis {"connection_id":189847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:43:41] local.INFO: Extracted packet for processing {"connection_id":189847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:43: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-09-21 08:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":189847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:43:41] local.INFO: GPS data processed {"connection_id":189847,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:43:41] local.INFO: Acknowledgment sent {"connection_id":189847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:44:03] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:03] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:03] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:44:09] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:09] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:44:09] local.INFO: IMEI packet received {"connection_id":191169,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:44:09] local.INFO: IMEI acknowledgment sent {"connection_id":191169,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:44:09] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:09] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:09] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:44:09] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:44:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:44:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:44:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:44:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:44:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:44:09] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:44:09] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:44:41] local.INFO: TCP Data received {"connection_id":191169,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:41] local.INFO: Processing buffer {"connection_id":191169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:44:41] local.INFO: Packet analysis {"connection_id":191169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:44:41] local.INFO: Extracted packet for processing {"connection_id":191169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:44: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-09-21 08:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191169,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":191169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:44:41] local.INFO: GPS data processed {"connection_id":191169,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:44:41] local.INFO: Acknowledgment sent {"connection_id":191169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:45:09] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:09] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:09] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:45:14] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:14] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:45:14] local.INFO: IMEI packet received {"connection_id":188382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":188382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:45:15] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:15] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:15] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:45:15] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45: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-09-21 08:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:45:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:45:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:45:15] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:45:15] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:45:19] local.INFO: TCP Data received {"connection_id":188382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:19] local.INFO: Processing buffer {"connection_id":188382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:45:19] local.INFO: Packet analysis {"connection_id":188382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:45:19] local.INFO: Extracted packet for processing {"connection_id":188382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:45:19] local.INFO: GPS data processed {"connection_id":188382,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:45:19] local.INFO: Acknowledgment sent {"connection_id":188382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:46:03] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:03] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:03] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:46:09] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:09] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:46:09] local.INFO: IMEI packet received {"connection_id":188383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":188383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:46:10] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:10] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:10] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:46:10] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:46: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-09-21 08: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-09-21 08:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08: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-09-21 08:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:46:10] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:46:10] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:46:42] local.INFO: TCP Data received {"connection_id":188383,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:42] local.INFO: Processing buffer {"connection_id":188383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:46:42] local.INFO: Packet analysis {"connection_id":188383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:46:42] local.INFO: Extracted packet for processing {"connection_id":188383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:46:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:46:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:46:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:46:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":188383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:46:42] local.INFO: GPS data processed {"connection_id":188383,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:46:42] local.INFO: Acknowledgment sent {"connection_id":188383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:47:08] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:08] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:08] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:47:09] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:09] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:47:09] local.INFO: IMEI packet received {"connection_id":188385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:47:09] local.INFO: IMEI acknowledgment sent {"connection_id":188385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:47:10] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:10] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:10] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:47:10] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:47: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-09-21 08: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-09-21 08:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:47:10] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:47:10] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:47:14] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:14] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f2ccf0012d34bdc006aa40f80000000c2a..."} 
[2026-09-21 08:47:14] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:47:14] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f2"} 
[2026-09-21 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229762304001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789960310000,"timestamp_ms":1789960310000,"timestamp_seconds":1789960310,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f2ccf0"} 
[2026-09-21 08:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:47:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:47:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229762304001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229762304001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229762304001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:47:14] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:47:14] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:47:45] local.INFO: TCP Data received {"connection_id":188385,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:47:45] local.INFO: Processing buffer {"connection_id":188385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:47:45] local.INFO: Packet analysis {"connection_id":188385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:47:45] local.INFO: Extracted packet for processing {"connection_id":188385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:47: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-09-21 08:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:47: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-09-21 08:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":188385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:47:45] local.INFO: GPS data processed {"connection_id":188385,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:47:45] local.INFO: Acknowledgment sent {"connection_id":188385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:47:46] local.INFO: TCP Data received {"connection_id":188535,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:47:46] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:47:46] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:48:03] local.INFO: TCP Data received {"connection_id":191171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:03] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:03] local.INFO: IMEI packet received {"connection_id":191171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":191171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:48:09] local.INFO: TCP Data received {"connection_id":191171,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:09] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:48:09] local.INFO: IMEI packet received {"connection_id":191171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":191171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:48:10] local.INFO: TCP Data received {"connection_id":191171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:10] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:10] local.INFO: Packet analysis {"connection_id":191171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:48:10] local.INFO: Extracted packet for processing {"connection_id":191171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 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-09-21 08:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:48: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-09-21 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-09-21 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-09-21 08:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:48: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-09-21 08:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":191171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:48:10] local.INFO: GPS data processed {"connection_id":191171,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:48:10] local.INFO: Acknowledgment sent {"connection_id":191171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:48:15] local.INFO: TCP Data received {"connection_id":188386,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:48:15] local.INFO: Processing buffer {"connection_id":188386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:48:15] local.INFO: IMEI packet received {"connection_id":188386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":188386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:48:42] local.INFO: TCP Data received {"connection_id":191171,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:42] local.INFO: Processing buffer {"connection_id":191171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:48:42] local.INFO: Packet analysis {"connection_id":191171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:48:42] local.INFO: Extracted packet for processing {"connection_id":191171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:48:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:48:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:48:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:48:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:48:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:48:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:48:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:48: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-09-21 08:48:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:48:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:48:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:48:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:48:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:48:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:48: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-09-21 08:48:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:48:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:48:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:48:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:48:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:48:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:48:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:48:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:48:42] local.INFO: DEBUG: GPS processor result {"connection_id":191171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:48:42] local.INFO: GPS data processed {"connection_id":191171,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:48:42] local.INFO: Acknowledgment sent {"connection_id":191171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:49:03] local.INFO: TCP Data received {"connection_id":189848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:03] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:03] local.INFO: IMEI packet received {"connection_id":189848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":189848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:49:09] local.INFO: TCP Data received {"connection_id":189848,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:09] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:49:09] local.INFO: IMEI packet received {"connection_id":189848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":189848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:49:10] local.INFO: TCP Data received {"connection_id":189848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:10] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:10] local.INFO: Packet analysis {"connection_id":189848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:49:10] local.INFO: Extracted packet for processing {"connection_id":189848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:49: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-09-21 08: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-09-21 08:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:49: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-09-21 08:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":189848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:49:10] local.INFO: GPS data processed {"connection_id":189848,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:49:10] local.INFO: Acknowledgment sent {"connection_id":189848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:49:41] local.INFO: TCP Data received {"connection_id":189848,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:41] local.INFO: Processing buffer {"connection_id":189848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:49:41] local.INFO: Packet analysis {"connection_id":189848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:49:41] local.INFO: Extracted packet for processing {"connection_id":189848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:49: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-09-21 08:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:49: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-09-21 08:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:49: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-09-21 08:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":189848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:49:41] local.INFO: GPS data processed {"connection_id":189848,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:49:41] local.INFO: Acknowledgment sent {"connection_id":189848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:50:03] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:03] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:03] local.INFO: IMEI packet received {"connection_id":189849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":189849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:50:09] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:09] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:50:09] local.INFO: IMEI packet received {"connection_id":189849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":189849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:50:09] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:09] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:09] local.INFO: Packet analysis {"connection_id":189849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:50:09] local.INFO: Extracted packet for processing {"connection_id":189849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 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-09-21 08:50: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-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:50: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-09-21 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-09-21 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-09-21 08:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08: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-09-21 08:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":189849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:50:09] local.INFO: GPS data processed {"connection_id":189849,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:50:09] local.INFO: Acknowledgment sent {"connection_id":189849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:50:42] local.INFO: TCP Data received {"connection_id":189849,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:42] local.INFO: Processing buffer {"connection_id":189849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:50:42] local.INFO: Packet analysis {"connection_id":189849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:50:42] local.INFO: Extracted packet for processing {"connection_id":189849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:50: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-09-21 08:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:50: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-09-21 08:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":189849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:50:42] local.INFO: GPS data processed {"connection_id":189849,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:50:42] local.INFO: Acknowledgment sent {"connection_id":189849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:51:09] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:09] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:09] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:51:14] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:14] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:51:14] local.INFO: IMEI packet received {"connection_id":191173,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":191173,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:51:15] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:15] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:15] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:51:15] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:51:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:51:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:51:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:51:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:51:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:51:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:51:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:51:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:51:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:51:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:51:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:51:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:51:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:51: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-09-21 08:51:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:51:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:51:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:51:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:51:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:51:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:51:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:51:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:51:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:51:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:51:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:51:15] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:51:15] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:51:15] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:51:19] local.INFO: TCP Data received {"connection_id":191173,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:19] local.INFO: Processing buffer {"connection_id":191173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:51:19] local.INFO: Packet analysis {"connection_id":191173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:51:19] local.INFO: Extracted packet for processing {"connection_id":191173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191173,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":191173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:51:19] local.INFO: GPS data processed {"connection_id":191173,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:51:19] local.INFO: Acknowledgment sent {"connection_id":191173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:52:03] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:03] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:03] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:52:09] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:09] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:52:09] local.INFO: IMEI packet received {"connection_id":188536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:52:11] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:52:11] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1f760d0012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 08:52:11] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:52:11] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1f7"} 
[2026-09-21 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:52:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229839360001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:52:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:52:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:52:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789960610000,"timestamp_ms":1789960610000,"timestamp_seconds":1789960610,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1f760d0"} 
[2026-09-21 08:52:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:52:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 08:52: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-09-21 08: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-09-21 08:52:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:52:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:52:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:52:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:52:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:52:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:52:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:52:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:52:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229839360001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:52:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:52:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:52:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229839360001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:52:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:52:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:52:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:52:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:52:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229839360001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:52:11] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:52:11] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:52:11] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:52:42] local.INFO: TCP Data received {"connection_id":188536,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:52:42] local.INFO: Processing buffer {"connection_id":188536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:52:42] local.INFO: Packet analysis {"connection_id":188536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:52:42] local.INFO: Extracted packet for processing {"connection_id":188536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:52:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:52: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-09-21 08: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-09-21 08:52:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:52:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"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-09-21 08:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":188536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:52:42] local.INFO: GPS data processed {"connection_id":188536,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:52:42] local.INFO: Acknowledgment sent {"connection_id":188536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:53:04] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:04] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:04] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:53:09] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:09] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:53:09] local.INFO: IMEI packet received {"connection_id":188388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":188388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:53:09] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:09] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:09] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:53:09] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:53:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:53: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-09-21 08:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:53:09] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:53:09] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:53:41] local.INFO: TCP Data received {"connection_id":188388,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:41] local.INFO: Processing buffer {"connection_id":188388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:53:41] local.INFO: Packet analysis {"connection_id":188388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:53:41] local.INFO: Extracted packet for processing {"connection_id":188388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":188388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:53:41] local.INFO: GPS data processed {"connection_id":188388,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:53:41] local.INFO: Acknowledgment sent {"connection_id":188388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:53:41] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:53:41] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:53:41] local.INFO: IMEI packet received {"connection_id":188537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:54:03] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:03] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:03] local.INFO: IMEI packet received {"connection_id":188389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:54:09] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:09] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:54:09] local.INFO: IMEI packet received {"connection_id":188389,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188389,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:54:09] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:09] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:09] local.INFO: Packet analysis {"connection_id":188389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:54:09] local.INFO: Extracted packet for processing {"connection_id":188389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 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-09-21 08:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 08:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:54: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-09-21 08:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":188389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:54:09] local.INFO: GPS data processed {"connection_id":188389,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:54:09] local.INFO: Acknowledgment sent {"connection_id":188389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:54:21] local.INFO: TCP Data received {"connection_id":188538,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:54:21] local.INFO: Processing buffer {"connection_id":188538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:54:21] local.INFO: IMEI packet received {"connection_id":188538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":188538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:54:41] local.INFO: TCP Data received {"connection_id":188389,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:41] local.INFO: Processing buffer {"connection_id":188389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:54:41] local.INFO: Packet analysis {"connection_id":188389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:54:41] local.INFO: Extracted packet for processing {"connection_id":188389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:54: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-09-21 08:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188389,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:54: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-09-21 08:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:54:41] local.INFO: GPS data processed {"connection_id":188389,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:54:41] local.INFO: Acknowledgment sent {"connection_id":188389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:55:03] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:03] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:03] local.INFO: IMEI packet received {"connection_id":188390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":188390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:55:09] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:09] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:55:09] local.INFO: IMEI packet received {"connection_id":188390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":188390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:55:10] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:10] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:10] local.INFO: Packet analysis {"connection_id":188390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:55:10] local.INFO: Extracted packet for processing {"connection_id":188390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:55: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-09-21 08: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-09-21 08:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:55: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-09-21 08:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":188390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:55:10] local.INFO: GPS data processed {"connection_id":188390,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:55:10] local.INFO: Acknowledgment sent {"connection_id":188390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:55:43] local.INFO: TCP Data received {"connection_id":188390,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:43] local.INFO: Processing buffer {"connection_id":188390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:55:43] local.INFO: Packet analysis {"connection_id":188390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:55:43] local.INFO: Extracted packet for processing {"connection_id":188390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 08:55:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:55:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:55:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 08:55:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 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-09-21 08:55:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:55:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 08:55:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:55:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:55:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:55:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:55:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:55:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:55:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:55:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:55:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:55:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:55:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:55:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:55:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:55:43] local.INFO: DEBUG: GPS processor result {"connection_id":188390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:55:43] local.INFO: GPS data processed {"connection_id":188390,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:55:43] local.INFO: Acknowledgment sent {"connection_id":188390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:56:03] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:03] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:03] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:56:09] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:09] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:56:09] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:56:09] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:56:10] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:10] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:10] local.INFO: Packet analysis {"connection_id":188539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:56:10] local.INFO: Extracted packet for processing {"connection_id":188539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:56: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-09-21 08:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:56: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-09-21 08:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:56:10] local.INFO: GPS data processed {"connection_id":188539,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:56:10] local.INFO: Acknowledgment sent {"connection_id":188539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:56:41] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:41] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:56:41] local.INFO: Packet analysis {"connection_id":188539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:56:41] local.INFO: Extracted packet for processing {"connection_id":188539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08: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-09-21 08:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:56: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-09-21 08:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:56:41] local.INFO: GPS data processed {"connection_id":188539,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:56:41] local.INFO: Acknowledgment sent {"connection_id":188539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:57:09] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:09] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:09] local.INFO: IMEI packet received {"connection_id":191175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":191175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:57:14] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:14] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:57:14] local.INFO: IMEI packet received {"connection_id":191175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:57:14] local.INFO: IMEI acknowledgment sent {"connection_id":191175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:57:14] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:14] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:14] local.INFO: Packet analysis {"connection_id":191175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:57:14] local.INFO: Extracted packet for processing {"connection_id":191175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:57:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:57: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-09-21 08:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":191175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:57:14] local.INFO: GPS data processed {"connection_id":191175,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:57:14] local.INFO: Acknowledgment sent {"connection_id":191175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:57:19] local.INFO: TCP Data received {"connection_id":191175,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:19] local.INFO: Processing buffer {"connection_id":191175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c1fbf898012d34bdc006aa40f80000000c27..."} 
[2026-09-21 08:57:19] local.INFO: Packet analysis {"connection_id":191175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:57:19] local.INFO: Extracted packet for processing {"connection_id":191175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c1fb"} 
[2026-09-21 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229916160001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789960911000,"timestamp_ms":1789960911000,"timestamp_seconds":1789960911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c1fbf898"} 
[2026-09-21 08:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 08:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229916160001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229916160001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:57:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:57:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229916160001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":191175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:57:19] local.INFO: GPS data processed {"connection_id":191175,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:57:19] local.INFO: Acknowledgment sent {"connection_id":191175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:58:03] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:03] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:03] local.INFO: IMEI packet received {"connection_id":189853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":189853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:58:09] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:09] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:58:09] local.INFO: IMEI packet received {"connection_id":189853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":189853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:58:09] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:09] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:09] local.INFO: Packet analysis {"connection_id":189853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:58:09] local.INFO: Extracted packet for processing {"connection_id":189853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 08:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:58: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-09-21 08:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 08:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":189853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:58:09] local.INFO: GPS data processed {"connection_id":189853,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:58:09] local.INFO: Acknowledgment sent {"connection_id":189853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:58:41] local.INFO: TCP Data received {"connection_id":189853,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:41] local.INFO: Processing buffer {"connection_id":189853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:58:41] local.INFO: Packet analysis {"connection_id":189853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:58:41] local.INFO: Extracted packet for processing {"connection_id":189853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08: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-09-21 08:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 08:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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-09-21 08: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-09-21 08: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-09-21 08:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:58: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-09-21 08:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":189853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:58:41] local.INFO: GPS data processed {"connection_id":189853,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:58:41] local.INFO: Acknowledgment sent {"connection_id":189853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:59:04] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:04] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:04] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 08:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 08:59:09] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:09] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 08:59:09] local.INFO: IMEI packet received {"connection_id":191176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 08:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":191176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 08:59:10] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:10] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:10] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:59:10] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 08:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 08:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:59:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 08:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08: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-09-21 08:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:59:10] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:59:10] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:59:41] local.INFO: TCP Data received {"connection_id":191176,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:41] local.INFO: Processing buffer {"connection_id":191176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 08:59:41] local.INFO: Packet analysis {"connection_id":191176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:59:41] local.INFO: Extracted packet for processing {"connection_id":191176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 08:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 08:59: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-09-21 08:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 08:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 08:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 08:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 08:59: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-09-21 08:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 08:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 08:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 08:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 08:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 08:59: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-09-21 08:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 08:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 08:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 08:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 08:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 08:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 08:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 08:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 08:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 08:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 08:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 08:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":191176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 08:59:41] local.INFO: GPS data processed {"connection_id":191176,"processed":1,"errors":0,"total":1} 
[2026-09-21 08:59:41] local.INFO: Acknowledgment sent {"connection_id":191176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 08:59:46] local.INFO: TCP Data received {"connection_id":188392,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188392,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:59:46] local.INFO: Processing buffer {"connection_id":188392,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 08:59:46] local.INFO: IMEI packet received {"connection_id":188392,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 08:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":188392,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:00:03] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:03] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:03] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:00:09] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:09] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:00:09] local.INFO: IMEI packet received {"connection_id":188541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:00:10] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:10] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:10] local.INFO: Packet analysis {"connection_id":188541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:00:10] local.INFO: Extracted packet for processing {"connection_id":188541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 09:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 09:00:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:00:10] local.INFO: GPS data processed {"connection_id":188541,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:00:10] local.INFO: Acknowledgment sent {"connection_id":188541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:00:16] local.INFO: TCP Data received {"connection_id":191177,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:00:16] local.INFO: Processing buffer {"connection_id":191177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:00:16] local.INFO: IMEI packet received {"connection_id":191177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":191177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:00:41] local.INFO: TCP Data received {"connection_id":188541,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:41] local.INFO: Processing buffer {"connection_id":188541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:00:41] local.INFO: Packet analysis {"connection_id":188541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:00:41] local.INFO: Extracted packet for processing {"connection_id":188541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 09:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 09:00: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-09-21 09:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:00:41] local.INFO: GPS data processed {"connection_id":188541,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:00:41] local.INFO: Acknowledgment sent {"connection_id":188541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:01:03] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:03] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:03] local.INFO: IMEI packet received {"connection_id":189854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":189854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:01:09] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:09] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:01:09] local.INFO: IMEI packet received {"connection_id":189854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":189854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:01:10] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:10] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:10] local.INFO: Packet analysis {"connection_id":189854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:01:10] local.INFO: Extracted packet for processing {"connection_id":189854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 09:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 09:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:01: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-09-21 09:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":189854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:01:10] local.INFO: GPS data processed {"connection_id":189854,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:01:10] local.INFO: Acknowledgment sent {"connection_id":189854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:01:41] local.INFO: TCP Data received {"connection_id":189854,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189854,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:41] local.INFO: Processing buffer {"connection_id":189854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:01:41] local.INFO: Packet analysis {"connection_id":189854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:01:41] local.INFO: Extracted packet for processing {"connection_id":189854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:01: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-09-21 09:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 09:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 09:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:01: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-09-21 09:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":189854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:01:41] local.INFO: GPS data processed {"connection_id":189854,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:01:41] local.INFO: Acknowledgment sent {"connection_id":189854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:02:03] local.INFO: TCP Data received {"connection_id":191178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:03] local.INFO: Processing buffer {"connection_id":191178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:03] local.INFO: IMEI packet received {"connection_id":191178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":191178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:02:09] local.INFO: TCP Data received {"connection_id":191178,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:09] local.INFO: Processing buffer {"connection_id":191178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:02:09] local.INFO: IMEI packet received {"connection_id":191178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:02:09] local.INFO: IMEI acknowledgment sent {"connection_id":191178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:02:09] local.INFO: TCP Data received {"connection_id":191178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:02:09] local.INFO: Processing buffer {"connection_id":191178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2009060012d34bdc006aa40f80004000c29..."} 
[2026-09-21 09:02:09] local.INFO: Packet analysis {"connection_id":191178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:02:09] local.INFO: Extracted packet for processing {"connection_id":191178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c200"} 
[2026-09-21 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458229993216001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961212000,"timestamp_ms":1789961212000,"timestamp_seconds":1789961212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2009060"} 
[2026-09-21 09:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 09:02: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-09-21 09:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:02: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-09-21 09:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458229993216001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458229993216001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458229993216001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":191178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:02:09] local.INFO: GPS data processed {"connection_id":191178,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:02:09] local.INFO: Acknowledgment sent {"connection_id":191178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:02:41] local.INFO: TCP Data received {"connection_id":191178,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:02:41] local.INFO: Processing buffer {"connection_id":191178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:02:41] local.INFO: Packet analysis {"connection_id":191178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:02:41] local.INFO: Extracted packet for processing {"connection_id":191178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":191178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:02:41] local.INFO: GPS data processed {"connection_id":191178,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:02:41] local.INFO: Acknowledgment sent {"connection_id":191178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:03:03] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:03] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:03] local.INFO: IMEI packet received {"connection_id":189855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":189855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:03:09] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:09] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:03:09] local.INFO: IMEI packet received {"connection_id":189855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:03:09] local.INFO: IMEI acknowledgment sent {"connection_id":189855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:03:10] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:10] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:10] local.INFO: Packet analysis {"connection_id":189855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:03:10] local.INFO: Extracted packet for processing {"connection_id":189855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:03:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:03:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:03:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:03:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:03:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:03:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:03: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-09-21 09: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-09-21 09:03:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:03:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:03:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:03:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:03:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:03: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-09-21 09:03:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:03:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:03:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:03:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:03:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:03:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:03:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:03:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:03:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:03:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:03:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:03:10] local.INFO: DEBUG: GPS processor result {"connection_id":189855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:03:10] local.INFO: GPS data processed {"connection_id":189855,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:03:10] local.INFO: Acknowledgment sent {"connection_id":189855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:03:41] local.INFO: TCP Data received {"connection_id":189855,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:41] local.INFO: Processing buffer {"connection_id":189855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:03:41] local.INFO: Packet analysis {"connection_id":189855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:03:41] local.INFO: Extracted packet for processing {"connection_id":189855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09: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-09-21 09:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:03: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-09-21 09:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":189855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:03:41] local.INFO: GPS data processed {"connection_id":189855,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:03:41] local.INFO: Acknowledgment sent {"connection_id":189855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:04:03] local.INFO: TCP Data received {"connection_id":189856,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:03] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:03] local.INFO: IMEI packet received {"connection_id":189856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":189856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:04:09] local.INFO: TCP Data received {"connection_id":189856,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:09] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:04:09] local.INFO: IMEI packet received {"connection_id":189856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":189856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:04:10] local.INFO: TCP Data received {"connection_id":189856,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:10] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:10] local.INFO: Packet analysis {"connection_id":189856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:04:10] local.INFO: Extracted packet for processing {"connection_id":189856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:04: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-09-21 09: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-09-21 09:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:04: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-09-21 09:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":189856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:04:10] local.INFO: GPS data processed {"connection_id":189856,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:04:10] local.INFO: Acknowledgment sent {"connection_id":189856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:04:42] local.INFO: TCP Data received {"connection_id":189856,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:42] local.INFO: Processing buffer {"connection_id":189856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:04:42] local.INFO: Packet analysis {"connection_id":189856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:04:42] local.INFO: Extracted packet for processing {"connection_id":189856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:04: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-09-21 09: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-09-21 09:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:04: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-09-21 09:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":189856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:04:42] local.INFO: GPS data processed {"connection_id":189856,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:04:42] local.INFO: Acknowledgment sent {"connection_id":189856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:05:03] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:03] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:03] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:05:09] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:09] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:05:09] local.INFO: IMEI packet received {"connection_id":191179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":191179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:05:10] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:10] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:10] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:05:10] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:05: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-09-21 09: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-09-21 09:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:05: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-09-21 09:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:05:10] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:05:10] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:05:41] local.INFO: TCP Data received {"connection_id":191179,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:41] local.INFO: Processing buffer {"connection_id":191179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:05:41] local.INFO: Packet analysis {"connection_id":191179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:05:41] local.INFO: Extracted packet for processing {"connection_id":191179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:05: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-09-21 09:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":191179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:05:41] local.INFO: GPS data processed {"connection_id":191179,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:05:41] local.INFO: Acknowledgment sent {"connection_id":191179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:05:46] local.INFO: TCP Data received {"connection_id":188395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:05:46] local.INFO: Processing buffer {"connection_id":188395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:05:46] local.INFO: IMEI packet received {"connection_id":188395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":188395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:06:03] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:03] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:03] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:06:08] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:09] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:06:09] local.INFO: IMEI packet received {"connection_id":188544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":188544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:06:09] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:09] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:09] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:06:09] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 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-09-21 09:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 09:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:06:09] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:06:09] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:06:15] local.INFO: TCP Data received {"connection_id":188396,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:06:15] local.INFO: Processing buffer {"connection_id":188396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:06:15] local.INFO: IMEI packet received {"connection_id":188396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":188396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:06:41] local.INFO: TCP Data received {"connection_id":188544,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:41] local.INFO: Processing buffer {"connection_id":188544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:06:41] local.INFO: Packet analysis {"connection_id":188544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:06:41] local.INFO: Extracted packet for processing {"connection_id":188544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:06:41] local.INFO: GPS data processed {"connection_id":188544,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:06:41] local.INFO: Acknowledgment sent {"connection_id":188544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:07:09] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:09] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:09] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:07:14] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:14] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:07:14] local.INFO: IMEI packet received {"connection_id":191180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":191180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:07:15] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:15] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:15] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:07:15] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07: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-09-21 09:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:07: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-09-21 09:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:07:15] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:07:15] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:07:19] local.INFO: TCP Data received {"connection_id":191180,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191180,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:19] local.INFO: Processing buffer {"connection_id":191180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2052828012d34bdc006aa40f80000000c29..."} 
[2026-09-21 09:07:19] local.INFO: Packet analysis {"connection_id":191180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:07:19] local.INFO: Extracted packet for processing {"connection_id":191180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c205"} 
[2026-09-21 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230070272001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789961513000,"timestamp_ms":1789961513000,"timestamp_seconds":1789961513,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2052828"} 
[2026-09-21 09:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 09:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230070272001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230070272001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230070272001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":191180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:07:19] local.INFO: GPS data processed {"connection_id":191180,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:07:19] local.INFO: Acknowledgment sent {"connection_id":191180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:08:03] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:03] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:03] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:08:09] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:09] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:08:09] local.INFO: IMEI packet received {"connection_id":188398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":188398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:08:09] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:09] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:09] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:08:09] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 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-09-21 09:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:08: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-09-21 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-09-21 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-09-21 09:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:08: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-09-21 09:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:08:09] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:08:09] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:08:41] local.INFO: TCP Data received {"connection_id":188398,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188398,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:41] local.INFO: Processing buffer {"connection_id":188398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:08:41] local.INFO: Packet analysis {"connection_id":188398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:08:41] local.INFO: Extracted packet for processing {"connection_id":188398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:08: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-09-21 09: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-09-21 09:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:08: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-09-21 09:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:08:41] local.INFO: GPS data processed {"connection_id":188398,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:08:41] local.INFO: Acknowledgment sent {"connection_id":188398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:09:04] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:04] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:04] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:09:04] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:09:09] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:09] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:09:09] local.INFO: IMEI packet received {"connection_id":188400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:09:09] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:09] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:09] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:09:09] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:09: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-09-21 09: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-09-21 09:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:09: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-09-21 09:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:09:09] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:09:09] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:09:41] local.INFO: TCP Data received {"connection_id":188400,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:41] local.INFO: Processing buffer {"connection_id":188400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:09:41] local.INFO: Packet analysis {"connection_id":188400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:09:41] local.INFO: Extracted packet for processing {"connection_id":188400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09: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-09-21 09: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-09-21 09:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:09: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-09-21 09:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:09:41] local.INFO: GPS data processed {"connection_id":188400,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:09:41] local.INFO: Acknowledgment sent {"connection_id":188400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:10:03] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:03] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:03] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:10:09] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:09] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:10:09] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:10:09] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:09] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:09] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:10:09] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 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-09-21 09:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:10: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-09-21 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-09-21 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-09-21 09:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:10:09] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:10:09] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:10:41] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:41] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:10:41] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:10:41] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:10: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-09-21 09:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:10: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-09-21 09:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:10:41] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:10:41] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:11:03] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:03] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:03] local.INFO: IMEI packet received {"connection_id":191182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":191182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:11:09] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:09] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:11:09] local.INFO: IMEI packet received {"connection_id":191182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":191182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:11:10] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:10] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:10] local.INFO: Packet analysis {"connection_id":191182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:11:10] local.INFO: Extracted packet for processing {"connection_id":191182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 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-09-21 09:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:11: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-09-21 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-09-21 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-09-21 09:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:11: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-09-21 09:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":191182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:11:10] local.INFO: GPS data processed {"connection_id":191182,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:11:10] local.INFO: Acknowledgment sent {"connection_id":191182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:11:41] local.INFO: TCP Data received {"connection_id":189858,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:11:41] local.INFO: Processing buffer {"connection_id":189858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:11:41] local.INFO: IMEI packet received {"connection_id":189858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":189858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:11:41] local.INFO: TCP Data received {"connection_id":191182,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:41] local.INFO: Processing buffer {"connection_id":191182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:11:41] local.INFO: Packet analysis {"connection_id":191182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:11:41] local.INFO: Extracted packet for processing {"connection_id":191182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:11: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-09-21 09:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:11: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-09-21 09:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":191182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:11:41] local.INFO: GPS data processed {"connection_id":191182,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:11:41] local.INFO: Acknowledgment sent {"connection_id":191182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:12:03] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:03] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:03] local.INFO: IMEI packet received {"connection_id":189859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":189859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:12:08] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:08] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:12:08] local.INFO: IMEI packet received {"connection_id":189859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":189859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:12:09] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:12:09] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c209bff0012d34bdc006aa40f80001000c2b..."} 
[2026-09-21 09:12:09] local.INFO: Packet analysis {"connection_id":189859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:12:09] local.INFO: Extracted packet for processing {"connection_id":189859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c209"} 
[2026-09-21 09:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":1,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230147328001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789961814000,"timestamp_ms":1789961814000,"timestamp_seconds":1789961814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c209bff0"} 
[2026-09-21 09:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09: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-09-21 09:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230147328001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230147328001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230147328001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":189859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:12:09] local.INFO: GPS data processed {"connection_id":189859,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:12:09] local.INFO: Acknowledgment sent {"connection_id":189859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:12:15] local.INFO: TCP Data received {"connection_id":189860,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:12:15] local.INFO: Processing buffer {"connection_id":189860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:12:15] local.INFO: IMEI packet received {"connection_id":189860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":189860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:12:40] local.INFO: TCP Data received {"connection_id":189859,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:12:40] local.INFO: Processing buffer {"connection_id":189859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:12:40] local.INFO: Packet analysis {"connection_id":189859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:12:40] local.INFO: Extracted packet for processing {"connection_id":189859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":189859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:12:40] local.INFO: GPS data processed {"connection_id":189859,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:12:40] local.INFO: Acknowledgment sent {"connection_id":189859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:13:08] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:08] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:08] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:13:13] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:13] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:13:13] local.INFO: IMEI packet received {"connection_id":191183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":191183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:13:14] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:14] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:14] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:13:14] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:13:14] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:13:14] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:13:47] local.INFO: TCP Data received {"connection_id":191183,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:47] local.INFO: Processing buffer {"connection_id":191183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:13:47] local.INFO: Packet analysis {"connection_id":191183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:13:47] local.INFO: Extracted packet for processing {"connection_id":191183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:13:47] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:13:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:13:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:13:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:13:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:13:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:13:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:13:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:13:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:13:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:13:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:13:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:13:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:13:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:13:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:13: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-09-21 09:13:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:13:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:13:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:13:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:13:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:13:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:13:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:13:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:13:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:13:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:13:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:13:47] local.INFO: DEBUG: GPS processor result {"connection_id":191183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:13:47] local.INFO: GPS data processed {"connection_id":191183,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:13:47] local.INFO: Acknowledgment sent {"connection_id":191183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:14:03] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:03] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:03] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:14:09] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:09] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:14:09] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:14:10] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:10] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:10] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:14:10] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 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-09-21 09:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:14: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-09-21 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-09-21 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-09-21 09:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:14: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-09-21 09:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:14:10] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:14:10] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:14:42] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:42] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:14:42] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:14:42] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:14: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-09-21 09:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:14: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-09-21 09:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:14:42] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:14:42] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:15:03] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:03] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:03] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:15:09] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:09] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:15:09] local.INFO: IMEI packet received {"connection_id":191184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":191184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:15:09] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:09] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:09] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:15:09] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:15:09] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:15:09] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:15:41] local.INFO: TCP Data received {"connection_id":191184,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:41] local.INFO: Processing buffer {"connection_id":191184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:15:41] local.INFO: Packet analysis {"connection_id":191184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:15:41] local.INFO: Extracted packet for processing {"connection_id":191184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:15: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-09-21 09:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":191184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:15:41] local.INFO: GPS data processed {"connection_id":191184,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:15:41] local.INFO: Acknowledgment sent {"connection_id":191184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:16:03] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:03] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:03] local.INFO: IMEI packet received {"connection_id":189862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":189862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:16:08] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:09] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:16:09] local.INFO: IMEI packet received {"connection_id":189862,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":189862,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:16:09] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:09] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:09] local.INFO: Packet analysis {"connection_id":189862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:16:09] local.INFO: Extracted packet for processing {"connection_id":189862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":189862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:16:09] local.INFO: GPS data processed {"connection_id":189862,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:16:09] local.INFO: Acknowledgment sent {"connection_id":189862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:16:42] local.INFO: TCP Data received {"connection_id":189862,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189862,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:42] local.INFO: Processing buffer {"connection_id":189862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:16:42] local.INFO: Packet analysis {"connection_id":189862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:16:42] local.INFO: Extracted packet for processing {"connection_id":189862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:16:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:16: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-09-21 09: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-09-21 09:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189862,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:16: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-09-21 09:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:16:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:16:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":189862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:16:42] local.INFO: GPS data processed {"connection_id":189862,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:16:42] local.INFO: Acknowledgment sent {"connection_id":189862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:17:09] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:09] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:09] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:17:14] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:14] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:17:14] local.INFO: IMEI packet received {"connection_id":188402,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188402,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:17:14] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:14] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:14] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:17:14] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:17: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-09-21 09:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:17:14] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:17:14] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:17:19] local.INFO: TCP Data received {"connection_id":188402,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:19] local.INFO: Processing buffer {"connection_id":188402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c20e57b8012d34bdc006aa40f80003000c2a..."} 
[2026-09-21 09:17:19] local.INFO: Packet analysis {"connection_id":188402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:17:19] local.INFO: Extracted packet for processing {"connection_id":188402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c20e"} 
[2026-09-21 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230224384001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789962115000,"timestamp_ms":1789962115000,"timestamp_seconds":1789962115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c20e57b8"} 
[2026-09-21 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188402,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230224384001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230224384001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230224384001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":188402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:17:19] local.INFO: GPS data processed {"connection_id":188402,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:17:19] local.INFO: Acknowledgment sent {"connection_id":188402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:17:41] local.INFO: TCP Data received {"connection_id":189864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:17:41] local.INFO: Processing buffer {"connection_id":189864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:17:41] local.INFO: IMEI packet received {"connection_id":189864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":189864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:18:03] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:03] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:03] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:18:09] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:09] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:18:09] local.INFO: IMEI packet received {"connection_id":188403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":188403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:18:10] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:10] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:10] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:18:10] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:18:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:18:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:18: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-09-21 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-09-21 09:18:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:18: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-09-21 09:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:18:10] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:18:10] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:18:15] local.INFO: TCP Data received {"connection_id":188404,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:18:15] local.INFO: Processing buffer {"connection_id":188404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:18:15] local.INFO: IMEI packet received {"connection_id":188404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":188404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:18:41] local.INFO: TCP Data received {"connection_id":188403,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:41] local.INFO: Processing buffer {"connection_id":188403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:18:41] local.INFO: Packet analysis {"connection_id":188403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:18:41] local.INFO: Extracted packet for processing {"connection_id":188403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:18:41] local.INFO: GPS data processed {"connection_id":188403,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:18:41] local.INFO: Acknowledgment sent {"connection_id":188403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:19:04] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:04] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:04] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:19:09] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:09] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:19:09] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:19:10] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:10] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:10] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:19:10] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:19: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-09-21 09:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:19: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-09-21 09:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:19:10] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:19:10] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:19:41] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:41] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:19:41] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:19:41] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:19: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-09-21 09:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:19: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-09-21 09:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:19:41] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:19:41] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:20:03] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:03] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:03] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:20:09] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:09] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:20:09] local.INFO: IMEI packet received {"connection_id":191185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":191185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:20:09] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:09] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:09] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:20:09] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 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-09-21 09:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:20:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 09:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:20: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-09-21 09:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:20:09] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:20:09] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:20:41] local.INFO: TCP Data received {"connection_id":191185,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:41] local.INFO: Processing buffer {"connection_id":191185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:20:41] local.INFO: Packet analysis {"connection_id":191185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:20:41] local.INFO: Extracted packet for processing {"connection_id":191185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:20: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-09-21 09:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:20: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-09-21 09:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":191185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:20:41] local.INFO: GPS data processed {"connection_id":191185,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:20:41] local.INFO: Acknowledgment sent {"connection_id":191185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:21:03] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:03] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:03] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:21:09] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:09] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:21:09] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:21:10] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:10] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:10] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:21:10] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:21: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-09-21 09:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:21:10] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:21:10] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:21:42] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:42] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:21:42] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:21:42] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:21: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-09-21 09:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:21: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-09-21 09:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:21: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-09-21 09:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:21:42] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:21:42] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:22:03] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:03] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:03] local.INFO: IMEI packet received {"connection_id":191186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":191186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:22:09] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:09] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:22:09] local.INFO: IMEI packet received {"connection_id":191186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":191186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:22:10] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:22:10] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c212ef80012d34bdc006aa40f80006000c2a..."} 
[2026-09-21 09:22:10] local.INFO: Packet analysis {"connection_id":191186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:22:10] local.INFO: Extracted packet for processing {"connection_id":191186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c212"} 
[2026-09-21 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230301440001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962416000,"timestamp_ms":1789962416000,"timestamp_seconds":1789962416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c212ef80"} 
[2026-09-21 09:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:22: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-09-21 09:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230301440001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230301440001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230301440001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":191186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:22:10] local.INFO: GPS data processed {"connection_id":191186,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:22:10] local.INFO: Acknowledgment sent {"connection_id":191186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:22:41] local.INFO: TCP Data received {"connection_id":191186,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191186,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:22:41] local.INFO: Processing buffer {"connection_id":191186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:22:41] local.INFO: Packet analysis {"connection_id":191186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:22:41] local.INFO: Extracted packet for processing {"connection_id":191186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":191186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:22:41] local.INFO: GPS data processed {"connection_id":191186,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:22:41] local.INFO: Acknowledgment sent {"connection_id":191186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:23:09] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:09] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:09] local.INFO: IMEI packet received {"connection_id":188407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":188407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:23:14] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:14] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:23:14] local.INFO: IMEI packet received {"connection_id":188407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:23:14] local.INFO: IMEI acknowledgment sent {"connection_id":188407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:23:15] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:15] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:15] local.INFO: Packet analysis {"connection_id":188407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:23:15] local.INFO: Extracted packet for processing {"connection_id":188407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:23: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-09-21 09:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:23: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-09-21 09:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:23:15] local.INFO: GPS data processed {"connection_id":188407,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:23:15] local.INFO: Acknowledgment sent {"connection_id":188407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:23:41] local.INFO: TCP Data received {"connection_id":191187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:23:41] local.INFO: Processing buffer {"connection_id":191187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:23:41] local.INFO: IMEI packet received {"connection_id":191187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":191187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:23:46] local.INFO: TCP Data received {"connection_id":188407,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:46] local.INFO: Processing buffer {"connection_id":188407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:23:46] local.INFO: Packet analysis {"connection_id":188407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:23:46] local.INFO: Extracted packet for processing {"connection_id":188407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:23:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:23:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:23:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:23:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:23:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:23:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:23: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-09-21 09: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-09-21 09:23:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:23:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:23:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:23:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:23:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:23: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-09-21 09:23:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:23:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:23:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:23:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:23:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:23:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:23:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:23:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:23:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:23:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:23:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:23:46] local.INFO: DEBUG: GPS processor result {"connection_id":188407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:23:46] local.INFO: GPS data processed {"connection_id":188407,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:23:46] local.INFO: Acknowledgment sent {"connection_id":188407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:24:03] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:03] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:03] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:24:09] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:09] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:24:09] local.INFO: IMEI packet received {"connection_id":188550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":188550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:24:10] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:10] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:10] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:24:10] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:24:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:24:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:24:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:24:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 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-09-21 09:24:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:24: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-09-21 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-09-21 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-09-21 09:24:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:24:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:24:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:24:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:24: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-09-21 09:24:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:24:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:24:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:24:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:24:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:24:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:24:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:24:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:24:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:24:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:24:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:24:10] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:24:10] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:24:10] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:24:16] local.INFO: TCP Data received {"connection_id":189867,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189867,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:24:16] local.INFO: Processing buffer {"connection_id":189867,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:24:16] local.INFO: IMEI packet received {"connection_id":189867,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":189867,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:24:42] local.INFO: TCP Data received {"connection_id":188550,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:42] local.INFO: Processing buffer {"connection_id":188550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:24:42] local.INFO: Packet analysis {"connection_id":188550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:24:42] local.INFO: Extracted packet for processing {"connection_id":188550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:24:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:24:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:24:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:24:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:24:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:24:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:24:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:24: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-09-21 09:24:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:24:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:24:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:24:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:24:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:24:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:24:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:24:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:24:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:24:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:24:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:24:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:24:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:24:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:24:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:24:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:24:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:24:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:24:42] local.INFO: DEBUG: GPS processor result {"connection_id":188550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:24:42] local.INFO: GPS data processed {"connection_id":188550,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:24:42] local.INFO: Acknowledgment sent {"connection_id":188550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:25:03] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:03] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:03] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:25:08] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:08] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:25:09] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:25:09] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:09] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:09] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:25:09] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:25:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:25:09] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:25:09] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:25:42] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:42] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:25:42] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:25:42] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:25: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-09-21 09:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:25: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-09-21 09:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:25:42] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:25:42] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:26:03] local.INFO: TCP Data received {"connection_id":189869,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:03] local.INFO: Processing buffer {"connection_id":189869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:03] local.INFO: IMEI packet received {"connection_id":189869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":189869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:26:08] local.INFO: TCP Data received {"connection_id":189869,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:08] local.INFO: Processing buffer {"connection_id":189869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:26:08] local.INFO: IMEI packet received {"connection_id":189869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":189869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:26:10] local.INFO: TCP Data received {"connection_id":189869,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:10] local.INFO: Processing buffer {"connection_id":189869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:10] local.INFO: Packet analysis {"connection_id":189869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:26:10] local.INFO: Extracted packet for processing {"connection_id":189869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:26:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09: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-09-21 09: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-09-21 09:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:26:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:26:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":189869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:26:10] local.INFO: GPS data processed {"connection_id":189869,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:26:10] local.INFO: Acknowledgment sent {"connection_id":189869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:26:42] local.INFO: TCP Data received {"connection_id":189869,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:42] local.INFO: Processing buffer {"connection_id":189869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:26:42] local.INFO: Packet analysis {"connection_id":189869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:26:42] local.INFO: Extracted packet for processing {"connection_id":189869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:26: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-09-21 09:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":189869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:26:42] local.INFO: GPS data processed {"connection_id":189869,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:26:42] local.INFO: Acknowledgment sent {"connection_id":189869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:27:03] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:03] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:03] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:27:08] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:08] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:27:08] local.INFO: IMEI packet received {"connection_id":191188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":191188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:27:10] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:27:10] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2178748012d34bdc006aa40f80004000c2a..."} 
[2026-09-21 09:27:10] local.INFO: Packet analysis {"connection_id":191188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:27:10] local.INFO: Extracted packet for processing {"connection_id":191188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c217"} 
[2026-09-21 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431168,"raw_latitude":111821048,"longitude_deg":75.8431168,"latitude_deg":11.1821048,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34bdc0","hex_latitude":"06aa40f8","is_valid_coordinates":true} 
[2026-09-21 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230378496001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789962717000,"timestamp_ms":1789962717000,"timestamp_seconds":1789962717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2178748"} 
[2026-09-21 09:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 09:27: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-09-21 09:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230378496001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230378496001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230378496001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":191188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:27:10] local.INFO: GPS data processed {"connection_id":191188,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:27:10] local.INFO: Acknowledgment sent {"connection_id":191188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:27:41] local.INFO: TCP Data received {"connection_id":191188,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:27:41] local.INFO: Processing buffer {"connection_id":191188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:27:41] local.INFO: Packet analysis {"connection_id":191188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:27:41] local.INFO: Extracted packet for processing {"connection_id":191188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:27: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-09-21 09:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:27: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-09-21 09:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":191188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:27:41] local.INFO: GPS data processed {"connection_id":191188,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:27:41] local.INFO: Acknowledgment sent {"connection_id":191188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:28:08] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:08] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:08] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:28:13] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:13] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:28:13] local.INFO: IMEI packet received {"connection_id":188410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:28:14] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:14] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:14] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:28:14] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:28:14] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:28:14] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:28:45] local.INFO: TCP Data received {"connection_id":188410,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:45] local.INFO: Processing buffer {"connection_id":188410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:28:45] local.INFO: Packet analysis {"connection_id":188410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:28:45] local.INFO: Extracted packet for processing {"connection_id":188410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:28: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-09-21 09:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":188410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:28:45] local.INFO: GPS data processed {"connection_id":188410,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:28:45] local.INFO: Acknowledgment sent {"connection_id":188410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:29:03] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:03] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:03] local.INFO: IMEI packet received {"connection_id":189870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":189870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:29:09] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:09] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:29:09] local.INFO: IMEI packet received {"connection_id":189870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":189870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:29:10] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:10] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:10] local.INFO: Packet analysis {"connection_id":189870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:29:10] local.INFO: Extracted packet for processing {"connection_id":189870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:29:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:29:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:29:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:29:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:29:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:29:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:29:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:29:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:29:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:29:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:29:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:29:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:29: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-09-21 09:29:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:29:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:29:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:29:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:29:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:29:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:29:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:29:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:29:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:29:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:29:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:29:10] local.INFO: DEBUG: GPS processor result {"connection_id":189870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:29:10] local.INFO: GPS data processed {"connection_id":189870,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:29:10] local.INFO: Acknowledgment sent {"connection_id":189870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:29:32] local.INFO: TCP Data received {"connection_id":189871,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:29:32] local.INFO: Processing buffer {"connection_id":189871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:29:32] local.INFO: IMEI packet received {"connection_id":189871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":189871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:29:42] local.INFO: TCP Data received {"connection_id":189870,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:42] local.INFO: Processing buffer {"connection_id":189870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:29:42] local.INFO: Packet analysis {"connection_id":189870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:29:42] local.INFO: Extracted packet for processing {"connection_id":189870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:29:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:29: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-09-21 09:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":189870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:29:42] local.INFO: GPS data processed {"connection_id":189870,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:29:42] local.INFO: Acknowledgment sent {"connection_id":189870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:30:03] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:03] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:03] local.INFO: IMEI packet received {"connection_id":188412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":188412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:30:08] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:08] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:30:08] local.INFO: IMEI packet received {"connection_id":188412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:30:09] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:09] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:09] local.INFO: Packet analysis {"connection_id":188412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:30:09] local.INFO: Extracted packet for processing {"connection_id":188412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:30: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-09-21 09:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":188412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:30:09] local.INFO: GPS data processed {"connection_id":188412,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:30:09] local.INFO: Acknowledgment sent {"connection_id":188412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:30:16] local.INFO: TCP Data received {"connection_id":191189,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:30:16] local.INFO: Processing buffer {"connection_id":191189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:30:16] local.INFO: IMEI packet received {"connection_id":191189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":191189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:30:41] local.INFO: TCP Data received {"connection_id":188412,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:41] local.INFO: Processing buffer {"connection_id":188412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:30:41] local.INFO: Packet analysis {"connection_id":188412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:30:41] local.INFO: Extracted packet for processing {"connection_id":188412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:30: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-09-21 09:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:30: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-09-21 09:30: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-09-21 09:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:30:41] local.INFO: GPS data processed {"connection_id":188412,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:30:41] local.INFO: Acknowledgment sent {"connection_id":188412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:31:03] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:03] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:03] local.INFO: IMEI packet received {"connection_id":191191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":191191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:31:09] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:09] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:31:09] local.INFO: IMEI packet received {"connection_id":191191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":191191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:31:10] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:10] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:10] local.INFO: Packet analysis {"connection_id":191191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:31:10] local.INFO: Extracted packet for processing {"connection_id":191191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:31:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:31:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:31: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-09-21 09:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":191191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:31:10] local.INFO: GPS data processed {"connection_id":191191,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:31:10] local.INFO: Acknowledgment sent {"connection_id":191191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:31:41] local.INFO: TCP Data received {"connection_id":191191,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:41] local.INFO: Processing buffer {"connection_id":191191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:31:41] local.INFO: Packet analysis {"connection_id":191191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:31:41] local.INFO: Extracted packet for processing {"connection_id":191191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:31: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-09-21 09:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:31:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:31: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-09-21 09:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":191191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:31:42] local.INFO: GPS data processed {"connection_id":191191,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:31:42] local.INFO: Acknowledgment sent {"connection_id":191191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:32:03] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:03] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:03] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:32:09] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:09] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:32:09] local.INFO: IMEI packet received {"connection_id":188413,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":188413,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:32:11] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:32:11] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c21c1f10012d34c04006aa41280003000c2a..."} 
[2026-09-21 09:32:11] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:32:11] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c21c"} 
[2026-09-21 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821096,"longitude_deg":75.8431808,"latitude_deg":11.1821096,"altitude":3,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4128","is_valid_coordinates":true} 
[2026-09-21 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230455552001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800404795429287936,"note":"Value kept but may cause issues"} 
[2026-09-21 09:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789963018000,"timestamp_ms":1789963018000,"timestamp_seconds":1789963018,"priority":1,"record_length":96,"hex_timestamp":"000001a0c21c1f10"} 
[2026-09-21 09:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:32:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:32:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 09:32:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:32:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:32: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-09-21 09:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230455552001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800404795429287936},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230455552001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:32:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:32:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800404795429287936,"description":"Unknown IO ID 45"} 
[2026-09-21 09:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230455552001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800404795429287936}} 
[2026-09-21 09:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:32:11] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:32:11] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:32:42] local.INFO: TCP Data received {"connection_id":188413,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:32:42] local.INFO: Processing buffer {"connection_id":188413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:32:42] local.INFO: Packet analysis {"connection_id":188413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:32:42] local.INFO: Extracted packet for processing {"connection_id":188413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:32: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-09-21 09: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-09-21 09:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188413,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:32: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-09-21 09:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":188413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:32:42] local.INFO: GPS data processed {"connection_id":188413,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:32:42] local.INFO: Acknowledgment sent {"connection_id":188413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:33:08] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:08] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:08] local.INFO: IMEI packet received {"connection_id":189874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":189874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:33:14] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:14] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:33:14] local.INFO: IMEI packet received {"connection_id":189874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":189874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:33:15] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:15] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:15] local.INFO: Packet analysis {"connection_id":189874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:33:15] local.INFO: Extracted packet for processing {"connection_id":189874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09:33: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-09-21 09:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:33:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:33: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-09-21 09:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":189874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:33:15] local.INFO: GPS data processed {"connection_id":189874,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:33:15] local.INFO: Acknowledgment sent {"connection_id":189874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:33:47] local.INFO: TCP Data received {"connection_id":189874,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:47] local.INFO: Processing buffer {"connection_id":189874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:33:47] local.INFO: Packet analysis {"connection_id":189874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:33:47] local.INFO: Extracted packet for processing {"connection_id":189874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:33: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-09-21 09:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:33: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-09-21 09:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":189874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:33:47] local.INFO: GPS data processed {"connection_id":189874,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:33:47] local.INFO: Acknowledgment sent {"connection_id":189874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:34:03] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:03] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:03] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:34:08] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:08] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:34:08] local.INFO: IMEI packet received {"connection_id":188414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:34:10] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:10] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:10] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:34:10] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 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-09-21 09:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:34: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-09-21 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-09-21 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-09-21 09:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:34:10] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:34:10] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:34:41] local.INFO: TCP Data received {"connection_id":188414,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:41] local.INFO: Processing buffer {"connection_id":188414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:34:41] local.INFO: Packet analysis {"connection_id":188414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:34:41] local.INFO: Extracted packet for processing {"connection_id":188414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09:34: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-09-21 09:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:34: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-09-21 09:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:34: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-09-21 09:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":188414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:34:41] local.INFO: GPS data processed {"connection_id":188414,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:34:41] local.INFO: Acknowledgment sent {"connection_id":188414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:35:03] local.INFO: TCP Data received {"connection_id":189875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:03] local.INFO: Processing buffer {"connection_id":189875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:03] local.INFO: IMEI packet received {"connection_id":189875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":189875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:35:08] local.INFO: TCP Data received {"connection_id":189875,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:08] local.INFO: Processing buffer {"connection_id":189875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:35:08] local.INFO: IMEI packet received {"connection_id":189875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":189875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:35:09] local.INFO: TCP Data received {"connection_id":189875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:09] local.INFO: Processing buffer {"connection_id":189875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:09] local.INFO: Packet analysis {"connection_id":189875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:35:09] local.INFO: Extracted packet for processing {"connection_id":189875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:35: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-09-21 09:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":189875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:35:09] local.INFO: GPS data processed {"connection_id":189875,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:35:09] local.INFO: Acknowledgment sent {"connection_id":189875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:35:41] local.INFO: TCP Data received {"connection_id":189875,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:41] local.INFO: Processing buffer {"connection_id":189875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:35:41] local.INFO: Packet analysis {"connection_id":189875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:35:41] local.INFO: Extracted packet for processing {"connection_id":189875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09:35: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-09-21 09:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:35: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-09-21 09:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":189875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:35:41] local.INFO: GPS data processed {"connection_id":189875,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:35:41] local.INFO: Acknowledgment sent {"connection_id":189875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:35:46] local.INFO: TCP Data received {"connection_id":191192,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:35:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191192,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:35:46] local.INFO: Processing buffer {"connection_id":191192,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:35:46] local.INFO: IMEI packet received {"connection_id":191192,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:35:46] local.INFO: IMEI acknowledgment sent {"connection_id":191192,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:36:03] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:03] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:03] local.INFO: IMEI packet received {"connection_id":189876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":189876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:36:09] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:09] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:36:09] local.INFO: IMEI packet received {"connection_id":189876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":189876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:36:10] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:10] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:10] local.INFO: Packet analysis {"connection_id":189876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:36:10] local.INFO: Extracted packet for processing {"connection_id":189876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:36: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-09-21 09:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":189876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:36:10] local.INFO: GPS data processed {"connection_id":189876,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:36:10] local.INFO: Acknowledgment sent {"connection_id":189876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:36:15] local.INFO: TCP Data received {"connection_id":188554,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188554,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:36:15] local.INFO: Processing buffer {"connection_id":188554,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:36:15] local.INFO: IMEI packet received {"connection_id":188554,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188554,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:36:41] local.INFO: TCP Data received {"connection_id":189876,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:41] local.INFO: Processing buffer {"connection_id":189876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:36:41] local.INFO: Packet analysis {"connection_id":189876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:36:41] local.INFO: Extracted packet for processing {"connection_id":189876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 09:36: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-09-21 09:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 09:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:36: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-09-21 09:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":189876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:36:41] local.INFO: GPS data processed {"connection_id":189876,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:36:41] local.INFO: Acknowledgment sent {"connection_id":189876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:37:08] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:08] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:08] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:37:13] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:13] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:37:13] local.INFO: IMEI packet received {"connection_id":188415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":188415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:37:15] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:15] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c220b6d8012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:15] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:37:15] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c220"} 
[2026-09-21 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:37:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230532608001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:37:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:37:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871076864,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:37:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789963319000,"timestamp_ms":1789963319000,"timestamp_seconds":1789963319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c220b6d8"} 
[2026-09-21 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-09-21 09:37:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:37:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 09:37:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:37:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:37:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:37:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 09:37:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:37:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:37:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230532608001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871076864},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:37:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:37:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:37:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230532608001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:37:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:37:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:37:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:37:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871076864,"description":"Unknown IO ID 45"} 
[2026-09-21 09:37:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230532608001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871076864}} 
[2026-09-21 09:37:15] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:37:15] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:37:15] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:37:47] local.INFO: TCP Data received {"connection_id":188415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:47] local.INFO: Processing buffer {"connection_id":188415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:37:47] local.INFO: Packet analysis {"connection_id":188415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:37:47] local.INFO: Extracted packet for processing {"connection_id":188415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:37: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-09-21 09:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:37:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:37:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":188415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:37:47] local.INFO: GPS data processed {"connection_id":188415,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:37:47] local.INFO: Acknowledgment sent {"connection_id":188415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:38:03] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:03] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:03] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:38:08] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:08] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:38:08] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:38:09] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:09] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:09] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:38:09] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 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-09-21 09:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:38: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-09-21 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-09-21 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-09-21 09:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:38:09] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:38:09] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:38:41] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:41] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:38:41] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:38:41] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:38: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-09-21 09: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-09-21 09:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:38:41] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:38:41] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:39:03] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:03] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:03] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:39:08] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:08] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:39:08] local.INFO: IMEI packet received {"connection_id":191193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":191193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:39:10] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:10] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:10] local.INFO: Packet analysis {"connection_id":191193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:39:10] local.INFO: Extracted packet for processing {"connection_id":191193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:39: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-09-21 09:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:39: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-09-21 09:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:39:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":191193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:39:10] local.INFO: GPS data processed {"connection_id":191193,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:39:10] local.INFO: Acknowledgment sent {"connection_id":191193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:39:41] local.INFO: TCP Data received {"connection_id":191193,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:41] local.INFO: Processing buffer {"connection_id":191193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:39:41] local.INFO: Packet analysis {"connection_id":191193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:39:41] local.INFO: Extracted packet for processing {"connection_id":191193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:39: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-09-21 09:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:39: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-09-21 09:39: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-09-21 09:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:39: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-09-21 09:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:39:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":191193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:39:41] local.INFO: GPS data processed {"connection_id":191193,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:39:41] local.INFO: Acknowledgment sent {"connection_id":191193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:40:09] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:09] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:09] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:40:09] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:40:13] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:13] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:40:13] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:40:13] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:40:14] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:14] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:14] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:40:14] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:40:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:40:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:40:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:40:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:40:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:40:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:40:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:40:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:40:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:40:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:40:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:40:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:40:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:40:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:40:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:40:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:40:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:40:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:40:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:40:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:40:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:40:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:40:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:40:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:40:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:40:14] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:40:14] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:40:14] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:40:19] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:19] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:40:19] local.INFO: Packet analysis {"connection_id":188558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:40:19] local.INFO: Extracted packet for processing {"connection_id":188558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:40:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:40:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:40:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:40:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:40:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:40:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:40:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:40:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:40:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:40:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:40:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:40:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:40:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:40:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:40:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:40:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:40:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:40:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:40:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:40:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:40:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:40:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:40:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:40:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:40:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":188558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:40:19] local.INFO: GPS data processed {"connection_id":188558,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:40:19] local.INFO: Acknowledgment sent {"connection_id":188558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:41:03] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:03] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:03] local.INFO: IMEI packet received {"connection_id":191194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":191194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:41:08] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:08] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:41:08] local.INFO: IMEI packet received {"connection_id":191194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":191194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:41:09] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:09] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:09] local.INFO: Packet analysis {"connection_id":191194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:41:09] local.INFO: Extracted packet for processing {"connection_id":191194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 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-09-21 09:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:41: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-09-21 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-09-21 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-09-21 09:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":191194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:41:09] local.INFO: GPS data processed {"connection_id":191194,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:41:09] local.INFO: Acknowledgment sent {"connection_id":191194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:41:31] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:41:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:41:31] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:41:31] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:41:31] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:41:40] local.INFO: TCP Data received {"connection_id":191194,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191194,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:40] local.INFO: Processing buffer {"connection_id":191194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:41:40] local.INFO: Packet analysis {"connection_id":191194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:41:40] local.INFO: Extracted packet for processing {"connection_id":191194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":191194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:41:40] local.INFO: GPS data processed {"connection_id":191194,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:41:40] local.INFO: Acknowledgment sent {"connection_id":191194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:42:03] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:03] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:03] local.INFO: IMEI packet received {"connection_id":189877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":189877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:42:08] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:08] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:42:08] local.INFO: IMEI packet received {"connection_id":189877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":189877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:42:09] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:42:09] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2254ea0012d34c04006aa41300003000c2d..."} 
[2026-09-21 09:42:09] local.INFO: Packet analysis {"connection_id":189877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:42:09] local.INFO: Extracted packet for processing {"connection_id":189877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c225"} 
[2026-09-21 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230609664001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963620000,"timestamp_ms":1789963620000,"timestamp_seconds":1789963620,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2254ea0"} 
[2026-09-21 09:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:42: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-09-21 09:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230609664001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230609664001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230609664001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":189877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:42:09] local.INFO: GPS data processed {"connection_id":189877,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:42:09] local.INFO: Acknowledgment sent {"connection_id":189877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:42:21] local.INFO: TCP Data received {"connection_id":189878,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:42:21] local.INFO: Processing buffer {"connection_id":189878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:42:21] local.INFO: IMEI packet received {"connection_id":189878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":189878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:42:41] local.INFO: TCP Data received {"connection_id":189877,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:42:41] local.INFO: Processing buffer {"connection_id":189877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:42:41] local.INFO: Packet analysis {"connection_id":189877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:42:41] local.INFO: Extracted packet for processing {"connection_id":189877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:42: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-09-21 09:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:42: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-09-21 09:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":189877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:42:41] local.INFO: GPS data processed {"connection_id":189877,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:42:41] local.INFO: Acknowledgment sent {"connection_id":189877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:43:03] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:03] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:03] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:43:09] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:09] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:43:09] local.INFO: IMEI packet received {"connection_id":191195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":191195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:43:10] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:10] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:10] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:43:10] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:43:10] 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-09-21 09: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-09-21 09:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:43:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:43:10] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:43:10] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:43:41] local.INFO: TCP Data received {"connection_id":191195,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:41] local.INFO: Processing buffer {"connection_id":191195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:43:41] local.INFO: Packet analysis {"connection_id":191195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:43:41] local.INFO: Extracted packet for processing {"connection_id":191195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:43: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-09-21 09: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-09-21 09:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:43: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-09-21 09:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":191195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:43:41] local.INFO: GPS data processed {"connection_id":191195,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:43:41] local.INFO: Acknowledgment sent {"connection_id":191195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:44:03] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:03] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:03] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:44:08] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:08] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:44:08] local.INFO: IMEI packet received {"connection_id":188562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:44:09] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:09] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:09] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:44:09] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 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-09-21 09:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:44: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-09-21 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-09-21 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-09-21 09:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09: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-09-21 09:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:44:10] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:44:10] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:44:41] local.INFO: TCP Data received {"connection_id":188562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:41] local.INFO: Processing buffer {"connection_id":188562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:44:41] local.INFO: Packet analysis {"connection_id":188562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:44:41] local.INFO: Extracted packet for processing {"connection_id":188562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:44: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-09-21 09:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:44: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-09-21 09:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:44: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-09-21 09:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:44:41] local.INFO: GPS data processed {"connection_id":188562,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:44:41] local.INFO: Acknowledgment sent {"connection_id":188562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:45:08] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:08] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:08] local.INFO: IMEI packet received {"connection_id":189880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":189880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:45:14] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:14] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:45:14] local.INFO: IMEI packet received {"connection_id":189880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:45:14] local.INFO: IMEI acknowledgment sent {"connection_id":189880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:45:15] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:15] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:15] local.INFO: Packet analysis {"connection_id":189880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:45:15] local.INFO: Extracted packet for processing {"connection_id":189880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:45:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45: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-09-21 09:45:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:45:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:45:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:45:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:45:15] 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-09-21 09:45:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:45:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:45:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:45:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:45:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:45:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:45: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-09-21 09:45:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:45:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:45:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:45:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:45:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:45:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:45:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:45:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:45:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:45:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:45:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:45:15] local.INFO: DEBUG: GPS processor result {"connection_id":189880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:45:15] local.INFO: GPS data processed {"connection_id":189880,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:45:15] local.INFO: Acknowledgment sent {"connection_id":189880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:45:19] local.INFO: TCP Data received {"connection_id":189880,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:19] local.INFO: Processing buffer {"connection_id":189880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:45:19] local.INFO: Packet analysis {"connection_id":189880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:45:19] local.INFO: Extracted packet for processing {"connection_id":189880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:45:19] 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-09-21 09:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":189880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:45:19] local.INFO: GPS data processed {"connection_id":189880,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:45:19] local.INFO: Acknowledgment sent {"connection_id":189880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:46:03] local.INFO: TCP Data received {"connection_id":189881,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:03] local.INFO: Processing buffer {"connection_id":189881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:03] local.INFO: IMEI packet received {"connection_id":189881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":189881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:46:08] local.INFO: TCP Data received {"connection_id":189881,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:09] local.INFO: Processing buffer {"connection_id":189881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:46:09] local.INFO: IMEI packet received {"connection_id":189881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":189881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:46:17] local.INFO: TCP Data received {"connection_id":189881,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:17] local.INFO: Processing buffer {"connection_id":189881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:17] local.INFO: Packet analysis {"connection_id":189881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:46:17] local.INFO: Extracted packet for processing {"connection_id":189881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:46:17] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:46:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:46:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":189881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:46:17] local.INFO: GPS data processed {"connection_id":189881,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:46:17] local.INFO: Acknowledgment sent {"connection_id":189881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:46:48] local.INFO: TCP Data received {"connection_id":189881,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:48] local.INFO: Processing buffer {"connection_id":189881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:46:48] local.INFO: Packet analysis {"connection_id":189881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:46:48] local.INFO: Extracted packet for processing {"connection_id":189881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:46:48] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:46: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-09-21 09:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:46:48] 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-09-21 09:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:46:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:46:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":189881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:46:48] local.INFO: GPS data processed {"connection_id":189881,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:46:48] local.INFO: Acknowledgment sent {"connection_id":189881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:47:04] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:04] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:04] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:47:08] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:08] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:47:08] local.INFO: IMEI packet received {"connection_id":188419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":188419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:47:09] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:09] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:09] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:47:09] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:47: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-09-21 09:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:47:09] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:47:09] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:47:36] local.INFO: TCP Data received {"connection_id":191197,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:47:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:47:36] local.INFO: Processing buffer {"connection_id":191197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:47:36] local.INFO: IMEI packet received {"connection_id":191197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:47:36] local.INFO: IMEI acknowledgment sent {"connection_id":191197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:47:41] local.INFO: TCP Data received {"connection_id":188419,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:41] local.INFO: Processing buffer {"connection_id":188419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c229e668012d34c04006aa41300000000c30..."} 
[2026-09-21 09:47:41] local.INFO: Packet analysis {"connection_id":188419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:47:41] local.INFO: Extracted packet for processing {"connection_id":188419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c229"} 
[2026-09-21 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230686720001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:47: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-09-21 09:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789963921000,"timestamp_ms":1789963921000,"timestamp_seconds":1789963921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c229e668"} 
[2026-09-21 09:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 09:47: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-09-21 09:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230686720001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230686720001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230686720001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":188419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:47:41] local.INFO: GPS data processed {"connection_id":188419,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:47:41] local.INFO: Acknowledgment sent {"connection_id":188419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:48:03] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:03] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:03] local.INFO: IMEI packet received {"connection_id":189882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":189882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:48:09] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:09] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:48:09] local.INFO: IMEI packet received {"connection_id":189882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":189882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:48:10] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:10] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:10] local.INFO: Packet analysis {"connection_id":189882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:48:10] local.INFO: Extracted packet for processing {"connection_id":189882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 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-09-21 09:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:48: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-09-21 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-09-21 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-09-21 09:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:48: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-09-21 09:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:48:10] local.INFO: GPS data processed {"connection_id":189882,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:48:10] local.INFO: Acknowledgment sent {"connection_id":189882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:48:15] local.INFO: TCP Data received {"connection_id":191198,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191198,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:48:15] local.INFO: Processing buffer {"connection_id":191198,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:48:15] local.INFO: IMEI packet received {"connection_id":191198,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":191198,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:48:41] local.INFO: TCP Data received {"connection_id":189882,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:41] local.INFO: Processing buffer {"connection_id":189882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:48:41] local.INFO: Packet analysis {"connection_id":189882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:48:41] local.INFO: Extracted packet for processing {"connection_id":189882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:48: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-09-21 09: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-09-21 09:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:48: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-09-21 09:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":189882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:48:41] local.INFO: GPS data processed {"connection_id":189882,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:48:41] local.INFO: Acknowledgment sent {"connection_id":189882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:49:03] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:03] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:03] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:49:08] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:08] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:49:08] local.INFO: IMEI packet received {"connection_id":188420,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188420,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:49:10] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:10] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:10] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:49:10] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:49: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-09-21 09: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-09-21 09:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:49:10] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:49:10] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:49:42] local.INFO: TCP Data received {"connection_id":188420,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188420,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:42] local.INFO: Processing buffer {"connection_id":188420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:49:42] local.INFO: Packet analysis {"connection_id":188420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:49:42] local.INFO: Extracted packet for processing {"connection_id":188420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:49: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-09-21 09: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-09-21 09:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188420,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:49: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-09-21 09:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:49:42] local.INFO: GPS data processed {"connection_id":188420,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:49:42] local.INFO: Acknowledgment sent {"connection_id":188420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:50:03] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:03] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:03] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:50:08] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:08] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:50:08] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:50:09] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:09] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:09] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:50:09] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 09: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-09-21 09:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:50: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-09-21 09:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:50:09] local.INFO: GPS data processed {"connection_id":188563,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:50:09] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:50:40] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:40] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:50:40] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:50:40] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:50:40] local.INFO: GPS data processed {"connection_id":188563,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:50:40] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:51:08] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:08] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:08] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:51:13] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:13] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:51:13] local.INFO: IMEI packet received {"connection_id":188421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":188421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:51:14] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:14] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:14] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:51:14] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:51: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-09-21 09:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:51:14] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:51:14] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:51:19] local.INFO: TCP Data received {"connection_id":188421,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:19] local.INFO: Processing buffer {"connection_id":188421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:51:19] local.INFO: Packet analysis {"connection_id":188421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:51:19] local.INFO: Extracted packet for processing {"connection_id":188421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":188421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:51:19] local.INFO: GPS data processed {"connection_id":188421,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:51:19] local.INFO: Acknowledgment sent {"connection_id":188421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:52:03] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:03] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:03] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:52:09] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:09] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:52:09] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:52:09] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:52:10] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:10] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:10] local.INFO: Packet analysis {"connection_id":188564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:52:10] local.INFO: Extracted packet for processing {"connection_id":188564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 09:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 09:52: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-09-21 09: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-09-21 09:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:52: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-09-21 09:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:52:10] local.INFO: GPS data processed {"connection_id":188564,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:52:10] local.INFO: Acknowledgment sent {"connection_id":188564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:52:42] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:42] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c22e7e30012d34c04006aa41300007000c2f..."} 
[2026-09-21 09:52:42] local.INFO: Packet analysis {"connection_id":188564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:52:42] local.INFO: Extracted packet for processing {"connection_id":188564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c22e"} 
[2026-09-21 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:52:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230763776001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:52:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:52:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:52:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789964222000,"timestamp_ms":1789964222000,"timestamp_seconds":1789964222,"priority":1,"record_length":96,"hex_timestamp":"000001a0c22e7e30"} 
[2026-09-21 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-09-21 09:52:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 09: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-09-21 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-09-21 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-09-21 09:52:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:52:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:52:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:52:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:52: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-09-21 09:52:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:52:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:52:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230763776001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:52:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:52:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:52:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230763776001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:52:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:52:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:52:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:52:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:52:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230763776001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:52:42] local.INFO: DEBUG: GPS processor result {"connection_id":188564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:52:42] local.INFO: GPS data processed {"connection_id":188564,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:52:42] local.INFO: Acknowledgment sent {"connection_id":188564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:53:04] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:04] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:04] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:53:08] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:09] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:53:09] local.INFO: IMEI packet received {"connection_id":191200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":191200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:53:12] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:12] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:12] local.INFO: Packet analysis {"connection_id":191200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:53:12] local.INFO: Extracted packet for processing {"connection_id":191200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:53:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:53:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":191200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:53:12] local.INFO: GPS data processed {"connection_id":191200,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:53:12] local.INFO: Acknowledgment sent {"connection_id":191200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:53:41] local.INFO: TCP Data received {"connection_id":188422,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:53:41] local.INFO: Processing buffer {"connection_id":188422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:53:41] local.INFO: IMEI packet received {"connection_id":188422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:53:43] local.INFO: TCP Data received {"connection_id":191200,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:43] local.INFO: Processing buffer {"connection_id":191200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:53:43] local.INFO: Packet analysis {"connection_id":191200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:53:43] local.INFO: Extracted packet for processing {"connection_id":191200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:53:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:53: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-09-21 09:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":191200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:53:43] local.INFO: GPS data processed {"connection_id":191200,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:53:43] local.INFO: Acknowledgment sent {"connection_id":191200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:54:03] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:03] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:03] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:54:08] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:08] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:54:08] local.INFO: IMEI packet received {"connection_id":188565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:54:09] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:09] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:09] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:54:09] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:54: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-09-21 09:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:54:09] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:54:09] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:54:21] local.INFO: TCP Data received {"connection_id":188423,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:54:21] local.INFO: Processing buffer {"connection_id":188423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:54:21] local.INFO: IMEI packet received {"connection_id":188423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":188423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:54:41] local.INFO: TCP Data received {"connection_id":188565,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:41] local.INFO: Processing buffer {"connection_id":188565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:54:41] local.INFO: Packet analysis {"connection_id":188565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:54:41] local.INFO: Extracted packet for processing {"connection_id":188565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:54: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-09-21 09:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:54: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-09-21 09:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:54:41] local.INFO: GPS data processed {"connection_id":188565,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:54:41] local.INFO: Acknowledgment sent {"connection_id":188565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:55:03] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:03] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:03] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:55:09] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:09] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:55:09] local.INFO: IMEI packet received {"connection_id":191201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":191201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:55:10] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:10] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:10] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:55:10] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:55: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-09-21 09: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-09-21 09:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:55: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-09-21 09:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:55:10] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:55:10] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:55:42] local.INFO: TCP Data received {"connection_id":191201,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191201,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:42] local.INFO: Processing buffer {"connection_id":191201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:55:42] local.INFO: Packet analysis {"connection_id":191201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:55:42] local.INFO: Extracted packet for processing {"connection_id":191201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:55: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-09-21 09:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:55: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-09-21 09:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:55: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-09-21 09:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":191201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:55:42] local.INFO: GPS data processed {"connection_id":191201,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:55:42] local.INFO: Acknowledgment sent {"connection_id":191201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:56:08] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:08] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:08] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:56:13] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:13] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:56:13] local.INFO: IMEI packet received {"connection_id":188567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:56:15] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:15] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:15] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:56:15] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:56:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56: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-09-21 09:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:56:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:56:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:56:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:56:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:56: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-09-21 09:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:56:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:56:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:56:15] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:56:15] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:56:20] local.INFO: TCP Data received {"connection_id":188567,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:20] local.INFO: Processing buffer {"connection_id":188567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:56:20] local.INFO: Packet analysis {"connection_id":188567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:56:20] local.INFO: Extracted packet for processing {"connection_id":188567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:56:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:56:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:56:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:56:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:56:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:56:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:56:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09:56:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:56:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:56:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:56:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:56:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:56:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:56:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:56:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:56:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:56:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:56:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:56:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:56:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:56:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:56:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:56:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:56:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:56:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:56:20] local.INFO: GPS data processed {"connection_id":188567,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:56:20] local.INFO: Acknowledgment sent {"connection_id":188567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:57:03] local.INFO: TCP Data received {"connection_id":191203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:03] local.INFO: Processing buffer {"connection_id":191203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:03] local.INFO: IMEI packet received {"connection_id":191203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":191203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:57:08] local.INFO: TCP Data received {"connection_id":191203,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:08] local.INFO: Processing buffer {"connection_id":191203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:57:08] local.INFO: IMEI packet received {"connection_id":191203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":191203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:57:09] local.INFO: TCP Data received {"connection_id":191203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:09] local.INFO: Processing buffer {"connection_id":191203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:09] local.INFO: Packet analysis {"connection_id":191203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:57:09] local.INFO: Extracted packet for processing {"connection_id":191203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 09:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 09:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 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-09-21 09:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:57: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-09-21 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-09-21 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-09-21 09:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":191203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:57:09] local.INFO: GPS data processed {"connection_id":191203,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:57:09] local.INFO: Acknowledgment sent {"connection_id":191203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:57:40] local.INFO: TCP Data received {"connection_id":191203,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:40] local.INFO: Processing buffer {"connection_id":191203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23315f8012d34c04006aa41300000000c2f..."} 
[2026-09-21 09:57:40] local.INFO: Packet analysis {"connection_id":191203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:57:40] local.INFO: Extracted packet for processing {"connection_id":191203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c233"} 
[2026-09-21 09:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230840832001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789964523000,"timestamp_ms":1789964523000,"timestamp_seconds":1789964523,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23315f8"} 
[2026-09-21 09:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 09: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-09-21 09:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230840832001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230840832001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230840832001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":191203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:57:40] local.INFO: GPS data processed {"connection_id":191203,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:57:40] local.INFO: Acknowledgment sent {"connection_id":191203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:58:03] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:03] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:03] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:58:08] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:08] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:58:08] local.INFO: IMEI packet received {"connection_id":188425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:58:10] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:10] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:10] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:58:10] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 09:58:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:58:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:58: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-09-21 09:58:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:58:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:58:10] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:58:10] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:58:42] local.INFO: TCP Data received {"connection_id":188425,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:42] local.INFO: Processing buffer {"connection_id":188425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:58:42] local.INFO: Packet analysis {"connection_id":188425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:58:42] local.INFO: Extracted packet for processing {"connection_id":188425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09: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-09-21 09:58:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:58:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:58:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09: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-09-21 09:58:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 09:58:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:58:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:58: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-09-21 09: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-09-21 09:58:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:58:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:58:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:58:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:58:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:58:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:58:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:58:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:58:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 09:58:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:58:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:58:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:58:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:58:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:58:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:58:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:58:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:58:42] local.INFO: DEBUG: GPS processor result {"connection_id":188425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:58:42] local.INFO: GPS data processed {"connection_id":188425,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:58:42] local.INFO: Acknowledgment sent {"connection_id":188425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:59:03] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:03] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:03] local.INFO: IMEI packet received {"connection_id":191204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 09:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":191204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:59:08] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:08] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 09:59:08] local.INFO: IMEI packet received {"connection_id":191204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 09:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":191204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 09:59:10] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:10] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:10] local.INFO: Packet analysis {"connection_id":191204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:59:10] local.INFO: Extracted packet for processing {"connection_id":191204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:59:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 09:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 09:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:59: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-09-21 09:59:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:59: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-09-21 09:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"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-09-21 09:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:59:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:59:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":191204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:59:10] local.INFO: GPS data processed {"connection_id":191204,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:59:10] local.INFO: Acknowledgment sent {"connection_id":191204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 09:59:41] local.INFO: TCP Data received {"connection_id":188426,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188426,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:59:41] local.INFO: Processing buffer {"connection_id":188426,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 09:59:41] local.INFO: IMEI packet received {"connection_id":188426,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 09:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":188426,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 09:59:41] local.INFO: TCP Data received {"connection_id":191204,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191204,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:41] local.INFO: Processing buffer {"connection_id":191204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 09:59:41] local.INFO: Packet analysis {"connection_id":191204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:59:41] local.INFO: Extracted packet for processing {"connection_id":191204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 09:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 09:59: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-09-21 09:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 09:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 09:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 09:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 09:59: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-09-21 09:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 09:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 09:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 09:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 09:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 09:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 09:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 09:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 09:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"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-09-21 09:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 09:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 09:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 09:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 09:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 09:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 09:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 09:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 09:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":191204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 09:59:41] local.INFO: GPS data processed {"connection_id":191204,"processed":1,"errors":0,"total":1} 
[2026-09-21 09:59:41] local.INFO: Acknowledgment sent {"connection_id":191204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:00:03] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:03] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:03] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:00:09] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:09] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:00:09] local.INFO: IMEI packet received {"connection_id":188569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":188569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:00:10] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:10] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:10] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:00:10] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 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-09-21 10:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:00: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-09-21 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-09-21 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-09-21 10:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:00: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-09-21 10:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:00:10] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:00:10] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:00:16] local.INFO: TCP Data received {"connection_id":188427,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:00:16] local.INFO: Processing buffer {"connection_id":188427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:00:16] local.INFO: IMEI packet received {"connection_id":188427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":188427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:00:41] local.INFO: TCP Data received {"connection_id":188569,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:41] local.INFO: Processing buffer {"connection_id":188569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:00:41] local.INFO: Packet analysis {"connection_id":188569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:00:41] local.INFO: Extracted packet for processing {"connection_id":188569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 10:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:00: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-09-21 10:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:00:41] local.INFO: GPS data processed {"connection_id":188569,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:00:41] local.INFO: Acknowledgment sent {"connection_id":188569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:01:09] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:09] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:09] local.INFO: IMEI packet received {"connection_id":191205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:01:09] local.INFO: IMEI acknowledgment sent {"connection_id":191205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:01:14] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:14] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:01:14] local.INFO: IMEI packet received {"connection_id":191205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":191205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:01:15] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:15] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:15] local.INFO: Packet analysis {"connection_id":191205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:01:15] local.INFO: Extracted packet for processing {"connection_id":191205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01: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-09-21 10:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 10:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:01:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:01:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:01: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-09-21 10:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:01:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:01:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":191205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:01:15] local.INFO: GPS data processed {"connection_id":191205,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:01:15] local.INFO: Acknowledgment sent {"connection_id":191205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:01:19] local.INFO: TCP Data received {"connection_id":191205,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:19] local.INFO: Processing buffer {"connection_id":191205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:01:19] local.INFO: Packet analysis {"connection_id":191205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:01:19] local.INFO: Extracted packet for processing {"connection_id":191205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 10:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":191205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:01:19] local.INFO: GPS data processed {"connection_id":191205,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:01:19] local.INFO: Acknowledgment sent {"connection_id":191205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:02:03] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:03] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:03] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:02:08] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:08] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:02:08] local.INFO: IMEI packet received {"connection_id":188428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":188428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:02:10] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:10] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:10] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:02:10] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 10:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:02: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-09-21 10: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-09-21 10:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:02: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-09-21 10:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:02:10] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:02:10] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:02:41] local.INFO: TCP Data received {"connection_id":188428,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:41] local.INFO: Processing buffer {"connection_id":188428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c237adc0012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:02:41] local.INFO: Packet analysis {"connection_id":188428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:02:41] local.INFO: Extracted packet for processing {"connection_id":188428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c237"} 
[2026-09-21 10:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230917888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789964824000,"timestamp_ms":1789964824000,"timestamp_seconds":1789964824,"priority":1,"record_length":96,"hex_timestamp":"000001a0c237adc0"} 
[2026-09-21 10:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10: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-09-21 10:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:02: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-09-21 10:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230917888001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230917888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230917888001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:02:41] local.INFO: GPS data processed {"connection_id":188428,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:02:41] local.INFO: Acknowledgment sent {"connection_id":188428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:03:03] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:03] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:03] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:03:08] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:08] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:03:08] local.INFO: IMEI packet received {"connection_id":191207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":191207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:03:09] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:09] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:09] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:03:09] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 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-09-21 10:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:03: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-09-21 10:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:03:09] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:03:09] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:03:41] local.INFO: TCP Data received {"connection_id":191207,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191207,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:41] local.INFO: Processing buffer {"connection_id":191207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:03:41] local.INFO: Packet analysis {"connection_id":191207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:03:41] local.INFO: Extracted packet for processing {"connection_id":191207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:03: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-09-21 10:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":191207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:03:41] local.INFO: GPS data processed {"connection_id":191207,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:03:41] local.INFO: Acknowledgment sent {"connection_id":191207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:04:03] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:03] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:03] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:04:08] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:08] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:04:08] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:04:10] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:10] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:10] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:04:10] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 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-09-21 10:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:04: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-09-21 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-09-21 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-09-21 10:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:04: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-09-21 10:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:04:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:04:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:04:10] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:04:10] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:04:42] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:42] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:04:42] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:04:42] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:04:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:04: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-09-21 10: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-09-21 10:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:04: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-09-21 10:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:04:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:04:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:04:42] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:04:42] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:05:08] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:08] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:08] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:05:13] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:13] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:05:13] local.INFO: IMEI packet received {"connection_id":188430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":188430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:05:14] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:14] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:14] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:05:14] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:05:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:05:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:05:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:05:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:05:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:05: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-09-21 10:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:05:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:05:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:05:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:05:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:05:14] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:05:14] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:05:19] local.INFO: TCP Data received {"connection_id":188430,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:19] local.INFO: Processing buffer {"connection_id":188430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:05:19] local.INFO: Packet analysis {"connection_id":188430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:05:19] local.INFO: Extracted packet for processing {"connection_id":188430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:05:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:05:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:05:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":188430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:05:19] local.INFO: GPS data processed {"connection_id":188430,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:05:19] local.INFO: Acknowledgment sent {"connection_id":188430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:05:36] local.INFO: TCP Data received {"connection_id":188431,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:05:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:05:36] local.INFO: Processing buffer {"connection_id":188431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:05:36] local.INFO: IMEI packet received {"connection_id":188431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:05:36] local.INFO: IMEI acknowledgment sent {"connection_id":188431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:06:03] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:03] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:03] local.INFO: IMEI packet received {"connection_id":188432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:06:08] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:08] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:06:08] local.INFO: IMEI packet received {"connection_id":188432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:06:09] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:09] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:09] local.INFO: Packet analysis {"connection_id":188432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:06:09] local.INFO: Extracted packet for processing {"connection_id":188432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 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-09-21 10:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:06:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:06: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-09-21 10:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":188432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:06:09] local.INFO: GPS data processed {"connection_id":188432,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:06:09] local.INFO: Acknowledgment sent {"connection_id":188432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:06:15] local.INFO: TCP Data received {"connection_id":189887,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:06:15] local.INFO: Processing buffer {"connection_id":189887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:06:15] local.INFO: IMEI packet received {"connection_id":189887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":189887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:06:41] local.INFO: TCP Data received {"connection_id":188432,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188432,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:41] local.INFO: Processing buffer {"connection_id":188432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:06:41] local.INFO: Packet analysis {"connection_id":188432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:06:41] local.INFO: Extracted packet for processing {"connection_id":188432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:06: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-09-21 10:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:06:41] local.INFO: GPS data processed {"connection_id":188432,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:06:41] local.INFO: Acknowledgment sent {"connection_id":188432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:07:03] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:03] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:03] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:07:08] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:08] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:07:08] local.INFO: IMEI packet received {"connection_id":188433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:07:09] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:09] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:09] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:07:09] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 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-09-21 10:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:07: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-09-21 10:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:07:09] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:07:09] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:07:41] local.INFO: TCP Data received {"connection_id":188433,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:41] local.INFO: Processing buffer {"connection_id":188433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c23c4588012d34c04006aa41300007000c2e..."} 
[2026-09-21 10:07:41] local.INFO: Packet analysis {"connection_id":188433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:07:41] local.INFO: Extracted packet for processing {"connection_id":188433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c23c"} 
[2026-09-21 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458230994944001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965125000,"timestamp_ms":1789965125000,"timestamp_seconds":1789965125,"priority":1,"record_length":96,"hex_timestamp":"000001a0c23c4588"} 
[2026-09-21 10:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:07:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458230994944001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458230994944001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458230994944001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":188433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:07:41] local.INFO: GPS data processed {"connection_id":188433,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:07:41] local.INFO: Acknowledgment sent {"connection_id":188433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:08:03] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:03] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:03] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:08:08] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:08] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:08:08] local.INFO: IMEI packet received {"connection_id":188435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:08:10] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:10] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:10] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:08:10] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 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-09-21 10:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:08:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:08:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:08:10] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:08:10] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:08:41] local.INFO: TCP Data received {"connection_id":188435,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:41] local.INFO: Processing buffer {"connection_id":188435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:08:41] local.INFO: Packet analysis {"connection_id":188435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:08:41] local.INFO: Extracted packet for processing {"connection_id":188435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10: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-09-21 10: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-09-21 10:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:08: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-09-21 10:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:08:41] local.INFO: GPS data processed {"connection_id":188435,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:08:41] local.INFO: Acknowledgment sent {"connection_id":188435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:09:03] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:03] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:03] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:09:08] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:08] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:09:08] local.INFO: IMEI packet received {"connection_id":188436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:09:09] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:09] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:09] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:09:09] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 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-09-21 10:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:09:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:09:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:09:09] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:09:09] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:09:41] local.INFO: TCP Data received {"connection_id":188436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:41] local.INFO: Processing buffer {"connection_id":188436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:09:41] local.INFO: Packet analysis {"connection_id":188436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:09:41] local.INFO: Extracted packet for processing {"connection_id":188436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:09: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-09-21 10: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-09-21 10:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:09: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-09-21 10:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:09:41] local.INFO: GPS data processed {"connection_id":188436,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:09:41] local.INFO: Acknowledgment sent {"connection_id":188436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:10:03] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:03] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:03] local.INFO: IMEI packet received {"connection_id":191209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":191209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:10:09] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:09] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:10:09] local.INFO: IMEI packet received {"connection_id":191209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":191209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:10:10] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:10] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:10] local.INFO: Packet analysis {"connection_id":191209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:10:10] local.INFO: Extracted packet for processing {"connection_id":191209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:10: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-09-21 10: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-09-21 10:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:10: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-09-21 10:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:10:10] local.INFO: GPS data processed {"connection_id":191209,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:10:10] local.INFO: Acknowledgment sent {"connection_id":191209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:10:42] local.INFO: TCP Data received {"connection_id":191209,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191209,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:42] local.INFO: Processing buffer {"connection_id":191209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:10:42] local.INFO: Packet analysis {"connection_id":191209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:10:42] local.INFO: Extracted packet for processing {"connection_id":191209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:10:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:10:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:10:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:10:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:10:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:10:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:10:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10: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-09-21 10: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-09-21 10:10:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:10:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:10:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:10:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:10:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:10: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-09-21 10:10:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:10:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:10:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:10:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:10:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:10:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:10:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:10:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:10:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:10:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:10:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:10:42] local.INFO: DEBUG: GPS processor result {"connection_id":191209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:10:42] local.INFO: GPS data processed {"connection_id":191209,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:10:42] local.INFO: Acknowledgment sent {"connection_id":191209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:11:08] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:08] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:08] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:11:13] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:13] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:11:13] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:11:14] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:14] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:14] local.INFO: Packet analysis {"connection_id":188572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:11:14] local.INFO: Extracted packet for processing {"connection_id":188572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:11:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:11:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:11:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:11:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:11:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:11:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:11: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-09-21 10:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:11:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:11:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:11:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:11:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":188572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:11:14] local.INFO: GPS data processed {"connection_id":188572,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:11:14] local.INFO: Acknowledgment sent {"connection_id":188572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:11:41] local.INFO: TCP Data received {"connection_id":188437,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:11:41] local.INFO: Processing buffer {"connection_id":188437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:11:41] local.INFO: IMEI packet received {"connection_id":188437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:11:41] local.INFO: IMEI acknowledgment sent {"connection_id":188437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:11:45] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:45] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:11:45] local.INFO: Packet analysis {"connection_id":188572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:11:45] local.INFO: Extracted packet for processing {"connection_id":188572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:11:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:11: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-09-21 10:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:11:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:11:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:11: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-09-21 10:11:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:11:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:11:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":188572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:11:45] local.INFO: GPS data processed {"connection_id":188572,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:11:45] local.INFO: Acknowledgment sent {"connection_id":188572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:12:03] local.INFO: TCP Data received {"connection_id":189890,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:03] local.INFO: Processing buffer {"connection_id":189890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:03] local.INFO: IMEI packet received {"connection_id":189890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":189890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:12:09] local.INFO: TCP Data received {"connection_id":189890,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:09] local.INFO: Processing buffer {"connection_id":189890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:12:09] local.INFO: IMEI packet received {"connection_id":189890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":189890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:12:10] local.INFO: TCP Data received {"connection_id":189890,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:10] local.INFO: Processing buffer {"connection_id":189890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:10] local.INFO: Packet analysis {"connection_id":189890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:12:10] local.INFO: Extracted packet for processing {"connection_id":189890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:12: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-09-21 10: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-09-21 10:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:12: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-09-21 10:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":189890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:12:10] local.INFO: GPS data processed {"connection_id":189890,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:12:10] local.INFO: Acknowledgment sent {"connection_id":189890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:12:15] local.INFO: TCP Data received {"connection_id":189891,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:12:15] local.INFO: Processing buffer {"connection_id":189891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:12:15] local.INFO: IMEI packet received {"connection_id":189891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":189891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:12:18] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: IMEI packet received {"connection_id":189892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":189892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:12:18] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:18] local.INFO: IMEI packet received {"connection_id":189892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":189892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:12:22] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:22] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:12:22] local.INFO: IMEI packet received {"connection_id":189892,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":189892,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:12:23] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 10:12:23] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 10:12:23] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 10:12:23] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 10:12:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:12:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:12:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-21 10:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-21 10:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:12:23] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:12:23] local.ERROR: GPS data processing failed {"connection_id":189892,"error":"No valid data to process"} 
[2026-09-21 10:12:23] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:12:41] local.INFO: TCP Data received {"connection_id":189890,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:41] local.INFO: Processing buffer {"connection_id":189890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c240dd50012d34c04006aa41300003000c2f..."} 
[2026-09-21 10:12:41] local.INFO: Packet analysis {"connection_id":189890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:12:41] local.INFO: Extracted packet for processing {"connection_id":189890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c240"} 
[2026-09-21 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231072000001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12: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-09-21 10:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965426000,"timestamp_ms":1789965426000,"timestamp_seconds":1789965426,"priority":1,"record_length":96,"hex_timestamp":"000001a0c240dd50"} 
[2026-09-21 10:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 10:12: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-09-21 10:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:12: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-09-21 10:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231072000001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231072000001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231072000001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":189890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:12:41] local.INFO: GPS data processed {"connection_id":189890,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:12:41] local.INFO: Acknowledgment sent {"connection_id":189890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:12:55] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 10:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 10:12:55] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 10:12:55] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:12:55] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:12:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:12:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:12:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:12:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:12:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:12:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:12:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:12:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:12:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-21 10:12:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":0} 
[2026-09-21 10:12:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:12:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:12:55] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:12:55] local.ERROR: GPS data processing failed {"connection_id":189892,"error":"No valid data to process"} 
[2026-09-21 10:12:55] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:13:03] local.INFO: TCP Data received {"connection_id":191210,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:03] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:03] local.INFO: IMEI packet received {"connection_id":191210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":191210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:13:09] local.INFO: TCP Data received {"connection_id":191210,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:09] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:13:09] local.INFO: IMEI packet received {"connection_id":191210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":191210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:13:11] local.INFO: TCP Data received {"connection_id":191210,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:11] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:11] local.INFO: Packet analysis {"connection_id":191210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:13:11] local.INFO: Extracted packet for processing {"connection_id":191210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:13: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-09-21 10:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:13: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-09-21 10:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":191210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:13:11] local.INFO: GPS data processed {"connection_id":191210,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:13:11] local.INFO: Acknowledgment sent {"connection_id":191210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:13:37] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24640380100000000000000000000000000..."} 
[2026-09-21 10:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24640380100000000000000000000000000..."} 
[2026-09-21 10:13:37] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24640380100000000000000000000000000..."} 
[2026-09-21 10:13:37] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:13:37] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:13:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789965779000,"timestamp_ms":1789965779000,"timestamp_seconds":1789965779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2464038"} 
[2026-09-21 10:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2048,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-09-21 10:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2485,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:13:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 10:13:37] local.INFO: GPS data processed {"connection_id":189892,"processed":0,"errors":0,"total":1} 
[2026-09-21 10:13:37] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:13:43] local.INFO: TCP Data received {"connection_id":191210,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:43] local.INFO: Processing buffer {"connection_id":191210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:13:43] local.INFO: Packet analysis {"connection_id":191210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:13:43] local.INFO: Extracted packet for processing {"connection_id":191210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:13:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:13:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:13:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:13:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":191210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:13:43] local.INFO: GPS data processed {"connection_id":191210,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:13:43] local.INFO: Acknowledgment sent {"connection_id":191210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:14:08] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:08] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:08] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:14:08] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:08] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:08] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:14:08] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:14:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:14:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789965793000,"timestamp_ms":1789965793000,"timestamp_seconds":1789965793,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24676e8"} 
[2026-09-21 10:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:14:08] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10: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":57,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-21 10:14:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":969,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 10:14:08] local.INFO: GPS data processed {"connection_id":189892,"processed":0,"errors":0,"total":1} 
[2026-09-21 10:14:08] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:14:13] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:13] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:14:13] local.INFO: IMEI packet received {"connection_id":191211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":191211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:14:14] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:14] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:14] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:14:14] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:14: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-09-21 10:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:14:14] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:14:14] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:14:19] local.INFO: TCP Data received {"connection_id":191211,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191211,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:19] local.INFO: Processing buffer {"connection_id":191211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:14:19] local.INFO: Packet analysis {"connection_id":191211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:14:19] local.INFO: Extracted packet for processing {"connection_id":191211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":191211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:14:19] local.INFO: GPS data processed {"connection_id":191211,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:14:19] local.INFO: Acknowledgment sent {"connection_id":191211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:14:39] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:39] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24676e80100000000000000000000000000..."} 
[2026-09-21 10:14:39] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:14:39] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c246"} 
[2026-09-21 10:14:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:14:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789965793000,"timestamp_ms":1789965793000,"timestamp_seconds":1789965793,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24676e8"} 
[2026-09-21 10:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493159438155776,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":75870597546050,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.WARNING: Large IO value detected {"io_id":11,"raw_value":1080871618490138646,"note":"Value kept but may cause issues"} 
[2026-09-21 10:14:39] local.INFO: IO Element Parsed {"io_data_count":28,"io_data_keys":[0,17,94,24,241,157,16,211,160,64,10,66,9,183,1,240,71,227,4,113,205,31,239,2,45,117,206,11],"length":628,"final_offset":758,"validated_count":28,"validation_warnings":[]} 
[2026-09-21 10:14:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":239,"timestamp_seconds":0.239,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 10:14:39] local.INFO: GPS data processed {"connection_id":189892,"processed":0,"errors":0,"total":1} 
[2026-09-21 10:14:39] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:15:03] local.INFO: TCP Data received {"connection_id":189894,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:03] local.INFO: Processing buffer {"connection_id":189894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:03] local.INFO: IMEI packet received {"connection_id":189894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":189894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:15:08] local.INFO: TCP Data received {"connection_id":189894,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:08] local.INFO: Processing buffer {"connection_id":189894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:08] local.INFO: IMEI packet received {"connection_id":189894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":189894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:15:09] local.INFO: TCP Data received {"connection_id":189894,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:15:09] local.INFO: Processing buffer {"connection_id":189894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:15:09] local.INFO: Packet analysis {"connection_id":189894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:15:09] local.INFO: Extracted packet for processing {"connection_id":189894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:15: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-09-21 10: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-09-21 10:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:15: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-09-21 10:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":189894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:15:09] local.INFO: GPS data processed {"connection_id":189894,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:15:09] local.INFO: Acknowledgment sent {"connection_id":189894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:15:10] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:10] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:10] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:15:10] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:15:10] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:15:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:10] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:15:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:15:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:15:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875640,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:15:10] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:15:10] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:15:41] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:41] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:15:41] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:15:41] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:15:41] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:15:41] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:15:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:15:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875641,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:15:41] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:15:41] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:15:59] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:59] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:15:59] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:15:59] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:16:03] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:16:03] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:16:03] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:16:04] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:04] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:04] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:16:04] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:16:04] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:16:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:16:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:16:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:16:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:16:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:16:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:16:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:16:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:16:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:16:04] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:16:04] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:16:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:16:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:16:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:16:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:16:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:16:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:16:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:16:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:16:04] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:16:04] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:16:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:16:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:16:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:16:04] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:16:04] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:16:04] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:16:12] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:12] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:12] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:16:12] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:16:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:12] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:16:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:16:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:16:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875643,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:16:12] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:16:12] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:16:35] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:35] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:16:35] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:16:35] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:16:35] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:16:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:16:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:16:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:16:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:16:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:16:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:16:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:16:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:16:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:16:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:16:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:16:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:16:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:16:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:16:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:16:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:16:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:16:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:16:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:16:35] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:16:35] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:16:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:16:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:16:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:16:36] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:16:36] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:16:36] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:16:45] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:45] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:16:45] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:16:45] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:16:45] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:16:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:16:45] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:16:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875645,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:16:45] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:16:45] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:17:03] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:03] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:03] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:17:08] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:08] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:17:08] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:17:10] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:10] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:10] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:17:10] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:17: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-09-21 10: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-09-21 10:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:17:10] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:17:10] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:17:16] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:16] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:16] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:17:16] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:17:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:17:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:17:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:17:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:16] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:17:16] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:17:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:17:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:17:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:17:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:17:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:17:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:17:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:17:16] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:17:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:17:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:17:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:17:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:17:16] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:17:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:17:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:17:16] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875647,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:17:16] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:17:16] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:17:41] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:41] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2457518012d34c04006aa41300005000c2f..."} 
[2026-09-21 10:17:41] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:17:41] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c245"} 
[2026-09-21 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231149056001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789965727000,"timestamp_ms":1789965727000,"timestamp_seconds":1789965727,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2457518"} 
[2026-09-21 10:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:17: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-09-21 10:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231149056001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231149056001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231149056001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:17:41] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:17:41] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:17:46] local.INFO: TCP Data received {"connection_id":188439,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188439,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:17:46] local.INFO: Processing buffer {"connection_id":188439,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:17:46] local.INFO: IMEI packet received {"connection_id":188439,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":188439,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:17:47] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:47] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2481110012d0b0cc00702a2880021000b0b..."} 
[2026-09-21 10:17:47] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:17:47] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c248"} 
[2026-09-21 10:17:47] local.INFO: GPS Element Parsed {"raw_longitude":755698880,"raw_latitude":117613192,"longitude_deg":75.569888,"latitude_deg":11.7613192,"altitude":33,"angle":11,"satellites":11,"speed":0,"hex_longitude":"2d0b0cc0","hex_latitude":"0702a288","is_valid_coordinates":true} 
[2026-09-21 10:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":69,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,17,94,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:17:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789965898000,"timestamp_ms":1789965898000,"timestamp_seconds":1789965898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2481110"} 
[2026-09-21 10:17:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:17:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":5120,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:17:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733123072,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":64,"raw_value":72057594037927936,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18627689788014592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":113,"raw_value":263887090156032,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3372272896,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:17:47] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,17,94,24,241,157,16,211,160,118,10,66,64,9,1,240,223,227,4,113,205,31,239,2,45,117,206],"length":628,"final_offset":758,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:17:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":240,"timestamp_seconds":0.24,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:17:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:17:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:17:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:17:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:17:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:17:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:17:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:17:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:17:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":12885,"17":206,"94":11008,"24":0,"16":33165144754225152},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16]} 
[2026-09-21 10:17:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:17:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:17:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:17:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:17:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:17:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":12885,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null}} 
[2026-09-21 10:17:47] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875649,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:17:47] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:17:47] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:18:03] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:03] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:03] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:18:09] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:09] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:18:09] local.INFO: IMEI packet received {"connection_id":191213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":191213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:18:10] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:10] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:10] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:10] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:18:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:18:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 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-09-21 10:18:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:18: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-09-21 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-09-21 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-09-21 10:18:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:18:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:18:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:18:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:18:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:18:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:18:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:18:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:18:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:18:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:18:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:18:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:18:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:18:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:18:10] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:18:10] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:18:10] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:18:14] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:14] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:14] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:14] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:18:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:18:14] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:18:14] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:18:18] local.INFO: TCP Data received {"connection_id":189892,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:18:18] local.INFO: Processing buffer {"connection_id":189892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:18:18] local.INFO: Packet analysis {"connection_id":189892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:18:18] local.INFO: Extracted packet for processing {"connection_id":189892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:18:18] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189892,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:18:18] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":189892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875652,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:18:19] local.INFO: GPS data processed {"connection_id":189892,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:18:19] local.INFO: Acknowledgment sent {"connection_id":189892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:18:21] local.INFO: TCP Data received {"connection_id":189895,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189895,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:18:21] local.INFO: Processing buffer {"connection_id":189895,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:18:21] local.INFO: IMEI packet received {"connection_id":189895,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":189895,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:18:46] local.INFO: TCP Data received {"connection_id":191213,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:46] local.INFO: Processing buffer {"connection_id":191213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:18:46] local.INFO: Packet analysis {"connection_id":191213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:46] local.INFO: Extracted packet for processing {"connection_id":191213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:18:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:18:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:18:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:18:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:18:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:18:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:18: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-09-21 10:18:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:18:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:18:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:18:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:18:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:18:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:18:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:18:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:18:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:18:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:18:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:18:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:18:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:18:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:18:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:18:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:18:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:18:46] local.INFO: DEBUG: GPS processor result {"connection_id":191213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:18:46] local.INFO: GPS data processed {"connection_id":191213,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:18:46] local.INFO: Acknowledgment sent {"connection_id":191213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:19:04] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:04] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:04] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:19:07] local.INFO: TCP Data received {"connection_id":189896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:07] local.INFO: Processing buffer {"connection_id":189896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:07] local.INFO: IMEI packet received {"connection_id":189896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":189896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:19:08] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:08] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:19:08] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:19:10] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:10] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:10] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:10] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:19: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-09-21 10:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:19:10] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:19:10] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:19:12] local.INFO: TCP Data received {"connection_id":189896,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189896,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:12] local.INFO: Processing buffer {"connection_id":189896,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:19:12] local.INFO: IMEI packet received {"connection_id":189896,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":189896,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:19:13] local.INFO: TCP Data received {"connection_id":189896,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189896,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:19:13] local.INFO: Processing buffer {"connection_id":189896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:19:13] local.INFO: Packet analysis {"connection_id":189896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:19:13] local.INFO: Extracted packet for processing {"connection_id":189896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:19:13] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189896,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:19:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":189896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875655,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:19:13] local.INFO: GPS data processed {"connection_id":189896,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:19:13] local.INFO: Acknowledgment sent {"connection_id":189896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:19:14] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:14] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:14] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:14] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:19:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:19:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:19:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:19:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:19:14] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:19:14] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:19:45] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:45] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:19:45] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:45] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:19:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:19: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-09-21 10:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:19:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:19: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-09-21 10:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:19:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:19:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:19:45] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:19:45] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:20:02] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:02] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:02] local.INFO: IMEI packet received {"connection_id":188440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":188440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:20:03] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:03] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:03] local.INFO: IMEI packet received {"connection_id":189897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":189897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:20:07] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:07] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:07] local.INFO: IMEI packet received {"connection_id":188440,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":188440,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:20:08] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:08] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:08] local.INFO: Packet analysis {"connection_id":188440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:20:08] local.INFO: Extracted packet for processing {"connection_id":188440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":188440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875658,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:20:08] local.INFO: GPS data processed {"connection_id":188440,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:20:08] local.INFO: Acknowledgment sent {"connection_id":188440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:20:08] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:08] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:20:08] local.INFO: IMEI packet received {"connection_id":189897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":189897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:20:09] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:09] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:09] local.INFO: Packet analysis {"connection_id":189897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:20:09] local.INFO: Extracted packet for processing {"connection_id":189897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 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-09-21 10:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:20: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-09-21 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-09-21 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-09-21 10:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":189897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:20:09] local.INFO: GPS data processed {"connection_id":189897,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:20:09] local.INFO: Acknowledgment sent {"connection_id":189897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:20:40] local.INFO: TCP Data received {"connection_id":188440,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188440,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:40] local.INFO: Processing buffer {"connection_id":188440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:20:40] local.INFO: Packet analysis {"connection_id":188440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:20:40] local.INFO: Extracted packet for processing {"connection_id":188440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188440,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:20:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":188440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875660,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:20:40] local.INFO: GPS data processed {"connection_id":188440,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:20:40] local.INFO: Acknowledgment sent {"connection_id":188440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:20:41] local.INFO: TCP Data received {"connection_id":189897,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:41] local.INFO: Processing buffer {"connection_id":189897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:20:41] local.INFO: Packet analysis {"connection_id":189897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:20:41] local.INFO: Extracted packet for processing {"connection_id":189897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:20: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-09-21 10:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:20: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-09-21 10:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":189897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:20:41] local.INFO: GPS data processed {"connection_id":189897,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:20:41] local.INFO: Acknowledgment sent {"connection_id":189897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:20:57] local.INFO: TCP Data received {"connection_id":189898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:57] local.INFO: Processing buffer {"connection_id":189898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:20:57] local.INFO: IMEI packet received {"connection_id":189898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":189898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:21:02] local.INFO: TCP Data received {"connection_id":189898,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189898,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:02] local.INFO: Processing buffer {"connection_id":189898,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:02] local.INFO: IMEI packet received {"connection_id":189898,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":189898,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:21:03] local.INFO: TCP Data received {"connection_id":189898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:03] local.INFO: Processing buffer {"connection_id":189898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:03] local.INFO: Packet analysis {"connection_id":189898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:21:03] local.INFO: Extracted packet for processing {"connection_id":189898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:21:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:21:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:21:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:21:03] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:03] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:03] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":189898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875662,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:21:03] local.INFO: GPS data processed {"connection_id":189898,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:21:03] local.INFO: Acknowledgment sent {"connection_id":189898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:21:08] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:08] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:21:08] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:21:10] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:10] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:10] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:21:10] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:21: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-09-21 10:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:21:10] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:21:10] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:21:35] local.INFO: TCP Data received {"connection_id":189898,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189898,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:35] local.INFO: Processing buffer {"connection_id":189898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:21:35] local.INFO: Packet analysis {"connection_id":189898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:21:35] local.INFO: Extracted packet for processing {"connection_id":189898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:21:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:21:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:21:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:21:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:21:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:21:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:21:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:21:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:21:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:21:35] local.INFO: Teltonika packet parsed successfully {"connection_id":189898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:21:35] local.INFO: Passing IMEI to GPS processor {"connection_id":189898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:21:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":189898,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:21:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:21:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:21:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:21:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:21:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:21:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:21:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:21:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:21:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:21:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:21:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:21:35] local.INFO: DEBUG: GPS processor result {"connection_id":189898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875664,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:21:35] local.INFO: GPS data processed {"connection_id":189898,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:21:35] local.INFO: Acknowledgment sent {"connection_id":189898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:21:41] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:41] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:21:41] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:21:41] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:21: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-09-21 10:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:21: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-09-21 10:21: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-09-21 10:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:21:41] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:21:41] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:21:57] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:57] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:21:57] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:22:02] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:02] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:02] local.INFO: IMEI packet received {"connection_id":191215,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":191215,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:22:03] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:03] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:03] local.INFO: IMEI packet received {"connection_id":191216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":191216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:22:04] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:04] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:04] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:22:04] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:22:04] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:22:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:22:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:22:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:22:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:22:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875666,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:22:04] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:22:04] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:22:08] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:08] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:22:08] local.INFO: IMEI packet received {"connection_id":191216,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":191216,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:22:09] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:09] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:09] local.INFO: Packet analysis {"connection_id":191216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:22:09] local.INFO: Extracted packet for processing {"connection_id":191216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:22: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-09-21 10:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":191216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:22:09] local.INFO: GPS data processed {"connection_id":191216,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:22:09] local.INFO: Acknowledgment sent {"connection_id":191216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:22:35] local.INFO: TCP Data received {"connection_id":191215,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:35] local.INFO: Processing buffer {"connection_id":191215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:22:35] local.INFO: Packet analysis {"connection_id":191215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:22:35] local.INFO: Extracted packet for processing {"connection_id":191215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:22:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:22:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:22:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:22:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:22:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:22:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:22:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:22:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:22:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:22:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:22:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:22:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:22:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191215,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:22:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:22:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:22:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:22:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:22:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:22:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:22:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:22:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:22:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:22:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:22:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:22:35] local.INFO: DEBUG: GPS processor result {"connection_id":191215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875668,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:22:35] local.INFO: GPS data processed {"connection_id":191215,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:22:35] local.INFO: Acknowledgment sent {"connection_id":191215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:22:40] local.INFO: TCP Data received {"connection_id":191216,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191216,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:40] local.INFO: Processing buffer {"connection_id":191216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24a0ce0012d34c04006aa41300005000c2e..."} 
[2026-09-21 10:22:40] local.INFO: Packet analysis {"connection_id":191216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:22:40] local.INFO: Extracted packet for processing {"connection_id":191216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24a"} 
[2026-09-21 10:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231226112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789966028000,"timestamp_ms":1789966028000,"timestamp_seconds":1789966028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24a0ce0"} 
[2026-09-21 10:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191216,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231226112001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231226112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231226112001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":191216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:22:40] local.INFO: GPS data processed {"connection_id":191216,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:22:40] local.INFO: Acknowledgment sent {"connection_id":191216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:22:57] local.INFO: TCP Data received {"connection_id":189900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:57] local.INFO: Processing buffer {"connection_id":189900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:22:57] local.INFO: IMEI packet received {"connection_id":189900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":189900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:23:02] local.INFO: TCP Data received {"connection_id":189900,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189900,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:02] local.INFO: Processing buffer {"connection_id":189900,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:02] local.INFO: IMEI packet received {"connection_id":189900,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":189900,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:23:03] local.INFO: TCP Data received {"connection_id":189900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:03] local.INFO: Processing buffer {"connection_id":189900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:03] local.INFO: Packet analysis {"connection_id":189900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:23:03] local.INFO: Extracted packet for processing {"connection_id":189900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:23:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:23:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:23:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:23:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:23:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:23:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:23:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:23:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:23:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:23:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:23:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:23:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:23:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:23:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:23:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:23:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:23:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:23:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:23:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:23:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:23:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:23:03] local.INFO: DEBUG: GPS processor result {"connection_id":189900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875670,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:23:03] local.INFO: GPS data processed {"connection_id":189900,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:23:03] local.INFO: Acknowledgment sent {"connection_id":189900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:23:08] local.INFO: TCP Data received {"connection_id":189900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:08] local.INFO: Processing buffer {"connection_id":189900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24b1680012d0b0ac00702a3a00024000b18..."} 
[2026-09-21 10:23:08] local.INFO: Packet analysis {"connection_id":189900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:23:08] local.INFO: Extracted packet for processing {"connection_id":189900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24b"} 
[2026-09-21 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":36,"angle":11,"satellites":24,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231269888001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":796222370479245312,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789966096000,"timestamp_ms":1789966096000,"timestamp_seconds":1789966096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24b1680"} 
[2026-09-21 10:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":2304,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231269888001,"66":12689,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":796222370479245312},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231269888001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:23:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":796222370479245312,"description":"Unknown IO ID 45"} 
[2026-09-21 10:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231269888001,"power":12689,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":796222370479245312}} 
[2026-09-21 10:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":189900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875671,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:23:08] local.INFO: GPS data processed {"connection_id":189900,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:23:08] local.INFO: Acknowledgment sent {"connection_id":189900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:23:08] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:08] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:08] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:23:13] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:13] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:23:13] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:23:15] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:15] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:15] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:23:15] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:23:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23: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-09-21 10:23:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:23:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:23:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:23:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:23:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:23:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:23:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:23:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:23:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:23:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:23:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:23:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:23:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:23:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:23:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:23:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:23:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:23:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:23:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:23:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:23:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:23:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:23:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:23:15] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:23:15] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:23:15] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:23:19] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:19] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:23:19] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:23:19] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:23:19] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:23:19] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:23:39] local.INFO: TCP Data received {"connection_id":189900,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:23:39] local.INFO: Processing buffer {"connection_id":189900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:23:39] local.INFO: Packet analysis {"connection_id":189900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:23:39] local.INFO: Extracted packet for processing {"connection_id":189900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:23:39] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:23:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 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-09-21 10:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:23:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189900,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:23:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:23:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":189900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875674,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:23:39] local.INFO: GPS data processed {"connection_id":189900,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:23:39] local.INFO: Acknowledgment sent {"connection_id":189900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:23:41] local.INFO: TCP Data received {"connection_id":191217,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191217,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:23:41] local.INFO: Processing buffer {"connection_id":191217,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:23:41] local.INFO: IMEI packet received {"connection_id":191217,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:23:41] local.INFO: IMEI acknowledgment sent {"connection_id":191217,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:23:57] local.INFO: TCP Data received {"connection_id":189901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:57] local.INFO: Processing buffer {"connection_id":189901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:23:57] local.INFO: IMEI packet received {"connection_id":189901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":189901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:24:02] local.INFO: TCP Data received {"connection_id":189901,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189901,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:02] local.INFO: Processing buffer {"connection_id":189901,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:02] local.INFO: IMEI packet received {"connection_id":189901,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":189901,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:24:03] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:03] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:03] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:24:03] local.INFO: TCP Data received {"connection_id":189901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:03] local.INFO: Processing buffer {"connection_id":189901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:03] local.INFO: Packet analysis {"connection_id":189901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:24:03] local.INFO: Extracted packet for processing {"connection_id":189901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:24:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":189901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875675,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:24:03] local.INFO: GPS data processed {"connection_id":189901,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:24:03] local.INFO: Acknowledgment sent {"connection_id":189901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:24:08] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:08] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:24:08] local.INFO: IMEI packet received {"connection_id":188443,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":188443,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:24:09] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:09] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:09] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:24:09] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:24:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:24:09] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:24:09] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:24:21] local.INFO: TCP Data received {"connection_id":191218,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:24:21] local.INFO: Processing buffer {"connection_id":191218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:24:21] local.INFO: IMEI packet received {"connection_id":191218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":191218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:24:35] local.INFO: TCP Data received {"connection_id":189901,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:35] local.INFO: Processing buffer {"connection_id":189901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:24:35] local.INFO: Packet analysis {"connection_id":189901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:24:35] local.INFO: Extracted packet for processing {"connection_id":189901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:24:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:24:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:24:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:24:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:24:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:24: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-09-21 10:24:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:24:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:24:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:24:35] local.INFO: Teltonika packet parsed successfully {"connection_id":189901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:24:35] local.INFO: Passing IMEI to GPS processor {"connection_id":189901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:24:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":189901,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:24:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:24:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:24:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:24:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:24:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:24:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:24:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:24:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:24:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:24:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:24:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:24:35] local.INFO: DEBUG: GPS processor result {"connection_id":189901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875677,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:24:35] local.INFO: GPS data processed {"connection_id":189901,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:24:35] local.INFO: Acknowledgment sent {"connection_id":189901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:24:40] local.INFO: TCP Data received {"connection_id":188443,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188443,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:40] local.INFO: Processing buffer {"connection_id":188443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:24:40] local.INFO: Packet analysis {"connection_id":188443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:24:40] local.INFO: Extracted packet for processing {"connection_id":188443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188443,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":188443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:24:41] local.INFO: GPS data processed {"connection_id":188443,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:24:41] local.INFO: Acknowledgment sent {"connection_id":188443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:24:57] local.INFO: TCP Data received {"connection_id":189902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:57] local.INFO: Processing buffer {"connection_id":189902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:24:57] local.INFO: IMEI packet received {"connection_id":189902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":189902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:25:02] local.INFO: TCP Data received {"connection_id":189902,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189902,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:25:02] local.INFO: Processing buffer {"connection_id":189902,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:25:02] local.INFO: IMEI packet received {"connection_id":189902,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":189902,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:25:03] local.INFO: TCP Data received {"connection_id":189902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:03] local.INFO: Processing buffer {"connection_id":189902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:03] local.INFO: Packet analysis {"connection_id":189902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:25:03] local.INFO: Extracted packet for processing {"connection_id":189902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:25:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:25:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:25:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:25:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:25:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":189902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875679,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:25:03] local.INFO: GPS data processed {"connection_id":189902,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:25:03] local.INFO: Acknowledgment sent {"connection_id":189902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:25:03] local.INFO: TCP Data received {"connection_id":189903,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:03] local.INFO: Processing buffer {"connection_id":189903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:03] local.INFO: IMEI packet received {"connection_id":189903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":189903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:25:08] local.INFO: TCP Data received {"connection_id":189903,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189903,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:08] local.INFO: Processing buffer {"connection_id":189903,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:25:08] local.INFO: IMEI packet received {"connection_id":189903,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":189903,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:25:10] local.INFO: TCP Data received {"connection_id":189903,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:10] local.INFO: Processing buffer {"connection_id":189903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:10] local.INFO: Packet analysis {"connection_id":189903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:25:10] local.INFO: Extracted packet for processing {"connection_id":189903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 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-09-21 10:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:25:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":189903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:25:10] local.INFO: GPS data processed {"connection_id":189903,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:25:10] local.INFO: Acknowledgment sent {"connection_id":189903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:25:34] local.INFO: TCP Data received {"connection_id":189902,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:34] local.INFO: Processing buffer {"connection_id":189902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:25:34] local.INFO: Packet analysis {"connection_id":189902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:25:34] local.INFO: Extracted packet for processing {"connection_id":189902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:25:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:25:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:25:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":189902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":189902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":189902,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:25:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":189902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875681,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:25:34] local.INFO: GPS data processed {"connection_id":189902,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:25:34] local.INFO: Acknowledgment sent {"connection_id":189902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:25:42] local.INFO: TCP Data received {"connection_id":189903,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:42] local.INFO: Processing buffer {"connection_id":189903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:25:42] local.INFO: Packet analysis {"connection_id":189903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:25:42] local.INFO: Extracted packet for processing {"connection_id":189903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:25: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-09-21 10:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:25:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:25:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189903,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:25:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:25:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:25:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":189903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:25:42] local.INFO: GPS data processed {"connection_id":189903,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:25:42] local.INFO: Acknowledgment sent {"connection_id":189903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:26:02] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:02] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:02] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:26:03] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:03] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:03] local.INFO: IMEI packet received {"connection_id":191221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:26:07] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:07] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:07] local.INFO: IMEI packet received {"connection_id":191220,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":191220,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:26:08] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:08] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:08] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:26:08] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:26:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875683,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:26:08] local.INFO: GPS data processed {"connection_id":191220,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:26:08] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:26:08] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:08] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:26:08] local.INFO: IMEI packet received {"connection_id":191221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:26:09] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:09] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:09] local.INFO: Packet analysis {"connection_id":191221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:26:09] local.INFO: Extracted packet for processing {"connection_id":191221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 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-09-21 10:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":191221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:26:09] local.INFO: GPS data processed {"connection_id":191221,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:26:09] local.INFO: Acknowledgment sent {"connection_id":191221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:26:14] local.INFO: TCP Data received {"connection_id":191220,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191220,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:14] local.INFO: Processing buffer {"connection_id":191220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:26:14] local.INFO: Packet analysis {"connection_id":191220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:26:14] local.INFO: Extracted packet for processing {"connection_id":191220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:26:14] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191220,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:26:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":191220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875685,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:26:14] local.INFO: GPS data processed {"connection_id":191220,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:26:14] local.INFO: Acknowledgment sent {"connection_id":191220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:26:41] local.INFO: TCP Data received {"connection_id":191221,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191221,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:41] local.INFO: Processing buffer {"connection_id":191221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:26:41] local.INFO: Packet analysis {"connection_id":191221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:26:41] local.INFO: Extracted packet for processing {"connection_id":191221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:26: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-09-21 10:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:26: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-09-21 10:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":191221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:26:41] local.INFO: GPS data processed {"connection_id":191221,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:26:41] local.INFO: Acknowledgment sent {"connection_id":191221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:26:57] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:57] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:26:57] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:27:02] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:02] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:02] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:27:03] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:03] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:03] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:27:03] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:27:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875687,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:27:03] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:27:03] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:27:03] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:03] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:03] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:27:08] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:08] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:27:08] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:27:10] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:10] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:10] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:27:10] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 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-09-21 10:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:27:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:27:10] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:27:10] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:27:34] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:34] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:27:34] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:27:34] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:27:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:27:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:27:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:27:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:27:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:27:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:27:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:27:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:27:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:27:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:27:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:27:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:27:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:27:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:27:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:27:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:27:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:27:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:27:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:27:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:27:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:27:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:27:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:27:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:27:34] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875689,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:27:34] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:27:34] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:27:41] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:41] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24ea4a8012d34c04006aa41300005000c31..."} 
[2026-09-21 10:27:41] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:27:41] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24e"} 
[2026-09-21 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231303168001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:27: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-09-21 10:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966329000,"timestamp_ms":1789966329000,"timestamp_seconds":1789966329,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24ea4a8"} 
[2026-09-21 10:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 10:27: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-09-21 10:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231303168001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231303168001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231303168001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:27:41] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:27:41] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:27:57] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:57] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:27:57] local.INFO: IMEI packet received {"connection_id":188581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":188581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:28:02] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:02] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:02] local.INFO: IMEI packet received {"connection_id":188581,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188581,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:28:03] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:28:03] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c24fae48012d0b0ac00702a3a00007000b1a..."} 
[2026-09-21 10:28:03] local.INFO: Packet analysis {"connection_id":188581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:28:03] local.INFO: Extracted packet for processing {"connection_id":188581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c24f"} 
[2026-09-21 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":7,"angle":11,"satellites":26,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:28:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231320576001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966397000,"timestamp_ms":1789966397000,"timestamp_seconds":1789966397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c24fae48"} 
[2026-09-21 10:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:28:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":1280,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":145,"data_length":795,"current_offset":136} 
[2026-09-21 10:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:28:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:28:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231320576001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231320576001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:28:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231320576001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":188581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875691,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:28:03] local.INFO: GPS data processed {"connection_id":188581,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:28:03] local.INFO: Acknowledgment sent {"connection_id":188581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:28:08] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:08] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:08] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:28:17] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:17] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:28:17] local.INFO: IMEI packet received {"connection_id":188582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:28:17] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:17] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:17] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:28:17] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:28:17] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:28:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:28:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:28:17] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:28:17] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:28:34] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:28:34] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:28:34] local.INFO: Packet analysis {"connection_id":188581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:28:34] local.INFO: Extracted packet for processing {"connection_id":188581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:28:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:28:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:34] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:28:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188581,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:28:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":188581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875693,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:28:34] local.INFO: GPS data processed {"connection_id":188581,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:28:34] local.INFO: Acknowledgment sent {"connection_id":188581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:28:49] local.INFO: TCP Data received {"connection_id":188582,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:49] local.INFO: Processing buffer {"connection_id":188582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:28:49] local.INFO: Packet analysis {"connection_id":188582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:28:49] local.INFO: Extracted packet for processing {"connection_id":188582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:28:49] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:28:49] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:28:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":188582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:28:49] local.INFO: GPS data processed {"connection_id":188582,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:28:49] local.INFO: Acknowledgment sent {"connection_id":188582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:28:57] local.INFO: TCP Data received {"connection_id":189906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:57] local.INFO: Processing buffer {"connection_id":189906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:28:57] local.INFO: IMEI packet received {"connection_id":189906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":189906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:29:02] local.INFO: TCP Data received {"connection_id":189906,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189906,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:02] local.INFO: Processing buffer {"connection_id":189906,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:02] local.INFO: IMEI packet received {"connection_id":189906,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":189906,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:29:04] local.INFO: TCP Data received {"connection_id":189906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:04] local.INFO: Processing buffer {"connection_id":189906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:04] local.INFO: Packet analysis {"connection_id":189906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:29:04] local.INFO: Extracted packet for processing {"connection_id":189906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:29:04] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:04] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:29:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":189906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":189906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":189906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:29:04] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":189906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875695,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:29:04] local.INFO: GPS data processed {"connection_id":189906,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:29:04] local.INFO: Acknowledgment sent {"connection_id":189906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:29:08] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:08] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:08] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:29:13] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:13] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:29:13] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:29:15] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:15] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:15] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:29:15] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29: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-09-21 10:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:29: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-09-21 10:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:29:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:29:15] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:29:15] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:29:19] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:19] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:29:19] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:29:19] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:29:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:29:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:29:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:29:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:29:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:29:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:29:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:29:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:29:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:29:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:29:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:29:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:29:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:29:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:29:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:29:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:29:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:29:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:29:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:29:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:29:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:29:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:29:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:29:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:29:19] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:29:19] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:29:37] local.INFO: TCP Data received {"connection_id":189906,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:37] local.INFO: Processing buffer {"connection_id":189906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:29:37] local.INFO: Packet analysis {"connection_id":189906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:29:37] local.INFO: Extracted packet for processing {"connection_id":189906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:29:37] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:29:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":189906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":189906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":189906,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:29:37] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":189906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875698,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:29:37] local.INFO: GPS data processed {"connection_id":189906,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:29:37] local.INFO: Acknowledgment sent {"connection_id":189906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:29:51] local.INFO: TCP Data received {"connection_id":188444,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:29:51] local.INFO: Processing buffer {"connection_id":188444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:29:51] local.INFO: IMEI packet received {"connection_id":188444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":188444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:29:57] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:57] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:29:57] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:30:02] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:02] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:02] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:30:03] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:03] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:03] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:30:03] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:03] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:30:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875699,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:30:03] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:30:03] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:30:03] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:03] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:03] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:30:08] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:08] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:30:08] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:30:09] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:09] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:09] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:30:09] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 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-09-21 10:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 10: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-09-21 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-09-21 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-09-21 10:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:30:09] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:30:09] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:30:16] local.INFO: TCP Data received {"connection_id":188586,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:30:16] local.INFO: Processing buffer {"connection_id":188586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:30:16] local.INFO: IMEI packet received {"connection_id":188586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":188586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:30:34] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:34] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:30:34] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:30:34] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:30:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:30:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:30:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:30:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:34] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:30:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:30:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:30:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:30:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:30:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:30:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:30:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:30:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:30:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:30:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:30:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:30:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:30:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:30:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:30:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:30:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:30:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:30:34] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875701,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:30:34] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:30:34] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:30:41] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:41] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:30:41] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:30:41] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:30: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-09-21 10:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:30: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-09-21 10:30: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-09-21 10:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:30:41] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:30:41] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:30:57] local.INFO: TCP Data received {"connection_id":189907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:57] local.INFO: Processing buffer {"connection_id":189907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:30:57] local.INFO: IMEI packet received {"connection_id":189907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":189907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:31:03] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:03] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:03] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:31:08] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:08] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:31:08] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:31:10] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:10] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:10] local.INFO: Packet analysis {"connection_id":188587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:31:10] local.INFO: Extracted packet for processing {"connection_id":188587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:31:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:31:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:31: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-09-21 10: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-09-21 10:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:31:10] local.INFO: DEBUG: GPS processor result {"connection_id":188587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:31:10] local.INFO: GPS data processed {"connection_id":188587,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:31:10] local.INFO: Acknowledgment sent {"connection_id":188587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:31:10] local.INFO: TCP Data received {"connection_id":189907,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189907,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:10] local.INFO: Processing buffer {"connection_id":189907,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:10] local.INFO: IMEI packet received {"connection_id":189907,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":189907,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:31:10] local.INFO: TCP Data received {"connection_id":189907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:10] local.INFO: Processing buffer {"connection_id":189907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:10] local.INFO: Packet analysis {"connection_id":189907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:31:10] local.INFO: Extracted packet for processing {"connection_id":189907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:31:10] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:31:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:31:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:31:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:10] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:31:10] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:31:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:31:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:31:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:31:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:31:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:31:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:31:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:31:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:31:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:31:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:31:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:31:11] local.INFO: DEBUG: GPS processor result {"connection_id":189907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875704,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:31:11] local.INFO: GPS data processed {"connection_id":189907,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:31:11] local.INFO: Acknowledgment sent {"connection_id":189907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:31:42] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:42] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:31:42] local.INFO: Packet analysis {"connection_id":188587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:31:42] local.INFO: Extracted packet for processing {"connection_id":188587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:31:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:31:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:31:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:31:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:31:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:31: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-09-21 10: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-09-21 10:31:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:31:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:31:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:31:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:31:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:31:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:31:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:31:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:31:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:31:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:31:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:31:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:31:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:31:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:31:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:31:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:31:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:31:42] local.INFO: DEBUG: GPS processor result {"connection_id":188587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:31:42] local.INFO: GPS data processed {"connection_id":188587,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:31:42] local.INFO: Acknowledgment sent {"connection_id":188587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:31:43] local.INFO: TCP Data received {"connection_id":189907,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:43] local.INFO: Processing buffer {"connection_id":189907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:31:43] local.INFO: Packet analysis {"connection_id":189907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:31:43] local.INFO: Extracted packet for processing {"connection_id":189907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:31:43] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:31:43] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:31:43] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189907,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:31:43] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:31:43] local.INFO: DEBUG: GPS processor result {"connection_id":189907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875706,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:31:43] local.INFO: GPS data processed {"connection_id":189907,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:31:43] local.INFO: Acknowledgment sent {"connection_id":189907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:31:59] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:59] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:31:59] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:32:03] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:03] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:03] local.INFO: IMEI packet received {"connection_id":191223,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":191223,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:32:03] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:03] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:03] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:03] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:32:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:32:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:32:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:32:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:03] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:32:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:32:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:32:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:32:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:32:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:32:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:32:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:32:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:32:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:32:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:32:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:32:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:32:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:32:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:32:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875707,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:32:04] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:32:04] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:32:04] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:04] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:04] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:32:07] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:07] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:07] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:07] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:32:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:07] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:32:07] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:32:07] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875708,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:32:08] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:32:08] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:32:08] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:08] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:32:08] local.INFO: IMEI packet received {"connection_id":191224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:32:09] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:09] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:09] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:32:09] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 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-09-21 10:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 10: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-09-21 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-09-21 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-09-21 10:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:32:09] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:32:09] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:32:39] local.INFO: TCP Data received {"connection_id":191223,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191223,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:39] local.INFO: Processing buffer {"connection_id":191223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:32:39] local.INFO: Packet analysis {"connection_id":191223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:39] local.INFO: Extracted packet for processing {"connection_id":191223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:32:39] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:39] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:32:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191223,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:32:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":191223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875710,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:32:39] local.INFO: GPS data processed {"connection_id":191223,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:32:39] local.INFO: Acknowledgment sent {"connection_id":191223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:32:40] local.INFO: TCP Data received {"connection_id":191224,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:40] local.INFO: Processing buffer {"connection_id":191224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2533c70012d34c04006aa41300006000c2e..."} 
[2026-09-21 10:32:40] local.INFO: Packet analysis {"connection_id":191224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:32:40] local.INFO: Extracted packet for processing {"connection_id":191224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c253"} 
[2026-09-21 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231380224001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789966630000,"timestamp_ms":1789966630000,"timestamp_seconds":1789966630,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2533c70"} 
[2026-09-21 10:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231380224001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231380224001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231380224001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":191224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:32:40] local.INFO: GPS data processed {"connection_id":191224,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:32:40] local.INFO: Acknowledgment sent {"connection_id":191224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:32:57] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:57] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:32:57] local.INFO: IMEI packet received {"connection_id":188588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":188588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:33:02] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:02] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:02] local.INFO: IMEI packet received {"connection_id":188588,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":188588,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:33:03] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:33:03] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2544610012d0b0ac00702a3a00004000b1c..."} 
[2026-09-21 10:33:03] local.INFO: Packet analysis {"connection_id":188588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:33:03] local.INFO: Extracted packet for processing {"connection_id":188588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c254"} 
[2026-09-21 10:33:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":28,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231397632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966698000,"timestamp_ms":1789966698000,"timestamp_seconds":1789966698,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2544610"} 
[2026-09-21 10:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:33:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":256,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184328822989,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":31815472487923781,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:03] local.INFO: IO Element Parsed {"io_data_count":32,"io_data_keys":[0,17,94,24,241,157,16,211,160,22,45,192,163,36,10,66,162,33,11,118,240,227,194,4,113,205,64,239,2,57,117,1],"length":485,"final_offset":615,"validated_count":32,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:33:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":504415364562550784,"timestamp_seconds":504415364562550.8,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:33:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231397632001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231397632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:33:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231397632001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":188588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875712,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:33:03] local.INFO: GPS data processed {"connection_id":188588,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:33:03] local.INFO: Acknowledgment sent {"connection_id":188588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:33:03] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:03] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:03] local.INFO: IMEI packet received {"connection_id":188446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":188446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:33:08] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:08] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:33:08] local.INFO: IMEI packet received {"connection_id":188446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:33:09] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:09] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:09] local.INFO: Packet analysis {"connection_id":188446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:33:09] local.INFO: Extracted packet for processing {"connection_id":188446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:33: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-09-21 10:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":188446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:33:09] local.INFO: GPS data processed {"connection_id":188446,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:33:09] local.INFO: Acknowledgment sent {"connection_id":188446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:33:34] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:33:34] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:33:34] local.INFO: Packet analysis {"connection_id":188588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:33:34] local.INFO: Extracted packet for processing {"connection_id":188588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:33:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:33:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:33:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:33:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188588,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:33:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":188588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875714,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:33:34] local.INFO: GPS data processed {"connection_id":188588,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:33:34] local.INFO: Acknowledgment sent {"connection_id":188588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:33:41] local.INFO: TCP Data received {"connection_id":188446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:41] local.INFO: Processing buffer {"connection_id":188446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:33:41] local.INFO: Packet analysis {"connection_id":188446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:33:41] local.INFO: Extracted packet for processing {"connection_id":188446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:33: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-09-21 10:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":188446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:33:41] local.INFO: GPS data processed {"connection_id":188446,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:33:41] local.INFO: Acknowledgment sent {"connection_id":188446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:33:57] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:57] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:33:57] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:34:02] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:02] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:02] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:34:03] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:03] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:03] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:34:03] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:34:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:34: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:34:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:34:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875716,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:34:03] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:34:03] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:34:03] local.INFO: TCP Data received {"connection_id":189909,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:03] local.INFO: Processing buffer {"connection_id":189909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:03] local.INFO: IMEI packet received {"connection_id":189909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":189909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:34:08] local.INFO: TCP Data received {"connection_id":189909,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:08] local.INFO: Processing buffer {"connection_id":189909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:34:08] local.INFO: IMEI packet received {"connection_id":189909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":189909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:34:09] local.INFO: TCP Data received {"connection_id":189909,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:09] local.INFO: Processing buffer {"connection_id":189909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:09] local.INFO: Packet analysis {"connection_id":189909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:34:09] local.INFO: Extracted packet for processing {"connection_id":189909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:34: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-09-21 10:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":189909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:34:09] local.INFO: GPS data processed {"connection_id":189909,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:34:09] local.INFO: Acknowledgment sent {"connection_id":189909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:34:34] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:34] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:34:34] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:34:34] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:34:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:34:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:34:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:34:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:34:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875718,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:34:34] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:34:34] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:34:41] local.INFO: TCP Data received {"connection_id":189909,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:41] local.INFO: Processing buffer {"connection_id":189909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:34:41] local.INFO: Packet analysis {"connection_id":189909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:34:41] local.INFO: Extracted packet for processing {"connection_id":189909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:34: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-09-21 10:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:34: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-09-21 10:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":189909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:34:41] local.INFO: GPS data processed {"connection_id":189909,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:34:41] local.INFO: Acknowledgment sent {"connection_id":189909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:34:57] local.INFO: TCP Data received {"connection_id":188591,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:57] local.INFO: Processing buffer {"connection_id":188591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:34:57] local.INFO: IMEI packet received {"connection_id":188591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":188591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:35:02] local.INFO: TCP Data received {"connection_id":188591,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188591,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:35:02] local.INFO: Processing buffer {"connection_id":188591,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:35:02] local.INFO: IMEI packet received {"connection_id":188591,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":188591,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:35:03] local.INFO: TCP Data received {"connection_id":188591,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:03] local.INFO: Processing buffer {"connection_id":188591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:03] local.INFO: Packet analysis {"connection_id":188591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:35:03] local.INFO: Extracted packet for processing {"connection_id":188591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:35:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:35: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:35:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":188591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875720,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:35:03] local.INFO: GPS data processed {"connection_id":188591,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:35:03] local.INFO: Acknowledgment sent {"connection_id":188591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:35:03] local.INFO: TCP Data received {"connection_id":189910,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:03] local.INFO: Processing buffer {"connection_id":189910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:03] local.INFO: IMEI packet received {"connection_id":189910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":189910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:35:08] local.INFO: TCP Data received {"connection_id":189910,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:08] local.INFO: Processing buffer {"connection_id":189910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:35:08] local.INFO: IMEI packet received {"connection_id":189910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":189910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:35:10] local.INFO: TCP Data received {"connection_id":189910,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:10] local.INFO: Processing buffer {"connection_id":189910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:10] local.INFO: Packet analysis {"connection_id":189910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:35:10] local.INFO: Extracted packet for processing {"connection_id":189910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:35: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-09-21 10: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-09-21 10:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":189910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:35:10] local.INFO: GPS data processed {"connection_id":189910,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:35:10] local.INFO: Acknowledgment sent {"connection_id":189910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:35:31] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:35:31] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:35:31] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:35:34] local.INFO: TCP Data received {"connection_id":188591,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188591,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:34] local.INFO: Processing buffer {"connection_id":188591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:35:34] local.INFO: Packet analysis {"connection_id":188591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:35:34] local.INFO: Extracted packet for processing {"connection_id":188591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188591,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:35:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":188591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875722,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:35:34] local.INFO: GPS data processed {"connection_id":188591,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:35:34] local.INFO: Acknowledgment sent {"connection_id":188591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:35:41] local.INFO: TCP Data received {"connection_id":189910,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:41] local.INFO: Processing buffer {"connection_id":189910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:35:41] local.INFO: Packet analysis {"connection_id":189910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:35:41] local.INFO: Extracted packet for processing {"connection_id":189910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:35: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-09-21 10:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:35: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-09-21 10:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":189910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:35:41] local.INFO: GPS data processed {"connection_id":189910,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:35:41] local.INFO: Acknowledgment sent {"connection_id":189910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:36:02] local.INFO: TCP Data received {"connection_id":191226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:02] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:02] local.INFO: IMEI packet received {"connection_id":191226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":191226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:36:03] local.INFO: TCP Data received {"connection_id":189911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:03] local.INFO: Processing buffer {"connection_id":189911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:03] local.INFO: IMEI packet received {"connection_id":189911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":189911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:36:07] local.INFO: TCP Data received {"connection_id":191226,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:07] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:07] local.INFO: IMEI packet received {"connection_id":191226,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":191226,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:36:08] local.INFO: TCP Data received {"connection_id":191226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:08] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:08] local.INFO: Packet analysis {"connection_id":191226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:36:08] local.INFO: Extracted packet for processing {"connection_id":191226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:36:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:36:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":191226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875724,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:36:08] local.INFO: GPS data processed {"connection_id":191226,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:36:08] local.INFO: Acknowledgment sent {"connection_id":191226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:36:08] local.INFO: TCP Data received {"connection_id":189911,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:08] local.INFO: Processing buffer {"connection_id":189911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:36:08] local.INFO: IMEI packet received {"connection_id":189911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":189911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:36:10] local.INFO: TCP Data received {"connection_id":189911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:10] local.INFO: Processing buffer {"connection_id":189911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:10] local.INFO: Packet analysis {"connection_id":189911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:36:10] local.INFO: Extracted packet for processing {"connection_id":189911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:36: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-09-21 10:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":189911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:36:10] local.INFO: GPS data processed {"connection_id":189911,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:36:10] local.INFO: Acknowledgment sent {"connection_id":189911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:36:12] local.INFO: TCP Data received {"connection_id":191226,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:12] local.INFO: Processing buffer {"connection_id":191226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:36:12] local.INFO: Packet analysis {"connection_id":191226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:36:12] local.INFO: Extracted packet for processing {"connection_id":191226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:36:12] 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-09-21 10:36:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:36:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:36:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191226,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:36:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":191226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875726,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:36:13] local.INFO: GPS data processed {"connection_id":191226,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:36:13] local.INFO: Acknowledgment sent {"connection_id":191226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:36:16] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:36:16] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:36:16] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:36:42] local.INFO: TCP Data received {"connection_id":189911,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:42] local.INFO: Processing buffer {"connection_id":189911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:36:42] local.INFO: Packet analysis {"connection_id":189911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:36:42] local.INFO: Extracted packet for processing {"connection_id":189911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:36:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":189911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:36:42] local.INFO: GPS data processed {"connection_id":189911,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:36:42] local.INFO: Acknowledgment sent {"connection_id":189911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:36:57] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:57] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:36:57] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:37:02] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:02] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:02] local.INFO: IMEI packet received {"connection_id":188451,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188451,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:37:03] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:03] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:03] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:37:03] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:37:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:37: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:37:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:37:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875728,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:37:03] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:37:03] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:37:03] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:03] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:03] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:37:08] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:08] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:37:08] local.INFO: IMEI packet received {"connection_id":188595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:37:10] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:10] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:10] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:37:10] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:37:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:37:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 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-09-21 10:37:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:37: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-09-21 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-09-21 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-09-21 10:37:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:37:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:37:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:37:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:37:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:37:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:37:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:37:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:37:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:37:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:37:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:37:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:37:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:37:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:37:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:37:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:37:10] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:37:10] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:37:10] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:37:34] local.INFO: TCP Data received {"connection_id":188451,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:34] local.INFO: Processing buffer {"connection_id":188451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:37:34] local.INFO: Packet analysis {"connection_id":188451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:37:34] local.INFO: Extracted packet for processing {"connection_id":188451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:37:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:37:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:37:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:37:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:37:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:37:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:37:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:37:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:37:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:37:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:37:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:37:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188451,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:37:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:37:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:37:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:37:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:37:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:37:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:37:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:37:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:37:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:37:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:37:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:37:34] local.INFO: DEBUG: GPS processor result {"connection_id":188451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875730,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:37:34] local.INFO: GPS data processed {"connection_id":188451,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:37:34] local.INFO: Acknowledgment sent {"connection_id":188451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:37:41] local.INFO: TCP Data received {"connection_id":188595,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:41] local.INFO: Processing buffer {"connection_id":188595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c257d438012d34c04006aa41300007000c2f..."} 
[2026-09-21 10:37:41] local.INFO: Packet analysis {"connection_id":188595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:37:41] local.INFO: Extracted packet for processing {"connection_id":188595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c257"} 
[2026-09-21 10:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231457280001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:37: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-09-21 10:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789966931000,"timestamp_ms":1789966931000,"timestamp_seconds":1789966931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c257d438"} 
[2026-09-21 10:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:37: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-09-21 10:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231457280001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231457280001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231457280001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":188595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:37:41] local.INFO: GPS data processed {"connection_id":188595,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:37:41] local.INFO: Acknowledgment sent {"connection_id":188595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:37:57] local.INFO: TCP Data received {"connection_id":189912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:57] local.INFO: Processing buffer {"connection_id":189912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:37:57] local.INFO: IMEI packet received {"connection_id":189912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":189912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:38:02] local.INFO: TCP Data received {"connection_id":189912,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189912,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:02] local.INFO: Processing buffer {"connection_id":189912,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:02] local.INFO: IMEI packet received {"connection_id":189912,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":189912,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:38:03] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:03] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:03] local.INFO: IMEI packet received {"connection_id":191228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":191228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:38:03] local.INFO: TCP Data received {"connection_id":189912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:38:03] local.INFO: Processing buffer {"connection_id":189912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c258ddd8012d0b0ac00702a3a00000000b1f..."} 
[2026-09-21 10:38:03] local.INFO: Packet analysis {"connection_id":189912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:38:03] local.INFO: Extracted packet for processing {"connection_id":189912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c258"} 
[2026-09-21 10:38:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":31,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:38:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231474688001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:38:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789966999000,"timestamp_ms":1789966999000,"timestamp_seconds":1789966999,"priority":1,"record_length":96,"hex_timestamp":"000001a0c258ddd8"} 
[2026-09-21 10:38:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:38: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:38:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:38:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:38:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:38:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:38:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:38:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:38:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:38:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:38:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:38:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:38:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:38:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231474688001,"66":12461,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:38:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:38:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:38:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231474688001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:38:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:38:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:38:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:38:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231474688001,"power":12461,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:38:03] local.INFO: DEBUG: GPS processor result {"connection_id":189912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875732,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:38:03] local.INFO: GPS data processed {"connection_id":189912,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:38:03] local.INFO: Acknowledgment sent {"connection_id":189912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:38:08] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:08] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:38:08] local.INFO: IMEI packet received {"connection_id":191228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":191228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:38:10] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:10] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:10] local.INFO: Packet analysis {"connection_id":191228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:38:10] local.INFO: Extracted packet for processing {"connection_id":191228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 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-09-21 10:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:38:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:38: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-09-21 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-09-21 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-09-21 10:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:38:10] local.INFO: GPS data processed {"connection_id":191228,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:38:10] local.INFO: Acknowledgment sent {"connection_id":191228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:38:34] local.INFO: TCP Data received {"connection_id":189912,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:38:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:38:34] local.INFO: Processing buffer {"connection_id":189912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:38:34] local.INFO: Packet analysis {"connection_id":189912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:38:34] local.INFO: Extracted packet for processing {"connection_id":189912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:38:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:38:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:38:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:38:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:38:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:38: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-09-21 10:38:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:38:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:38:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:38:34] local.INFO: Teltonika packet parsed successfully {"connection_id":189912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:38:34] local.INFO: Passing IMEI to GPS processor {"connection_id":189912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:38:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":189912,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:38:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:38:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:38:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:38:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:38:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:38:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:38:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:38:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:38:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:38:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:38:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:38:35] local.INFO: DEBUG: GPS processor result {"connection_id":189912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875734,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:38:35] local.INFO: GPS data processed {"connection_id":189912,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:38:35] local.INFO: Acknowledgment sent {"connection_id":189912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:38:41] local.INFO: TCP Data received {"connection_id":191228,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191228,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:41] local.INFO: Processing buffer {"connection_id":191228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:38:41] local.INFO: Packet analysis {"connection_id":191228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:38:41] local.INFO: Extracted packet for processing {"connection_id":191228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:38: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-09-21 10: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-09-21 10:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:38:41] local.INFO: GPS data processed {"connection_id":191228,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:38:41] local.INFO: Acknowledgment sent {"connection_id":191228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:38:57] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:57] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:38:57] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:39:02] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:02] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:02] local.INFO: IMEI packet received {"connection_id":188453,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":188453,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:39:03] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:03] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:03] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:39:03] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:39:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:39: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:39: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-09-21 10:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:39:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875736,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:39:03] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:39:03] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:39:08] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:08] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:08] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:39:13] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:13] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:39:13] local.INFO: IMEI packet received {"connection_id":191229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":191229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:39:15] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:15] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:15] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:39:15] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:39:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:39:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:39:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:39:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:39:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:39:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:39:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:39:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:39:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:39:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:39:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:39:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:39:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:39:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:39:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:39:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:39:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:39:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:39:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:39:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:39:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:39:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:39:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:39:15] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:39:15] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:39:15] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:39:19] local.INFO: TCP Data received {"connection_id":191229,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:19] local.INFO: Processing buffer {"connection_id":191229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:39:19] local.INFO: Packet analysis {"connection_id":191229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:39:19] local.INFO: Extracted packet for processing {"connection_id":191229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":191229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:39:19] local.INFO: GPS data processed {"connection_id":191229,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:39:19] local.INFO: Acknowledgment sent {"connection_id":191229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:39:34] local.INFO: TCP Data received {"connection_id":188453,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188453,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:34] local.INFO: Processing buffer {"connection_id":188453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:39:34] local.INFO: Packet analysis {"connection_id":188453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:39:34] local.INFO: Extracted packet for processing {"connection_id":188453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:39:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:39:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:39: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-09-21 10:39:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188453,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:39:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:39:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:39:35] local.INFO: DEBUG: GPS processor result {"connection_id":188453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875739,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:39:35] local.INFO: GPS data processed {"connection_id":188453,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:39:35] local.INFO: Acknowledgment sent {"connection_id":188453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:39:57] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:57] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:39:57] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:40:02] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:02] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:02] local.INFO: IMEI packet received {"connection_id":191230,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":191230,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:40:03] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:03] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:03] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:40:03] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:40:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:40: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:40: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-09-21 10:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:40:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:40:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:40:03] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:03] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:03] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875740,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:40:03] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:40:03] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:40:08] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:08] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:40:08] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:40:10] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:10] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:10] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:40:10] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:40:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:40:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:40: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-09-21 10:40:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:40:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:40:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:40:10] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:40:10] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:40:34] local.INFO: TCP Data received {"connection_id":191230,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191230,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:34] local.INFO: Processing buffer {"connection_id":191230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:40:34] local.INFO: Packet analysis {"connection_id":191230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:40:34] local.INFO: Extracted packet for processing {"connection_id":191230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:40:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:40:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:40:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:40:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:40:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:40: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-09-21 10:40:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:40:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:40:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:40:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:40:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:40:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191230,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:40:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:40:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:40:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:40:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:40:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:40:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:40:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:40:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:40:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:40:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:40:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:40:34] local.INFO: DEBUG: GPS processor result {"connection_id":191230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875742,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:40:34] local.INFO: GPS data processed {"connection_id":191230,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:40:34] local.INFO: Acknowledgment sent {"connection_id":191230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:40:41] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:41] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:40:41] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:40:41] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:40: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-09-21 10:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:40:41] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:40:41] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:40:57] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:57] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:40:57] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:41:02] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:02] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:02] local.INFO: IMEI packet received {"connection_id":191231,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":191231,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:41:03] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:03] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:03] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:41:03] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:41:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:41:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:41:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:41:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:41: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:41:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:41: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-09-21 10:41:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:41:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:41:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:41:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:41:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:41:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:41:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:41:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:41:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:41:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:41:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:41:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:41:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:41:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:41:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:41:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:41:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:41:03] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875744,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:41:03] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:41:03] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:41:05] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:05] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:05] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:41:09] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:09] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:41:09] local.INFO: IMEI packet received {"connection_id":188599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":188599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:41:10] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:10] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:10] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:41:10] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:41:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:41:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 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-09-21 10:41:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:41: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-09-21 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-09-21 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-09-21 10:41:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:41:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:41:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:41:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:41:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:41:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:41:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:41:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:41:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:41:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:41:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:41:10] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:41:10] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:41:34] local.INFO: TCP Data received {"connection_id":191231,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:34] local.INFO: Processing buffer {"connection_id":191231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:41:34] local.INFO: Packet analysis {"connection_id":191231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:41:34] local.INFO: Extracted packet for processing {"connection_id":191231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:41:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:41:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:41:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:41:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:41:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:41: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-09-21 10:41:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:41:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:41:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:41:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:41:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:41:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191231,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:41:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:41:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:41:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:41:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:41:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:41:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:41:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:41:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:41:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:41:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:41:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:41:34] local.INFO: DEBUG: GPS processor result {"connection_id":191231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875746,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:41:34] local.INFO: GPS data processed {"connection_id":191231,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:41:34] local.INFO: Acknowledgment sent {"connection_id":191231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:41:41] local.INFO: TCP Data received {"connection_id":188599,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188599,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:41] local.INFO: Processing buffer {"connection_id":188599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:41:41] local.INFO: Packet analysis {"connection_id":188599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:41:41] local.INFO: Extracted packet for processing {"connection_id":188599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:41: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-09-21 10: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-09-21 10:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:41:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":188599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:41:41] local.INFO: GPS data processed {"connection_id":188599,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:41:41] local.INFO: Acknowledgment sent {"connection_id":188599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:41:46] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:41:46] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:41:46] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:41:57] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:57] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:41:57] local.INFO: IMEI packet received {"connection_id":191232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":191232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:42:02] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:02] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:02] local.INFO: IMEI packet received {"connection_id":191232,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":191232,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:42:02] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:02] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:02] local.INFO: Packet analysis {"connection_id":191232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:02] local.INFO: Extracted packet for processing {"connection_id":191232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":191232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:42:02] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":191232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875748,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:42:03] local.INFO: GPS data processed {"connection_id":191232,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:42:03] local.INFO: Acknowledgment sent {"connection_id":191232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:42:03] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:03] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:03] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:42:08] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:08] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:08] local.INFO: Packet analysis {"connection_id":191232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:08] local.INFO: Extracted packet for processing {"connection_id":191232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:42:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875749,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:42:08] local.INFO: GPS data processed {"connection_id":191232,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:42:08] local.INFO: Acknowledgment sent {"connection_id":191232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:42:08] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:08] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:42:08] local.INFO: IMEI packet received {"connection_id":191233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":191233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:42:09] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:09] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:09] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:42:09] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 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-09-21 10:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:42: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-09-21 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-09-21 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-09-21 10:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:42:09] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:42:09] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:42:15] local.INFO: TCP Data received {"connection_id":188601,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:42:15] local.INFO: Processing buffer {"connection_id":188601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:42:15] local.INFO: IMEI packet received {"connection_id":188601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":188601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:42:38] local.INFO: TCP Data received {"connection_id":191232,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:38] local.INFO: Processing buffer {"connection_id":191232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:42:38] local.INFO: Packet analysis {"connection_id":191232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:38] local.INFO: Extracted packet for processing {"connection_id":191232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:42:38] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:42: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-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:42:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191232,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:42:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":191232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875751,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:42:39] local.INFO: GPS data processed {"connection_id":191232,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:42:39] local.INFO: Acknowledgment sent {"connection_id":191232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:42:41] local.INFO: TCP Data received {"connection_id":191233,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191233,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:41] local.INFO: Processing buffer {"connection_id":191233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25c6c00012d34c04006aa41300005000c31..."} 
[2026-09-21 10:42:41] local.INFO: Packet analysis {"connection_id":191233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:42:41] local.INFO: Extracted packet for processing {"connection_id":191233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25c"} 
[2026-09-21 10:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231534336001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:42: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-09-21 10:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967232000,"timestamp_ms":1789967232000,"timestamp_seconds":1789967232,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25c6c00"} 
[2026-09-21 10:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 10:42: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-09-21 10:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231534336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231534336001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231534336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":191233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:42:41] local.INFO: GPS data processed {"connection_id":191233,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:42:41] local.INFO: Acknowledgment sent {"connection_id":191233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:42:57] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:57] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:42:57] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:43:02] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:43:02] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:43:02] local.INFO: IMEI packet received {"connection_id":188454,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":188454,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:43:03] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:43:03] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c25d75a0012d0b0ac00702a3a00000000b22..."} 
[2026-09-21 10:43:03] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:43:03] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c25d"} 
[2026-09-21 10:43:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:43:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:43:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231551744001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:43:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967300000,"timestamp_ms":1789967300000,"timestamp_seconds":1789967300,"priority":1,"record_length":96,"hex_timestamp":"000001a0c25d75a0"} 
[2026-09-21 10:43:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:43: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 10:43: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-09-21 10:43:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:43:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:43:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:43:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:43:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:43:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:43:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:43:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:43:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:43:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231551744001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:43:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:43:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:43:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231551744001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:43:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:43:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:43:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:43:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231551744001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:43:03] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:03] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:03] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875753,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:43:03] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:43:03] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:43:08] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:08] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:43:08] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:43:09] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:09] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:09] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:43:09] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:43:09] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:43:09] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:43:34] local.INFO: TCP Data received {"connection_id":188454,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:43:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:43:34] local.INFO: Processing buffer {"connection_id":188454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:43:34] local.INFO: Packet analysis {"connection_id":188454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:43:34] local.INFO: Extracted packet for processing {"connection_id":188454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:43:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:43:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:43:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:43:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:34] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:43:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:43:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:43:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:43:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:43:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:43:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188454,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:43:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:43:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:43:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:43:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:43:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:43:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:43:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:43:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:43:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:43:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:43:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:43:34] local.INFO: DEBUG: GPS processor result {"connection_id":188454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875755,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:43:34] local.INFO: GPS data processed {"connection_id":188454,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:43:34] local.INFO: Acknowledgment sent {"connection_id":188454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:43:41] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:41] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:43:41] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:43:41] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:43:41] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:43:41] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:44:02] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:02] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:02] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:44:03] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:03] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:03] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:44:07] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:07] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:07] local.INFO: IMEI packet received {"connection_id":191234,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":191234,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:44:08] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:08] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:44:08] local.INFO: IMEI packet received {"connection_id":188455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:44:10] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:10] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:10] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:44:10] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 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-09-21 10:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:44: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-09-21 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-09-21 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-09-21 10:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:44:10] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:44:10] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:44:12] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:44:12] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:44:12] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:44:12] 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-09-21 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:44:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875758,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:44:12] local.INFO: GPS data processed {"connection_id":191234,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:44:12] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:44:12] local.INFO: TCP Data received {"connection_id":191234,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Processing buffer {"connection_id":191234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:44:12] local.INFO: Packet analysis {"connection_id":191234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:44:12] local.INFO: Extracted packet for processing {"connection_id":191234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:44:12] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:44:12] 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-09-21 10:44:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:12] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:44:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191234,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":191234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875759,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:44:13] local.INFO: GPS data processed {"connection_id":191234,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:44:13] local.INFO: Acknowledgment sent {"connection_id":191234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:44:17] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:17] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:17] local.INFO: IMEI packet received {"connection_id":189914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":189914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:44:18] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:18] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:18] local.INFO: IMEI packet received {"connection_id":189914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":189914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:44:22] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:22] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:44:22] local.INFO: IMEI packet received {"connection_id":189914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":189914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:44:24] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":795,"data_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-09-21 10:44:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-09-21 10:44:24] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000f6180100000000000000000000000000..."} 
[2026-09-21 10:44:24] local.INFO: Packet analysis {"connection_id":189914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 10:44:24] local.INFO: Extracted packet for processing {"connection_id":189914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 10:44:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:44:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:44:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:44:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":63000,"timestamp_seconds":63,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:44:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:44:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:44:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189914,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:44:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:44:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:44:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:44:24] local.INFO: DEBUG: GPS processor result {"connection_id":189914,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:44:24] local.ERROR: GPS data processing failed {"connection_id":189914,"error":"No valid data to process"} 
[2026-09-21 10:44:24] local.INFO: Acknowledgment sent {"connection_id":189914,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:44:41] local.INFO: TCP Data received {"connection_id":188455,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:41] local.INFO: Processing buffer {"connection_id":188455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:44:41] local.INFO: Packet analysis {"connection_id":188455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:44:41] local.INFO: Extracted packet for processing {"connection_id":188455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44: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-09-21 10:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:44:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:44:41] local.INFO: GPS data processed {"connection_id":188455,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:44:41] local.INFO: Acknowledgment sent {"connection_id":188455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:44:55] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":795,"data_hex":"000000000000030f8e0a00000000000148200100000000000000000000000000..."} 
[2026-09-21 10:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000148200100000000000000000000000000..."} 
[2026-09-21 10:44:55] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000148200100000000000000000000000000..."} 
[2026-09-21 10:44:55] local.INFO: Packet analysis {"connection_id":189914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:44:55] local.INFO: Extracted packet for processing {"connection_id":189914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:44:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:44:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:44:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:44:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,131,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:44:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":84000,"timestamp_seconds":84,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:44:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:44:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:44:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189914,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:44:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:44:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:44:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:44:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:44:55] local.INFO: DEBUG: GPS processor result {"connection_id":189914,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:44:55] local.ERROR: GPS data processing failed {"connection_id":189914,"error":"No valid data to process"} 
[2026-09-21 10:44:55] local.INFO: Acknowledgment sent {"connection_id":189914,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:44:57] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:57] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:44:57] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:45:02] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:45:02] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:45:02] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:45:03] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:03] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:03] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:45:03] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:45:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:45:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:45:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:45: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:45:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:03] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:45:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:45:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:45:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:45:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:45:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:45:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:45:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:45:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:45:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:45:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:45:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:45:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:45:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:45:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:45:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:45:03] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875761,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:45:03] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:45:03] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:45:03] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:03] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:03] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:45:08] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:08] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:45:08] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:45:09] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:09] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:09] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:45:09] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:45:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:45:09] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:45:09] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:45:27] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":795,"data_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-21 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-21 10:45:27] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000019a280100000000000000000000000000..."} 
[2026-09-21 10:45:27] local.INFO: Packet analysis {"connection_id":189914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:45:27] local.INFO: Extracted packet for processing {"connection_id":189914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:27] 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-09-21 10:45:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":105000,"timestamp_seconds":105,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:45:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189914,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:45:27] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":189914,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:45:27] local.ERROR: GPS data processing failed {"connection_id":189914,"error":"No valid data to process"} 
[2026-09-21 10:45:27] local.INFO: Acknowledgment sent {"connection_id":189914,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:45:34] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:34] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:45:34] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:45:34] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:45:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:45:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:45:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:45:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:34] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:45:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:45:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:45:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:45:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:45:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:45:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:45:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:45:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:45:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:45:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:45:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:45:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:45:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:45:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:45:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:45:34] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875763,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:45:34] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:45:34] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:45:42] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:42] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:45:42] local.INFO: Packet analysis {"connection_id":188604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:45:42] local.INFO: Extracted packet for processing {"connection_id":188604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:45:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:45:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:45:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:45:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:45: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-09-21 10: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-09-21 10:45:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:45:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:45:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188604,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:45:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:45:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:45:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:45:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:45:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:45:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:45:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:45:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:45:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:45:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:45:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:45:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:45:42] local.INFO: DEBUG: GPS processor result {"connection_id":188604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:45:42] local.INFO: GPS data processed {"connection_id":188604,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:45:42] local.INFO: Acknowledgment sent {"connection_id":188604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:45:58] local.INFO: TCP Data received {"connection_id":189914,"ip":"117.224.148.21","data_length":795,"data_hex":"000000000000030f8e0a000000000001ec300100000000000000000000000000..."} 
[2026-09-21 10:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189914,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001ec300100000000000000000000000000..."} 
[2026-09-21 10:45:58] local.INFO: Processing buffer {"connection_id":189914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001ec300100000000000000000000000000..."} 
[2026-09-21 10:45:58] local.INFO: Packet analysis {"connection_id":189914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:45:58] local.INFO: Extracted packet for processing {"connection_id":189914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 10:45:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:45:58] 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-09-21 10:45:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":126000,"timestamp_seconds":126,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:45:58] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":189914,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":189914,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.148.21","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:45:58] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":189914,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:45:58] local.ERROR: GPS data processing failed {"connection_id":189914,"error":"No valid data to process"} 
[2026-09-21 10:45:58] local.INFO: Acknowledgment sent {"connection_id":189914,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:46:03] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:03] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:03] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:46:07] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:07] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:07] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:46:08] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:08] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:46:08] local.INFO: IMEI packet received {"connection_id":188456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:46:09] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:46:09] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:46:09] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:46:09] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 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-09-21 10:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:46:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:46:10] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:46:10] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:46:12] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:12] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:46:12] local.INFO: IMEI packet received {"connection_id":188457,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":188457,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:46:13] local.INFO: TCP Data received {"connection_id":188457,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:46:13] local.INFO: Processing buffer {"connection_id":188457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:46:13] local.INFO: Packet analysis {"connection_id":188457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:46:13] local.INFO: Extracted packet for processing {"connection_id":188457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:46:13] 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-09-21 10:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:46:13] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:46:13] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188457,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:46:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":188457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875766,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:46:13] local.INFO: GPS data processed {"connection_id":188457,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:46:13] local.INFO: Acknowledgment sent {"connection_id":188457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:47:02] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:02] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:02] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:47:03] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:03] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:03] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:47:06] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:06] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:47:06] local.INFO: IMEI packet received {"connection_id":191237,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":191237,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:47:11] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a00000000000290400100000000000000000000000000..."} 
[2026-09-21 10:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000290400100000000000000000000000000..."} 
[2026-09-21 10:47:11] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000290400100000000000000000000000000..."} 
[2026-09-21 10:47:11] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-21 10:47:11] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-09-21 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:11] 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-09-21 10:47:11] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":168000,"timestamp_seconds":168,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:47:11] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:47:11] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:47:11] local.ERROR: GPS data processing failed {"connection_id":191237,"error":"No valid data to process"} 
[2026-09-21 10:47:11] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:47:12] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a0000000000037aa00100000000000000000000000000..."} 
[2026-09-21 10:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000037aa00100000000000000000000000000..."} 
[2026-09-21 10:47:12] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000037aa00100000000000000000000000000..."} 
[2026-09-21 10:47:12] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-21 10:47:12] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000003"} 
[2026-09-21 10:47:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 10:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:12] 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-09-21 10:47:12] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":228000,"timestamp_seconds":228,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:47:12] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 10:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 10:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 10:47:12] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 10:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 10:47:12] local.ERROR: GPS data processing failed {"connection_id":191237,"error":"No valid data to process"} 
[2026-09-21 10:47:12] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 10:47:37] local.INFO: TCP Data received {"connection_id":188458,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:47:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188458,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:47:37] local.INFO: Processing buffer {"connection_id":188458,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:47:37] local.INFO: IMEI packet received {"connection_id":188458,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:47:37] local.INFO: IMEI acknowledgment sent {"connection_id":188458,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:47:38] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:38] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:38] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:47:38] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:47:42] local.INFO: TCP Data received {"connection_id":188456,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:42] local.INFO: Processing buffer {"connection_id":188456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:42] local.INFO: Packet analysis {"connection_id":188456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:47:42] local.INFO: Extracted packet for processing {"connection_id":188456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 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-09-21 10:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:47: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-09-21 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-09-21 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-09-21 10:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":188456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:47:42] local.INFO: GPS data processed {"connection_id":188456,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:47:42] local.INFO: Acknowledgment sent {"connection_id":188456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:47:43] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:43] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:47:43] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:47:43] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:47:44] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26593c0012d1955000720a9f80035011909..."} 
[2026-09-21 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26593c0012d1955000720a9f80035011909..."} 
[2026-09-21 10:47:44] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26593c0012d1955000720a9f80035011909..."} 
[2026-09-21 10:47:44] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:47:44] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":756634880,"raw_latitude":119581176,"longitude_deg":75.663488,"latitude_deg":11.9581176,"altitude":53,"angle":281,"satellites":9,"speed":12,"hex_longitude":"2d195500","hex_latitude":"0720a9f8","is_valid_coordinates":true} 
[2026-09-21 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22309778122342400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,121,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 10:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789967832000,"timestamp_ms":1789967832000,"timestamp_seconds":1789967832,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26593c0"} 
[2026-09-21 10:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":256,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8605728768,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399850426081280,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":66,"raw_value":2684354560,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":109,"raw_value":6917810502617792512,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.INFO: IO Element Parsed {"io_data_count":25,"io_data_keys":[0,121,28,24,241,158,16,66,144,10,62,236,1,240,153,4,113,205,72,239,2,55,131,79,109],"length":528,"final_offset":658,"validated_count":25,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 10:47:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13646,"121":206,"28":31744,"24":12,"16":22309778122342400},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16]} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22309778122342400,"km_value":22309778122342.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:47:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13646,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null}} 
[2026-09-21 10:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:47:44] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:47:44] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:47:44] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:44] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26103c8012d34c04006aa41300005000c30..."} 
[2026-09-21 10:47:44] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:47:44] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c261"} 
[2026-09-21 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231611392001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789967533000,"timestamp_ms":1789967533000,"timestamp_seconds":1789967533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26103c8"} 
[2026-09-21 10:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:47:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 10:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231611392001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231611392001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231611392001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:47:44] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:47:44] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:47:45] local.INFO: TCP Data received {"connection_id":189915,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:47:45] local.INFO: Processing buffer {"connection_id":189915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:47:45] local.INFO: IMEI packet received {"connection_id":189915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":189915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:48:02] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:02] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:02] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:48:08] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:08] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:08] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:48:09] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:48:09] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2620d68012d0b0ac00702a3a00004000b22..."} 
[2026-09-21 10:48:09] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:48:09] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c262"} 
[2026-09-21 10:48:09] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231628800001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789967601000,"timestamp_ms":1789967601000,"timestamp_seconds":1789967601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2620d68"} 
[2026-09-21 10:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:09] 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-09-21 10: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31828666627391557,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3259397864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":2,"raw_value":1126184315257037,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":12,"raw_value":3221684898,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:09] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,221,45,192,163,31,10,66,70,4,28,174,240,227,194,2,113,205,12,136,11,239,1,50,117],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 10:48:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":12240656793600,"timestamp_seconds":12240656793.6,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231628800001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231628800001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:09] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231628800001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875770,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:09] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:09] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:09] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:09] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:09] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:48:14] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:14] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:14] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:48:15] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c265b300012d1941c00720afc80036012509..."} 
[2026-09-21 10:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c265b300012d1941c00720afc80036012509..."} 
[2026-09-21 10:48:15] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c265b300012d1941c00720afc80036012509..."} 
[2026-09-21 10:48:15] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:15] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:15] local.INFO: GPS Element Parsed {"raw_longitude":756629952,"raw_latitude":119582664,"longitude_deg":75.6629952,"latitude_deg":11.9582664,"altitude":54,"angle":293,"satellites":9,"speed":35,"hex_longitude":"2d1941c0","hex_latitude":"0720afc8","is_valid_coordinates":true} 
[2026-09-21 10:48:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:48:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231764992001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22310027230445568,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825365254581385216,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789967840000,"timestamp_ms":1789967840000,"timestamp_seconds":1789967840,"priority":1,"record_length":96,"hex_timestamp":"000001a0c265b300"} 
[2026-09-21 10:48:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":768,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:48:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:48:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:48:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:48:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:48:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231764992001,"66":14243,"121":206,"28":31744,"24":35,"16":22310027230445568,"45":1825365254581385216},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:48:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:48:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:48:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231764992001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:15] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:48:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:48:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22310027230445568,"km_value":22310027230445.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825365254581385216,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231764992001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1825365254581385216}} 
[2026-09-21 10:48:15] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:15] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:15] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:19] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:19] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:48:19] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:48:20] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:20] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:20] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:20] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:48:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:20] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:20] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:21] local.INFO: TCP Data received {"connection_id":189916,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:48:21] local.INFO: Processing buffer {"connection_id":189916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:48:21] local.INFO: IMEI packet received {"connection_id":189916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":189916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:48:24] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:24] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:48:24] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:24] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:48:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:24] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:24] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:40] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:48:40] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:48:40] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:48:40] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:48:40] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:40] 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-09-21 10:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875774,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:40] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:40] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:46] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d18c18007215608004b014d0a..."} 
[2026-09-21 10:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d18c18007215608004b014d0a..."} 
[2026-09-21 10:48:46] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d18c18007215608004b014d0a..."} 
[2026-09-21 10:48:46] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:48:46] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756597120,"raw_latitude":119625224,"longitude_deg":75.659712,"latitude_deg":11.9625224,"altitude":75,"angle":333,"satellites":10,"speed":33,"hex_longitude":"2d18c180","hex_latitude":"07215608","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782656001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22312831844089856,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992721408,"note":"Value kept but may cause issues"} 
[2026-09-21 10:48:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:48:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-21 10:48:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782656001,"66":13852,"121":206,"28":31744,"24":33,"16":22312831844089856,"45":1784269907992721408},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782656001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:48:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:48:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22312831844089856,"km_value":22312831844089.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992721408,"description":"Unknown IO ID 45"} 
[2026-09-21 10:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782656001,"power":13852,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1784269907992721408}} 
[2026-09-21 10:48:47] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875775,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:48:47] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:48:47] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:48:57] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:57] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:48:57] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:49:02] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:02] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:02] local.INFO: IMEI packet received {"connection_id":188459,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":188459,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:49:03] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:03] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:03] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:49:08] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:08] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:49:08] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:49:10] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:10] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:10] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:10] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49: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-09-21 10: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875776,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:10] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:10] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:10] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:10] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:10] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:49:10] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:49:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:10] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:10] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:18] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266cc40012d18b04007216d98004e01400b..."} 
[2026-09-21 10:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266cc40012d18b04007216d98004e01400b..."} 
[2026-09-21 10:49:18] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266cc40012d18b04007216d98004e01400b..."} 
[2026-09-21 10:49:18] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:18] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119631256,"longitude_deg":75.6592704,"latitude_deg":11.9631256,"altitude":78,"angle":320,"satellites":11,"speed":15,"hex_longitude":"2d18b040","hex_latitude":"07216d98","is_valid_coordinates":true} 
[2026-09-21 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313192621342720,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783847695527839744,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789967912000,"timestamp_ms":1789967912000,"timestamp_seconds":1789967912,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266cc40"} 
[2026-09-21 10:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2304,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-21 10:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":14363,"121":206,"28":31744,"24":15,"16":22313192621342720,"45":1783847695527839744},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:49:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313192621342720,"km_value":22313192621342.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783847695527839744,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1783847695527839744}} 
[2026-09-21 10:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:18] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:18] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:41] local.INFO: TCP Data received {"connection_id":188459,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:41] local.INFO: Processing buffer {"connection_id":188459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:49:41] local.INFO: Packet analysis {"connection_id":188459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:41] local.INFO: Extracted packet for processing {"connection_id":188459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:41] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49:41] 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-09-21 10:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188459,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875779,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:41] local.INFO: GPS data processed {"connection_id":188459,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:41] local.INFO: Acknowledgment sent {"connection_id":188459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:42] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:42] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:49:42] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:49:42] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:49:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:49:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:49:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:49: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-09-21 10: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-09-21 10:49:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:49:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:49:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:49:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:49:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:49:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:49:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:49:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:49:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:49:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:49:42] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:42] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:42] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:50] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266d410012d18ae8007216f38004f01310c..."} 
[2026-09-21 10:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266d410012d18ae8007216f38004f01310c..."} 
[2026-09-21 10:49:50] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266d410012d18ae8007216f38004f01310c..."} 
[2026-09-21 10:49:50] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:50] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756592256,"raw_latitude":119631672,"longitude_deg":75.6592256,"latitude_deg":11.9631672,"altitude":79,"angle":305,"satellites":12,"speed":12,"hex_longitude":"2d18ae80","hex_latitude":"07216f38","is_valid_coordinates":true} 
[2026-09-21 10:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231785472001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313222686113792,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252181125120,"note":"Value kept but may cause issues"} 
[2026-09-21 10:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789967914000,"timestamp_ms":1789967914000,"timestamp_seconds":1789967914,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266d410"} 
[2026-09-21 10:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 10:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231785472001,"66":14341,"121":206,"28":31744,"24":12,"16":22313222686113792,"45":1778992252181125120},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231785472001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:49:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:49:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313222686113792,"km_value":22313222686113.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252181125120,"description":"Unknown IO ID 45"} 
[2026-09-21 10:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231785472001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1778992252181125120}} 
[2026-09-21 10:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:49:50] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:49:50] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:49:57] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:57] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:49:57] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:50:02] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:02] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:02] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:50:03] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:03] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:03] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:50:03] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:03] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:03] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:50:03] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:50:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:50:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:50:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:50:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:50:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:50:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:50:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:50:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:50:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:50:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:50:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:50:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:50:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:50:04] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875782,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:04] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:04] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:08] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:08] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:50:08] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:50:14] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:14] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:14] local.INFO: Packet analysis {"connection_id":188611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:50:14] local.INFO: Extracted packet for processing {"connection_id":188611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:50:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:50:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:50: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-09-21 10:50:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":188611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:14] local.INFO: GPS data processed {"connection_id":188611,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:14] local.INFO: Acknowledgment sent {"connection_id":188611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:21] local.INFO: TCP Data received {"connection_id":191237,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2672618012d18aa8007217218004f012c0c..."} 
[2026-09-21 10:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2672618012d18aa8007217218004f012c0c..."} 
[2026-09-21 10:50:21] local.INFO: Processing buffer {"connection_id":191237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2672618012d18aa8007217218004f012c0c..."} 
[2026-09-21 10:50:21] local.INFO: Packet analysis {"connection_id":191237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:21] local.INFO: Extracted packet for processing {"connection_id":191237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":12,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778499670971987968,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789967935000,"timestamp_ms":1789967935000,"timestamp_seconds":1789967935,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2672618"} 
[2026-09-21 10:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2560,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992062066,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503940087611392,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3261496864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751250696380715,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.WARNING: Large IO value detected {"io_id":168,"raw_value":19704708826407424,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:21] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,121,28,24,241,158,16,69,160,204,45,64,109,78,11,10,66,165,128,86,75,161,1,240,194,33,4,113,205,141,197,120,239,55,2,79,7,71,38,206,104,168],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 10:50:21] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692885331583172608,"timestamp_seconds":5692885331583173.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191237,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231785984001,"66":13287,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1778499670971987968},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:21] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:50:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778499670971987968,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231785984001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778499670971987968}} 
[2026-09-21 10:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":191237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:22] local.INFO: GPS data processed {"connection_id":191237,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:22] local.INFO: Acknowledgment sent {"connection_id":191237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:34] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:34] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:50:34] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:50:34] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:50:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:50:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:50:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:50:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:50:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:50:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:50:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:50:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:50:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:50:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:50:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:50:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:50:34] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875785,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:34] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:34] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:42] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:42] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:42] local.INFO: IMEI packet received {"connection_id":189918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:50:42] local.INFO: IMEI acknowledgment sent {"connection_id":189918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:50:43] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:43] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:43] local.INFO: IMEI packet received {"connection_id":189918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:50:43] local.INFO: IMEI acknowledgment sent {"connection_id":189918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:50:45] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:45] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:50:45] local.INFO: Packet analysis {"connection_id":188611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:50:45] local.INFO: Extracted packet for processing {"connection_id":188611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:50:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50: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-09-21 10:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:50: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-09-21 10:50:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:50:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":188611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:45] local.INFO: GPS data processed {"connection_id":188611,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:45] local.INFO: Acknowledgment sent {"connection_id":188611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:46] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:46] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:50:46] local.INFO: IMEI packet received {"connection_id":189918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:50:46] local.INFO: IMEI acknowledgment sent {"connection_id":189918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:50:48] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2677820012d18aa8007217218004f012c10..."} 
[2026-09-21 10:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2677820012d18aa8007217218004f012c10..."} 
[2026-09-21 10:50:48] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2677820012d18aa8007217218004f012c10..."} 
[2026-09-21 10:50:48] local.INFO: Packet analysis {"connection_id":189918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:48] local.INFO: Extracted packet for processing {"connection_id":189918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":16,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231791360001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789967956000,"timestamp_ms":1789967956000,"timestamp_seconds":1789967956,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2677820"} 
[2026-09-21 10:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":2816,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-21 10:50:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231791360001,"66":13243,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231791360001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:50:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231791360001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":189918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:48] local.INFO: GPS data processed {"connection_id":189918,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:48] local.INFO: Acknowledgment sent {"connection_id":189918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:52] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c267ca28012d18aa8007217218004f012c14..."} 
[2026-09-21 10:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c267ca28012d18aa8007217218004f012c14..."} 
[2026-09-21 10:50:52] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c267ca28012d18aa8007217218004f012c14..."} 
[2026-09-21 10:50:52] local.INFO: Packet analysis {"connection_id":189918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:52] local.INFO: Extracted packet for processing {"connection_id":189918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c267"} 
[2026-09-21 10:50:52] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":20,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:50:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231796736001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:50:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:50:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789967977000,"timestamp_ms":1789967977000,"timestamp_seconds":1789967977,"priority":1,"record_length":96,"hex_timestamp":"000001a0c267ca28"} 
[2026-09-21 10:50:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:50:52] 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-09-21 10:50:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-21 10:50: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-09-21 10:50:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:50:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:50:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:50:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:50:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:50:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:50:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:50:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:50:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231796736001,"66":13091,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:50:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:50:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:50:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231796736001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:50:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:50:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:50:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:50:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:50:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231796736001,"power":13091,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":189918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:50:53] local.INFO: GPS data processed {"connection_id":189918,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:50:53] local.INFO: Acknowledgment sent {"connection_id":189918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:50:57] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:57] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:50:57] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:51:02] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:02] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:02] local.INFO: IMEI packet received {"connection_id":191238,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":191238,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:51:03] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:03] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:03] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:51:03] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:51:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:51:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:51:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875789,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:03] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:03] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:03] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:03] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:03] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:51:08] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:08] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:51:08] local.INFO: IMEI packet received {"connection_id":191239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":191239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:51:10] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:10] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:10] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:51:10] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:51:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:51:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:51:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:51:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:10] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:10] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:24] local.INFO: TCP Data received {"connection_id":189918,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2681c30012d18aa8007217218004f012c16..."} 
[2026-09-21 10:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2681c30012d18aa8007217218004f012c16..."} 
[2026-09-21 10:51:24] local.INFO: Processing buffer {"connection_id":189918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2681c30012d18aa8007217218004f012c16..."} 
[2026-09-21 10:51:24] local.INFO: Packet analysis {"connection_id":189918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:51:24] local.INFO: Extracted packet for processing {"connection_id":189918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":22,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231802112001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:51:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789967998000,"timestamp_ms":1789967998000,"timestamp_seconds":1789967998,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2681c30"} 
[2026-09-21 10:51:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":3584,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 10:51: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-09-21 10:51:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:51:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:51:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231802112001,"66":13004,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:51:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:51:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:51:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231802112001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:51:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:51:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231802112001,"power":13004,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":189918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:24] local.INFO: GPS data processed {"connection_id":189918,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:24] local.INFO: Acknowledgment sent {"connection_id":189918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:35] local.INFO: TCP Data received {"connection_id":191238,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:35] local.INFO: Processing buffer {"connection_id":191238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:51:35] local.INFO: Packet analysis {"connection_id":191238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:51:35] local.INFO: Extracted packet for processing {"connection_id":191238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:51:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:51:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:51:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191238,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:51:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":191238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875792,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:35] local.INFO: GPS data processed {"connection_id":191238,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:35] local.INFO: Acknowledgment sent {"connection_id":191238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:42] local.INFO: TCP Data received {"connection_id":188461,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:42] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:42] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:51:42] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:51:42] local.INFO: TCP Data received {"connection_id":191239,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191239,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:42] local.INFO: Processing buffer {"connection_id":191239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:51:42] local.INFO: Packet analysis {"connection_id":191239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:51:42] local.INFO: Extracted packet for processing {"connection_id":191239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:51:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:51: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-09-21 10:51:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:51:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":191239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:42] local.INFO: GPS data processed {"connection_id":191239,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:42] local.INFO: Acknowledgment sent {"connection_id":191239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:45] local.INFO: TCP Data received {"connection_id":188461,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:45] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:51:45] local.INFO: IMEI packet received {"connection_id":188461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:51:45] local.INFO: IMEI acknowledgment sent {"connection_id":188461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:51:46] local.INFO: TCP Data received {"connection_id":188461,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2686e38012d18aa8007217218004f012c19..."} 
[2026-09-21 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2686e38012d18aa8007217218004f012c19..."} 
[2026-09-21 10:51:46] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2686e38012d18aa8007217218004f012c19..."} 
[2026-09-21 10:51:46] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:51:46] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":25,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231807488001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789968019000,"timestamp_ms":1789968019000,"timestamp_seconds":1789968019,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2686e38"} 
[2026-09-21 10:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:51:46] 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-09-21 10:51:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-21 10:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:51:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231807488001,"66":12428,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231807488001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:51:46] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:51:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231807488001,"power":12428,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:51:46] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:51:46] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:51:57] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:57] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:51:57] local.INFO: IMEI packet received {"connection_id":191240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":191240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:52:02] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:02] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:02] local.INFO: IMEI packet received {"connection_id":191240,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":191240,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:52:03] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:03] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:03] local.INFO: Packet analysis {"connection_id":191240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:52:03] local.INFO: Extracted packet for processing {"connection_id":191240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:52: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:52:03] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:03] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:03] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":191240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875795,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:03] local.INFO: GPS data processed {"connection_id":191240,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:03] local.INFO: Acknowledgment sent {"connection_id":191240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:08] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:08] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:52:08] local.INFO: IMEI packet received {"connection_id":188462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:52:10] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:10] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:10] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:52:10] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:52:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:10] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:10] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:18] local.INFO: TCP Data received {"connection_id":188461,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c268c040012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c268c040012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:18] local.INFO: Processing buffer {"connection_id":188461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c268c040012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:18] local.INFO: Packet analysis {"connection_id":188461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:52:18] local.INFO: Extracted packet for processing {"connection_id":188461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c268"} 
[2026-09-21 10:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":26,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231812864001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789968040000,"timestamp_ms":1789968040000,"timestamp_seconds":1789968040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c268c040"} 
[2026-09-21 10:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4096,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 10:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231812864001,"66":12928,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231812864001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:52:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231812864001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":188461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875797,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:18] local.INFO: GPS data processed {"connection_id":188461,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:18] local.INFO: Acknowledgment sent {"connection_id":188461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:35] local.INFO: TCP Data received {"connection_id":191240,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:35] local.INFO: Processing buffer {"connection_id":191240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:52:35] local.INFO: Packet analysis {"connection_id":191240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:52:35] local.INFO: Extracted packet for processing {"connection_id":191240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:52:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:52:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:52:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:52:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:52: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:52:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:52:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:52:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:52:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:52:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:35] local.INFO: Teltonika packet parsed successfully {"connection_id":191240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:35] local.INFO: Passing IMEI to GPS processor {"connection_id":191240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:52:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":191240,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:52:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:52:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:52:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:52:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:52:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:52:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:52:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:52:35] local.INFO: DEBUG: GPS processor result {"connection_id":191240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875798,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:35] local.INFO: GPS data processed {"connection_id":191240,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:35] local.INFO: Acknowledgment sent {"connection_id":191240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:41] local.INFO: TCP Data received {"connection_id":188462,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:41] local.INFO: Processing buffer {"connection_id":188462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2659b90012d34c04006aa41300006000c31..."} 
[2026-09-21 10:52:41] local.INFO: Packet analysis {"connection_id":188462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:52:41] local.INFO: Extracted packet for processing {"connection_id":188462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c265"} 
[2026-09-21 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231688448001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789967834000,"timestamp_ms":1789967834000,"timestamp_seconds":1789967834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2659b90"} 
[2026-09-21 10:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:52: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-09-21 10: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-09-21 10:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231688448001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231688448001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231688448001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:41] local.INFO: GPS data processed {"connection_id":188462,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:41] local.INFO: Acknowledgment sent {"connection_id":188462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:41] local.INFO: TCP Data received {"connection_id":188463,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:41] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:41] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:52:41] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:52:46] local.INFO: TCP Data received {"connection_id":188463,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:46] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:52:46] local.INFO: IMEI packet received {"connection_id":188463,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":188463,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:52:47] local.INFO: TCP Data received {"connection_id":188463,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2691248012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2691248012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:47] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2691248012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:52:47] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:52:47] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":26,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:52:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231818240001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:52:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:52:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789968061000,"timestamp_ms":1789968061000,"timestamp_seconds":1789968061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2691248"} 
[2026-09-21 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-09-21 10:52:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4352,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-21 10:52:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 10:52:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:52:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:52:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:52:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:52:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:52:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:52:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:52:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231818240001,"66":12819,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:52:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:52:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:52:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231818240001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:52:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:52:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:52:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:52:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:52:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231818240001,"power":12819,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:52:47] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:52:47] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:52:47] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:52:57] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:57] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:52:57] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:53:02] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:02] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:02] local.INFO: IMEI packet received {"connection_id":191241,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191241,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:53:03] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:53:03] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c266a530012d0b0ac00702a3a0000f000b23..."} 
[2026-09-21 10:53:03] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:53:03] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c266"} 
[2026-09-21 10:53:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231705856001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789967902000,"timestamp_ms":1789967902000,"timestamp_seconds":1789967902,"priority":1,"record_length":96,"hex_timestamp":"000001a0c266a530"} 
[2026-09-21 10:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:53:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:53:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231705856001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231705856001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231705856001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:53:03] local.INFO: TCP Data received {"connection_id":189919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:03] local.INFO: Processing buffer {"connection_id":189919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:03] local.INFO: IMEI packet received {"connection_id":189919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":189919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875801,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:03] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:03] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:08] local.INFO: TCP Data received {"connection_id":189919,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:08] local.INFO: Processing buffer {"connection_id":189919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:53:08] local.INFO: IMEI packet received {"connection_id":189919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":189919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:53:10] local.INFO: TCP Data received {"connection_id":189919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:10] local.INFO: Processing buffer {"connection_id":189919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:10] local.INFO: Packet analysis {"connection_id":189919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:53:10] local.INFO: Extracted packet for processing {"connection_id":189919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:53:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":189919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:10] local.INFO: GPS data processed {"connection_id":189919,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:10] local.INFO: Acknowledgment sent {"connection_id":189919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:19] local.INFO: TCP Data received {"connection_id":188463,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2696450012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2696450012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:53:19] local.INFO: Processing buffer {"connection_id":188463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2696450012d18aa8007217218004f012c1a..."} 
[2026-09-21 10:53:19] local.INFO: Packet analysis {"connection_id":188463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:53:19] local.INFO: Extracted packet for processing {"connection_id":188463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":26,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231823616001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968082000,"timestamp_ms":1789968082000,"timestamp_seconds":1789968082,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2696450"} 
[2026-09-21 10:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4503940100128768,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195406592,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3261539864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":13494137,"corrected_to":0} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":7409564884168912512,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":720839827469435136,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2147950962,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72181881817268480,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-1801213456896963044,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2409205899643138316,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84751113257427309,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.WARNING: Large IO value detected {"io_id":152,"raw_value":21956422757519104,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,69,160,192,45,128,114,79,26,10,66,110,25,1,240,204,194,33,4,113,205,120,170,239,51,2,7,124,209,64,152],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":204,"original":13494137,"validated":0},{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-09-21 10:53:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692879894153789440,"timestamp_seconds":5692879894153789.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188463,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231823616001,"66":12809,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231823616001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:53:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231823616001,"power":12809,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:19] local.INFO: GPS data processed {"connection_id":188463,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:19] local.INFO: Acknowledgment sent {"connection_id":188463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:26] local.INFO: TCP Data received {"connection_id":189920,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:53:26] local.INFO: Processing buffer {"connection_id":189920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:53:26] local.INFO: IMEI packet received {"connection_id":189920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":189920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:53:34] local.INFO: TCP Data received {"connection_id":191241,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:53:34] local.INFO: Processing buffer {"connection_id":191241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:53:34] local.INFO: Packet analysis {"connection_id":191241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:53:34] local.INFO: Extracted packet for processing {"connection_id":191241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:53:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:53:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:53:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:53:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:53:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:53:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:53:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:53:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191241,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:53:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:53:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:53:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:53:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:53:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:53:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:53:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:53:34] local.INFO: DEBUG: GPS processor result {"connection_id":191241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875804,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:34] local.INFO: GPS data processed {"connection_id":191241,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:34] local.INFO: Acknowledgment sent {"connection_id":191241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:40] local.INFO: TCP Data received {"connection_id":188464,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:40] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:40] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:53:41] local.INFO: TCP Data received {"connection_id":188464,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:41] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:41] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:53:41] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:53:42] local.INFO: TCP Data received {"connection_id":189919,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189919,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:42] local.INFO: Processing buffer {"connection_id":189919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:53:42] local.INFO: Packet analysis {"connection_id":189919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:53:42] local.INFO: Extracted packet for processing {"connection_id":189919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:53: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-09-21 10: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-09-21 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":189919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:42] local.INFO: GPS data processed {"connection_id":189919,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:42] local.INFO: Acknowledgment sent {"connection_id":189919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:47] local.INFO: TCP Data received {"connection_id":188464,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:47] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:53:47] local.INFO: IMEI packet received {"connection_id":188464,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":188464,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:53:48] local.INFO: TCP Data received {"connection_id":188464,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c269b658012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c269b658012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:53:48] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c269b658012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:53:48] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:53:48] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c269"} 
[2026-09-21 10:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":27,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231828992001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968103000,"timestamp_ms":1789968103000,"timestamp_seconds":1789968103,"priority":1,"record_length":96,"hex_timestamp":"000001a0c269b658"} 
[2026-09-21 10:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4608,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":3506438144,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3261560864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":194,"raw_value":7432654628352207488,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 10:53:48] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":671165720,"corrected_to":0} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":170,"raw_value":2147950962,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":51,"raw_value":-4971747594565792228,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2410015140201180172,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 10:53:48] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,69,160,18,45,128,114,79,26,10,66,192,110,1,240,140,194,33,4,113,205,202,170,20,239,51,2,7,124,209],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0},{"io_id":202,"original":671165720,"validated":0}]} 
[2026-09-21 10:53:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692879894153789440,"timestamp_seconds":5692879894153789.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231828992001,"66":12776,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231828992001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:53:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:53:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231828992001,"power":12776,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:53:48] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:53:48] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:53:57] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:57] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:53:57] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:54:02] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:54:02] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:54:02] local.INFO: IMEI packet received {"connection_id":191242,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":191242,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:54:03] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:03] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:03] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:03] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:54:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875807,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:03] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:03] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:54:03] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:03] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:03] local.INFO: IMEI packet received {"connection_id":188614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:54:08] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:08] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:54:08] local.INFO: IMEI packet received {"connection_id":188614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:54:10] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:10] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:10] local.INFO: Packet analysis {"connection_id":188614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:10] local.INFO: Extracted packet for processing {"connection_id":188614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:54:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:10] local.INFO: GPS data processed {"connection_id":188614,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:10] local.INFO: Acknowledgment sent {"connection_id":188614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:54:20] local.INFO: TCP Data received {"connection_id":188464,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a0860012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a0860012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:54:20] local.INFO: Processing buffer {"connection_id":188464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a0860012d18aa8007217218004f012c1b..."} 
[2026-09-21 10:54:20] local.INFO: Packet analysis {"connection_id":188464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:20] local.INFO: Extracted packet for processing {"connection_id":188464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:20] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632408,"longitude_deg":75.6591232,"latitude_deg":11.9632408,"altitude":79,"angle":300,"satellites":27,"speed":0,"hex_longitude":"2d18aa80","hex_latitude":"07217218","is_valid_coordinates":true} 
[2026-09-21 10:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:54:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231834368001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22313287110623232,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777373771065333760,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:54:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789968124000,"timestamp_ms":1789968124000,"timestamp_seconds":1789968124,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a0860"} 
[2026-09-21 10:54:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54:20] 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-09-21 10:54:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 10:54:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:54:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:54:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:54:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188464,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:54:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:54:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:54:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231834368001,"66":12743,"121":206,"28":31744,"24":0,"16":22313287110623232,"45":1777373771065333760},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:54:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:54:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:54:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231834368001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:54:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:54:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22313287110623232,"km_value":22313287110623.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777373771065333760,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231834368001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1777373771065333760}} 
[2026-09-21 10:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":188464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:20] local.INFO: GPS data processed {"connection_id":188464,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:20] local.INFO: Acknowledgment sent {"connection_id":188464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:54:34] local.INFO: TCP Data received {"connection_id":191242,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191242,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:34] local.INFO: Processing buffer {"connection_id":191242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:54:34] local.INFO: Packet analysis {"connection_id":191242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:34] local.INFO: Extracted packet for processing {"connection_id":191242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191242,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":191242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875810,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:35] local.INFO: GPS data processed {"connection_id":191242,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:35] local.INFO: Acknowledgment sent {"connection_id":191242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:54:41] local.INFO: TCP Data received {"connection_id":188614,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:41] local.INFO: Processing buffer {"connection_id":188614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:54:41] local.INFO: Packet analysis {"connection_id":188614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:41] local.INFO: Extracted packet for processing {"connection_id":188614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54: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-09-21 10:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:54: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-09-21 10:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:41] local.INFO: GPS data processed {"connection_id":188614,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:41] local.INFO: Acknowledgment sent {"connection_id":188614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:54:41] local.INFO: TCP Data received {"connection_id":189921,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:41] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:41] local.INFO: IMEI packet received {"connection_id":189921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":189921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:54:44] local.INFO: TCP Data received {"connection_id":189921,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:44] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:44] local.INFO: IMEI packet received {"connection_id":189921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":189921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:54:47] local.INFO: TCP Data received {"connection_id":189921,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:47] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:54:47] local.INFO: IMEI packet received {"connection_id":189921,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":189921,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:54:47] local.INFO: TCP Data received {"connection_id":189921,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26bc998012d187c8007217608004400b71d..."} 
[2026-09-21 10:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26bc998012d187c8007217608004400b71d..."} 
[2026-09-21 10:54:47] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26bc998012d187c8007217608004400b71d..."} 
[2026-09-21 10:54:47] local.INFO: Packet analysis {"connection_id":189921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:47] local.INFO: Extracted packet for processing {"connection_id":189921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":29,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:54:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231863808001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:54:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:54:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789968239000,"timestamp_ms":1789968239000,"timestamp_seconds":1789968239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26bc998"} 
[2026-09-21 10:54:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:54:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6400,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:54:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 10:54:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:54:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:54:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:54:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231863808001,"66":12885,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231863808001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:54:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231863808001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":189921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:54:48] local.INFO: GPS data processed {"connection_id":189921,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:54:48] local.INFO: Acknowledgment sent {"connection_id":189921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:02] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:02] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:02] local.INFO: IMEI packet received {"connection_id":188615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":188615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:55:03] local.INFO: TCP Data received {"connection_id":189922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:03] local.INFO: Processing buffer {"connection_id":189922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:03] local.INFO: IMEI packet received {"connection_id":189922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":189922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:55:07] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:07] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:07] local.INFO: IMEI packet received {"connection_id":188615,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":188615,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:55:08] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:08] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:08] local.INFO: Packet analysis {"connection_id":188615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:55:08] local.INFO: Extracted packet for processing {"connection_id":188615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:55:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":188615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875813,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:08] local.INFO: GPS data processed {"connection_id":188615,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:08] local.INFO: Acknowledgment sent {"connection_id":188615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:08] local.INFO: TCP Data received {"connection_id":189922,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:08] local.INFO: Processing buffer {"connection_id":189922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:55:08] local.INFO: IMEI packet received {"connection_id":189922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":189922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:55:10] local.INFO: TCP Data received {"connection_id":189922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:10] local.INFO: Processing buffer {"connection_id":189922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:10] local.INFO: Packet analysis {"connection_id":189922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:55:10] local.INFO: Extracted packet for processing {"connection_id":189922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:55:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:55:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":189922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:10] local.INFO: GPS data processed {"connection_id":189922,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:10] local.INFO: Acknowledgment sent {"connection_id":189922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:19] local.INFO: TCP Data received {"connection_id":189921,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26c17b8012d187c8007217608004400b71c..."} 
[2026-09-21 10:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26c17b8012d187c8007217608004400b71c..."} 
[2026-09-21 10:55:19] local.INFO: Processing buffer {"connection_id":189921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26c17b8012d187c8007217608004400b71c..."} 
[2026-09-21 10:55:19] local.INFO: Packet analysis {"connection_id":189921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:55:19] local.INFO: Extracted packet for processing {"connection_id":189921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":28,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231869184001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968259000,"timestamp_ms":1789968259000,"timestamp_seconds":1789968259,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26c17b8"} 
[2026-09-21 10:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:19] 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-09-21 10:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 10:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189921,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231869184001,"66":12863,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231869184001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:55:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231869184001,"power":12863,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":189921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:19] local.INFO: GPS data processed {"connection_id":189921,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:19] local.INFO: Acknowledgment sent {"connection_id":189921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:39] local.INFO: TCP Data received {"connection_id":188615,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:39] local.INFO: Processing buffer {"connection_id":188615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:55:39] local.INFO: Packet analysis {"connection_id":188615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:55:39] local.INFO: Extracted packet for processing {"connection_id":188615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:55:39] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:39] 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-09-21 10:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188615,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:55:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":188615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875816,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:40] local.INFO: GPS data processed {"connection_id":188615,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:40] local.INFO: Acknowledgment sent {"connection_id":188615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:41] local.INFO: TCP Data received {"connection_id":188465,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:41] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:41] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:55:42] local.INFO: TCP Data received {"connection_id":189922,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:42] local.INFO: Processing buffer {"connection_id":189922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:55:42] local.INFO: Packet analysis {"connection_id":189922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:55:42] local.INFO: Extracted packet for processing {"connection_id":189922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:55:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55: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-09-21 10:55:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:55:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:55:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:55: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-09-21 10:55:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:55:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:55:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:55:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:55:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:55:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:55:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:55:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:55:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:55:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:55:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:55:42] local.INFO: DEBUG: GPS processor result {"connection_id":189922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:42] local.INFO: GPS data processed {"connection_id":189922,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:42] local.INFO: Acknowledgment sent {"connection_id":189922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:47] local.INFO: TCP Data received {"connection_id":188465,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:47] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:55:47] local.INFO: IMEI packet received {"connection_id":188465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:55:47] local.INFO: IMEI acknowledgment sent {"connection_id":188465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:55:48] local.INFO: TCP Data received {"connection_id":188465,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26c65d8012d187c8007217608004400b71b..."} 
[2026-09-21 10:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26c65d8012d187c8007217608004400b71b..."} 
[2026-09-21 10:55:48] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26c65d8012d187c8007217608004400b71b..."} 
[2026-09-21 10:55:48] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:55:48] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":27,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231874304001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968279000,"timestamp_ms":1789968279000,"timestamp_seconds":1789968279,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26c65d8"} 
[2026-09-21 10:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 10:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231874304001,"66":12798,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231874304001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:55:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:55:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231874304001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:55:48] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:55:48] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:55:57] local.INFO: TCP Data received {"connection_id":188616,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:57] local.INFO: Processing buffer {"connection_id":188616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:55:57] local.INFO: IMEI packet received {"connection_id":188616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":188616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:56:02] local.INFO: TCP Data received {"connection_id":188616,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188616,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:02] local.INFO: Processing buffer {"connection_id":188616,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:02] local.INFO: IMEI packet received {"connection_id":188616,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188616,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:56:03] local.INFO: TCP Data received {"connection_id":188616,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:03] local.INFO: Processing buffer {"connection_id":188616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:03] local.INFO: Packet analysis {"connection_id":188616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:56:03] local.INFO: Extracted packet for processing {"connection_id":188616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:56:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:56: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:56:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:56:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:56:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":188616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875819,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:03] local.INFO: GPS data processed {"connection_id":188616,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:03] local.INFO: Acknowledgment sent {"connection_id":188616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:03] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:03] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:03] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:56:08] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:08] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:56:08] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:56:09] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:09] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:09] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:56:09] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 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-09-21 10:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:56: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-09-21 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-09-21 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-09-21 10:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:09] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:09] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:19] local.INFO: TCP Data received {"connection_id":188465,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26cb3f8012d187c8007217608004400b71d..."} 
[2026-09-21 10:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26cb3f8012d187c8007217608004400b71d..."} 
[2026-09-21 10:56:19] local.INFO: Processing buffer {"connection_id":188465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26cb3f8012d187c8007217608004400b71d..."} 
[2026-09-21 10:56:19] local.INFO: Packet analysis {"connection_id":188465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:56:19] local.INFO: Extracted packet for processing {"connection_id":188465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26c"} 
[2026-09-21 10:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":29,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231879424001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968299000,"timestamp_ms":1789968299000,"timestamp_seconds":1789968299,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26cb3f8"} 
[2026-09-21 10:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6912,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 10:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231879424001,"66":12798,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231879424001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:56:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231879424001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:56:20] local.INFO: DEBUG: GPS processor result {"connection_id":188465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:20] local.INFO: GPS data processed {"connection_id":188465,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:20] local.INFO: Acknowledgment sent {"connection_id":188465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:36] local.INFO: TCP Data received {"connection_id":188616,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188616,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:36] local.INFO: Processing buffer {"connection_id":188616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:56:36] local.INFO: Packet analysis {"connection_id":188616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:56:36] local.INFO: Extracted packet for processing {"connection_id":188616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:56:36] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:56:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:56:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:56:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:56:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:56:36] 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-09-21 10: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:56:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:56:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:56:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:56:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:56:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188616,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:56:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:56:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:56:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:56:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:56:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:56:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:36] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:56:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:56:36] local.INFO: DEBUG: GPS processor result {"connection_id":188616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875822,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:36] local.INFO: GPS data processed {"connection_id":188616,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:36] local.INFO: Acknowledgment sent {"connection_id":188616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:40] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:40] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:56:40] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:56:40] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:40] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:40] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:41] local.INFO: TCP Data received {"connection_id":189923,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:41] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:41] local.INFO: IMEI packet received {"connection_id":189923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:56:41] local.INFO: IMEI acknowledgment sent {"connection_id":189923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:56:47] local.INFO: TCP Data received {"connection_id":189923,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:47] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:56:47] local.INFO: IMEI packet received {"connection_id":189923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:56:47] local.INFO: IMEI acknowledgment sent {"connection_id":189923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:56:48] local.INFO: TCP Data received {"connection_id":189923,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26d0218012d187c8007217608004400b71e..."} 
[2026-09-21 10:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26d0218012d187c8007217608004400b71e..."} 
[2026-09-21 10:56:48] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26d0218012d187c8007217608004400b71e..."} 
[2026-09-21 10:56:48] local.INFO: Packet analysis {"connection_id":189923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:56:48] local.INFO: Extracted packet for processing {"connection_id":189923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":30,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231884544001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968319000,"timestamp_ms":1789968319000,"timestamp_seconds":1789968319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26d0218"} 
[2026-09-21 10:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:56:48] 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-09-21 10:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 10:56:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231884544001,"66":12722,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231884544001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:56:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:56:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231884544001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":189923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:56:48] local.INFO: GPS data processed {"connection_id":189923,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:56:48] local.INFO: Acknowledgment sent {"connection_id":189923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:56:57] local.INFO: TCP Data received {"connection_id":191245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:57] local.INFO: Processing buffer {"connection_id":191245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:56:57] local.INFO: IMEI packet received {"connection_id":191245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":191245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:57:02] local.INFO: TCP Data received {"connection_id":191245,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191245,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:02] local.INFO: Processing buffer {"connection_id":191245,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:02] local.INFO: IMEI packet received {"connection_id":191245,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":191245,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:57:03] local.INFO: TCP Data received {"connection_id":191245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:03] local.INFO: Processing buffer {"connection_id":191245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:03] local.INFO: Packet analysis {"connection_id":191245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:57:03] local.INFO: Extracted packet for processing {"connection_id":191245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:57:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":191245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875825,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:03] local.INFO: GPS data processed {"connection_id":191245,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:03] local.INFO: Acknowledgment sent {"connection_id":191245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:08] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:08] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:08] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:57:13] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:13] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:57:13] local.INFO: IMEI packet received {"connection_id":188467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":188467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:57:14] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:14] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:14] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:57:14] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:57:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:57: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-09-21 10:57:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:57:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:14] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:14] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:19] local.INFO: TCP Data received {"connection_id":189923,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26d4c50012d187c8007217608004400b71e..."} 
[2026-09-21 10:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26d4c50012d187c8007217608004400b71e..."} 
[2026-09-21 10:57:19] local.INFO: Processing buffer {"connection_id":189923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26d4c50012d187c8007217608004400b71e..."} 
[2026-09-21 10:57:19] local.INFO: Packet analysis {"connection_id":189923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:57:19] local.INFO: Extracted packet for processing {"connection_id":189923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":30,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231889664001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968338000,"timestamp_ms":1789968338000,"timestamp_seconds":1789968338,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26d4c50"} 
[2026-09-21 10:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7424,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 10:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231889664001,"66":12558,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231889664001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:57:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231889664001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":189923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:19] local.INFO: GPS data processed {"connection_id":189923,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:19] local.INFO: Acknowledgment sent {"connection_id":189923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:34] local.INFO: TCP Data received {"connection_id":191245,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:34] local.INFO: Processing buffer {"connection_id":191245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:57:34] local.INFO: Packet analysis {"connection_id":191245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:57:34] local.INFO: Extracted packet for processing {"connection_id":191245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191245,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:57:35] local.INFO: DEBUG: GPS processor result {"connection_id":191245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875828,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:35] local.INFO: GPS data processed {"connection_id":191245,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:35] local.INFO: Acknowledgment sent {"connection_id":191245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:45] local.INFO: TCP Data received {"connection_id":188619,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:45] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:45] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:57:45] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:57:45] local.INFO: TCP Data received {"connection_id":188467,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:45] local.INFO: Processing buffer {"connection_id":188467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26a3358012d34c04006aa4130000a000c2e..."} 
[2026-09-21 10:57:45] local.INFO: Packet analysis {"connection_id":188467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:57:45] local.INFO: Extracted packet for processing {"connection_id":188467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26a"} 
[2026-09-21 10:57:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231765504001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57: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-09-21 10:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789968135000,"timestamp_ms":1789968135000,"timestamp_seconds":1789968135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26a3358"} 
[2026-09-21 10:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:57:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 10:57: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-09-21 10:57:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231765504001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231765504001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:57:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231765504001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":188467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:45] local.INFO: GPS data processed {"connection_id":188467,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:45] local.INFO: Acknowledgment sent {"connection_id":188467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:46] local.INFO: TCP Data received {"connection_id":188619,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:46] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:46] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:57:46] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:57:49] local.INFO: TCP Data received {"connection_id":188619,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:49] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:57:49] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:57:49] local.INFO: TCP Data received {"connection_id":188619,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26d9a70012d187c8007217608004400b71f..."} 
[2026-09-21 10:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26d9a70012d187c8007217608004400b71f..."} 
[2026-09-21 10:57:49] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26d9a70012d187c8007217608004400b71f..."} 
[2026-09-21 10:57:49] local.INFO: Packet analysis {"connection_id":188619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:57:49] local.INFO: Extracted packet for processing {"connection_id":188619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":31,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231894528001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789968358000,"timestamp_ms":1789968358000,"timestamp_seconds":1789968358,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26d9a70"} 
[2026-09-21 10:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3261822864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249484020465104392,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":201,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147950966,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-21 10:57:49] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,70,160,2,45,128,118,68,30,10,66,179,29,101,1,240,254,194,33,4,113,205,201,124,8,239,50,79,7,231,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 10:57:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900117734056001536,"timestamp_seconds":4900117734056002.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231894528001,"66":12667,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231894528001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:57:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:57:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231894528001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":188619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:57:50] local.INFO: GPS data processed {"connection_id":188619,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:57:50] local.INFO: Acknowledgment sent {"connection_id":188619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:57:57] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:57] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:57:57] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:58:02] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:02] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:02] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:58:03] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:58:03] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26b3cf8012d0b0ac00702a3a0000a000b22..."} 
[2026-09-21 10:58:03] local.INFO: Packet analysis {"connection_id":188620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:58:03] local.INFO: Extracted packet for processing {"connection_id":188620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26b"} 
[2026-09-21 10:58:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":10,"angle":11,"satellites":34,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231782912001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968203000,"timestamp_ms":1789968203000,"timestamp_seconds":1789968203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26b3cf8"} 
[2026-09-21 10:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:58: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":238,"data_length":795,"current_offset":136} 
[2026-09-21 10:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231782912001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231782912001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231782912001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:58:03] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:03] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:03] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":188620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875831,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:03] local.INFO: GPS data processed {"connection_id":188620,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:03] local.INFO: Acknowledgment sent {"connection_id":188620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:08] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:08] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:58:08] local.INFO: IMEI packet received {"connection_id":188468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:58:10] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:10] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:10] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:10] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 10:58:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 10:58:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 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-09-21 10:58:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:58: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-09-21 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-09-21 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-09-21 10:58:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:58:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:58:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:58:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:58:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:58:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:58:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:58:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:58:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:58:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:58:10] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:10] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:10] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:21] local.INFO: TCP Data received {"connection_id":188619,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26de4a8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26de4a8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:21] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26de4a8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:21] local.INFO: Packet analysis {"connection_id":188619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:58:21] local.INFO: Extracted packet for processing {"connection_id":188619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26d"} 
[2026-09-21 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":31,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231899648001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789968377000,"timestamp_ms":1789968377000,"timestamp_seconds":1789968377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26de4a8"} 
[2026-09-21 10:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:58:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7680,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 10:58:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231899648001,"66":12558,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231899648001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:58:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231899648001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":188619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:22] local.INFO: GPS data processed {"connection_id":188619,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:22] local.INFO: Acknowledgment sent {"connection_id":188619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:35] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:58:35] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:58:35] local.INFO: Packet analysis {"connection_id":188620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:58:35] local.INFO: Extracted packet for processing {"connection_id":188620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:58:35] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:58:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:58:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:58:35] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 10:58:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:58: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:58:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:58:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:58:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:58:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:58:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188620,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:58:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:58:35] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:58:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:58:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:58:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:58:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:35] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:58:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:58:35] local.INFO: DEBUG: GPS processor result {"connection_id":188620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875834,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:35] local.INFO: GPS data processed {"connection_id":188620,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:35] local.INFO: Acknowledgment sent {"connection_id":188620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:41] local.INFO: TCP Data received {"connection_id":188468,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188468,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:41] local.INFO: Processing buffer {"connection_id":188468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:58:41] local.INFO: Packet analysis {"connection_id":188468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:41] local.INFO: Extracted packet for processing {"connection_id":188468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 10:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:58: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-09-21 10: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-09-21 10:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:58:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":188468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:41] local.INFO: GPS data processed {"connection_id":188468,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:41] local.INFO: Acknowledgment sent {"connection_id":188468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:42] local.INFO: TCP Data received {"connection_id":188470,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:42] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:42] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:58:42] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:58:46] local.INFO: TCP Data received {"connection_id":188470,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:46] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:58:46] local.INFO: IMEI packet received {"connection_id":188470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:58:46] local.INFO: IMEI acknowledgment sent {"connection_id":188470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:58:47] local.INFO: TCP Data received {"connection_id":188470,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26e32c8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26e32c8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:47] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26e32c8012d187c8007217608004400b71f..."} 
[2026-09-21 10:58:47] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:47] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":756579456,"raw_latitude":119633416,"longitude_deg":75.6579456,"latitude_deg":11.9633416,"altitude":68,"angle":183,"satellites":31,"speed":0,"hex_longitude":"2d187c80","hex_latitude":"07217608","is_valid_coordinates":true} 
[2026-09-21 10:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231904512001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314103154409472,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789968397000,"timestamp_ms":1789968397000,"timestamp_seconds":1789968397,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26e32c8"} 
[2026-09-21 10:58:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:58:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2399141888,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3261863864,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249484020465104392,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":101,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":124,"raw_value":2147950966,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465575,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":26,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-21 10:58:47] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,121,28,24,241,158,16,70,160,154,45,128,118,68,31,10,66,76,30,2,1,240,178,194,33,4,113,205,101,124,8,27,239,49,79,7,231,26,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 10:58:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900117738350968832,"timestamp_seconds":4900117738350969.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 10:58:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231904512001,"66":13993,"121":206,"28":31744,"24":0,"16":22314103154409472,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231904512001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:58:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:58:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314103154409472,"km_value":22314103154409.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231904512001,"power":13993,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:58:48] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:58:48] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:58:57] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:57] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:58:57] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:59:02] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:02] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:02] local.INFO: IMEI packet received {"connection_id":191246,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 10:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":191246,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:59:03] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:03] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:03] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:59:03] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 10:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:59:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875837,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:03] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:03] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:03] local.INFO: TCP Data received {"connection_id":191247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:03] local.INFO: Processing buffer {"connection_id":191247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:03] local.INFO: IMEI packet received {"connection_id":191247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 10:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":191247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:59:08] local.INFO: TCP Data received {"connection_id":191247,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:08] local.INFO: Processing buffer {"connection_id":191247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 10:59:08] local.INFO: IMEI packet received {"connection_id":191247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 10:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":191247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:59:09] local.INFO: TCP Data received {"connection_id":191247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:09] local.INFO: Processing buffer {"connection_id":191247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:09] local.INFO: Packet analysis {"connection_id":191247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:09] local.INFO: Extracted packet for processing {"connection_id":191247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 10:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:59: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-09-21 10:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:09] local.INFO: GPS data processed {"connection_id":191247,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:09] local.INFO: Acknowledgment sent {"connection_id":191247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:16] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:59:16] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 10:59:16] local.INFO: IMEI packet received {"connection_id":188621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 10:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":188621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:59:19] local.INFO: TCP Data received {"connection_id":188470,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26e61a8012d187bc0072176e8004a01611f..."} 
[2026-09-21 10:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26e61a8012d187bc0072176e8004a01611f..."} 
[2026-09-21 10:59:19] local.INFO: Processing buffer {"connection_id":188470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26e61a8012d187bc0072176e8004a01611f..."} 
[2026-09-21 10:59:19] local.INFO: Packet analysis {"connection_id":188470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:19] local.INFO: Extracted packet for processing {"connection_id":188470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756579264,"raw_latitude":119633640,"longitude_deg":75.6579264,"latitude_deg":11.963364,"altitude":74,"angle":353,"satellites":31,"speed":4,"hex_longitude":"2d187bc0","hex_latitude":"072176e8","is_valid_coordinates":true} 
[2026-09-21 10:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231909632001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314116039311360,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764425922136901632,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968409000,"timestamp_ms":1789968409000,"timestamp_seconds":1789968409,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26e61a8"} 
[2026-09-21 10:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 10:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231909632001,"66":14048,"121":206,"28":31744,"24":4,"16":22314116039311360,"45":1764425922136901632},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231909632001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:59:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314116039311360,"km_value":22314116039311.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764425922136901632,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231909632001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1764425922136901632}} 
[2026-09-21 10:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":188470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:19] local.INFO: GPS data processed {"connection_id":188470,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:19] local.INFO: Acknowledgment sent {"connection_id":188470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:34] local.INFO: TCP Data received {"connection_id":191246,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:34] local.INFO: Processing buffer {"connection_id":191246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 10:59:34] local.INFO: Packet analysis {"connection_id":191246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:59:34] local.INFO: Extracted packet for processing {"connection_id":191246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 10:59:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 10:59:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 10:59:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:59:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 10:59:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":227,"data_length":795,"current_offset":136} 
[2026-09-21 10:59:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10:59:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 10:59:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:59:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191246,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 10:59:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 10:59:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 10:59:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 10:59:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 10:59:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 10:59:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 10:59:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 10:59:34] local.INFO: DEBUG: GPS processor result {"connection_id":191246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875840,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:34] local.INFO: GPS data processed {"connection_id":191246,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:34] local.INFO: Acknowledgment sent {"connection_id":191246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:41] local.INFO: TCP Data received {"connection_id":191248,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:41] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:41] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 10:59:41] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 10:59:42] local.INFO: TCP Data received {"connection_id":191247,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191247,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:42] local.INFO: Processing buffer {"connection_id":191247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 10:59:42] local.INFO: Packet analysis {"connection_id":191247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:42] local.INFO: Extracted packet for processing {"connection_id":191247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:59:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 10: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-09-21 10:59:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 10:59:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 10: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 10:59: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-09-21 10: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-09-21 10:59:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:59:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 10:59:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 10:59:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 10:59:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 10:59:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 10:59:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 10:59:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 10:59:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 10:59:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 10:59:42] local.INFO: DEBUG: GPS processor result {"connection_id":191247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:42] local.INFO: GPS data processed {"connection_id":191247,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:42] local.INFO: Acknowledgment sent {"connection_id":191247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:46] local.INFO: TCP Data received {"connection_id":191248,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:46] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 10:59:46] local.INFO: IMEI packet received {"connection_id":191248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 10:59:46] local.INFO: IMEI acknowledgment sent {"connection_id":191248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 10:59:48] local.INFO: TCP Data received {"connection_id":191248,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26e9470012d187b4007218020004701501f..."} 
[2026-09-21 10:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26e9470012d187b4007218020004701501f..."} 
[2026-09-21 10:59:48] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26e9470012d187b4007218020004701501f..."} 
[2026-09-21 10:59:48] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:48] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 10:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756579136,"raw_latitude":119636000,"longitude_deg":75.6579136,"latitude_deg":11.9636,"altitude":71,"angle":336,"satellites":31,"speed":5,"hex_longitude":"2d187b40","hex_latitude":"07218020","is_valid_coordinates":true} 
[2026-09-21 10: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-09-21 10:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231912704001,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22314232003428352,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1764214815904425984,"note":"Value kept but may cause issues"} 
[2026-09-21 10:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 10:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968422000,"timestamp_ms":1789968422000,"timestamp_seconds":1789968422,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26e9470"} 
[2026-09-21 10:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 10:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":8192,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 10:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 10: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-09-21 10:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 10:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 10:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 10:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 10:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 10:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 10:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 10:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231912704001,"66":14276,"121":206,"28":31744,"24":5,"16":22314232003428352,"45":1764214815904425984},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 10:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 10:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 10:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231912704001,"description":"Unknown IO ID 0"} 
[2026-09-21 10:59:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 10:59:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 10:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22314232003428352,"km_value":22314232003428.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 10:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1764214815904425984,"description":"Unknown IO ID 45"} 
[2026-09-21 10:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231912704001,"power":14276,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1764214815904425984}} 
[2026-09-21 10:59:48] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 10:59:48] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-21 10:59:48] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 10:59:57] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:57] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 10:59:57] local.INFO: IMEI packet received {"connection_id":188622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 10:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":188622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:00:02] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:02] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:02] local.INFO: IMEI packet received {"connection_id":188622,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":188622,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:00:03] local.INFO: TCP Data received {"connection_id":189924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:03] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:03] local.INFO: Processing buffer {"connection_id":189924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:03] local.INFO: IMEI packet received {"connection_id":189924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":189924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:03] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:03] local.INFO: Packet analysis {"connection_id":188622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:00:03] local.INFO: Extracted packet for processing {"connection_id":188622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:00:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:00: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:00:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":188622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875843,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:03] local.INFO: GPS data processed {"connection_id":188622,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:03] local.INFO: Acknowledgment sent {"connection_id":188622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:08] local.INFO: TCP Data received {"connection_id":189924,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:08] local.INFO: Processing buffer {"connection_id":189924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:00:08] local.INFO: IMEI packet received {"connection_id":189924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":189924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:00:10] local.INFO: TCP Data received {"connection_id":189924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:10] local.INFO: Processing buffer {"connection_id":189924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:10] local.INFO: Packet analysis {"connection_id":189924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:00:10] local.INFO: Extracted packet for processing {"connection_id":189924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 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-09-21 11:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:00: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-09-21 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-09-21 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-09-21 11:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":189924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:10] local.INFO: GPS data processed {"connection_id":189924,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:10] local.INFO: Acknowledgment sent {"connection_id":189924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:19] local.INFO: TCP Data received {"connection_id":191248,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2706548012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2706548012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:19] local.INFO: Processing buffer {"connection_id":191248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2706548012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:19] local.INFO: Packet analysis {"connection_id":191248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:00:19] local.INFO: Extracted packet for processing {"connection_id":191248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231941888001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968541000,"timestamp_ms":1789968541000,"timestamp_seconds":1789968541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2706548"} 
[2026-09-21 11:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 11:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231941888001,"66":12798,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231941888001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:00:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231941888001,"power":12798,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":191248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:19] local.INFO: GPS data processed {"connection_id":191248,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:19] local.INFO: Acknowledgment sent {"connection_id":191248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:34] local.INFO: TCP Data received {"connection_id":188622,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188622,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:34] local.INFO: Processing buffer {"connection_id":188622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:00:34] local.INFO: Packet analysis {"connection_id":188622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:00:34] local.INFO: Extracted packet for processing {"connection_id":188622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:00:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188622,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":188622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875846,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:34] local.INFO: GPS data processed {"connection_id":188622,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:34] local.INFO: Acknowledgment sent {"connection_id":188622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:41] local.INFO: TCP Data received {"connection_id":189924,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:41] local.INFO: Processing buffer {"connection_id":189924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:00:41] local.INFO: Packet analysis {"connection_id":189924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:00:41] local.INFO: Extracted packet for processing {"connection_id":189924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 11:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:00: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-09-21 11:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":189924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:41] local.INFO: GPS data processed {"connection_id":189924,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:41] local.INFO: Acknowledgment sent {"connection_id":189924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:41] local.INFO: TCP Data received {"connection_id":188472,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:41] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:41] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:00:41] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:00:47] local.INFO: TCP Data received {"connection_id":188472,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:47] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:00:47] local.INFO: IMEI packet received {"connection_id":188472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:00:47] local.INFO: IMEI acknowledgment sent {"connection_id":188472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:00:48] local.INFO: TCP Data received {"connection_id":188472,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c270af80012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c270af80012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:48] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c270af80012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:00:48] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:00:48] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231946496001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968560000,"timestamp_ms":1789968560000,"timestamp_seconds":1789968560,"priority":1,"record_length":96,"hex_timestamp":"000001a0c270af80"} 
[2026-09-21 11:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 11:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231946496001,"66":12765,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231946496001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:00:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:00:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231946496001,"power":12765,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:00:48] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:00:48] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:00:57] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:57] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:00:57] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:01:02] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:01:02] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:01:02] local.INFO: IMEI packet received {"connection_id":188473,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":188473,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:01:06] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:06] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:06] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:01:06] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:01:06] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:06] 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-09-21 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:01:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875849,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:06] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:06] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:01:08] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:08] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:08] local.INFO: IMEI packet received {"connection_id":189925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":189925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:01:13] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:13] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:01:13] local.INFO: IMEI packet received {"connection_id":189925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":189925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:01:16] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:16] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:16] local.INFO: Packet analysis {"connection_id":189925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:01:16] local.INFO: Extracted packet for processing {"connection_id":189925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:01:16] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01: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-09-21 11:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 11:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:01:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":189925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:16] local.INFO: GPS data processed {"connection_id":189925,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:16] local.INFO: Acknowledgment sent {"connection_id":189925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:01:19] local.INFO: TCP Data received {"connection_id":189925,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:19] local.INFO: Processing buffer {"connection_id":189925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:01:19] local.INFO: Packet analysis {"connection_id":189925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:01:19] local.INFO: Extracted packet for processing {"connection_id":189925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":189925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:19] local.INFO: GPS data processed {"connection_id":189925,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:19] local.INFO: Acknowledgment sent {"connection_id":189925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:01:19] local.INFO: TCP Data received {"connection_id":188472,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c270f9b8012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c270f9b8012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:01:19] local.INFO: Processing buffer {"connection_id":188472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c270f9b8012d183fc007218fe0004c00ff24..."} 
[2026-09-21 11:01:19] local.INFO: Packet analysis {"connection_id":188472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:01:19] local.INFO: Extracted packet for processing {"connection_id":188472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c270"} 
[2026-09-21 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231951360001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968579000,"timestamp_ms":1789968579000,"timestamp_seconds":1789968579,"priority":1,"record_length":96,"hex_timestamp":"000001a0c270f9b8"} 
[2026-09-21 11:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9216,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231951360001,"66":12743,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231951360001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231951360001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:01:20] local.INFO: DEBUG: GPS processor result {"connection_id":188472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:20] local.INFO: GPS data processed {"connection_id":188472,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:20] local.INFO: Acknowledgment sent {"connection_id":188472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:01:39] local.INFO: TCP Data received {"connection_id":188473,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:39] local.INFO: Processing buffer {"connection_id":188473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:01:39] local.INFO: Packet analysis {"connection_id":188473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:01:39] local.INFO: Extracted packet for processing {"connection_id":188473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:01:39] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:39] 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-09-21 11:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188473,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:39] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":188473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875853,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:40] local.INFO: GPS data processed {"connection_id":188473,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:40] local.INFO: Acknowledgment sent {"connection_id":188473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:01:41] local.INFO: TCP Data received {"connection_id":188623,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:41] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:41] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:01:41] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:01:46] local.INFO: TCP Data received {"connection_id":188623,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:46] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:01:46] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:01:46] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:01:48] local.INFO: TCP Data received {"connection_id":188623,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27143f0012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27143f0012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:01:48] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27143f0012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:01:48] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:01:48] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:01:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:01:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231956224001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:01:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:01:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968598000,"timestamp_ms":1789968598000,"timestamp_seconds":1789968598,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27143f0"} 
[2026-09-21 11:01:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:01:48] 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-09-21 11: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 11:01:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:01:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:01:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:01:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:01:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:01:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:01:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:01:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:01:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:01:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231956224001,"66":12689,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:01:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:01:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:01:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231956224001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:01:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:01:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:01:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:01:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:01:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231956224001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:01:48] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:01:48] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:01:48] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:02] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:02] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:02] local.INFO: IMEI packet received {"connection_id":189927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":189927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:02:03] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:03] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:03] local.INFO: IMEI packet received {"connection_id":189926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":189926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:02:07] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:07] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:07] local.INFO: IMEI packet received {"connection_id":189927,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":189927,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:02:08] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:08] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:08] local.INFO: Packet analysis {"connection_id":189927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:02:08] local.INFO: Extracted packet for processing {"connection_id":189927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":189927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875855,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:08] local.INFO: GPS data processed {"connection_id":189927,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:08] local.INFO: Acknowledgment sent {"connection_id":189927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:08] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:08] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:02:08] local.INFO: IMEI packet received {"connection_id":189926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:02:10] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:10] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:10] local.INFO: Packet analysis {"connection_id":189926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:02:10] local.INFO: Extracted packet for processing {"connection_id":189926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 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-09-21 11:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:02: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-09-21 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-09-21 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-09-21 11:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:02:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":189926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:10] local.INFO: GPS data processed {"connection_id":189926,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:10] local.INFO: Acknowledgment sent {"connection_id":189926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:19] local.INFO: TCP Data received {"connection_id":188623,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2718e28012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2718e28012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:19] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2718e28012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:19] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:02:19] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231961088001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968617000,"timestamp_ms":1789968617000,"timestamp_seconds":1789968617,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2718e28"} 
[2026-09-21 11:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 11:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231961088001,"66":12667,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231961088001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:02:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231961088001,"power":12667,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:19] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:19] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:41] local.INFO: TCP Data received {"connection_id":189927,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189927,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:41] local.INFO: Processing buffer {"connection_id":189927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:02:41] local.INFO: Packet analysis {"connection_id":189927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:02:41] local.INFO: Extracted packet for processing {"connection_id":189927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:02:41] 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-09-21 11: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:02:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189927,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":189927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875858,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:41] local.INFO: GPS data processed {"connection_id":189927,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:41] local.INFO: Acknowledgment sent {"connection_id":189927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:41] local.INFO: TCP Data received {"connection_id":189926,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:41] local.INFO: Processing buffer {"connection_id":189926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26ecb20012d34c04006aa41300004000c2e..."} 
[2026-09-21 11:02:41] local.INFO: Packet analysis {"connection_id":189926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:02:41] local.INFO: Extracted packet for processing {"connection_id":189926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26e"} 
[2026-09-21 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231842560001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968436000,"timestamp_ms":1789968436000,"timestamp_seconds":1789968436,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26ecb20"} 
[2026-09-21 11:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:02: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-09-21 11:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231842560001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231842560001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231842560001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":189926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:41] local.INFO: GPS data processed {"connection_id":189926,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:41] local.INFO: Acknowledgment sent {"connection_id":189926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:46] local.INFO: TCP Data received {"connection_id":188474,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:46] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:46] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:02:46] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:02:52] local.INFO: TCP Data received {"connection_id":188474,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:52] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:02:52] local.INFO: IMEI packet received {"connection_id":188474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":188474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:02:53] local.INFO: TCP Data received {"connection_id":188474,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c271dc48012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c271dc48012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:53] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c271dc48012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:02:53] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:02:53] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c271"} 
[2026-09-21 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231965952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:02:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789968637000,"timestamp_ms":1789968637000,"timestamp_seconds":1789968637,"priority":1,"record_length":96,"hex_timestamp":"000001a0c271dc48"} 
[2026-09-21 11:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9728,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 11:02:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231965952001,"66":12613,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231965952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:02:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:02:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:02:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231965952001,"power":12613,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:02:53] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:02:53] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:02:57] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:57] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:02:57] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:03:02] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:03:02] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:03:02] local.INFO: IMEI packet received {"connection_id":188475,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":188475,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:03:03] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:03:03] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c26fd4c0012d0b0ac00702a3a00000000b24..."} 
[2026-09-21 11:03:03] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:03:03] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c26f"} 
[2026-09-21 11:03:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":0,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231859968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968504000,"timestamp_ms":1789968504000,"timestamp_seconds":1789968504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c26fd4c0"} 
[2026-09-21 11:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231859968001,"66":12526,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231859968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231859968001,"power":12526,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875861,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:03] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:03] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:06] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:06] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:06] local.INFO: IMEI packet received {"connection_id":189928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":189928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:03:08] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:08] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:03:08] local.INFO: IMEI packet received {"connection_id":189928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":189928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:03:09] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:09] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:09] local.INFO: Packet analysis {"connection_id":189928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:09] local.INFO: Extracted packet for processing {"connection_id":189928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:03: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-09-21 11: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-09-21 11:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":189928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:09] local.INFO: GPS data processed {"connection_id":189928,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:09] local.INFO: Acknowledgment sent {"connection_id":189928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:15] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:15] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:15] local.INFO: Packet analysis {"connection_id":189928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:15] local.INFO: Extracted packet for processing {"connection_id":189928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:03:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:03:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:03:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:15] 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-09-21 11:03:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:03:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:03:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:03:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:03:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:03:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:03:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:03:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:03:15] local.INFO: DEBUG: GPS processor result {"connection_id":189928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:15] local.INFO: GPS data processed {"connection_id":189928,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:15] local.INFO: Acknowledgment sent {"connection_id":189928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:25] local.INFO: TCP Data received {"connection_id":188474,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2722e50012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:03:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2722e50012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:03:25] local.INFO: Processing buffer {"connection_id":188474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2722e50012d183fc007218fe0004c00ff25..."} 
[2026-09-21 11:03:25] local.INFO: Packet analysis {"connection_id":188474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:25] local.INFO: Extracted packet for processing {"connection_id":188474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:25] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231971072001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:03:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789968658000,"timestamp_ms":1789968658000,"timestamp_seconds":1789968658,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2722e50"} 
[2026-09-21 11:03:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03: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-09-21 11:03:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:03:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:03:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:03:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231971072001,"66":12580,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:03:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:03:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:03:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231971072001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:03:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:03:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231971072001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:03:25] local.INFO: DEBUG: GPS processor result {"connection_id":188474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:25] local.INFO: GPS data processed {"connection_id":188474,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:25] local.INFO: Acknowledgment sent {"connection_id":188474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:34] local.INFO: TCP Data received {"connection_id":188475,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:03:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:03:34] local.INFO: Processing buffer {"connection_id":188475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:03:34] local.INFO: Packet analysis {"connection_id":188475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:03:34] local.INFO: Extracted packet for processing {"connection_id":188475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:03:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:03:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:03:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:03:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:03:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188475,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:03:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:03:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:03:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:03:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:03:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:03:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:03:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:03:35] local.INFO: DEBUG: GPS processor result {"connection_id":188475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875865,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:35] local.INFO: GPS data processed {"connection_id":188475,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:35] local.INFO: Acknowledgment sent {"connection_id":188475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:44] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:44] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:44] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:03:44] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:03:45] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:45] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:45] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:03:45] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:03:47] local.INFO: TCP Data received {"connection_id":189928,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:47] local.INFO: Processing buffer {"connection_id":189928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:03:47] local.INFO: Packet analysis {"connection_id":189928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:47] local.INFO: Extracted packet for processing {"connection_id":189928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:03:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:03:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:03:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:47] 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-09-21 11:03:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:03:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:03:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:03:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:03:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:03:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:03:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:03:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:03:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:03:47] local.INFO: DEBUG: GPS processor result {"connection_id":189928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:47] local.INFO: GPS data processed {"connection_id":189928,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:47] local.INFO: Acknowledgment sent {"connection_id":189928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:47] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:47] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:03:47] local.INFO: IMEI packet received {"connection_id":191250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:03:47] local.INFO: IMEI acknowledgment sent {"connection_id":191250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:03:48] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2728058012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2728058012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:48] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2728058012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:48] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:48] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:03:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231976448001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968679000,"timestamp_ms":1789968679000,"timestamp_seconds":1789968679,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2728058"} 
[2026-09-21 11:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:03:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:03:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231976448001,"66":12548,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231976448001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231976448001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:48] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:48] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:03:53] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c272d260012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c272d260012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:53] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c272d260012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:03:53] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:53] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c272"} 
[2026-09-21 11:03:53] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231981824001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:03:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789968700000,"timestamp_ms":1789968700000,"timestamp_seconds":1789968700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c272d260"} 
[2026-09-21 11:03:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:03:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3262164864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211251405,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2413822028,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221692815,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718695,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-21 11:03:53] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,71,160,46,45,192,143,76,37,10,66,220,142,1,240,123,194,33,4,113,205,249,63,224,36,239,49,2,79,7,231],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:03:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476657689851330560,"timestamp_seconds":5476657689851331.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:03:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:03:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:03:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:03:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:03:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:03:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:03:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:03:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231981824001,"66":12526,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:03:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:03:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:03:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231981824001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:03:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:03:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:03:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:03:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:03:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231981824001,"power":12526,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:03:53] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:03:53] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:03:53] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:02] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:02] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:02] local.INFO: IMEI packet received {"connection_id":189929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":189929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:04:03] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:03] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:03] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:04:07] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:07] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:07] local.INFO: IMEI packet received {"connection_id":189929,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":189929,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:04:08] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:08] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:08] local.INFO: Packet analysis {"connection_id":189929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:04:08] local.INFO: Extracted packet for processing {"connection_id":189929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:04:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":189929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875869,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:08] local.INFO: GPS data processed {"connection_id":189929,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:08] local.INFO: Acknowledgment sent {"connection_id":189929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:08] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:08] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:04:08] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:04:09] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:09] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:09] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:09] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 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-09-21 11:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:04: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-09-21 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-09-21 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-09-21 11:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:09] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:09] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:13] local.INFO: TCP Data received {"connection_id":189929,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:13] local.INFO: Processing buffer {"connection_id":189929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:04:13] local.INFO: Packet analysis {"connection_id":189929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:04:13] local.INFO: Extracted packet for processing {"connection_id":189929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:04:13] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:13] 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-09-21 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189929,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":189929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875871,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:13] local.INFO: GPS data processed {"connection_id":189929,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:13] local.INFO: Acknowledgment sent {"connection_id":189929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:24] local.INFO: TCP Data received {"connection_id":191250,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2732468012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191250,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2732468012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:24] local.INFO: Processing buffer {"connection_id":191250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2732468012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:24] local.INFO: Packet analysis {"connection_id":191250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:24] local.INFO: Extracted packet for processing {"connection_id":191250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231987200001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789968721000,"timestamp_ms":1789968721000,"timestamp_seconds":1789968721,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2732468"} 
[2026-09-21 11:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231987200001,"66":12037,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231987200001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231987200001,"power":12037,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":191250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:24] local.INFO: GPS data processed {"connection_id":191250,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:24] local.INFO: Acknowledgment sent {"connection_id":191250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:41] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:41] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:04:41] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:41] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:04: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-09-21 11:04:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:41] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:41] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:41] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:41] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:41] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:04:41] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:04:45] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:45] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:45] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:04:46] local.INFO: TCP Data received {"connection_id":188477,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188477,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:04:46] local.INFO: Processing buffer {"connection_id":188477,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:04:46] local.INFO: IMEI packet received {"connection_id":188477,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":188477,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:04:46] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:46] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:04:46] local.INFO: IMEI packet received {"connection_id":191251,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:04:46] local.INFO: IMEI acknowledgment sent {"connection_id":191251,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:04:48] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2737670012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2737670012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:48] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2737670012d183fc007218fe0004c00ff26..."} 
[2026-09-21 11:04:48] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:48] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231992576001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:04:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968742000,"timestamp_ms":1789968742000,"timestamp_seconds":1789968742,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2737670"} 
[2026-09-21 11:04:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10240,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:04:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3262202864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2413822028,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1767380493525057512,"corrected_to":0} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":63,"raw_value":3221692815,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182002076352768,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2418397816801001253,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194983680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:48] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,71,160,210,45,192,143,76,39,10,66,128,46,1,240,36,194,33,4,113,205,142,63,224,37,239,49,2,79,7,69],"length":484,"final_offset":614,"validated_count":37,"validation_warnings":[{"io_id":205,"original":-1767380493525057512,"validated":0}]} 
[2026-09-21 11:04:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476657685556363264,"timestamp_seconds":5476657685556363.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:04:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:04:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:04:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231992576001,"66":12504,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:04:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:04:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:04:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231992576001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:04:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:04:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231992576001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:49] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:49] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:52] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c273c878012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c273c878012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:04:52] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c273c878012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:04:52] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:52] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:04:52] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:04:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231997952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:04:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:04:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789968763000,"timestamp_ms":1789968763000,"timestamp_seconds":1789968763,"priority":1,"record_length":96,"hex_timestamp":"000001a0c273c878"} 
[2026-09-21 11:04:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:04:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:04:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 11:04:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:04:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:04:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:04:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:04:52] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:04:52] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:04:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:04:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:04:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:04:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231997952001,"66":12461,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:04:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:04:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:04:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231997952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:04:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:04:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:04:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:04:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:04:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231997952001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:04:52] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:04:52] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:04:52] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:04:57] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:57] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:04:57] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:05:02] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:02] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:02] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:05:03] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:03] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:03] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:03] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:05:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:05:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875876,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:03] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:03] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:03] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:03] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:03] local.INFO: IMEI packet received {"connection_id":191252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":191252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:05:08] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:08] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:05:08] local.INFO: IMEI packet received {"connection_id":191252,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":191252,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:05:09] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:09] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:09] local.INFO: Packet analysis {"connection_id":191252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:05:09] local.INFO: Extracted packet for processing {"connection_id":191252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:05: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-09-21 11:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":191252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:09] local.INFO: GPS data processed {"connection_id":191252,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:09] local.INFO: Acknowledgment sent {"connection_id":191252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:15] local.INFO: TCP Data received {"connection_id":188478,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:05:15] local.INFO: Processing buffer {"connection_id":188478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:05:15] local.INFO: IMEI packet received {"connection_id":188478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:05:23] local.INFO: TCP Data received {"connection_id":191251,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2741a80012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2741a80012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:05:23] local.INFO: Processing buffer {"connection_id":191251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2741a80012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:05:23] local.INFO: Packet analysis {"connection_id":191251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:23] local.INFO: Extracted packet for processing {"connection_id":191251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232003328001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05: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-09-21 11:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789968784000,"timestamp_ms":1789968784000,"timestamp_seconds":1789968784,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2741a80"} 
[2026-09-21 11:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191251,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232003328001,"66":12461,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232003328001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:05:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232003328001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":191251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:24] local.INFO: GPS data processed {"connection_id":191251,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:24] local.INFO: Acknowledgment sent {"connection_id":191251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:34] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:34] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:05:34] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:34] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875879,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:34] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:34] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:41] local.INFO: TCP Data received {"connection_id":191253,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:41] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:41] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:05:41] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:05:41] local.INFO: TCP Data received {"connection_id":191252,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:41] local.INFO: Processing buffer {"connection_id":191252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:05:41] local.INFO: Packet analysis {"connection_id":191252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:05:41] local.INFO: Extracted packet for processing {"connection_id":191252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05: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-09-21 11:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:05: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-09-21 11:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191252,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":191252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:41] local.INFO: GPS data processed {"connection_id":191252,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:41] local.INFO: Acknowledgment sent {"connection_id":191252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:46] local.INFO: TCP Data received {"connection_id":191253,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:46] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:05:46] local.INFO: IMEI packet received {"connection_id":191253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:05:46] local.INFO: IMEI acknowledgment sent {"connection_id":191253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:05:48] local.INFO: TCP Data received {"connection_id":191253,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:05:48] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:05:48] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:48] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232008704001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:05:48] 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-09-21 11:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:05:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232008704001,"66":12493,"120":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232008704001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:05:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:05:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232008704001,"power":12493,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:05:48] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:05:48] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:05:57] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:57] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:05:57] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:06:04] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:04] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:04] local.INFO: IMEI packet received {"connection_id":188479,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188479,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:06:06] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:06] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:06] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:06] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:06] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:06] 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-09-21 11:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:06] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875882,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:07] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:07] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:09] local.INFO: TCP Data received {"connection_id":189930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:09] local.INFO: Processing buffer {"connection_id":189930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:09] local.INFO: IMEI packet received {"connection_id":189930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":189930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:06:13] local.INFO: TCP Data received {"connection_id":189930,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:13] local.INFO: Processing buffer {"connection_id":189930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:06:13] local.INFO: IMEI packet received {"connection_id":189930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":189930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:06:14] local.INFO: TCP Data received {"connection_id":188479,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188479,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:14] local.INFO: Processing buffer {"connection_id":188479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:06:14] local.INFO: Packet analysis {"connection_id":188479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:14] local.INFO: Extracted packet for processing {"connection_id":188479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:14] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:14] 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-09-21 11:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188479,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:14] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":188479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875883,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:15] local.INFO: GPS data processed {"connection_id":188479,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:15] local.INFO: Acknowledgment sent {"connection_id":188479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:15] local.INFO: TCP Data received {"connection_id":189930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:15] local.INFO: Processing buffer {"connection_id":189930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:15] local.INFO: Packet analysis {"connection_id":189930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:06:15] local.INFO: Extracted packet for processing {"connection_id":189930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06: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-09-21 11:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:15] 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-09-21 11:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:06:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":189930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:15] local.INFO: GPS data processed {"connection_id":189930,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:15] local.INFO: Acknowledgment sent {"connection_id":189930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:19] local.INFO: TCP Data received {"connection_id":191253,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c274be90012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191253,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c274be90012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:19] local.INFO: Processing buffer {"connection_id":191253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c274be90012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:19] local.INFO: Packet analysis {"connection_id":191253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:19] local.INFO: Extracted packet for processing {"connection_id":191253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968826000,"timestamp_ms":1789968826000,"timestamp_seconds":1789968826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c274be90"} 
[2026-09-21 11:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10752,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12461,"120":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":191253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:19] local.INFO: GPS data processed {"connection_id":191253,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:19] local.INFO: Acknowledgment sent {"connection_id":191253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:19] local.INFO: TCP Data received {"connection_id":189930,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:19] local.INFO: Processing buffer {"connection_id":189930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:06:19] local.INFO: Packet analysis {"connection_id":189930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:06:19] local.INFO: Extracted packet for processing {"connection_id":189930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:19] 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-09-21 11:06:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":189930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:19] local.INFO: GPS data processed {"connection_id":189930,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:19] local.INFO: Acknowledgment sent {"connection_id":189930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:46] local.INFO: TCP Data received {"connection_id":188627,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:46] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:46] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:06:46] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:06:51] local.INFO: TCP Data received {"connection_id":188627,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:51] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:06:51] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:06:52] local.INFO: TCP Data received {"connection_id":188627,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2751098012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2751098012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:52] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2751098012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:52] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:06:52] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232019456001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789968847000,"timestamp_ms":1789968847000,"timestamp_seconds":1789968847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2751098"} 
[2026-09-21 11:06:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:06:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:06:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:06:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:06:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232019456001,"66":12385,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:06:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:06:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:06:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232019456001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:06:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:06:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232019456001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:06:52] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:52] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:52] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:53] local.INFO: TCP Data received {"connection_id":188627,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27562a0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27562a0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:53] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27562a0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:06:53] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:06:53] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232024832001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789968868000,"timestamp_ms":1789968868000,"timestamp_seconds":1789968868,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27562a0"} 
[2026-09-21 11:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232024832001,"66":12461,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232024832001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:06:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:06:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232024832001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:06:53] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:06:53] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:06:57] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:57] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:06:57] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:07:02] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:07:02] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:07:02] local.INFO: IMEI packet received {"connection_id":191255,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191255,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:07:03] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:03] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:03] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:07:03] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:07:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:07:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:07:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:07:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:07:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:07:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:07:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:07:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:07:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:07:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:07:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:07:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:07:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:07:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:07:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:07:03] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875889,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:03] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:03] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:03] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:03] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:03] local.INFO: IMEI packet received {"connection_id":189931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":189931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:07:08] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:08] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:07:08] local.INFO: IMEI packet received {"connection_id":189931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":189931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:07:09] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:09] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:09] local.INFO: Packet analysis {"connection_id":189931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:07:09] local.INFO: Extracted packet for processing {"connection_id":189931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 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-09-21 11:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:07: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-09-21 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-09-21 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-09-21 11:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":189931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:09] local.INFO: GPS data processed {"connection_id":189931,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:09] local.INFO: Acknowledgment sent {"connection_id":189931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:25] local.INFO: TCP Data received {"connection_id":188627,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c275b0c0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c275b0c0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:25] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c275b0c0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:25] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:07:25] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c275"} 
[2026-09-21 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232030208001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789968888000,"timestamp_ms":1789968888000,"timestamp_seconds":1789968888,"priority":1,"record_length":96,"hex_timestamp":"000001a0c275b0c0"} 
[2026-09-21 11:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:07:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232030208001,"66":12406,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232030208001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:07:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232030208001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:25] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:25] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:34] local.INFO: TCP Data received {"connection_id":191255,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:34] local.INFO: Processing buffer {"connection_id":191255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:07:34] local.INFO: Packet analysis {"connection_id":191255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:07:34] local.INFO: Extracted packet for processing {"connection_id":191255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:07:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:07:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:07:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:07:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:07:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:07:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:07:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:07:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191255,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:07:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:07:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:07:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:07:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:07:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:07:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:07:35] local.INFO: DEBUG: GPS processor result {"connection_id":191255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875892,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:35] local.INFO: GPS data processed {"connection_id":191255,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:35] local.INFO: Acknowledgment sent {"connection_id":191255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:41] local.INFO: TCP Data received {"connection_id":189931,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:41] local.INFO: Processing buffer {"connection_id":189931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27362e8012d34c04006aa41300006000c2c..."} 
[2026-09-21 11:07:41] local.INFO: Packet analysis {"connection_id":189931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:07:41] local.INFO: Extracted packet for processing {"connection_id":189931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c273"} 
[2026-09-21 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231919616001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789968737000,"timestamp_ms":1789968737000,"timestamp_seconds":1789968737,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27362e8"} 
[2026-09-21 11:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:07: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-09-21 11: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-09-21 11:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231919616001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231919616001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231919616001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":189931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:41] local.INFO: GPS data processed {"connection_id":189931,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:41] local.INFO: Acknowledgment sent {"connection_id":189931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:43] local.INFO: TCP Data received {"connection_id":188480,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:43] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:43] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:07:43] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:07:46] local.INFO: TCP Data received {"connection_id":188480,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:46] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:07:46] local.INFO: IMEI packet received {"connection_id":188480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:07:46] local.INFO: IMEI acknowledgment sent {"connection_id":188480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:07:47] local.INFO: TCP Data received {"connection_id":188480,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27606b0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27606b0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:47] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27606b0012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:47] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:07:47] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:07:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:07:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789968910000,"timestamp_ms":1789968910000,"timestamp_seconds":1789968910,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27606b0"} 
[2026-09-21 11:07:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:07:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:07:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:07:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:07:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:07:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:07:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232035328001,"66":11678,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:07:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:07:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:07:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:07:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:07:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232035328001,"power":11678,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:07:48] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:48] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:48] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:07:52] local.INFO: TCP Data received {"connection_id":188480,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27658b8012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27658b8012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:52] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27658b8012d183fc007218fe0004c00ff28..."} 
[2026-09-21 11:07:52] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:07:52] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:07:52] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:07:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232040960001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:07:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:07:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789968931000,"timestamp_ms":1789968931000,"timestamp_seconds":1789968931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27658b8"} 
[2026-09-21 11:07:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:07:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:07:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-21 11:07:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:07:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:07:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:07:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:07:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:07:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:07:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:07:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:07:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:07:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232040960001,"66":12439,"121":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:07:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:07:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:07:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232040960001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:07:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:07:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:07:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:07:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:07:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232040960001,"power":12439,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:07:52] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:07:52] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:07:52] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:02] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:02] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:02] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:08:03] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:03] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:03] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:08:07] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:07] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:07] local.INFO: IMEI packet received {"connection_id":191256,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":191256,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:08:08] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:08] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:08] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:08:08] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875896,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:08] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:08] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:08] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:08] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:08:08] local.INFO: IMEI packet received {"connection_id":191257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":191257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:08:09] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:09] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:09] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:08:09] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 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-09-21 11:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:08: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-09-21 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-09-21 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-09-21 11:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:09] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:09] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:13] local.INFO: TCP Data received {"connection_id":191256,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:13] local.INFO: Processing buffer {"connection_id":191256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2746c88012d0b0ac00702a3a00004000b23..."} 
[2026-09-21 11:08:13] local.INFO: Packet analysis {"connection_id":191256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:08:13] local.INFO: Extracted packet for processing {"connection_id":191256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c274"} 
[2026-09-21 11:08:13] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":4,"angle":11,"satellites":35,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231937024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789968805000,"timestamp_ms":1789968805000,"timestamp_seconds":1789968805,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2746c88"} 
[2026-09-21 11:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:08:13] 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-09-21 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191256,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231937024001,"66":12537,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231937024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:13] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231937024001,"power":12537,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":191256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875898,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:13] local.INFO: GPS data processed {"connection_id":191256,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:13] local.INFO: Acknowledgment sent {"connection_id":191256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:24] local.INFO: TCP Data received {"connection_id":188480,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c276aac0012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c276aac0012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:24] local.INFO: Processing buffer {"connection_id":188480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c276aac0012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:24] local.INFO: Packet analysis {"connection_id":188480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:08:24] local.INFO: Extracted packet for processing {"connection_id":188480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232046336001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789968952000,"timestamp_ms":1789968952000,"timestamp_seconds":1789968952,"priority":1,"record_length":96,"hex_timestamp":"000001a0c276aac0"} 
[2026-09-21 11:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11520,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 11:08:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232046336001,"66":12406,"120":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232046336001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:08:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232046336001,"power":12406,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":188480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:24] local.INFO: GPS data processed {"connection_id":188480,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:24] local.INFO: Acknowledgment sent {"connection_id":188480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:41] local.INFO: TCP Data received {"connection_id":191257,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:41] local.INFO: Processing buffer {"connection_id":191257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:08:41] local.INFO: Packet analysis {"connection_id":191257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:08:41] local.INFO: Extracted packet for processing {"connection_id":191257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:08:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":191257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:41] local.INFO: GPS data processed {"connection_id":191257,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:41] local.INFO: Acknowledgment sent {"connection_id":191257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:42] local.INFO: TCP Data received {"connection_id":188630,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:42] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:42] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:08:42] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:08:47] local.INFO: TCP Data received {"connection_id":188630,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:47] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:08:47] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:08:47] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:08:48] local.INFO: TCP Data received {"connection_id":188630,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c276fcc8012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c276fcc8012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:48] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c276fcc8012d183fc007218fe0004c00ff27..."} 
[2026-09-21 11:08:48] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:08:48] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c276"} 
[2026-09-21 11:08:48] local.INFO: GPS Element Parsed {"raw_longitude":756563904,"raw_latitude":119640032,"longitude_deg":75.6563904,"latitude_deg":11.9640032,"altitude":76,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d183fc0","hex_latitude":"07218fe0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232051712001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315005097541632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1747326317303422976,"note":"Value kept but may cause issues"} 
[2026-09-21 11:08:48] 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-09-21 11:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789968973000,"timestamp_ms":1789968973000,"timestamp_seconds":1789968973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c276fcc8"} 
[2026-09-21 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-09-21 11:08:48] 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-09-21 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 11:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232051712001,"66":12385,"120":206,"28":31744,"24":0,"16":22315005097541632,"45":1747326317303422976},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232051712001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:08:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:08:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315005097541632,"km_value":22315005097541.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1747326317303422976,"description":"Unknown IO ID 45"} 
[2026-09-21 11:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232051712001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1747326317303422976}} 
[2026-09-21 11:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:08:48] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:08:48] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:08:57] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:57] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:08:57] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:09:02] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:02] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:02] local.INFO: IMEI packet received {"connection_id":191258,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":191258,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:09:03] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:03] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:03] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:09:03] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:09:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875902,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:03] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:03] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:03] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:03] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:03] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:09:08] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:08] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:09:08] local.INFO: IMEI packet received {"connection_id":188481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:09:09] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:09] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:09] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:09:09] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:09: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-09-21 11: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-09-21 11:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:09] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:09] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:20] local.INFO: TCP Data received {"connection_id":188630,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27896f0012d182ac007219d38004b014b28..."} 
[2026-09-21 11:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27896f0012d182ac007219d38004b014b28..."} 
[2026-09-21 11:09:20] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27896f0012d182ac007219d38004b014b28..."} 
[2026-09-21 11:09:20] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c278"} 
[2026-09-21 11:09:20] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c278"} 
[2026-09-21 11:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232078592001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741837555258365952,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:20] 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-09-21 11:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969078000,"timestamp_ms":1789969078000,"timestamp_seconds":1789969078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27896f0"} 
[2026-09-21 11:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 11:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232078592001,"66":12385,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741837555258365952},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232078592001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:09:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741837555258365952,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232078592001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741837555258365952}} 
[2026-09-21 11:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:20] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:20] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:34] local.INFO: TCP Data received {"connection_id":191258,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:34] local.INFO: Processing buffer {"connection_id":191258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:09:34] local.INFO: Packet analysis {"connection_id":191258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:09:34] local.INFO: Extracted packet for processing {"connection_id":191258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:09:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:09:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:09:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:09:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:09:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:09:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:09:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:09:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191258,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:09:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:09:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:09:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:09:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:09:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:09:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:09:34] local.INFO: DEBUG: GPS processor result {"connection_id":191258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875905,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:34] local.INFO: GPS data processed {"connection_id":191258,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:34] local.INFO: Acknowledgment sent {"connection_id":191258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:41] local.INFO: TCP Data received {"connection_id":188481,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188481,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:41] local.INFO: Processing buffer {"connection_id":188481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:09:41] local.INFO: Packet analysis {"connection_id":188481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:09:41] local.INFO: Extracted packet for processing {"connection_id":188481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:41] local.INFO: GPS data processed {"connection_id":188481,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:41] local.INFO: Acknowledgment sent {"connection_id":188481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:41] local.INFO: TCP Data received {"connection_id":188483,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:41] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:41] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:09:41] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:09:47] local.INFO: TCP Data received {"connection_id":188483,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:47] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:09:47] local.INFO: IMEI packet received {"connection_id":188483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:09:47] local.INFO: IMEI acknowledgment sent {"connection_id":188483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:09:48] local.INFO: TCP Data received {"connection_id":188483,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c278e8f8012d182ac007219d38004b014b29..."} 
[2026-09-21 11:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c278e8f8012d182ac007219d38004b014b29..."} 
[2026-09-21 11:09:48] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c278e8f8012d182ac007219d38004b014b29..."} 
[2026-09-21 11:09:48] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c278"} 
[2026-09-21 11:09:48] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c278"} 
[2026-09-21 11:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232083968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:09:48] 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-09-21 11:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969099000,"timestamp_ms":1789969099000,"timestamp_seconds":1789969099,"priority":1,"record_length":96,"hex_timestamp":"000001a0c278e8f8"} 
[2026-09-21 11:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232083968001,"66":11874,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232083968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:09:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:09:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232083968001,"power":11874,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:09:48] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:09:48] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:09:57] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:57] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:09:57] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:10:02] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:02] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:02] local.INFO: IMEI packet received {"connection_id":188484,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":188484,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:10:03] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:03] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:03] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:03] local.INFO: IMEI packet received {"connection_id":189932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":189932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:03] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:03] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:03] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:10:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:10:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:10:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:10:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:10:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:03] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:03] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:10:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:10:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:10:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:10:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:10:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:10:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:10:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:10:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:10:03] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875908,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:03] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:03] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:08] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:08] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:10:08] local.INFO: IMEI packet received {"connection_id":189932,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":189932,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:10:09] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:09] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:09] local.INFO: Packet analysis {"connection_id":189932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:10:09] local.INFO: Extracted packet for processing {"connection_id":189932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:10: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-09-21 11:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":189932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:09] local.INFO: GPS data processed {"connection_id":189932,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:09] local.INFO: Acknowledgment sent {"connection_id":189932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:20] local.INFO: TCP Data received {"connection_id":188483,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2793b00012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2793b00012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:20] local.INFO: Processing buffer {"connection_id":188483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2793b00012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:20] local.INFO: Packet analysis {"connection_id":188483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:20] local.INFO: Extracted packet for processing {"connection_id":188483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232089344001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:20] 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-09-21 11:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969120000,"timestamp_ms":1789969120000,"timestamp_seconds":1789969120,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2793b00"} 
[2026-09-21 11:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-09-21 11:10:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1310,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:10:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232089344001,"66":12526,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:10:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:10:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:10:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232089344001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:10:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:10:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232089344001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":188483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875910,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:20] local.INFO: GPS data processed {"connection_id":188483,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:20] local.INFO: Acknowledgment sent {"connection_id":188483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:34] local.INFO: TCP Data received {"connection_id":188484,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:34] local.INFO: Processing buffer {"connection_id":188484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:10:34] local.INFO: Packet analysis {"connection_id":188484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:34] local.INFO: Extracted packet for processing {"connection_id":188484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:34] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":188484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":188484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":188484,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:34] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":188484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875911,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:34] local.INFO: GPS data processed {"connection_id":188484,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:34] local.INFO: Acknowledgment sent {"connection_id":188484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:41] local.INFO: TCP Data received {"connection_id":189932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:41] local.INFO: Processing buffer {"connection_id":189932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:10:41] local.INFO: Packet analysis {"connection_id":189932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:10:41] local.INFO: Extracted packet for processing {"connection_id":189932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10: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-09-21 11:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:10:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189932,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":189932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:41] local.INFO: GPS data processed {"connection_id":189932,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:41] local.INFO: Acknowledgment sent {"connection_id":189932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:42] local.INFO: TCP Data received {"connection_id":188631,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:10:42] local.INFO: TCP Data received {"connection_id":188631,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:42] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:10:42] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:10:45] local.INFO: TCP Data received {"connection_id":188485,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:10:45] local.INFO: Processing buffer {"connection_id":188485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:10:45] local.INFO: IMEI packet received {"connection_id":188485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":188485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:10:47] local.INFO: TCP Data received {"connection_id":188631,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:47] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:10:47] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:10:47] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:10:48] local.INFO: TCP Data received {"connection_id":188631,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2798d08012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2798d08012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:48] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2798d08012d182ac007219d38004b014b27..."} 
[2026-09-21 11:10:48] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:48] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232094720001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:10:48] 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-09-21 11:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969141000,"timestamp_ms":1789969141000,"timestamp_seconds":1789969141,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2798d08"} 
[2026-09-21 11:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232094720001,"66":12645,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232094720001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:10:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:10:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232094720001,"power":12645,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:10:48] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:10:48] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:10:57] local.INFO: TCP Data received {"connection_id":189933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:57] local.INFO: Processing buffer {"connection_id":189933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:10:57] local.INFO: IMEI packet received {"connection_id":189933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":189933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:11:02] local.INFO: TCP Data received {"connection_id":189933,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189933,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:11:02] local.INFO: Processing buffer {"connection_id":189933,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:11:02] local.INFO: IMEI packet received {"connection_id":189933,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":189933,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:11:03] local.INFO: TCP Data received {"connection_id":189933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:03] local.INFO: Processing buffer {"connection_id":189933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:03] local.INFO: Packet analysis {"connection_id":189933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:03] local.INFO: Extracted packet for processing {"connection_id":189933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:11:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":189933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875914,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:03] local.INFO: GPS data processed {"connection_id":189933,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:03] local.INFO: Acknowledgment sent {"connection_id":189933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:03] local.INFO: TCP Data received {"connection_id":189934,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:03] local.INFO: Processing buffer {"connection_id":189934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:03] local.INFO: IMEI packet received {"connection_id":189934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":189934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:11:08] local.INFO: TCP Data received {"connection_id":189934,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:08] local.INFO: Processing buffer {"connection_id":189934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:11:08] local.INFO: IMEI packet received {"connection_id":189934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":189934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:11:09] local.INFO: TCP Data received {"connection_id":189934,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:09] local.INFO: Processing buffer {"connection_id":189934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:09] local.INFO: Packet analysis {"connection_id":189934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:11:09] local.INFO: Extracted packet for processing {"connection_id":189934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 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-09-21 11:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:11: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-09-21 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-09-21 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-09-21 11:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":189934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:09] local.INFO: GPS data processed {"connection_id":189934,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:09] local.INFO: Acknowledgment sent {"connection_id":189934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:15] local.INFO: TCP Data received {"connection_id":188486,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:11:15] local.INFO: Processing buffer {"connection_id":188486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:11:15] local.INFO: IMEI packet received {"connection_id":188486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:11:20] local.INFO: TCP Data received {"connection_id":188631,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c279df10012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c279df10012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:20] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c279df10012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:20] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:20] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232100096001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:20] 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-09-21 11:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969162000,"timestamp_ms":1789969162000,"timestamp_seconds":1789969162,"priority":1,"record_length":96,"hex_timestamp":"000001a0c279df10"} 
[2026-09-21 11:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 11:11:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:11:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232100096001,"66":12558,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:11:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:11:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:11:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232100096001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:11:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:11:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232100096001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:20] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:20] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:38] local.INFO: TCP Data received {"connection_id":189933,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:38] local.INFO: Processing buffer {"connection_id":189933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:11:38] local.INFO: Packet analysis {"connection_id":189933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:38] local.INFO: Extracted packet for processing {"connection_id":189933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:11:38] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:11:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:11:38] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:11:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11: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-09-21 11: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:11:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:11:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:11:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189933,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:11:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:11:38] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:11:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:11:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:11:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:11:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:38] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:11:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:11:38] local.INFO: DEBUG: GPS processor result {"connection_id":189933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875917,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:38] local.INFO: GPS data processed {"connection_id":189933,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:38] local.INFO: Acknowledgment sent {"connection_id":189933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:41] local.INFO: TCP Data received {"connection_id":189934,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189934,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:41] local.INFO: Processing buffer {"connection_id":189934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:11:41] local.INFO: Packet analysis {"connection_id":189934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:11:41] local.INFO: Extracted packet for processing {"connection_id":189934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:11:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":189934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:41] local.INFO: GPS data processed {"connection_id":189934,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:41] local.INFO: Acknowledgment sent {"connection_id":189934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:45] local.INFO: TCP Data received {"connection_id":189935,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:45] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:45] local.INFO: IMEI packet received {"connection_id":189935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":189935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:11:46] local.INFO: TCP Data received {"connection_id":189935,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:46] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:46] local.INFO: IMEI packet received {"connection_id":189935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:11:46] local.INFO: IMEI acknowledgment sent {"connection_id":189935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:11:52] local.INFO: TCP Data received {"connection_id":189935,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:52] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:11:52] local.INFO: IMEI packet received {"connection_id":189935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":189935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:11:53] local.INFO: TCP Data received {"connection_id":189935,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27a2d30012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27a2d30012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:53] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27a2d30012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:53] local.INFO: Packet analysis {"connection_id":189935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:11:53] local.INFO: Extracted packet for processing {"connection_id":189935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:11:53] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232105472001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:11:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789969182000,"timestamp_ms":1789969182000,"timestamp_seconds":1789969182,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27a2d30"} 
[2026-09-21 11:11:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:11:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":71,"raw_value":2868903936,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3262659864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249413926598841344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2637693003,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":68,"raw_value":3892391192,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3892366823,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":8,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633254039554,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:53] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,71,160,141,45,192,157,75,39,10,66,59,232,1,240,98,194,33,4,113,205,68,44,40,239,49,2,79,7,8,231,47,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 11:11:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404683667287048192,"timestamp_seconds":5404683667287048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:11:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:11:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:11:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232105472001,"66":12341,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:11:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:11:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:11:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232105472001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:11:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:11:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232105472001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:11:53] local.INFO: DEBUG: GPS processor result {"connection_id":189935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:53] local.INFO: GPS data processed {"connection_id":189935,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:53] local.INFO: Acknowledgment sent {"connection_id":189935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:11:57] local.INFO: TCP Data received {"connection_id":189935,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27a7f38012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27a7f38012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:57] local.INFO: Processing buffer {"connection_id":189935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27a7f38012d182ac007219d38004b014b29..."} 
[2026-09-21 11:11:57] local.INFO: Packet analysis {"connection_id":189935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:11:57] local.INFO: Extracted packet for processing {"connection_id":189935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232110592001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:11: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-09-21 11:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789969203000,"timestamp_ms":1789969203000,"timestamp_seconds":1789969203,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27a7f38"} 
[2026-09-21 11:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:11: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-09-21 11:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232110592001,"66":12526,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232110592001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:11:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232110592001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":189935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:11:57] local.INFO: GPS data processed {"connection_id":189935,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:11:57] local.INFO: Acknowledgment sent {"connection_id":189935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:02] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:02] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:02] local.INFO: IMEI packet received {"connection_id":188632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":188632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:12:07] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:07] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:07] local.INFO: IMEI packet received {"connection_id":188632,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":188632,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:12:08] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:08] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:08] local.INFO: Packet analysis {"connection_id":188632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:12:08] local.INFO: Extracted packet for processing {"connection_id":188632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 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-09-21 11:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 11:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:08] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":188632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875921,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:08] local.INFO: GPS data processed {"connection_id":188632,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:08] local.INFO: Acknowledgment sent {"connection_id":188632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:09] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:09] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:09] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:12:14] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:14] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:12:14] local.INFO: IMEI packet received {"connection_id":191259,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":191259,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:12:17] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:17] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:17] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:12:17] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:12:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:17] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:17] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:20] local.INFO: TCP Data received {"connection_id":191259,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191259,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:20] local.INFO: Processing buffer {"connection_id":191259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c277fab0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:12:20] local.INFO: Packet analysis {"connection_id":191259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:12:20] local.INFO: Extracted packet for processing {"connection_id":191259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c277"} 
[2026-09-21 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:12:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458231996672001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:12:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969038000,"timestamp_ms":1789969038000,"timestamp_seconds":1789969038,"priority":1,"record_length":96,"hex_timestamp":"000001a0c277fab0"} 
[2026-09-21 11:12:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:12:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:12:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:12:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:12:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:12:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:12:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191259,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:12:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:12:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:12:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458231996672001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:12:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:12:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:12:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458231996672001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:12:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:12:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458231996672001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:12:20] local.INFO: DEBUG: GPS processor result {"connection_id":191259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:20] local.INFO: GPS data processed {"connection_id":191259,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:20] local.INFO: Acknowledgment sent {"connection_id":191259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:40] local.INFO: TCP Data received {"connection_id":188632,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:40] local.INFO: Processing buffer {"connection_id":188632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:12:40] local.INFO: Packet analysis {"connection_id":188632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:12:40] local.INFO: Extracted packet for processing {"connection_id":188632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:12:40] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:12:40] 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-09-21 11:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188632,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:40] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":188632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875924,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:40] local.INFO: GPS data processed {"connection_id":188632,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:40] local.INFO: Acknowledgment sent {"connection_id":188632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:42] local.INFO: TCP Data received {"connection_id":188487,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:42] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:42] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:12:42] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:12:47] local.INFO: TCP Data received {"connection_id":188487,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:47] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:12:47] local.INFO: IMEI packet received {"connection_id":188487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:12:47] local.INFO: IMEI acknowledgment sent {"connection_id":188487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:12:48] local.INFO: TCP Data received {"connection_id":188487,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27ad528012d182ac007219d38004b014b28..."} 
[2026-09-21 11:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27ad528012d182ac007219d38004b014b28..."} 
[2026-09-21 11:12:48] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27ad528012d182ac007219d38004b014b28..."} 
[2026-09-21 11:12:48] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:12:48] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27a"} 
[2026-09-21 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232115968001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:48] 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-09-21 11:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969225000,"timestamp_ms":1789969225000,"timestamp_seconds":1789969225,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27ad528"} 
[2026-09-21 11:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232115968001,"66":12504,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232115968001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:12:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232115968001,"power":12504,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:48] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:48] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:49] local.INFO: TCP Data received {"connection_id":188487,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27b2730012d182ac007219d38004b014b27..."} 
[2026-09-21 11:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27b2730012d182ac007219d38004b014b27..."} 
[2026-09-21 11:12:49] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27b2730012d182ac007219d38004b014b27..."} 
[2026-09-21 11:12:49] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:12:49] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":39,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232121600001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:12:49] 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-09-21 11:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789969246000,"timestamp_ms":1789969246000,"timestamp_seconds":1789969246,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27b2730"} 
[2026-09-21 11:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 11:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232121600001,"66":12461,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232121600001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:12:49] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:12:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232121600001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:12:49] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:12:49] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:12:57] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:57] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:12:57] local.INFO: IMEI packet received {"connection_id":189936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":189936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:13:02] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:13:02] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:13:02] local.INFO: IMEI packet received {"connection_id":189936,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":189936,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:13:03] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:13:03] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2790450012d0b0ac00702a3a00013000b25..."} 
[2026-09-21 11:13:03] local.INFO: Packet analysis {"connection_id":189936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:13:03] local.INFO: Extracted packet for processing {"connection_id":189936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c279"} 
[2026-09-21 11:13:03] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":19,"angle":11,"satellites":37,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:13:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:13:03] local.INFO: AVL Record Parsed {"raw_timestamp":1789969106000,"timestamp_ms":1789969106000,"timestamp_seconds":1789969106,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2790450"} 
[2026-09-21 11:13:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:13:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 11:13:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:13:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:13:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:03] local.INFO: Teltonika packet parsed successfully {"connection_id":189936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:03] local.INFO: Passing IMEI to GPS processor {"connection_id":189936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:13:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":189936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:13:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:13:03] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:13:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232014080001,"66":12548,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:13:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:13:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:13:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:03] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:13:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232014080001,"power":12548,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:13:03] local.INFO: DEBUG: GPS processor result {"connection_id":189936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875927,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:03] local.INFO: GPS data processed {"connection_id":189936,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:03] local.INFO: Acknowledgment sent {"connection_id":189936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:13:03] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:03] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:03] local.INFO: IMEI packet received {"connection_id":188633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":188633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:13:08] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:08] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:13:08] local.INFO: IMEI packet received {"connection_id":188633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:13:09] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:09] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:09] local.INFO: Packet analysis {"connection_id":188633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:13:09] local.INFO: Extracted packet for processing {"connection_id":188633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:13: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-09-21 11:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":188633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:09] local.INFO: GPS data processed {"connection_id":188633,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:09] local.INFO: Acknowledgment sent {"connection_id":188633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:13:21] local.INFO: TCP Data received {"connection_id":188487,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27b7938012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188487,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27b7938012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:21] local.INFO: Processing buffer {"connection_id":188487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27b7938012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:21] local.INFO: Packet analysis {"connection_id":188487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:13:21] local.INFO: Extracted packet for processing {"connection_id":188487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:13:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232126976001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:21] 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-09-21 11:13:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789969267000,"timestamp_ms":1789969267000,"timestamp_seconds":1789969267,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27b7938"} 
[2026-09-21 11:13:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:13:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:13:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:13:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:13:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:13:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:13:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:13:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:13:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232126976001,"66":12461,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:13:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:13:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:13:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232126976001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:21] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:13:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:13:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232126976001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:13:21] local.INFO: DEBUG: GPS processor result {"connection_id":188487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:21] local.INFO: GPS data processed {"connection_id":188487,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:21] local.INFO: Acknowledgment sent {"connection_id":188487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:13:40] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:40] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:13:40] local.INFO: Packet analysis {"connection_id":188633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:13:40] local.INFO: Extracted packet for processing {"connection_id":188633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:13: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":188633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:40] local.INFO: GPS data processed {"connection_id":188633,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:40] local.INFO: Acknowledgment sent {"connection_id":188633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:13:42] local.INFO: TCP Data received {"connection_id":188634,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:42] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:42] local.INFO: IMEI packet received {"connection_id":188634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:13:42] local.INFO: IMEI acknowledgment sent {"connection_id":188634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:13:42] local.INFO: TCP Data received {"connection_id":189936,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27d9c18012d0b0ac00702a3a0000f000b24..."} 
[2026-09-21 11:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27d9c18012d0b0ac00702a3a0000f000b24..."} 
[2026-09-21 11:13:42] local.INFO: Processing buffer {"connection_id":189936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27d9c18012d0b0ac00702a3a0000f000b24..."} 
[2026-09-21 11:13:42] local.INFO: Packet analysis {"connection_id":189936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:13:42] local.INFO: Extracted packet for processing {"connection_id":189936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:13:42] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":36,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:13:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232091136001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789969407000,"timestamp_ms":1789969407000,"timestamp_seconds":1789969407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27d9c18"} 
[2026-09-21 11:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13: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-09-21 11: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":31806676394836037,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":94,"raw_value":1225206002488449024,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3260904864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":10,"raw_value":3221684899,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1578172622,"corrected_to":0} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197030093,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3808480606,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3548774400,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:42] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,17,94,24,241,157,16,211,160,108,45,192,163,4,35,10,66,212,36,60,240,227,194,2,113,205,13,34,239,1,48,117,7],"length":485,"final_offset":615,"validated_count":33,"validation_warnings":[{"io_id":205,"original":1578172622,"validated":0}]} 
[2026-09-21 11:13:42] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":1369106540262326272,"timestamp_seconds":1369106540262326.2,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189936,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232091136001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232091136001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:42] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232091136001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":189936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875931,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:42] local.INFO: GPS data processed {"connection_id":189936,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:42] local.INFO: Acknowledgment sent {"connection_id":189936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:13:47] local.INFO: TCP Data received {"connection_id":188634,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:47] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:13:47] local.INFO: IMEI packet received {"connection_id":188634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:13:47] local.INFO: IMEI acknowledgment sent {"connection_id":188634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:13:48] local.INFO: TCP Data received {"connection_id":188634,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27bcb40012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27bcb40012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:48] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27bcb40012d182ac007219d38004b014b28..."} 
[2026-09-21 11:13:48] local.INFO: Packet analysis {"connection_id":188634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:13:48] local.INFO: Extracted packet for processing {"connection_id":188634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27b"} 
[2026-09-21 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232132352001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:13:48] 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-09-21 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969288000,"timestamp_ms":1789969288000,"timestamp_seconds":1789969288,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27bcb40"} 
[2026-09-21 11:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 11:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232132352001,"66":11808,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232132352001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:13:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:13:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232132352001,"power":11808,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":188634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:13:48] local.INFO: GPS data processed {"connection_id":188634,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:13:48] local.INFO: Acknowledgment sent {"connection_id":188634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:03] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:03] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:03] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:14:08] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:08] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:14:08] local.INFO: IMEI packet received {"connection_id":188488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":188488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:14:09] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:09] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:09] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:09] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:14: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-09-21 11:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:09] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:09] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:18] local.INFO: TCP Data received {"connection_id":189938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:18] local.INFO: Processing buffer {"connection_id":189938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:18] local.INFO: IMEI packet received {"connection_id":189938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":false} 
[2026-09-21 11:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":189938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:14:20] local.INFO: TCP Data received {"connection_id":188634,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c1d48012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c1d48012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:20] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c1d48012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:20] local.INFO: Packet analysis {"connection_id":188634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:20] local.INFO: Extracted packet for processing {"connection_id":188634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232137728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:20] 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-09-21 11:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969309000,"timestamp_ms":1789969309000,"timestamp_seconds":1789969309,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c1d48"} 
[2026-09-21 11:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12800,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":32,"data_length":795,"current_offset":136} 
[2026-09-21 11:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":716,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232137728001,"66":12428,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232137728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:14:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232137728001,"power":12428,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":188634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:20] local.INFO: GPS data processed {"connection_id":188634,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:20] local.INFO: Acknowledgment sent {"connection_id":188634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:21] local.INFO: TCP Data received {"connection_id":189938,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189938,"packet_length":17,"packet_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:21] local.INFO: Processing buffer {"connection_id":189938,"buffer_length":17,"buffer_hex":"000f383632353637303732353733323130..."} 
[2026-09-21 11:14:21] local.INFO: IMEI packet received {"connection_id":189938,"imei_length":15,"imei_hex":"383632353637303732353733323130","imei":"862567072573210","is_repeated":true} 
[2026-09-21 11:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":189938,"imei":"862567072573210","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:14:21] local.INFO: TCP Data received {"connection_id":189938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:21] local.INFO: Processing buffer {"connection_id":189938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:21] local.INFO: Packet analysis {"connection_id":189938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:14:21] local.INFO: Extracted packet for processing {"connection_id":189938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":38,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232168192001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789969459000,"timestamp_ms":1789969459000,"timestamp_seconds":1789969459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27e6738"} 
[2026-09-21 11:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":0,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:14:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232168192001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232168192001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:21] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232168192001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:14:21] local.INFO: DEBUG: GPS processor result {"connection_id":189938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875935,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:21] local.INFO: GPS data processed {"connection_id":189938,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:21] local.INFO: Acknowledgment sent {"connection_id":189938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:41] local.INFO: TCP Data received {"connection_id":188488,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:41] local.INFO: Processing buffer {"connection_id":188488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:14:41] local.INFO: Packet analysis {"connection_id":188488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:41] local.INFO: Extracted packet for processing {"connection_id":188488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:14: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-09-21 11: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-09-21 11:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:41] local.INFO: GPS data processed {"connection_id":188488,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:41] local.INFO: Acknowledgment sent {"connection_id":188488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:42] local.INFO: TCP Data received {"connection_id":188635,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:42] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:42] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:14:42] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:14:47] local.INFO: TCP Data received {"connection_id":188635,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:47] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:14:47] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:14:47] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:14:47] local.INFO: TCP Data received {"connection_id":189938,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:47] local.INFO: Processing buffer {"connection_id":189938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27e6738012d0b0ac00702a3a0000f000b26..."} 
[2026-09-21 11:14:47] local.INFO: Packet analysis {"connection_id":189938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:14:47] local.INFO: Extracted packet for processing {"connection_id":189938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:14:47] local.INFO: GPS Element Parsed {"raw_longitude":755698368,"raw_latitude":117613472,"longitude_deg":75.5698368,"latitude_deg":11.7613472,"altitude":15,"angle":11,"satellites":38,"speed":0,"hex_longitude":"2d0b0ac0","hex_latitude":"0702a3a0","is_valid_coordinates":true} 
[2026-09-21 11:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232181504001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":33165144754225152,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795659420525895680,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,17,94,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:14:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789969459000,"timestamp_ms":1789969459000,"timestamp_seconds":1789969459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27e6738"} 
[2026-09-21 11:14:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14: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":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:14:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 11:14:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:14:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:14:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:14:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189938,"device_imei":"862567072573210","avl_records_count":1} 
[2026-09-21 11:14:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072573210","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567072573210"} 
[2026-09-21 11:14:47] local.INFO: DEBUG: Device exists check result {"imei":"862567072573210","exists":true} 
[2026-09-21 11:14:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232181504001,"66":12515,"17":206,"94":11008,"24":0,"16":33165144754225152,"45":795659420525895680},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567072573210","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,94,24,16,45]} 
[2026-09-21 11:14:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072573210"} 
[2026-09-21 11:14:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072573210","device_id":194214,"device_uniqueid":"862567072573210"} 
[2026-09-21 11:14:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232181504001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:47] local.INFO: Unknown IO ID detected {"io_id":94,"value":11008,"description":"Unknown IO ID 94"} 
[2026-09-21 11:14:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":33165144754225152,"km_value":33165144754225.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":795659420525895680,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232181504001,"power":12515,"axis_x":206,"unknown_94":11008,"ignition":0,"odometer":null,"unknown_45":795659420525895680}} 
[2026-09-21 11:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":189938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875937,"device_id":194214,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:48] local.INFO: GPS data processed {"connection_id":189938,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:48] local.ERROR: TCP Connection error {"connection_id":189938,"code":2,"message":"client closed"} 
[2026-09-21 11:14:48] local.INFO: Acknowledgment sent {"connection_id":189938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:14:48] local.INFO: TCP Data received {"connection_id":188635,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c6f50012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c6f50012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:48] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c6f50012d182ac007219d38004b014b28..."} 
[2026-09-21 11:14:48] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:48] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":40,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232143104001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:14:48] 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-09-21 11:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969330000,"timestamp_ms":1789969330000,"timestamp_seconds":1789969330,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c6f50"} 
[2026-09-21 11:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 11:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:14:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232143104001,"66":12374,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232143104001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:14:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:14:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232143104001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:14:48] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:14:48] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:15:03] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:03] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:03] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:15:08] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:08] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:15:08] local.INFO: IMEI packet received {"connection_id":191261,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":191261,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:15:10] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:10] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:10] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:10] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:15: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-09-21 11: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-09-21 11:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:15:10] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:15:10] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:15:20] local.INFO: TCP Data received {"connection_id":188635,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27cc158012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27cc158012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:20] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27cc158012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:20] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:20] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232148480001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:20] 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-09-21 11:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969351000,"timestamp_ms":1789969351000,"timestamp_seconds":1789969351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27cc158"} 
[2026-09-21 11:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232148480001,"66":12374,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232148480001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:15:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:15:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232148480001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:15:20] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:15:20] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:15:42] local.INFO: TCP Data received {"connection_id":189939,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:42] local.INFO: Processing buffer {"connection_id":189939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:42] local.INFO: IMEI packet received {"connection_id":189939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:15:42] local.INFO: IMEI acknowledgment sent {"connection_id":189939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:15:42] local.INFO: TCP Data received {"connection_id":191261,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:42] local.INFO: Processing buffer {"connection_id":191261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:15:42] local.INFO: Packet analysis {"connection_id":191261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:42] local.INFO: Extracted packet for processing {"connection_id":191261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:15:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:15:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:15:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15: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-09-21 11:15:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:15:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:15:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:15: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-09-21 11:15: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-09-21 11:15:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:15:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:15:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:15:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:15:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:15:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191261,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:15:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:15:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:15:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:15:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:15:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:15:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:15:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:15:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:15:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:15:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:15:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:15:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":191261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:15:42] local.INFO: GPS data processed {"connection_id":191261,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:15:42] local.INFO: Acknowledgment sent {"connection_id":191261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:15:47] local.INFO: TCP Data received {"connection_id":189939,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:47] local.INFO: Processing buffer {"connection_id":189939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:15:47] local.INFO: IMEI packet received {"connection_id":189939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:15:47] local.INFO: IMEI acknowledgment sent {"connection_id":189939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:15:48] local.INFO: TCP Data received {"connection_id":189939,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27d1360012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27d1360012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:48] local.INFO: Processing buffer {"connection_id":189939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27d1360012d182ac007219d38004b014b29..."} 
[2026-09-21 11:15:48] local.INFO: Packet analysis {"connection_id":189939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:15:48] local.INFO: Extracted packet for processing {"connection_id":189939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:15:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232153856001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:15:48] 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-09-21 11:15:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969372000,"timestamp_ms":1789969372000,"timestamp_seconds":1789969372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27d1360"} 
[2026-09-21 11:15:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:15:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:15:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:15:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:15:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:15:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:15:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:15:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:15:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:15:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:15:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:15:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:15:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:15:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232153856001,"66":12341,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:15:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:15:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:15:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232153856001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:15:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:15:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:15:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:15:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:15:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232153856001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:15:48] local.INFO: DEBUG: GPS processor result {"connection_id":189939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:15:48] local.INFO: GPS data processed {"connection_id":189939,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:15:48] local.INFO: Acknowledgment sent {"connection_id":189939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:16:03] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:03] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:03] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:16:08] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:08] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:16:08] local.INFO: IMEI packet received {"connection_id":188491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:16:09] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:09] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:09] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:16:09] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11: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-09-21 11:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:16:09] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:16:09] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:16:23] local.INFO: TCP Data received {"connection_id":189939,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27d6568012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27d6568012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:23] local.INFO: Processing buffer {"connection_id":189939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27d6568012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:23] local.INFO: Packet analysis {"connection_id":189939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:16:23] local.INFO: Extracted packet for processing {"connection_id":189939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232159232001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:23] 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-09-21 11:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789969393000,"timestamp_ms":1789969393000,"timestamp_seconds":1789969393,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27d6568"} 
[2026-09-21 11:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232159232001,"66":12374,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232159232001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:16:23] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:16:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232159232001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":189939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875944,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:16:23] local.INFO: GPS data processed {"connection_id":189939,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:16:23] local.INFO: Acknowledgment sent {"connection_id":189939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:16:40] local.INFO: TCP Data received {"connection_id":188636,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188636,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:16:40] local.INFO: Processing buffer {"connection_id":188636,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:16:40] local.INFO: IMEI packet received {"connection_id":188636,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:16:40] local.INFO: IMEI acknowledgment sent {"connection_id":188636,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:16:41] local.INFO: TCP Data received {"connection_id":188491,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:41] local.INFO: Processing buffer {"connection_id":188491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:16:41] local.INFO: Packet analysis {"connection_id":188491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:16:41] local.INFO: Extracted packet for processing {"connection_id":188491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16: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-09-21 11:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:16: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-09-21 11:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:16:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:16:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":188491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:16:41] local.INFO: GPS data processed {"connection_id":188491,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:16:41] local.INFO: Acknowledgment sent {"connection_id":188491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:16:42] local.INFO: TCP Data received {"connection_id":188492,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:42] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:42] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:16:42] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:16:45] local.INFO: TCP Data received {"connection_id":188492,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:45] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:16:45] local.INFO: IMEI packet received {"connection_id":188492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:16:45] local.INFO: IMEI acknowledgment sent {"connection_id":188492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:16:45] local.INFO: TCP Data received {"connection_id":188492,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27db770012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27db770012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:45] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27db770012d182ac007219d38004b014b29..."} 
[2026-09-21 11:16:45] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:16:45] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27d"} 
[2026-09-21 11:16:45] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":41,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232164608001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789969414000,"timestamp_ms":1789969414000,"timestamp_seconds":1789969414,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27db770"} 
[2026-09-21 11:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:16:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:16:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232164608001,"66":12341,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232164608001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:16:45] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:16:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232164608001,"power":12341,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:16:46] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:16:46] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:16:46] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:17:03] local.INFO: TCP Data received {"connection_id":189940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:03] local.INFO: Processing buffer {"connection_id":189940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:03] local.INFO: IMEI packet received {"connection_id":189940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":189940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:17:09] local.INFO: TCP Data received {"connection_id":189940,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:09] local.INFO: Processing buffer {"connection_id":189940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:17:09] local.INFO: IMEI packet received {"connection_id":189940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":189940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:17:10] local.INFO: TCP Data received {"connection_id":189940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:10] local.INFO: Processing buffer {"connection_id":189940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:10] local.INFO: Packet analysis {"connection_id":189940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:17:10] local.INFO: Extracted packet for processing {"connection_id":189940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:17: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-09-21 11: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-09-21 11:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":189940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:17:10] local.INFO: GPS data processed {"connection_id":189940,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:17:10] local.INFO: Acknowledgment sent {"connection_id":189940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:17:16] local.INFO: TCP Data received {"connection_id":189941,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189941,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:17:16] local.INFO: Processing buffer {"connection_id":189941,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:17:16] local.INFO: IMEI packet received {"connection_id":189941,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":189941,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:17:17] local.INFO: TCP Data received {"connection_id":188492,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27e0978012d182ac007219d38004b014b2a..."} 
[2026-09-21 11:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27e0978012d182ac007219d38004b014b2a..."} 
[2026-09-21 11:17:17] local.INFO: Processing buffer {"connection_id":188492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27e0978012d182ac007219d38004b014b2a..."} 
[2026-09-21 11:17:17] local.INFO: Packet analysis {"connection_id":188492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:17:17] local.INFO: Extracted packet for processing {"connection_id":188492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27e"} 
[2026-09-21 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643448,"longitude_deg":75.6558528,"latitude_deg":11.9643448,"altitude":75,"angle":331,"satellites":42,"speed":0,"hex_longitude":"2d182ac0","hex_latitude":"07219d38","is_valid_coordinates":true} 
[2026-09-21 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232169984001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315322925121536,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793373696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:17] 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-09-21 11:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789969435000,"timestamp_ms":1789969435000,"timestamp_seconds":1789969435,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27e0978"} 
[2026-09-21 11:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232169984001,"66":12374,"120":206,"28":31744,"24":0,"16":22315322925121536,"45":1741415342793373696},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232169984001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:17:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:17:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315322925121536,"km_value":22315322925121.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793373696,"description":"Unknown IO ID 45"} 
[2026-09-21 11:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232169984001,"power":12374,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741415342793373696}} 
[2026-09-21 11:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":188492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:17:17] local.INFO: GPS data processed {"connection_id":188492,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:17:17] local.INFO: Acknowledgment sent {"connection_id":188492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:17:41] local.INFO: TCP Data received {"connection_id":189940,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:41] local.INFO: Processing buffer {"connection_id":189940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c27c9278012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:17:41] local.INFO: Packet analysis {"connection_id":189940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:17:41] local.INFO: Extracted packet for processing {"connection_id":189940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c27c"} 
[2026-09-21 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232073728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969339000,"timestamp_ms":1789969339000,"timestamp_seconds":1789969339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c27c9278"} 
[2026-09-21 11:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11: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-09-21 11:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232073728001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232073728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232073728001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":189940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:17:41] local.INFO: GPS data processed {"connection_id":189940,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:17:41] local.INFO: Acknowledgment sent {"connection_id":189940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:17:41] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:41] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:41] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:17:41] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:17:46] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:46] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:46] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:17:46] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:17:47] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:47] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:17:47] local.INFO: IMEI packet received {"connection_id":188493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:17:47] local.INFO: IMEI acknowledgment sent {"connection_id":188493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:17:48] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c280c4b0012d182fc007219a38004e006c29..."} 
[2026-09-21 11:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c280c4b0012d182fc007219a38004e006c29..."} 
[2026-09-21 11:17:48] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c280c4b0012d182fc007219a38004e006c29..."} 
[2026-09-21 11:17:48] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:17:48] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":119642680,"longitude_deg":75.6559808,"latitude_deg":11.964268,"altitude":78,"angle":108,"satellites":41,"speed":5,"hex_longitude":"2d182fc0","hex_latitude":"07219a38","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232219904001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315400234532864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767723401216,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969614000,"timestamp_ms":1789969614000,"timestamp_seconds":1789969614,"priority":1,"record_length":96,"hex_timestamp":"000001a0c280c4b0"} 
[2026-09-21 11:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 11:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232219904001,"66":14243,"121":206,"28":31744,"24":5,"16":22315400234532864,"45":1742259767723401216},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232219904001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:17:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:17:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315400234532864,"km_value":22315400234532.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767723401216,"description":"Unknown IO ID 45"} 
[2026-09-21 11:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232219904001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1742259767723401216}} 
[2026-09-21 11:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:17:48] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:17:48] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:17:52] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c280d068012d183240072198e8004e007829..."} 
[2026-09-21 11:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c280d068012d183240072198e8004e007829..."} 
[2026-09-21 11:17:52] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c280d068012d183240072198e8004e007829..."} 
[2026-09-21 11:17:52] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:17:52] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":756560448,"raw_latitude":119642344,"longitude_deg":75.6560448,"latitude_deg":11.9642344,"altitude":78,"angle":120,"satellites":41,"speed":12,"hex_longitude":"2d183240","hex_latitude":"072198e8","is_valid_coordinates":true} 
[2026-09-21 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:17:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232221184001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315434594271232,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742822717676730368,"note":"Value kept but may cause issues"} 
[2026-09-21 11:17:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:17:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789969617000,"timestamp_ms":1789969617000,"timestamp_seconds":1789969617,"priority":1,"record_length":96,"hex_timestamp":"000001a0c280d068"} 
[2026-09-21 11:17:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:17:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:17:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-21 11:17:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:17:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:17:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:17:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:17:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:17:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:17:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:17:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:17:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:17:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232221184001,"66":14004,"121":206,"28":31744,"24":12,"16":22315434594271232,"45":1742822717676730368},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:17:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:17:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:17:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232221184001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:17:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:17:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:17:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315434594271232,"km_value":22315434594271.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:17:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742822717676730368,"description":"Unknown IO ID 45"} 
[2026-09-21 11:17:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232221184001,"power":14004,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1742822717676730368}} 
[2026-09-21 11:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:17:52] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:17:52] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:18:03] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:03] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:03] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:18:08] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:08] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:18:08] local.INFO: IMEI packet received {"connection_id":188494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:18:09] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:09] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:09] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:18:09] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:18: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-09-21 11:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:18:09] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:18:09] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:18:23] local.INFO: TCP Data received {"connection_id":188493,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c280fb60012d18438007219118004e006d29..."} 
[2026-09-21 11:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c280fb60012d18438007219118004e006d29..."} 
[2026-09-21 11:18:23] local.INFO: Processing buffer {"connection_id":188493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c280fb60012d18438007219118004e006d29..."} 
[2026-09-21 11:18:23] local.INFO: Packet analysis {"connection_id":188493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:18:23] local.INFO: Extracted packet for processing {"connection_id":188493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c280"} 
[2026-09-21 11:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756564864,"raw_latitude":119640344,"longitude_deg":75.6564864,"latitude_deg":11.9640344,"altitude":78,"angle":109,"satellites":41,"speed":16,"hex_longitude":"2d184380","hex_latitude":"07219118","is_valid_coordinates":true} 
[2026-09-21 11:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232221952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22315666522505216,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743526405118420992,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18: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-09-21 11:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789969628000,"timestamp_ms":1789969628000,"timestamp_seconds":1789969628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c280fb60"} 
[2026-09-21 11:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 11:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232221952001,"66":14211,"121":206,"28":31744,"24":16,"16":22315666522505216,"45":1743526405118420992},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232221952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:18:23] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22315666522505216,"km_value":22315666522505.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743526405118420992,"description":"Unknown IO ID 45"} 
[2026-09-21 11:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232221952001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1743526405118420992}} 
[2026-09-21 11:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":188493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:18:23] local.INFO: GPS data processed {"connection_id":188493,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:18:23] local.INFO: Acknowledgment sent {"connection_id":188493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:18:41] local.INFO: TCP Data received {"connection_id":188494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:41] local.INFO: Processing buffer {"connection_id":188494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:18:41] local.INFO: Packet analysis {"connection_id":188494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:18:41] local.INFO: Extracted packet for processing {"connection_id":188494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:18: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-09-21 11:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:18:41] local.INFO: GPS data processed {"connection_id":188494,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:18:41] local.INFO: Acknowledgment sent {"connection_id":188494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:18:41] local.INFO: TCP Data received {"connection_id":189942,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:41] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:41] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:18:41] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:18:43] local.INFO: TCP Data received {"connection_id":189942,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:18:43] local.INFO: TCP Data received {"connection_id":189942,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:43] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:18:43] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:18:44] local.INFO: TCP Data received {"connection_id":189942,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:44] local.INFO: Processing buffer {"connection_id":189942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:18:44] local.INFO: IMEI packet received {"connection_id":189942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":189942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:19:03] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:03] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:03] local.INFO: IMEI packet received {"connection_id":189943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":189943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:19:08] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:08] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:19:08] local.INFO: IMEI packet received {"connection_id":189943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":189943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:19:10] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:10] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:10] local.INFO: Packet analysis {"connection_id":189943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:19:10] local.INFO: Extracted packet for processing {"connection_id":189943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 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-09-21 11:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:19:10] 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-09-21 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-09-21 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-09-21 11:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":189943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:19:10] local.INFO: GPS data processed {"connection_id":189943,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:19:10] local.INFO: Acknowledgment sent {"connection_id":189943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:19:42] local.INFO: TCP Data received {"connection_id":189943,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:42] local.INFO: Processing buffer {"connection_id":189943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:19:42] local.INFO: Packet analysis {"connection_id":189943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:19:42] local.INFO: Extracted packet for processing {"connection_id":189943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:19:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":189943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:19:42] local.INFO: GPS data processed {"connection_id":189943,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:19:42] local.INFO: Acknowledgment sent {"connection_id":189943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:20:03] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:03] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:03] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:20:08] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:08] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:20:08] local.INFO: IMEI packet received {"connection_id":188496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":188496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:20:09] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:09] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:09] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:20:09] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 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-09-21 11:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:20: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-09-21 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-09-21 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-09-21 11:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:20:09] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:20:09] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:20:40] local.INFO: TCP Data received {"connection_id":188496,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:40] local.INFO: Processing buffer {"connection_id":188496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:20:40] local.INFO: Packet analysis {"connection_id":188496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:20:40] local.INFO: Extracted packet for processing {"connection_id":188496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:20:40] 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-09-21 11:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":188496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:20:40] local.INFO: GPS data processed {"connection_id":188496,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:20:40] local.INFO: Acknowledgment sent {"connection_id":188496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:21:03] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:03] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:03] local.INFO: IMEI packet received {"connection_id":191263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":191263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:21:08] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:08] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:21:08] local.INFO: IMEI packet received {"connection_id":191263,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":191263,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:21:10] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:10] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:10] local.INFO: Packet analysis {"connection_id":191263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:21:10] local.INFO: Extracted packet for processing {"connection_id":191263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:21:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:21:10] 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-09-21 11:21:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:21:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:21:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:21:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:21:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:21:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:21:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:21:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:21:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:21:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":191263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:21:10] local.INFO: GPS data processed {"connection_id":191263,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:21:10] local.INFO: Acknowledgment sent {"connection_id":191263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:21:41] local.INFO: TCP Data received {"connection_id":191263,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:41] local.INFO: Processing buffer {"connection_id":191263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:21:41] local.INFO: Packet analysis {"connection_id":191263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:21:41] local.INFO: Extracted packet for processing {"connection_id":191263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:21: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-09-21 11:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:21: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-09-21 11:21: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-09-21 11:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191263,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":191263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:21:41] local.INFO: GPS data processed {"connection_id":191263,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:21:41] local.INFO: Acknowledgment sent {"connection_id":191263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:22:03] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:03] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:03] local.INFO: IMEI packet received {"connection_id":189945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":189945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:22:08] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:08] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:22:08] local.INFO: IMEI packet received {"connection_id":189945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":189945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:22:10] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:10] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:10] local.INFO: Packet analysis {"connection_id":189945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:22:10] local.INFO: Extracted packet for processing {"connection_id":189945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:22:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:22:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:22:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:22:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:22:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 11:22:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:22:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:22:10] 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-09-21 11:22:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:22:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:22:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:22:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:22:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:22:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:22:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:22:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:22:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:22:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:22:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:22:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:22:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:22:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:22:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:22:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:22:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:22:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:22:10] local.INFO: DEBUG: GPS processor result {"connection_id":189945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:22:10] local.INFO: GPS data processed {"connection_id":189945,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:22:10] local.INFO: Acknowledgment sent {"connection_id":189945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:22:42] local.INFO: TCP Data received {"connection_id":189945,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:42] local.INFO: Processing buffer {"connection_id":189945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2812a40012d34c04006aa4130000b000c2d..."} 
[2026-09-21 11:22:42] local.INFO: Packet analysis {"connection_id":189945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:22:42] local.INFO: Extracted packet for processing {"connection_id":189945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c281"} 
[2026-09-21 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:22:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232150784001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:22:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:22:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:22:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789969640000,"timestamp_ms":1789969640000,"timestamp_seconds":1789969640,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2812a40"} 
[2026-09-21 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-09-21 11:22:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:22:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 11:22:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:22:42] local.INFO: Teltonika packet parsed successfully {"connection_id":189945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:22:42] local.INFO: Passing IMEI to GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:22:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":189945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:22:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:22:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:22:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:22:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232150784001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:22:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:22:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:22:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232150784001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:22:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:22:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:22:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:22:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:22:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232150784001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:22:42] local.INFO: DEBUG: GPS processor result {"connection_id":189945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:22:42] local.INFO: GPS data processed {"connection_id":189945,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:22:42] local.INFO: Acknowledgment sent {"connection_id":189945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:22:45] local.INFO: TCP Data received {"connection_id":188640,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:22:45] local.INFO: Processing buffer {"connection_id":188640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:22:45] local.INFO: IMEI packet received {"connection_id":188640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":188640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:23:03] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:03] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:03] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:23:08] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:08] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:23:08] local.INFO: IMEI packet received {"connection_id":191264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":191264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:23:10] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:10] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:10] local.INFO: Packet analysis {"connection_id":191264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:23:10] local.INFO: Extracted packet for processing {"connection_id":191264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:23:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:23:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:23:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:23:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:23:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:23:10] 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-09-21 11: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-09-21 11:23:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:23:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:23:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:23:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:23:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:23:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:23:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:23:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:23:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:23:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:23:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:23:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:23:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:23:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:23:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:23:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:23:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:23:10] local.INFO: DEBUG: GPS processor result {"connection_id":191264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:23:10] local.INFO: GPS data processed {"connection_id":191264,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:23:10] local.INFO: Acknowledgment sent {"connection_id":191264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:23:21] local.INFO: TCP Data received {"connection_id":189947,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189947,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:23:21] local.INFO: Processing buffer {"connection_id":189947,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:23:21] local.INFO: IMEI packet received {"connection_id":189947,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":189947,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:23:41] local.INFO: TCP Data received {"connection_id":191264,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191264,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:41] local.INFO: Processing buffer {"connection_id":191264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:23:41] local.INFO: Packet analysis {"connection_id":191264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:23:41] local.INFO: Extracted packet for processing {"connection_id":191264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:23: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-09-21 11: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-09-21 11:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:23:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":191264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:23:41] local.INFO: GPS data processed {"connection_id":191264,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:23:41] local.INFO: Acknowledgment sent {"connection_id":191264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:23:46] local.INFO: TCP Data received {"connection_id":188641,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:23:46] local.INFO: TCP Data received {"connection_id":188641,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:46] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:23:46] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:23:52] local.INFO: TCP Data received {"connection_id":188641,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:52] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:23:52] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:23:53] local.INFO: TCP Data received {"connection_id":188641,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2863738012d1a4680071fe780003200692a..."} 
[2026-09-21 11:23:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2863738012d1a4680071fe780003200692a..."} 
[2026-09-21 11:23:53] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2863738012d1a4680071fe780003200692a..."} 
[2026-09-21 11:23:53] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:23:53] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:23:53] local.INFO: GPS Element Parsed {"raw_longitude":756696704,"raw_latitude":119531392,"longitude_deg":75.6696704,"latitude_deg":11.9531392,"altitude":50,"angle":105,"satellites":42,"speed":38,"hex_longitude":"2d1a4680","hex_latitude":"071fe780","is_valid_coordinates":true} 
[2026-09-21 11:23:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:23:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232310272001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325351673757696,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883700943492495360,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:23:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789969971000,"timestamp_ms":1789969971000,"timestamp_seconds":1789969971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2863738"} 
[2026-09-21 11:23:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:23:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-21 11:23:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:23:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:23:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:23:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:23:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:23:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:23:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:23:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:23:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:23:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:23:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232310272001,"66":13352,"121":206,"28":31744,"24":38,"16":22325351673757696,"45":1883700943492495360},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:23:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:23:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:23:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232310272001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:23:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:23:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:23:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325351673757696,"km_value":22325351673757.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:23:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883700943492495360,"description":"Unknown IO ID 45"} 
[2026-09-21 11:23:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232310272001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1883700943492495360}} 
[2026-09-21 11:23:53] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:23:53] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:23:53] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:23:57] local.INFO: TCP Data received {"connection_id":188641,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28646d8012d1a5380071fe0e00032007f29..."} 
[2026-09-21 11:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28646d8012d1a5380071fe0e00032007f29..."} 
[2026-09-21 11:23:57] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28646d8012d1a5380071fe0e00032007f29..."} 
[2026-09-21 11:23:57] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:23:57] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:23:57] local.INFO: GPS Element Parsed {"raw_longitude":756700032,"raw_latitude":119529696,"longitude_deg":75.6700032,"latitude_deg":11.9529696,"altitude":50,"angle":127,"satellites":41,"speed":35,"hex_longitude":"2d1a5380","hex_latitude":"071fe0e0","is_valid_coordinates":true} 
[2026-09-21 11:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232312576001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325532062384128,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893341461444263936,"note":"Value kept but may cause issues"} 
[2026-09-21 11:23: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-09-21 11:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789969975000,"timestamp_ms":1789969975000,"timestamp_seconds":1789969975,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28646d8"} 
[2026-09-21 11:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11: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-09-21 11: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":40,"data_length":795,"current_offset":136} 
[2026-09-21 11:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232312576001,"66":13298,"121":206,"28":31744,"24":35,"16":22325532062384128,"45":1893341461444263936},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232312576001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:23:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325532062384128,"km_value":22325532062384.13,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893341461444263936,"description":"Unknown IO ID 45"} 
[2026-09-21 11:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232312576001,"power":13298,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1893341461444263936}} 
[2026-09-21 11:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:23:58] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:23:58] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:24:03] local.INFO: TCP Data received {"connection_id":189948,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:03] local.INFO: Processing buffer {"connection_id":189948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:03] local.INFO: IMEI packet received {"connection_id":189948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":189948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:24:08] local.INFO: TCP Data received {"connection_id":189948,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:08] local.INFO: Processing buffer {"connection_id":189948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:24:08] local.INFO: IMEI packet received {"connection_id":189948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":189948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:24:09] local.INFO: TCP Data received {"connection_id":189948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:09] local.INFO: Processing buffer {"connection_id":189948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:09] local.INFO: Packet analysis {"connection_id":189948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:24:09] local.INFO: Extracted packet for processing {"connection_id":189948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 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-09-21 11:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:24: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-09-21 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-09-21 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-09-21 11:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":189948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:24:09] local.INFO: GPS data processed {"connection_id":189948,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:24:09] local.INFO: Acknowledgment sent {"connection_id":189948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:24:41] local.INFO: TCP Data received {"connection_id":189948,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:41] local.INFO: Processing buffer {"connection_id":189948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:24:41] local.INFO: Packet analysis {"connection_id":189948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:24:41] local.INFO: Extracted packet for processing {"connection_id":189948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:24: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-09-21 11: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-09-21 11:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":189948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:24:41] local.INFO: GPS data processed {"connection_id":189948,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:24:41] local.INFO: Acknowledgment sent {"connection_id":189948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:24:42] local.INFO: TCP Data received {"connection_id":188499,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:24:42] local.INFO: TCP Data received {"connection_id":188499,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:42] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:24:42] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:24:46] local.INFO: TCP Data received {"connection_id":188499,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:46] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:24:46] local.INFO: IMEI packet received {"connection_id":188499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:24:46] local.INFO: IMEI acknowledgment sent {"connection_id":188499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:24:48] local.INFO: TCP Data received {"connection_id":188499,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2865290012d1a5cc0071fdc18003300692b..."} 
[2026-09-21 11:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2865290012d1a5cc0071fdc18003300692b..."} 
[2026-09-21 11:24:48] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2865290012d1a5cc0071fdc18003300692b..."} 
[2026-09-21 11:24:48] local.INFO: Packet analysis {"connection_id":188499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:24:48] local.INFO: Extracted packet for processing {"connection_id":188499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756702400,"raw_latitude":119528472,"longitude_deg":75.67024,"latitude_deg":11.9528472,"altitude":51,"angle":105,"satellites":43,"speed":34,"hex_longitude":"2d1a5cc0","hex_latitude":"071fdc18","is_valid_coordinates":true} 
[2026-09-21 11:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232313600001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325660911403008,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1897000636141068288,"note":"Value kept but may cause issues"} 
[2026-09-21 11:24:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969978000,"timestamp_ms":1789969978000,"timestamp_seconds":1789969978,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2865290"} 
[2026-09-21 11:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:24:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:24:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":242,"data_length":795,"current_offset":136} 
[2026-09-21 11:24:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2631,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:24:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232313600001,"66":13319,"121":206,"28":31744,"24":34,"16":22325660911403008,"45":1897000636141068288},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232313600001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:24:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:24:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325660911403008,"km_value":22325660911403.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1897000636141068288,"description":"Unknown IO ID 45"} 
[2026-09-21 11:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232313600001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1897000636141068288}} 
[2026-09-21 11:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":188499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:24:48] local.INFO: GPS data processed {"connection_id":188499,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:24:48] local.INFO: Acknowledgment sent {"connection_id":188499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:25:03] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:03] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:03] local.INFO: IMEI packet received {"connection_id":188642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":188642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:25:08] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:08] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:25:08] local.INFO: IMEI packet received {"connection_id":188642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":188642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:25:09] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:09] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:09] local.INFO: Packet analysis {"connection_id":188642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:25:09] local.INFO: Extracted packet for processing {"connection_id":188642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:25: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-09-21 11: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-09-21 11:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":188642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:25:09] local.INFO: GPS data processed {"connection_id":188642,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:25:09] local.INFO: Acknowledgment sent {"connection_id":188642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:25:19] local.INFO: TCP Data received {"connection_id":188499,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2865a60012d1a63c0071fdbb0003400592a..."} 
[2026-09-21 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2865a60012d1a63c0071fdbb0003400592a..."} 
[2026-09-21 11:25:19] local.INFO: Processing buffer {"connection_id":188499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2865a60012d1a63c0071fdbb0003400592a..."} 
[2026-09-21 11:25:19] local.INFO: Packet analysis {"connection_id":188499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:25:19] local.INFO: Extracted packet for processing {"connection_id":188499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756704192,"raw_latitude":119528368,"longitude_deg":75.6704192,"latitude_deg":11.9528368,"altitude":52,"angle":89,"satellites":42,"speed":33,"hex_longitude":"2d1a63c0","hex_latitude":"071fdbb0","is_valid_coordinates":true} 
[2026-09-21 11:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232314368001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325742515781632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1899604279675328512,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789969980000,"timestamp_ms":1789969980000,"timestamp_seconds":1789969980,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2865a60"} 
[2026-09-21 11:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3263550864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788856,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2246645761,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-258956768114234624,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":249,"raw_value":2147950589,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":27,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-3339417830475022329,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:19] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,81,160,70,45,128,224,50,41,10,66,80,55,231,42,20,64,1,240,109,194,31,4,113,205,33,225,249,43,239,2,79,7,49,25,27,133],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:25:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675052929341063168,"timestamp_seconds":3675052929341063.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232314368001,"66":13319,"121":206,"28":31744,"24":33,"16":22325742515781632,"45":1899604279675328512},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232314368001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:25:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:25:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325742515781632,"km_value":22325742515781.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1899604279675328512,"description":"Unknown IO ID 45"} 
[2026-09-21 11:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232314368001,"power":13319,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1899604279675328512}} 
[2026-09-21 11:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":188499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:25:19] local.INFO: GPS data processed {"connection_id":188499,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:25:19] local.INFO: Acknowledgment sent {"connection_id":188499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:25:41] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:41] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:25:41] local.INFO: Packet analysis {"connection_id":188642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:25:41] local.INFO: Extracted packet for processing {"connection_id":188642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25: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-09-21 11:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:25: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-09-21 11:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":188642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:25:41] local.INFO: GPS data processed {"connection_id":188642,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:25:41] local.INFO: Acknowledgment sent {"connection_id":188642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:25:41] local.INFO: TCP Data received {"connection_id":188500,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:41] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:41] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:25:41] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:25:45] local.INFO: TCP Data received {"connection_id":188500,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:45] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:25:45] local.INFO: IMEI packet received {"connection_id":188500,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:25:45] local.INFO: IMEI acknowledgment sent {"connection_id":188500,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:25:47] local.INFO: TCP Data received {"connection_id":188500,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2866230012d1a6a00071fda900034006c29..."} 
[2026-09-21 11:25:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2866230012d1a6a00071fda900034006c29..."} 
[2026-09-21 11:25:47] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2866230012d1a6a00071fda900034006c29..."} 
[2026-09-21 11:25:47] local.INFO: Packet analysis {"connection_id":188500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:25:47] local.INFO: Extracted packet for processing {"connection_id":188500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":756705792,"raw_latitude":119528080,"longitude_deg":75.6705792,"latitude_deg":11.952808,"altitude":52,"angle":108,"satellites":41,"speed":32,"hex_longitude":"2d1a6a00","hex_latitude":"071fda90","is_valid_coordinates":true} 
[2026-09-21 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232314880001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325819825192960,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1901574604512276480,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:25:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789969982000,"timestamp_ms":1789969982000,"timestamp_seconds":1789969982,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2866230"} 
[2026-09-21 11:25:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:25:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:25:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3263553864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":80,"raw_value":3388997632,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485799,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2249461761,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-240942369605539328,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":218,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-3057942853764186105,"note":"Value kept but may cause issues"} 
[2026-09-21 11:25:47] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,81,160,82,45,192,220,51,43,10,66,70,128,224,50,41,80,55,1,240,40,194,31,4,113,205,38,233,112,239,2,79,7,49,32,218,133],"length":527,"final_offset":657,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:25:47] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747092926897913856,"timestamp_seconds":3747092926897914.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:25:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:25:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:25:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:25:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:25:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:25:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:25:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:25:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:25:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232314880001,"66":13330,"121":206,"28":31744,"24":32,"16":22325819825192960,"45":1901574604512276480},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:25:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:25:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:25:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232314880001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:25:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:25:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:25:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325819825192960,"km_value":22325819825192.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:25:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1901574604512276480,"description":"Unknown IO ID 45"} 
[2026-09-21 11:25:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232314880001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1901574604512276480}} 
[2026-09-21 11:25:47] local.INFO: DEBUG: GPS processor result {"connection_id":188500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:25:47] local.INFO: GPS data processed {"connection_id":188500,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:25:47] local.INFO: Acknowledgment sent {"connection_id":188500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:26:03] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:03] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:03] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:26:08] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:08] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:26:08] local.INFO: IMEI packet received {"connection_id":191265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:26:09] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:09] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:09] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:26:09] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 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-09-21 11:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:26: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-09-21 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-09-21 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-09-21 11:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:26:09] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:26:09] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:26:18] local.INFO: TCP Data received {"connection_id":188500,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2866618012d1a6cc0071fd9280034007729..."} 
[2026-09-21 11:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2866618012d1a6cc0071fd9280034007729..."} 
[2026-09-21 11:26:18] local.INFO: Processing buffer {"connection_id":188500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2866618012d1a6cc0071fd9280034007729..."} 
[2026-09-21 11:26:18] local.INFO: Packet analysis {"connection_id":188500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:26:18] local.INFO: Extracted packet for processing {"connection_id":188500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756706496,"raw_latitude":119527720,"longitude_deg":75.6706496,"latitude_deg":11.952772,"altitude":52,"angle":119,"satellites":41,"speed":31,"hex_longitude":"2d1a6cc0","hex_latitude":"071fd928","is_valid_coordinates":true} 
[2026-09-21 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232315392001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325858479898624,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903333823116644352,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789969983000,"timestamp_ms":1789969983000,"timestamp_seconds":1789969983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2866618"} 
[2026-09-21 11:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3263555864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249893588546354344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":80,"raw_value":4093640704,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2251765761,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-216172571654018304,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":218,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-2213517923631661049,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:18] local.INFO: IO Element Parsed {"io_data_count":48,"io_data_keys":[0,121,28,24,241,158,16,81,160,90,45,192,219,52,42,10,66,82,220,51,43,70,128,1,240,242,80,194,31,4,113,205,38,20,36,56,239,55,2,79,7,49,33,218,133,32,231,54],"length":626,"final_offset":756,"validated_count":48,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:26:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747113813323808768,"timestamp_seconds":3747113813323809.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188500,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232315392001,"66":13330,"121":206,"28":31744,"24":31,"16":22325858479898624,"45":1903333823116644352},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232315392001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:26:18] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:26:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325858479898624,"km_value":22325858479898.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903333823116644352,"description":"Unknown IO ID 45"} 
[2026-09-21 11:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232315392001,"power":13330,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1903333823116644352}} 
[2026-09-21 11:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":188500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:26:18] local.INFO: GPS data processed {"connection_id":188500,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:26:18] local.INFO: Acknowledgment sent {"connection_id":188500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:26:42] local.INFO: TCP Data received {"connection_id":191266,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:42] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:42] local.INFO: IMEI packet received {"connection_id":191266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:26:42] local.INFO: IMEI acknowledgment sent {"connection_id":191266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:26:42] local.INFO: TCP Data received {"connection_id":191265,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:42] local.INFO: Processing buffer {"connection_id":191265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:26:42] local.INFO: Packet analysis {"connection_id":191265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:26:42] local.INFO: Extracted packet for processing {"connection_id":191265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:26:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":191265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:26:42] local.INFO: GPS data processed {"connection_id":191265,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:26:42] local.INFO: Acknowledgment sent {"connection_id":191265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:26:47] local.INFO: TCP Data received {"connection_id":191266,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:47] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:26:47] local.INFO: IMEI packet received {"connection_id":191266,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":191266,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:26:48] local.INFO: TCP Data received {"connection_id":191266,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2866de8012d1a71c0071fd548003500842b..."} 
[2026-09-21 11:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2866de8012d1a71c0071fd548003500842b..."} 
[2026-09-21 11:26:48] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2866de8012d1a71c0071fd548003500842b..."} 
[2026-09-21 11:26:48] local.INFO: Packet analysis {"connection_id":191266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:26:48] local.INFO: Extracted packet for processing {"connection_id":191266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756707776,"raw_latitude":119526728,"longitude_deg":75.6707776,"latitude_deg":11.9526728,"altitude":53,"angle":132,"satellites":43,"speed":33,"hex_longitude":"2d1a71c0","hex_latitude":"071fd548","is_valid_coordinates":true} 
[2026-09-21 11:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232315648001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22325935789309952,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1904107879302506496,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789969985000,"timestamp_ms":1789969985000,"timestamp_seconds":1789969985,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2866de8"} 
[2026-09-21 11:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3263566864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249902934395190528,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2252789761,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":31,"raw_value":-328762562337494272,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":70,"raw_value":2147950567,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57956877116251260,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":133,"raw_value":-1650567970209906681,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.WARNING: Large IO value detected {"io_id":53,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 11:26:48] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,121,28,24,241,158,16,81,160,98,45,218,52,41,10,66,90,192,219,42,82,1,240,7,194,31,4,113,205,35,55,70,128,239,2,79,49,38,109,133,33,231,53],"length":626,"final_offset":756,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:26:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747125907951648768,"timestamp_seconds":3747125907951649.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232315648001,"66":13276,"121":206,"28":31744,"24":33,"16":22325935789309952,"45":1904107879302506496},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232315648001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:26:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:26:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22325935789309952,"km_value":22325935789309.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1904107879302506496,"description":"Unknown IO ID 45"} 
[2026-09-21 11:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232315648001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1904107879302506496}} 
[2026-09-21 11:26:48] local.INFO: DEBUG: GPS processor result {"connection_id":191266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:26:48] local.INFO: GPS data processed {"connection_id":191266,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:26:48] local.INFO: Acknowledgment sent {"connection_id":191266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:27:08] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:08] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:08] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:27:13] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:13] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:27:13] local.INFO: IMEI packet received {"connection_id":191267,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":191267,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:27:14] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:14] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:14] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:27:14] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:27:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:27:14] 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-09-21 11:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:27:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:27:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:27:14] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:27:14] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:27:19] local.INFO: TCP Data received {"connection_id":191266,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28679a0012d1a7840071fcd700036009328..."} 
[2026-09-21 11:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28679a0012d1a7840071fcd700036009328..."} 
[2026-09-21 11:27:19] local.INFO: Processing buffer {"connection_id":191266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28679a0012d1a7840071fcd700036009328..."} 
[2026-09-21 11:27:19] local.INFO: Packet analysis {"connection_id":191266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:27:19] local.INFO: Extracted packet for processing {"connection_id":191266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756709440,"raw_latitude":119524720,"longitude_deg":75.670944,"latitude_deg":11.952472,"altitude":54,"angle":147,"satellites":40,"speed":35,"hex_longitude":"2d1a7840","hex_latitude":"071fcd70","is_valid_coordinates":true} 
[2026-09-21 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232316160001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326064638328832,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905515254185805824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789969988000,"timestamp_ms":1789969988000,"timestamp_seconds":1789969988,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28679a0"} 
[2026-09-21 11:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-09-21 11:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191266,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232316160001,"66":13287,"121":206,"28":31744,"24":35,"16":22326064638328832,"45":1905515254185805824},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232316160001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:27:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:27:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326064638328832,"km_value":22326064638328.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905515254185805824,"description":"Unknown IO ID 45"} 
[2026-09-21 11:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232316160001,"power":13287,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1905515254185805824}} 
[2026-09-21 11:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":191266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:27:20] local.INFO: GPS data processed {"connection_id":191266,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:27:20] local.INFO: Acknowledgment sent {"connection_id":191266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:27:20] local.INFO: TCP Data received {"connection_id":191267,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:20] local.INFO: Processing buffer {"connection_id":191267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c285c208012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:27:20] local.INFO: Packet analysis {"connection_id":191267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:27:20] local.INFO: Extracted packet for processing {"connection_id":191267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c285"} 
[2026-09-21 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:27:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232227840001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:27:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789969941000,"timestamp_ms":1789969941000,"timestamp_seconds":1789969941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c285c208"} 
[2026-09-21 11:27:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:27:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:27:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:27:20] 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-09-21 11:27:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:27:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:27:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:27:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:27:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:27:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191267,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:27:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:27:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:27:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:27:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232227840001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:27:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:27:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:27:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232227840001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:27:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:27:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:27:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:27:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:27:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232227840001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:27:20] local.INFO: DEBUG: GPS processor result {"connection_id":191267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:27:20] local.INFO: GPS data processed {"connection_id":191267,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:27:20] local.INFO: Acknowledgment sent {"connection_id":191267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:27:41] local.INFO: TCP Data received {"connection_id":189951,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:41] local.INFO: Processing buffer {"connection_id":189951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:41] local.INFO: IMEI packet received {"connection_id":189951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:27:41] local.INFO: IMEI acknowledgment sent {"connection_id":189951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:27:47] local.INFO: TCP Data received {"connection_id":189951,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:47] local.INFO: Processing buffer {"connection_id":189951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:27:47] local.INFO: IMEI packet received {"connection_id":189951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:27:47] local.INFO: IMEI acknowledgment sent {"connection_id":189951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:27:49] local.INFO: TCP Data received {"connection_id":189951,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c286ac68012d1a8b40071faf00003700a12c..."} 
[2026-09-21 11:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c286ac68012d1a8b40071faf00003700a12c..."} 
[2026-09-21 11:27:49] local.INFO: Processing buffer {"connection_id":189951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c286ac68012d1a8b40071faf00003700a12c..."} 
[2026-09-21 11:27:49] local.INFO: Packet analysis {"connection_id":189951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:27:49] local.INFO: Extracted packet for processing {"connection_id":189951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c286"} 
[2026-09-21 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756714304,"raw_latitude":119516928,"longitude_deg":75.6714304,"latitude_deg":11.9516928,"altitude":55,"angle":161,"satellites":44,"speed":12,"hex_longitude":"2d1a8b40","hex_latitude":"071faf00","is_valid_coordinates":true} 
[2026-09-21 11:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232316928001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326507019960320,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907344841533911040,"note":"Value kept but may cause issues"} 
[2026-09-21 11:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789970001000,"timestamp_ms":1789970001000,"timestamp_seconds":1789970001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c286ac68"} 
[2026-09-21 11:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-09-21 11:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232316928001,"66":13276,"121":206,"28":31744,"24":12,"16":22326507019960320,"45":1907344841533911040},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232316928001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:27:49] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:27:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326507019960320,"km_value":22326507019960.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907344841533911040,"description":"Unknown IO ID 45"} 
[2026-09-21 11:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232316928001,"power":13276,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1907344841533911040}} 
[2026-09-21 11:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":189951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:27:49] local.INFO: GPS data processed {"connection_id":189951,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:27:49] local.INFO: Acknowledgment sent {"connection_id":189951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:28:00] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:00] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:00] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:28:03] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:03] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:03] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:28:09] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:09] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:28:09] local.INFO: IMEI packet received {"connection_id":188501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:28:10] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:10] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:10] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:10] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:28:10] 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-09-21 11: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-09-21 11:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:28:10] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:28:10] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:28:20] local.INFO: TCP Data received {"connection_id":189951,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c289e4a0012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c289e4a0012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:20] local.INFO: Processing buffer {"connection_id":189951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c289e4a0012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:20] local.INFO: Packet analysis {"connection_id":189951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c289"} 
[2026-09-21 11:28:20] local.INFO: Extracted packet for processing {"connection_id":189951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c289"} 
[2026-09-21 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516584,"longitude_deg":75.671456,"latitude_deg":11.9516584,"altitude":56,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fada8","is_valid_coordinates":true} 
[2026-09-21 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232368896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326532789764096,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066041344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789970212000,"timestamp_ms":1789970212000,"timestamp_seconds":1789970212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c289e4a0"} 
[2026-09-21 11:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-21 11:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":189951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":189951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":189951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232368896001,"66":12885,"121":206,"28":31744,"24":0,"16":22326532789764096,"45":1912974341066041344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232368896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:28:20] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:28:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326532789764096,"km_value":22326532789764.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066041344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232368896001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341066041344}} 
[2026-09-21 11:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":189951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:28:20] local.INFO: GPS data processed {"connection_id":189951,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:28:20] local.INFO: Acknowledgment sent {"connection_id":189951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:28:42] local.INFO: TCP Data received {"connection_id":188501,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188501,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:42] local.INFO: Processing buffer {"connection_id":188501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:28:42] local.INFO: Packet analysis {"connection_id":188501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:42] local.INFO: Extracted packet for processing {"connection_id":188501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:28:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":188501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:28:42] local.INFO: GPS data processed {"connection_id":188501,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:28:42] local.INFO: Acknowledgment sent {"connection_id":188501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:28:47] local.INFO: TCP Data received {"connection_id":189952,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:47] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:47] local.INFO: IMEI packet received {"connection_id":189952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:28:47] local.INFO: IMEI acknowledgment sent {"connection_id":189952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:28:50] local.INFO: TCP Data received {"connection_id":189952,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:50] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:28:50] local.INFO: IMEI packet received {"connection_id":189952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":189952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:28:50] local.INFO: TCP Data received {"connection_id":191268,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191268,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:28:50] local.INFO: Processing buffer {"connection_id":191268,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:28:50] local.INFO: IMEI packet received {"connection_id":191268,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":191268,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:28:52] local.INFO: TCP Data received {"connection_id":189952,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a36a8012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a36a8012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:52] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a36a8012d1a8c40071fada80038009c2b..."} 
[2026-09-21 11:28:52] local.INFO: Packet analysis {"connection_id":189952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:52] local.INFO: Extracted packet for processing {"connection_id":189952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516584,"longitude_deg":75.671456,"latitude_deg":11.9516584,"altitude":56,"angle":156,"satellites":43,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fada8","is_valid_coordinates":true} 
[2026-09-21 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:28:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232374272001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326532789764096,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066041344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:28:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789970233000,"timestamp_ms":1789970233000,"timestamp_seconds":1789970233,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a36a8"} 
[2026-09-21 11:28:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:28:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:28:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 11:28:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:28:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:28:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:28:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:28:52] local.INFO: Teltonika packet parsed successfully {"connection_id":189952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:28:52] local.INFO: Passing IMEI to GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:28:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:28:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:28:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232374272001,"66":12885,"121":206,"28":31744,"24":0,"16":22326532789764096,"45":1912974341066041344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:28:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:28:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:28:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232374272001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:28:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:28:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:28:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326532789764096,"km_value":22326532789764.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:28:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066041344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:28:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232374272001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341066041344}} 
[2026-09-21 11:28:53] local.INFO: DEBUG: GPS processor result {"connection_id":189952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:28:53] local.INFO: GPS data processed {"connection_id":189952,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:28:53] local.INFO: Acknowledgment sent {"connection_id":189952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:28:54] local.INFO: TCP Data received {"connection_id":189952,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a88b0012d1a8c40071fada80038009c2c..."} 
[2026-09-21 11:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a88b0012d1a8c40071fada80038009c2c..."} 
[2026-09-21 11:28:54] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a88b0012d1a8c40071fada80038009c2c..."} 
[2026-09-21 11:28:54] local.INFO: Packet analysis {"connection_id":189952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:54] local.INFO: Extracted packet for processing {"connection_id":189952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516584,"longitude_deg":75.671456,"latitude_deg":11.9516584,"altitude":56,"angle":156,"satellites":44,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fada8","is_valid_coordinates":true} 
[2026-09-21 11:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232379648001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326532789764096,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066041344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789970254000,"timestamp_ms":1789970254000,"timestamp_seconds":1789970254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a88b0"} 
[2026-09-21 11:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":85,"data_length":795,"current_offset":136} 
[2026-09-21 11:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232379648001,"66":13972,"121":206,"28":31744,"24":0,"16":22326532789764096,"45":1912974341066041344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232379648001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:28:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:28:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326532789764096,"km_value":22326532789764.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066041344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232379648001,"power":13972,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341066041344}} 
[2026-09-21 11:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":189952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:28:54] local.INFO: GPS data processed {"connection_id":189952,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:28:54] local.INFO: Acknowledgment sent {"connection_id":189952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:03] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:03] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:03] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:29:08] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:08] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:29:08] local.INFO: IMEI packet received {"connection_id":188502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":188502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:29:09] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:09] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:09] local.INFO: Packet analysis {"connection_id":188502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:09] local.INFO: Extracted packet for processing {"connection_id":188502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:29:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:29: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-09-21 11:29:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":188502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:09] local.INFO: GPS data processed {"connection_id":188502,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:09] local.INFO: Acknowledgment sent {"connection_id":188502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:16] local.INFO: TCP Data received {"connection_id":189953,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189953,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:29:16] local.INFO: Processing buffer {"connection_id":189953,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:29:16] local.INFO: IMEI packet received {"connection_id":189953,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":189953,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:29:25] local.INFO: TCP Data received {"connection_id":189952,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ad6d0012d1a8c40071fada80038009c2a..."} 
[2026-09-21 11:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ad6d0012d1a8c40071fada80038009c2a..."} 
[2026-09-21 11:29:25] local.INFO: Processing buffer {"connection_id":189952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ad6d0012d1a8c40071fada80038009c2a..."} 
[2026-09-21 11:29:25] local.INFO: Packet analysis {"connection_id":189952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:25] local.INFO: Extracted packet for processing {"connection_id":189952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":756714560,"raw_latitude":119516584,"longitude_deg":75.671456,"latitude_deg":11.9516584,"altitude":56,"angle":156,"satellites":42,"speed":0,"hex_longitude":"2d1a8c40","hex_latitude":"071fada8","is_valid_coordinates":true} 
[2026-09-21 11:29:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:29:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232385024001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326532789764096,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066041344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:29:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789970274000,"timestamp_ms":1789970274000,"timestamp_seconds":1789970274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ad6d0"} 
[2026-09-21 11:29:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 11:29:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:29:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:29:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:25] local.INFO: Teltonika packet parsed successfully {"connection_id":189952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:25] local.INFO: Passing IMEI to GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":189952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:29:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:29:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232385024001,"66":14265,"121":206,"28":31744,"24":0,"16":22326532789764096,"45":1912974341066041344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:29:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:29:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:29:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232385024001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:29:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:29:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326532789764096,"km_value":22326532789764.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066041344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232385024001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1912974341066041344}} 
[2026-09-21 11:29:25] local.INFO: DEBUG: GPS processor result {"connection_id":189952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:25] local.INFO: GPS data processed {"connection_id":189952,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:25] local.INFO: Acknowledgment sent {"connection_id":189952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:41] local.INFO: TCP Data received {"connection_id":188502,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:41] local.INFO: Processing buffer {"connection_id":188502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:29:41] local.INFO: Packet analysis {"connection_id":188502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:41] local.INFO: Extracted packet for processing {"connection_id":188502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:29: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-09-21 11: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-09-21 11:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":188502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:41] local.INFO: GPS data processed {"connection_id":188502,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:41] local.INFO: Acknowledgment sent {"connection_id":188502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:42] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:29:42] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:29:42] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:29:42] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:29:43] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:29:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:29:43] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:29:43] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:29:43] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:29:44] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:29:44] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:29:44] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:29:44] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:29:45] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28b1938012d1a8d80071fadb0003c008029..."} 
[2026-09-21 11:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28b1938012d1a8d80071fadb0003c008029..."} 
[2026-09-21 11:29:45] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0c2..."} 
[2026-09-21 11:29:45] local.INFO: IMEI packet received {"connection_id":191269,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":191269,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:29:47] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28b4c00012d1aa680071f9898003a006d28..."} 
[2026-09-21 11:29:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28b4c00012d1aa680071f9898003a006d28..."} 
[2026-09-21 11:29:47] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0c28b1938012d1a8d80071fadb0003c008029..."} 
[2026-09-21 11:29:47] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:47] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756714880,"raw_latitude":119516592,"longitude_deg":75.671488,"latitude_deg":11.9516592,"altitude":60,"angle":128,"satellites":41,"speed":3,"hex_longitude":"2d1a8d80","hex_latitude":"071fadb0","is_valid_coordinates":true} 
[2026-09-21 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232390144001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326545674665984,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066041344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789970291000,"timestamp_ms":1789970291000,"timestamp_seconds":1789970291,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28b1938"} 
[2026-09-21 11:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 11:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232390144001,"66":14265,"121":206,"28":31744,"24":3,"16":22326545674665984,"45":1912974341066041344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232390144001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326545674665984,"km_value":22326545674665.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066041344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232390144001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1912974341066041344}} 
[2026-09-21 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875990,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:47] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:47] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:47] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:47] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":756721280,"raw_latitude":119511192,"longitude_deg":75.672128,"latitude_deg":11.9511192,"altitude":58,"angle":109,"satellites":40,"speed":32,"hex_longitude":"2d1aa680","hex_latitude":"071f9898","is_valid_coordinates":true} 
[2026-09-21 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232394496001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22326949401591808,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1913326184786931712,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:29:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789970304000,"timestamp_ms":1789970304000,"timestamp_seconds":1789970304,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28b4c00"} 
[2026-09-21 11:29:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:29:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 11:29:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:29:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:29:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232394496001,"66":14113,"121":206,"28":31744,"24":32,"16":22326949401591808,"45":1913326184786931712},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:29:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232394496001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:29:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22326949401591808,"km_value":22326949401591.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1913326184786931712,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232394496001,"power":14113,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1913326184786931712}} 
[2026-09-21 11:29:47] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:47] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:47] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:29:48] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28b53d0012d1aac80071f97a0003a005f2a..."} 
[2026-09-21 11:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28b53d0012d1aac80071f97a0003a005f2a..."} 
[2026-09-21 11:29:48] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28b53d0012d1aac80071f97a0003a005f2a..."} 
[2026-09-21 11:29:48] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:48] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28b"} 
[2026-09-21 11:29:48] local.INFO: GPS Element Parsed {"raw_longitude":756722816,"raw_latitude":119510944,"longitude_deg":75.6722816,"latitude_deg":11.9510944,"altitude":58,"angle":95,"satellites":42,"speed":28,"hex_longitude":"2d1aac80","hex_latitude":"071f97a0","is_valid_coordinates":true} 
[2026-09-21 11:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:29:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232397824001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22327022416035840,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920363059203315712,"note":"Value kept but may cause issues"} 
[2026-09-21 11:29:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:29:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789970306000,"timestamp_ms":1789970306000,"timestamp_seconds":1789970306,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28b53d0"} 
[2026-09-21 11:29:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:29:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:29:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 11:29:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:29:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:29:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:29:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:29:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:29:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:29:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:29:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:29:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:29:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232397824001,"66":14330,"121":206,"28":31744,"24":28,"16":22327022416035840,"45":1920363059203315712},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:29:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:29:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:29:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232397824001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:29:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:29:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:29:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22327022416035840,"km_value":22327022416035.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:29:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920363059203315712,"description":"Unknown IO ID 45"} 
[2026-09-21 11:29:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232397824001,"power":14330,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1920363059203315712}} 
[2026-09-21 11:29:48] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:29:48] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:29:48] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:30:03] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:03] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:03] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:30:08] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:08] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:30:08] local.INFO: IMEI packet received {"connection_id":191270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":191270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:30:09] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:09] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:09] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:30:09] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:30: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-09-21 11:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:30:09] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:30:09] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:30:19] local.INFO: TCP Data received {"connection_id":191269,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28c6928012d1a9f80071ff5c8003f01492d..."} 
[2026-09-21 11:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191269,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28c6928012d1a9f80071ff5c8003f01492d..."} 
[2026-09-21 11:30:19] local.INFO: Processing buffer {"connection_id":191269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28c6928012d1a9f80071ff5c8003f01492d..."} 
[2026-09-21 11:30:19] local.INFO: Packet analysis {"connection_id":191269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:30:19] local.INFO: Extracted packet for processing {"connection_id":191269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756719488,"raw_latitude":119535048,"longitude_deg":75.6719488,"latitude_deg":11.9535048,"altitude":63,"angle":329,"satellites":45,"speed":13,"hex_longitude":"2d1a9f80","hex_latitude":"071ff5c8","is_valid_coordinates":true} 
[2026-09-21 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232416256001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22328671683477504,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918674209349083136,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970377000,"timestamp_ms":1789970377000,"timestamp_seconds":1789970377,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28c6928"} 
[2026-09-21 11:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 11:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191269,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232416256001,"66":14363,"121":206,"28":31744,"24":13,"16":22328671683477504,"45":1918674209349083136},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232416256001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:30:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:30:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22328671683477504,"km_value":22328671683477.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918674209349083136,"description":"Unknown IO ID 45"} 
[2026-09-21 11:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232416256001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1918674209349083136}} 
[2026-09-21 11:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":191269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:30:19] local.INFO: GPS data processed {"connection_id":191269,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:30:19] local.INFO: Acknowledgment sent {"connection_id":191269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:30:41] local.INFO: TCP Data received {"connection_id":191270,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191270,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:41] local.INFO: Processing buffer {"connection_id":191270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:30:41] local.INFO: Packet analysis {"connection_id":191270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:30:41] local.INFO: Extracted packet for processing {"connection_id":191270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30: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-09-21 11:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:30: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-09-21 11:30: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-09-21 11:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":191270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:30:41] local.INFO: GPS data processed {"connection_id":191270,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:30:41] local.INFO: Acknowledgment sent {"connection_id":191270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:30:42] local.INFO: TCP Data received {"connection_id":191271,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:30:42] local.INFO: TCP Data received {"connection_id":191271,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:42] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:30:42] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:30:47] local.INFO: TCP Data received {"connection_id":191271,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:47] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:30:47] local.INFO: IMEI packet received {"connection_id":191271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:30:47] local.INFO: IMEI acknowledgment sent {"connection_id":191271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:30:48] local.INFO: TCP Data received {"connection_id":191271,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28c6d10012d1a9f40071ff6e0003e01592d..."} 
[2026-09-21 11:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28c6d10012d1a9f40071ff6e0003e01592d..."} 
[2026-09-21 11:30:48] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28c6d10012d1a9f40071ff6e0003e01592d..."} 
[2026-09-21 11:30:48] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:30:48] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:30:48] local.INFO: GPS Element Parsed {"raw_longitude":756719424,"raw_latitude":119535328,"longitude_deg":75.6719424,"latitude_deg":11.9535328,"altitude":62,"angle":345,"satellites":45,"speed":11,"hex_longitude":"2d1a9f40","hex_latitude":"071ff6e0","is_valid_coordinates":true} 
[2026-09-21 11:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232416512001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22328684568379392,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918392734372448256,"note":"Value kept but may cause issues"} 
[2026-09-21 11:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789970378000,"timestamp_ms":1789970378000,"timestamp_seconds":1789970378,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28c6d10"} 
[2026-09-21 11:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 11:30:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232416512001,"66":14363,"121":206,"28":31744,"24":11,"16":22328684568379392,"45":1918392734372448256},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232416512001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:30:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22328684568379392,"km_value":22328684568379.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918392734372448256,"description":"Unknown IO ID 45"} 
[2026-09-21 11:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232416512001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1918392734372448256}} 
[2026-09-21 11:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875996,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:30:48] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:30:48] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:31:08] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:08] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:08] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:31:13] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:13] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:31:13] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:31:14] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:14] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:14] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:31:14] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:31:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:31:14] 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-09-21 11:31:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:31:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:31:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:31:14] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:31:14] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:31:19] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:19] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:31:19] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:31:19] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:31:19] 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-09-21 11:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:31:19] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:31:19] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:31:24] local.INFO: TCP Data received {"connection_id":191271,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28cf1e0012d1aa800072017e8003600242b..."} 
[2026-09-21 11:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28cf1e0012d1aa800072017e8003600242b..."} 
[2026-09-21 11:31:24] local.INFO: Processing buffer {"connection_id":191271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28cf1e0012d1aa800072017e8003600242b..."} 
[2026-09-21 11:31:24] local.INFO: Packet analysis {"connection_id":191271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:31:24] local.INFO: Extracted packet for processing {"connection_id":191271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28c"} 
[2026-09-21 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":756721664,"raw_latitude":119543784,"longitude_deg":75.6721664,"latitude_deg":11.9543784,"altitude":54,"angle":36,"satellites":43,"speed":7,"hex_longitude":"2d1aa800","hex_latitude":"072017e8","is_valid_coordinates":true} 
[2026-09-21 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232424960001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22329148424847360,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920503796699930624,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789970412000,"timestamp_ms":1789970412000,"timestamp_seconds":1789970412,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28cf1e0"} 
[2026-09-21 11:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:31:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-21 11:31:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232424960001,"66":13243,"121":206,"28":31744,"24":7,"16":22329148424847360,"45":1920503796699930624},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232424960001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:31:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:31:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22329148424847360,"km_value":22329148424847.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920503796699930624,"description":"Unknown IO ID 45"} 
[2026-09-21 11:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232424960001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1920503796699930624}} 
[2026-09-21 11:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":191271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":875999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:31:24] local.INFO: GPS data processed {"connection_id":191271,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:31:24] local.INFO: Acknowledgment sent {"connection_id":191271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:31:41] local.INFO: TCP Data received {"connection_id":188504,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:41] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:41] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:31:41] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:31:47] local.INFO: TCP Data received {"connection_id":188504,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:47] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:31:47] local.INFO: IMEI packet received {"connection_id":188504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:31:47] local.INFO: IMEI acknowledgment sent {"connection_id":188504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:31:48] local.INFO: TCP Data received {"connection_id":188504,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28d0180012d1aa98007201890003600872b..."} 
[2026-09-21 11:31:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28d0180012d1aa98007201890003600872b..."} 
[2026-09-21 11:31:48] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28d0180012d1aa98007201890003600872b..."} 
[2026-09-21 11:31:48] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:31:48] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:31:48] local.INFO: GPS Element Parsed {"raw_longitude":756722048,"raw_latitude":119543952,"longitude_deg":75.6722048,"latitude_deg":11.9543952,"altitude":54,"angle":135,"satellites":43,"speed":5,"hex_longitude":"2d1aa980","hex_latitude":"07201890","is_valid_coordinates":true} 
[2026-09-21 11:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:31:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232425472001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22329174194651136,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920785271676725248,"note":"Value kept but may cause issues"} 
[2026-09-21 11:31:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:31:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789970416000,"timestamp_ms":1789970416000,"timestamp_seconds":1789970416,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28d0180"} 
[2026-09-21 11:31:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:31:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:31:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-21 11:31:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:31:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:31:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:31:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:31:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:31:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:31:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:31:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:31:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:31:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:31:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232425472001,"66":13156,"121":206,"28":31744,"24":5,"16":22329174194651136,"45":1920785271676725248},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:31:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:31:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:31:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232425472001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:31:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:31:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:31:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22329174194651136,"km_value":22329174194651.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:31:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920785271676725248,"description":"Unknown IO ID 45"} 
[2026-09-21 11:31:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232425472001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1920785271676725248}} 
[2026-09-21 11:31:48] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:31:48] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:31:48] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:32:03] local.INFO: TCP Data received {"connection_id":191272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:03] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:03] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:32:08] local.INFO: TCP Data received {"connection_id":191272,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:08] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:32:08] local.INFO: IMEI packet received {"connection_id":191272,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191272,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:32:09] local.INFO: TCP Data received {"connection_id":191272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:09] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:09] local.INFO: Packet analysis {"connection_id":191272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:32:09] local.INFO: Extracted packet for processing {"connection_id":191272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:32: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-09-21 11: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-09-21 11:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":191272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:32:09] local.INFO: GPS data processed {"connection_id":191272,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:32:09] local.INFO: Acknowledgment sent {"connection_id":191272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:32:19] local.INFO: TCP Data received {"connection_id":188504,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28d5388012d1aa9c0072017a0003600872d..."} 
[2026-09-21 11:32:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188504,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28d5388012d1aa9c0072017a0003600872d..."} 
[2026-09-21 11:32:19] local.INFO: Processing buffer {"connection_id":188504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28d5388012d1aa9c0072017a0003600872d..."} 
[2026-09-21 11:32:19] local.INFO: Packet analysis {"connection_id":188504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:32:19] local.INFO: Extracted packet for processing {"connection_id":188504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":756722112,"raw_latitude":119543712,"longitude_deg":75.6722112,"latitude_deg":11.9543712,"altitude":54,"angle":135,"satellites":45,"speed":0,"hex_longitude":"2d1aa9c0","hex_latitude":"072017a0","is_valid_coordinates":true} 
[2026-09-21 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:32:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232426496001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22329204259422208,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921207484141834240,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:32:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970437000,"timestamp_ms":1789970437000,"timestamp_seconds":1789970437,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28d5388"} 
[2026-09-21 11:32:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:32:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:32:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 11:32:19] 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-09-21 11:32:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:32:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:32:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:32:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:32:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:32:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:32:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:32:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:32:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:32:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232426496001,"66":13156,"121":206,"28":31744,"24":0,"16":22329204259422208,"45":1921207484141834240},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:32:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:32:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:32:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232426496001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:32:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:32:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:32:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22329204259422208,"km_value":22329204259422.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:32:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921207484141834240,"description":"Unknown IO ID 45"} 
[2026-09-21 11:32:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232426496001,"power":13156,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1921207484141834240}} 
[2026-09-21 11:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":188504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876002,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:32:19] local.INFO: GPS data processed {"connection_id":188504,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:32:19] local.INFO: Acknowledgment sent {"connection_id":188504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:32:41] local.INFO: TCP Data received {"connection_id":191272,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191272,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:41] local.INFO: Processing buffer {"connection_id":191272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28a59d0012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:32:41] local.INFO: Packet analysis {"connection_id":191272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:32:41] local.INFO: Extracted packet for processing {"connection_id":191272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28a"} 
[2026-09-21 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:32:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232304896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32: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-09-21 11:32:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970242000,"timestamp_ms":1789970242000,"timestamp_seconds":1789970242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28a59d0"} 
[2026-09-21 11:32:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:32:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:32:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:32: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-09-21 11:32:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:32:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:32:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:32:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:32:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:32:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191272,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:32:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:32:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:32:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:32:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232304896001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:32:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:32:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:32:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232304896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:32:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:32:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:32:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:32:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:32:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232304896001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":191272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:32:41] local.INFO: GPS data processed {"connection_id":191272,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:32:41] local.INFO: Acknowledgment sent {"connection_id":191272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:32:50] local.INFO: TCP Data received {"connection_id":188645,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:50] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:50] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:32:51] local.INFO: TCP Data received {"connection_id":188645,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:32:51] local.INFO: TCP Data received {"connection_id":188645,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:51] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:32:56] local.INFO: TCP Data received {"connection_id":188645,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:56] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:32:56] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:32:57] local.INFO: TCP Data received {"connection_id":188645,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28da590012d1aa9c0072017a00036008729..."} 
[2026-09-21 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28da590012d1aa9c0072017a00036008729..."} 
[2026-09-21 11:32:57] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28da590012d1aa9c0072017a00036008729..."} 
[2026-09-21 11:32:57] local.INFO: Packet analysis {"connection_id":188645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:32:57] local.INFO: Extracted packet for processing {"connection_id":188645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28d"} 
[2026-09-21 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":756722112,"raw_latitude":119543712,"longitude_deg":75.6722112,"latitude_deg":11.9543712,"altitude":54,"angle":135,"satellites":41,"speed":0,"hex_longitude":"2d1aa9c0","hex_latitude":"072017a0","is_valid_coordinates":true} 
[2026-09-21 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232431872001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22329204259422208,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1921277852885950464,"note":"Value kept but may cause issues"} 
[2026-09-21 11:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789970458000,"timestamp_ms":1789970458000,"timestamp_seconds":1789970458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28da590"} 
[2026-09-21 11:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 11:32:57] 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-09-21 11:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232431872001,"66":12406,"121":206,"28":31744,"24":0,"16":22329204259422208,"45":1921277852885950464},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232431872001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:32:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:32:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22329204259422208,"km_value":22329204259422.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1921277852885950464,"description":"Unknown IO ID 45"} 
[2026-09-21 11:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232431872001,"power":12406,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1921277852885950464}} 
[2026-09-21 11:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":188645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:32:57] local.INFO: GPS data processed {"connection_id":188645,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:32:57] local.INFO: Acknowledgment sent {"connection_id":188645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:33:01] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:01] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:01] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:33:03] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:03] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:03] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:33:08] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:08] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:33:08] local.INFO: IMEI packet received {"connection_id":188505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:33:10] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:10] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:10] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:33:10] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 11:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 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-09-21 11:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:33: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-09-21 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-09-21 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-09-21 11:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:33:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:33:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:33:10] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:33:10] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:33:41] local.INFO: TCP Data received {"connection_id":191273,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:41] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:41] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:33:41] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:33:42] local.INFO: TCP Data received {"connection_id":188505,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:42] local.INFO: Processing buffer {"connection_id":188505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:33:42] local.INFO: Packet analysis {"connection_id":188505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:33:42] local.INFO: Extracted packet for processing {"connection_id":188505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:33: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-09-21 11: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-09-21 11:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":188505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:33:42] local.INFO: GPS data processed {"connection_id":188505,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:33:42] local.INFO: Acknowledgment sent {"connection_id":188505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:33:42] local.INFO: TCP Data received {"connection_id":191273,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:42] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:42] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:33:42] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:33:44] local.INFO: TCP Data received {"connection_id":191273,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:44] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:44] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:33:44] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:33:44] local.INFO: TCP Data received {"connection_id":191273,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:45] local.INFO: Processing buffer {"connection_id":191273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:33:45] local.INFO: IMEI packet received {"connection_id":191273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:33:45] local.INFO: IMEI acknowledgment sent {"connection_id":191273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:34:03] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:03] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:03] local.INFO: IMEI packet received {"connection_id":189956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":189956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:34:08] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:08] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:34:08] local.INFO: IMEI packet received {"connection_id":189956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":189956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:34:09] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:09] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:09] local.INFO: Packet analysis {"connection_id":189956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:34:09] local.INFO: Extracted packet for processing {"connection_id":189956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":189956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:34:09] local.INFO: GPS data processed {"connection_id":189956,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:34:09] local.INFO: Acknowledgment sent {"connection_id":189956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:34:41] local.INFO: TCP Data received {"connection_id":189956,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:41] local.INFO: Processing buffer {"connection_id":189956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:34:41] local.INFO: Packet analysis {"connection_id":189956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:34:41] local.INFO: Extracted packet for processing {"connection_id":189956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:34: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-09-21 11:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:34:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":189956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:34:41] local.INFO: GPS data processed {"connection_id":189956,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:34:41] local.INFO: Acknowledgment sent {"connection_id":189956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:34:45] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:34:45] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:34:45] local.INFO: IMEI packet received {"connection_id":188647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":188647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:35:04] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:04] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:04] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:35:08] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:08] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:35:08] local.INFO: IMEI packet received {"connection_id":191274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":191274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:35:09] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:09] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:09] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:35:09] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:35:09] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:35:09] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:35:15] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:35:15] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:35:15] local.INFO: IMEI packet received {"connection_id":188649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":188649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:35:41] local.INFO: TCP Data received {"connection_id":191274,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191274,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:41] local.INFO: Processing buffer {"connection_id":191274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:35:41] local.INFO: Packet analysis {"connection_id":191274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:35:41] local.INFO: Extracted packet for processing {"connection_id":191274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:35: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-09-21 11:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":191274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:35:41] local.INFO: GPS data processed {"connection_id":191274,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:35:41] local.INFO: Acknowledgment sent {"connection_id":191274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:36:08] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:08] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:08] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:36:13] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:13] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:36:13] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:36:14] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:14] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:14] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:36:14] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:36:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:36:14] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:36:14] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:36:19] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:19] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:36:19] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:36:19] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:36:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:36:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:36:19] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:36:19] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:37:03] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:03] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:03] local.INFO: IMEI packet received {"connection_id":191276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":191276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:37:08] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:08] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:37:08] local.INFO: IMEI packet received {"connection_id":191276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":191276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:37:09] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:09] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:09] local.INFO: Packet analysis {"connection_id":191276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:37:09] local.INFO: Extracted packet for processing {"connection_id":191276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":191276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:37:09] local.INFO: GPS data processed {"connection_id":191276,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:37:09] local.INFO: Acknowledgment sent {"connection_id":191276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:37:41] local.INFO: TCP Data received {"connection_id":191276,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:41] local.INFO: Processing buffer {"connection_id":191276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c28ef198012d34c04006aa41300009000c2d..."} 
[2026-09-21 11:37:41] local.INFO: Packet analysis {"connection_id":191276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:37:41] local.INFO: Extracted packet for processing {"connection_id":191276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c28e"} 
[2026-09-21 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232381952001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:37: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-09-21 11:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970543000,"timestamp_ms":1789970543000,"timestamp_seconds":1789970543,"priority":1,"record_length":96,"hex_timestamp":"000001a0c28ef198"} 
[2026-09-21 11:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 11:37:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232381952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232381952001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232381952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":191276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:37:41] local.INFO: GPS data processed {"connection_id":191276,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:37:41] local.INFO: Acknowledgment sent {"connection_id":191276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:38:02] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:02] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:02] local.INFO: IMEI packet received {"connection_id":191277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":191277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:38:03] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:03] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:03] local.INFO: IMEI packet received {"connection_id":191277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":191277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:38:08] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:08] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:38:08] local.INFO: IMEI packet received {"connection_id":191277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":191277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:38:09] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:09] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:09] local.INFO: Packet analysis {"connection_id":191277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:09] local.INFO: Extracted packet for processing {"connection_id":191277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 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-09-21 11:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:38: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-09-21 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-09-21 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-09-21 11:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:38:10] local.INFO: GPS data processed {"connection_id":191277,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:38:10] local.INFO: Acknowledgment sent {"connection_id":191277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:38:42] local.INFO: TCP Data received {"connection_id":191277,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:42] local.INFO: Processing buffer {"connection_id":191277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:38:42] local.INFO: Packet analysis {"connection_id":191277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:42] local.INFO: Extracted packet for processing {"connection_id":191277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:38:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:38:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:38:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 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-09-21 11:38:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:38: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-09-21 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-09-21 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-09-21 11:38:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:38:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:38:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:38:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:38:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:38:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:38:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:38:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:38:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:38:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:38:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:38:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:38:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:38:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:38:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:38:42] local.INFO: DEBUG: GPS processor result {"connection_id":191277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:38:42] local.INFO: GPS data processed {"connection_id":191277,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:38:42] local.INFO: Acknowledgment sent {"connection_id":191277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:38:46] local.INFO: TCP Data received {"connection_id":188652,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:38:46] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:38:46] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:38:48] local.INFO: TCP Data received {"connection_id":188652,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938d48012d18ab8007217258004801352b..."} 
[2026-09-21 11:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938d48012d18ab8007217258004801352b..."} 
[2026-09-21 11:38:48] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938d48012d18ab8007217258004801352b..."} 
[2026-09-21 11:38:48] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:48] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119632472,"longitude_deg":75.6591488,"latitude_deg":11.9632472,"altitude":72,"angle":309,"satellites":43,"speed":28,"hex_longitude":"2d18ab80","hex_latitude":"07217258","is_valid_coordinates":true} 
[2026-09-21 11:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232534016001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22339619555115008,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782440320644614144,"note":"Value kept but may cause issues"} 
[2026-09-21 11:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789970845000,"timestamp_ms":1789970845000,"timestamp_seconds":1789970845,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938d48"} 
[2026-09-21 11:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:38:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-09-21 11:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1166,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232534016001,"66":14080,"121":206,"28":31744,"24":28,"16":22339619555115008,"45":1782440320644614144},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232534016001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:38:48] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:38:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22339619555115008,"km_value":22339619555115.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782440320644614144,"description":"Unknown IO ID 45"} 
[2026-09-21 11:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232534016001,"power":14080,"unknown_121":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1782440320644614144}} 
[2026-09-21 11:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:38:48] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:38:48] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:39:03] local.INFO: TCP Data received {"connection_id":189957,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:03] local.INFO: Processing buffer {"connection_id":189957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:03] local.INFO: IMEI packet received {"connection_id":189957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":189957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:39:08] local.INFO: TCP Data received {"connection_id":189957,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:08] local.INFO: Processing buffer {"connection_id":189957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:39:08] local.INFO: IMEI packet received {"connection_id":189957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":189957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:39:10] local.INFO: TCP Data received {"connection_id":189957,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:10] local.INFO: Processing buffer {"connection_id":189957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:10] local.INFO: Packet analysis {"connection_id":189957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:10] local.INFO: Extracted packet for processing {"connection_id":189957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:39:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:39:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:39:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:39:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:39:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:39:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:39: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-09-21 11:39:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:39:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:39:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:39:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:39:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:39:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:39:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:39:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:39:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:39:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:39:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:39:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:39:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:39:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:39:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:39:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:39:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:39:10] local.INFO: DEBUG: GPS processor result {"connection_id":189957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:39:10] local.INFO: GPS data processed {"connection_id":189957,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:39:10] local.INFO: Acknowledgment sent {"connection_id":189957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:39:19] local.INFO: TCP Data received {"connection_id":188652,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2939518012d18a6c0072175380048012529..."} 
[2026-09-21 11:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2939518012d18a6c0072175380048012529..."} 
[2026-09-21 11:39:19] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2939518012d18a6c0072175380048012529..."} 
[2026-09-21 11:39:19] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:19] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:19] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119633208,"longitude_deg":75.6590272,"latitude_deg":11.9633208,"altitude":72,"angle":293,"satellites":41,"speed":27,"hex_longitude":"2d18a6c0","hex_latitude":"07217538","is_valid_coordinates":true} 
[2026-09-21 11:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536320001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22339688274591744,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246042060800,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970847000,"timestamp_ms":1789970847000,"timestamp_seconds":1789970847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2939518"} 
[2026-09-21 11:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3454499072,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3264426864,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2471413761,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":70,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":196,"raw_value":2147950910,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288387047,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:19] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,121,28,24,241,158,16,93,160,106,45,128,91,68,42,10,66,94,192,82,67,41,90,1,240,180,194,33,4,113,205,35,70,196,239,55,2,79,7,65,36],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-09-21 11:39:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188486704509222912,"timestamp_seconds":5188486704509223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 11:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536320001,"66":14048,"121":206,"28":31744,"24":27,"16":22339688274591744,"45":1777655246042060800},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-09-21 11:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536320001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:39:19] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-09-21 11:39:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22339688274591744,"km_value":22339688274591.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246042060800,"description":"Unknown IO ID 45"} 
[2026-09-21 11:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536320001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1777655246042060800}} 
[2026-09-21 11:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:39:19] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:39:19] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:39:41] local.INFO: TCP Data received {"connection_id":189957,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:41] local.INFO: Processing buffer {"connection_id":189957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:39:41] local.INFO: Packet analysis {"connection_id":189957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:41] local.INFO: Extracted packet for processing {"connection_id":189957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:39:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:39: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-09-21 11:39: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-09-21 11:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":189957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:39:41] local.INFO: GPS data processed {"connection_id":189957,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:39:41] local.INFO: Acknowledgment sent {"connection_id":189957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:39:41] local.INFO: TCP Data received {"connection_id":189958,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:41] local.INFO: Processing buffer {"connection_id":189958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:41] local.INFO: IMEI packet received {"connection_id":189958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:39:41] local.INFO: IMEI acknowledgment sent {"connection_id":189958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:39:43] local.INFO: TCP Data received {"connection_id":189958,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:43] local.INFO: Processing buffer {"connection_id":189958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:43] local.INFO: IMEI packet received {"connection_id":189958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:39:43] local.INFO: IMEI acknowledgment sent {"connection_id":189958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:39:45] local.INFO: TCP Data received {"connection_id":189958,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: Processing buffer {"connection_id":189958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: IMEI packet received {"connection_id":189958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":189958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:39:45] local.INFO: TCP Data received {"connection_id":189958,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: Processing buffer {"connection_id":189958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:39:45] local.INFO: IMEI packet received {"connection_id":189958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":189958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:40:03] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:03] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:03] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:40:08] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:08] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:40:08] local.INFO: IMEI packet received {"connection_id":188510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:40:09] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:09] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:09] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:40:09] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 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-09-21 11:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:40: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-09-21 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-09-21 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-09-21 11:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:40:09] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:40:09] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:40:40] local.INFO: TCP Data received {"connection_id":189959,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189959,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:40:40] local.INFO: Processing buffer {"connection_id":189959,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:40:40] local.INFO: IMEI packet received {"connection_id":189959,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:40:40] local.INFO: IMEI acknowledgment sent {"connection_id":189959,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:40:41] local.INFO: TCP Data received {"connection_id":188510,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188510,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:41] local.INFO: Processing buffer {"connection_id":188510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:40:41] local.INFO: Packet analysis {"connection_id":188510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:40:41] local.INFO: Extracted packet for processing {"connection_id":188510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:40:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:40: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-09-21 11: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-09-21 11:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:40:41] local.INFO: GPS data processed {"connection_id":188510,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:40:41] local.INFO: Acknowledgment sent {"connection_id":188510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:41:08] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:08] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:08] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:41:13] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:13] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:41:13] local.INFO: IMEI packet received {"connection_id":188511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":188511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:41:14] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:14] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:14] local.INFO: Packet analysis {"connection_id":188511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:41:14] local.INFO: Extracted packet for processing {"connection_id":188511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":188511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:41:14] local.INFO: GPS data processed {"connection_id":188511,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:41:14] local.INFO: Acknowledgment sent {"connection_id":188511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:41:15] local.INFO: TCP Data received {"connection_id":191280,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:41:15] local.INFO: Processing buffer {"connection_id":191280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:41:15] local.INFO: IMEI packet received {"connection_id":191280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":191280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:41:19] local.INFO: TCP Data received {"connection_id":188511,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:19] local.INFO: Processing buffer {"connection_id":188511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:41:19] local.INFO: Packet analysis {"connection_id":188511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:41:19] local.INFO: Extracted packet for processing {"connection_id":188511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:41:19] local.INFO: GPS data processed {"connection_id":188511,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:41:19] local.INFO: Acknowledgment sent {"connection_id":188511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:42:03] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:03] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:03] local.INFO: IMEI packet received {"connection_id":191281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":191281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:42:08] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:08] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:42:08] local.INFO: IMEI packet received {"connection_id":191281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":191281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:42:10] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:10] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:10] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:42:10] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:42:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:42: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-09-21 11:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:42:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:42:10] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:42:10] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:42:41] local.INFO: TCP Data received {"connection_id":191281,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:41] local.INFO: Processing buffer {"connection_id":191281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2938960012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:42:41] local.INFO: Packet analysis {"connection_id":191281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:42:41] local.INFO: Extracted packet for processing {"connection_id":191281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c293"} 
[2026-09-21 11:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232459008001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:42:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789970844000,"timestamp_ms":1789970844000,"timestamp_seconds":1789970844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2938960"} 
[2026-09-21 11:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 11:42: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-09-21 11:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232459008001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232459008001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232459008001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":191281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:42:41] local.INFO: GPS data processed {"connection_id":191281,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:42:41] local.INFO: Acknowledgment sent {"connection_id":191281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:43:03] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:03] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:03] local.INFO: IMEI packet received {"connection_id":189960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":189960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:43:04] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:04] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:04] local.INFO: IMEI packet received {"connection_id":189960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":189960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:43:08] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:08] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:43:08] local.INFO: IMEI packet received {"connection_id":189960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":189960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:43:10] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:10] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:10] local.INFO: Packet analysis {"connection_id":189960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:43:10] local.INFO: Extracted packet for processing {"connection_id":189960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:43:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:43:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:43:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:43:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:43:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:43:10] 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-09-21 11: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-09-21 11:43:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:43:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:43:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:43:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:43:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:43:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:43:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:43:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:43:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:43:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:43:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:43:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:43:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:43:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:43:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:43:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":189960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:43:10] local.INFO: GPS data processed {"connection_id":189960,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:43:10] local.INFO: Acknowledgment sent {"connection_id":189960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:43:41] local.INFO: TCP Data received {"connection_id":189960,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:41] local.INFO: Processing buffer {"connection_id":189960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:43:41] local.INFO: Packet analysis {"connection_id":189960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:43:41] local.INFO: Extracted packet for processing {"connection_id":189960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:43:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:43: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-09-21 11: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-09-21 11:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":189960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:43:41] local.INFO: GPS data processed {"connection_id":189960,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:43:41] local.INFO: Acknowledgment sent {"connection_id":189960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:44:03] local.INFO: TCP Data received {"connection_id":188512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:03] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:03] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:44:08] local.INFO: TCP Data received {"connection_id":188512,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:08] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:44:08] local.INFO: IMEI packet received {"connection_id":188512,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188512,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:44:10] local.INFO: TCP Data received {"connection_id":188512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:10] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:10] local.INFO: Packet analysis {"connection_id":188512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:44:10] local.INFO: Extracted packet for processing {"connection_id":188512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:44:10] 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-09-21 11: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-09-21 11:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":188512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:44:10] local.INFO: GPS data processed {"connection_id":188512,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:44:10] local.INFO: Acknowledgment sent {"connection_id":188512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:44:41] local.INFO: TCP Data received {"connection_id":188512,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188512,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:41] local.INFO: Processing buffer {"connection_id":188512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:44:41] local.INFO: Packet analysis {"connection_id":188512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:44:41] local.INFO: Extracted packet for processing {"connection_id":188512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:44: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-09-21 11:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188512,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:44:41] local.INFO: GPS data processed {"connection_id":188512,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:44:41] local.INFO: Acknowledgment sent {"connection_id":188512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:44:46] local.INFO: TCP Data received {"connection_id":191284,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:44:46] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:44:46] local.INFO: IMEI packet received {"connection_id":191284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:44:46] local.INFO: IMEI acknowledgment sent {"connection_id":191284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:44:47] local.INFO: TCP Data received {"connection_id":191284,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2990f70012d15e7c0071fdcd8002100382b..."} 
[2026-09-21 11:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2990f70012d15e7c0071fdcd8002100382b..."} 
[2026-09-21 11:44:47] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2990f70012d15e7c0071fdcd8002100382b..."} 
[2026-09-21 11:44:47] local.INFO: Packet analysis {"connection_id":191284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c299"} 
[2026-09-21 11:44:47] local.INFO: Extracted packet for processing {"connection_id":191284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c299"} 
[2026-09-21 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528664,"longitude_deg":75.6410304,"latitude_deg":11.9528664,"altitude":33,"angle":56,"satellites":43,"speed":6,"hex_longitude":"2d15e7c0","hex_latitude":"071fdcd8","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:44:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232628480001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351778607529984,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578230225015961600,"note":"Value kept but may cause issues"} 
[2026-09-21 11:44:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:44:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789971206000,"timestamp_ms":1789971206000,"timestamp_seconds":1789971206,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2990f70"} 
[2026-09-21 11:44:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:44:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 11:44:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:44:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:44:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:44:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:44:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:44:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:44:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:44:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:44:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:44:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232628480001,"66":14233,"132":206,"28":31744,"24":6,"16":22351778607529984,"45":1578230225015961600},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:44:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:44:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:44:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232628480001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:44:47] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:44:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:44:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351778607529984,"km_value":22351778607529.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:44:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578230225015961600,"description":"Unknown IO ID 45"} 
[2026-09-21 11:44:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232628480001,"power":14233,"unknown_132":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1578230225015961600}} 
[2026-09-21 11:44:48] local.INFO: DEBUG: GPS processor result {"connection_id":191284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:44:48] local.INFO: GPS data processed {"connection_id":191284,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:44:48] local.INFO: Acknowledgment sent {"connection_id":191284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:45:03] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:03] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:03] local.INFO: IMEI packet received {"connection_id":189962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":189962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:45:08] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:08] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:45:08] local.INFO: IMEI packet received {"connection_id":189962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":189962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:45:09] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:09] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:09] local.INFO: Packet analysis {"connection_id":189962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:45:09] local.INFO: Extracted packet for processing {"connection_id":189962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 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-09-21 11:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:45: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-09-21 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-09-21 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-09-21 11:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":189962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:45:09] local.INFO: GPS data processed {"connection_id":189962,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:45:09] local.INFO: Acknowledgment sent {"connection_id":189962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:45:20] local.INFO: TCP Data received {"connection_id":191284,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2991358012d15e800071fdd10002100492c..."} 
[2026-09-21 11:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2991358012d15e800071fdd10002100492c..."} 
[2026-09-21 11:45:20] local.INFO: Processing buffer {"connection_id":191284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2991358012d15e800071fdd10002100492c..."} 
[2026-09-21 11:45:20] local.INFO: Packet analysis {"connection_id":191284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c299"} 
[2026-09-21 11:45:20] local.INFO: Extracted packet for processing {"connection_id":191284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c299"} 
[2026-09-21 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":756410368,"raw_latitude":119528720,"longitude_deg":75.6410368,"latitude_deg":11.952872,"altitude":33,"angle":73,"satellites":44,"speed":6,"hex_longitude":"2d15e800","hex_latitude":"071fdd10","is_valid_coordinates":true} 
[2026-09-21 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:45:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232628736001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351782902497280,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578441331248519168,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:45:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789971207000,"timestamp_ms":1789971207000,"timestamp_seconds":1789971207,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2991358"} 
[2026-09-21 11:45:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:45:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:45:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-09-21 11:45:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:45:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:45:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:45:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:45:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:45:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:45:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:45:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:45:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232628736001,"66":14233,"132":206,"28":31744,"24":6,"16":22351782902497280,"45":1578441331248519168},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:45:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:45:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:45:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232628736001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:45:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:45:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:45:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351782902497280,"km_value":22351782902497.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:45:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578441331248519168,"description":"Unknown IO ID 45"} 
[2026-09-21 11:45:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232628736001,"power":14233,"unknown_132":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1578441331248519168}} 
[2026-09-21 11:45:20] local.INFO: DEBUG: GPS processor result {"connection_id":191284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:45:20] local.INFO: GPS data processed {"connection_id":191284,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:45:20] local.INFO: Acknowledgment sent {"connection_id":191284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:45:41] local.INFO: TCP Data received {"connection_id":189962,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:41] local.INFO: Processing buffer {"connection_id":189962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:45:41] local.INFO: Packet analysis {"connection_id":189962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:45:41] local.INFO: Extracted packet for processing {"connection_id":189962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:45: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-09-21 11: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-09-21 11:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":189962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:45:41] local.INFO: GPS data processed {"connection_id":189962,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:45:41] local.INFO: Acknowledgment sent {"connection_id":189962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:45:47] local.INFO: TCP Data received {"connection_id":188657,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:47] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:47] local.INFO: IMEI packet received {"connection_id":188657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:45:47] local.INFO: IMEI acknowledgment sent {"connection_id":188657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:45:52] local.INFO: TCP Data received {"connection_id":188657,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:52] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:45:52] local.INFO: IMEI packet received {"connection_id":188657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":188657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:45:53] local.INFO: TCP Data received {"connection_id":188657,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29a4fc0012d15ea00071fdb10002300f42c..."} 
[2026-09-21 11:45:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29a4fc0012d15ea00071fdb10002300f42c..."} 
[2026-09-21 11:45:53] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29a4fc0012d15ea00071fdb10002300f42c..."} 
[2026-09-21 11:45:53] local.INFO: Packet analysis {"connection_id":188657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:45:53] local.INFO: Extracted packet for processing {"connection_id":188657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":756410880,"raw_latitude":119528208,"longitude_deg":75.641088,"latitude_deg":11.9528208,"altitude":35,"angle":244,"satellites":44,"speed":6,"hex_longitude":"2d15ea00","hex_latitude":"071fdb10","is_valid_coordinates":true} 
[2026-09-21 11:45:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:45:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232648960001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351920341450752,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1579707968643627008,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:45:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789971288000,"timestamp_ms":1789971288000,"timestamp_seconds":1789971288,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29a4fc0"} 
[2026-09-21 11:45:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:45:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 11:45:53] 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-09-21 11:45:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:45:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:45:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:45:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:45:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:45:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:45:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:45:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232648960001,"66":13135,"132":206,"28":31744,"24":6,"16":22351920341450752,"45":1579707968643627008},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:45:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:45:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:45:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232648960001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:45:53] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:45:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:45:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351920341450752,"km_value":22351920341450.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:45:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1579707968643627008,"description":"Unknown IO ID 45"} 
[2026-09-21 11:45:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232648960001,"power":13135,"unknown_132":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1579707968643627008}} 
[2026-09-21 11:45:53] local.INFO: DEBUG: GPS processor result {"connection_id":188657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:45:53] local.INFO: GPS data processed {"connection_id":188657,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:45:53] local.INFO: Acknowledgment sent {"connection_id":188657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:45:54] local.INFO: TCP Data received {"connection_id":188657,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29a5b78012d15e880071fda88002301022c..."} 
[2026-09-21 11:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29a5b78012d15e880071fda88002301022c..."} 
[2026-09-21 11:45:54] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29a5b78012d15e880071fda88002301022c..."} 
[2026-09-21 11:45:54] local.INFO: Packet analysis {"connection_id":188657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:45:54] local.INFO: Extracted packet for processing {"connection_id":188657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:45:54] local.INFO: GPS Element Parsed {"raw_longitude":756410496,"raw_latitude":119528072,"longitude_deg":75.6410496,"latitude_deg":11.9528072,"altitude":35,"angle":258,"satellites":44,"speed":5,"hex_longitude":"2d15e880","hex_latitude":"071fda88","is_valid_coordinates":true} 
[2026-09-21 11:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:45:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232649728001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351937521319936,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1579074649946001408,"note":"Value kept but may cause issues"} 
[2026-09-21 11:45:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:45:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789971291000,"timestamp_ms":1789971291000,"timestamp_seconds":1789971291,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29a5b78"} 
[2026-09-21 11:45:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:45:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:45:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 11:45:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:45:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:45:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:45:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:45:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:45:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:45:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:45:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:45:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:45:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232649728001,"66":13102,"132":206,"28":31744,"24":5,"16":22351937521319936,"45":1579074649946001408},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:45:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:45:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:45:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232649728001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:45:54] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:45:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:45:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351937521319936,"km_value":22351937521319.938,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:45:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1579074649946001408,"description":"Unknown IO ID 45"} 
[2026-09-21 11:45:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232649728001,"power":13102,"unknown_132":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1579074649946001408}} 
[2026-09-21 11:45:54] local.INFO: DEBUG: GPS processor result {"connection_id":188657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:45:54] local.INFO: GPS data processed {"connection_id":188657,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:45:54] local.INFO: Acknowledgment sent {"connection_id":188657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:46:08] local.INFO: TCP Data received {"connection_id":189963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:08] local.INFO: Processing buffer {"connection_id":189963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:08] local.INFO: IMEI packet received {"connection_id":189963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":189963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:46:13] local.INFO: TCP Data received {"connection_id":189963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:13] local.INFO: Processing buffer {"connection_id":189963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:46:13] local.INFO: IMEI packet received {"connection_id":189963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":189963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:46:14] local.INFO: TCP Data received {"connection_id":189963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:14] local.INFO: Processing buffer {"connection_id":189963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:14] local.INFO: Packet analysis {"connection_id":189963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:46:14] local.INFO: Extracted packet for processing {"connection_id":189963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:46:14] 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-09-21 11: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-09-21 11:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":189963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:46:14] local.INFO: GPS data processed {"connection_id":189963,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:46:14] local.INFO: Acknowledgment sent {"connection_id":189963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:46:19] local.INFO: TCP Data received {"connection_id":189963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:19] local.INFO: Processing buffer {"connection_id":189963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:46:19] local.INFO: Packet analysis {"connection_id":189963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:46:19] local.INFO: Extracted packet for processing {"connection_id":189963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:19] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:46:19] 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-09-21 11:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:46:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":189963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:46:19] local.INFO: GPS data processed {"connection_id":189963,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:46:19] local.INFO: Acknowledgment sent {"connection_id":189963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:46:26] local.INFO: TCP Data received {"connection_id":188657,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29a5f60012d15e800071fda800023010f2c..."} 
[2026-09-21 11:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29a5f60012d15e800071fda800023010f2c..."} 
[2026-09-21 11:46:26] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29a5f60012d15e800071fda800023010f2c..."} 
[2026-09-21 11:46:26] local.INFO: Packet analysis {"connection_id":188657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:46:26] local.INFO: Extracted packet for processing {"connection_id":188657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756410368,"raw_latitude":119528064,"longitude_deg":75.6410368,"latitude_deg":11.9528064,"altitude":35,"angle":271,"satellites":44,"speed":4,"hex_longitude":"2d15e800","hex_latitude":"071fda80","is_valid_coordinates":true} 
[2026-09-21 11:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232650496001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351946111254528,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578652437480900608,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789971292000,"timestamp_ms":1789971292000,"timestamp_seconds":1789971292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29a5f60"} 
[2026-09-21 11:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":46,"data_length":795,"current_offset":136} 
[2026-09-21 11:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232650496001,"66":13135,"132":206,"28":31744,"24":4,"16":22351946111254528,"45":1578652437480900608},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232650496001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:46:26] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351946111254528,"km_value":22351946111254.527,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578652437480900608,"description":"Unknown IO ID 45"} 
[2026-09-21 11:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232650496001,"power":13135,"unknown_132":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1578652437480900608}} 
[2026-09-21 11:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":188657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:46:26] local.INFO: GPS data processed {"connection_id":188657,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:46:26] local.INFO: Acknowledgment sent {"connection_id":188657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:46:42] local.INFO: TCP Data received {"connection_id":188514,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:42] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:42] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:46:42] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:46:45] local.INFO: TCP Data received {"connection_id":188513,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188513,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:46:45] local.INFO: Processing buffer {"connection_id":188513,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:46:45] local.INFO: IMEI packet received {"connection_id":188513,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:46:45] local.INFO: IMEI acknowledgment sent {"connection_id":188513,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:46:47] local.INFO: TCP Data received {"connection_id":188514,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:47] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:46:47] local.INFO: IMEI packet received {"connection_id":188514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:46:47] local.INFO: IMEI acknowledgment sent {"connection_id":188514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:46:48] local.INFO: TCP Data received {"connection_id":188514,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29ab550012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29ab550012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:46:48] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29ab550012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:46:48] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:46:48] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29a"} 
[2026-09-21 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528072,"longitude_deg":75.6410304,"latitude_deg":11.9528072,"altitude":35,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d15e7c0","hex_latitude":"071fda88","is_valid_coordinates":true} 
[2026-09-21 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232650752001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351950406221824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578511699992543232,"note":"Value kept but may cause issues"} 
[2026-09-21 11:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789971314000,"timestamp_ms":1789971314000,"timestamp_seconds":1789971314,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29ab550"} 
[2026-09-21 11:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 11:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:46:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232650752001,"66":13135,"132":206,"28":31744,"24":0,"16":22351950406221824,"45":1578511699992543232},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232650752001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:46:48] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:46:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351950406221824,"km_value":22351950406221.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578511699992543232,"description":"Unknown IO ID 45"} 
[2026-09-21 11:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232650752001,"power":13135,"unknown_132":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1578511699992543232}} 
[2026-09-21 11:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:46:48] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:46:48] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:47:03] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:03] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:03] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:47:08] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:08] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:47:08] local.INFO: IMEI packet received {"connection_id":191285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":191285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:47:10] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:10] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:10] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:47:10] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:47:10] 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-09-21 11: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-09-21 11:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:47:10] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:47:10] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:47:15] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:47:15] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:47:15] local.INFO: IMEI packet received {"connection_id":188658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":188658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:47:20] local.INFO: TCP Data received {"connection_id":188514,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29b0758012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29b0758012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:20] local.INFO: Processing buffer {"connection_id":188514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29b0758012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:20] local.INFO: Packet analysis {"connection_id":188514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:47:20] local.INFO: Extracted packet for processing {"connection_id":188514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528072,"longitude_deg":75.6410304,"latitude_deg":11.9528072,"altitude":35,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d15e7c0","hex_latitude":"071fda88","is_valid_coordinates":true} 
[2026-09-21 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:47:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232656384001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351950406221824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578441331248367616,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789971335000,"timestamp_ms":1789971335000,"timestamp_seconds":1789971335,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29b0758"} 
[2026-09-21 11:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:47:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 11:47:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:47:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232656384001,"66":12428,"132":206,"28":31744,"24":0,"16":22351950406221824,"45":1578441331248367616},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232656384001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:47:20] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:47:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351950406221824,"km_value":22351950406221.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:47:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578441331248367616,"description":"Unknown IO ID 45"} 
[2026-09-21 11:47:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232656384001,"power":12428,"unknown_132":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1578441331248367616}} 
[2026-09-21 11:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":188514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:47:20] local.INFO: GPS data processed {"connection_id":188514,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:47:20] local.INFO: Acknowledgment sent {"connection_id":188514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:47:41] local.INFO: TCP Data received {"connection_id":191285,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:41] local.INFO: Processing buffer {"connection_id":191285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2982128012d34c04006aa41300008000c2d..."} 
[2026-09-21 11:47:41] local.INFO: Packet analysis {"connection_id":191285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:47:41] local.INFO: Extracted packet for processing {"connection_id":191285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c298"} 
[2026-09-21 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232536064001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971145000,"timestamp_ms":1789971145000,"timestamp_seconds":1789971145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2982128"} 
[2026-09-21 11:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:47: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-09-21 11:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232536064001,"66":25451,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232536064001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232536064001,"power":25451,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":191285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:47:41] local.INFO: GPS data processed {"connection_id":191285,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:47:41] local.INFO: Acknowledgment sent {"connection_id":191285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:47:42] local.INFO: TCP Data received {"connection_id":188515,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:42] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:42] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:47:42] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:47:47] local.INFO: TCP Data received {"connection_id":188515,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:47] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:47:47] local.INFO: IMEI packet received {"connection_id":188515,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:47:47] local.INFO: IMEI acknowledgment sent {"connection_id":188515,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:47:48] local.INFO: TCP Data received {"connection_id":188515,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29b5578012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29b5578012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:48] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29b5578012d15e7c0071fda880023010c2b..."} 
[2026-09-21 11:47:48] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:47:48] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528072,"longitude_deg":75.6410304,"latitude_deg":11.9528072,"altitude":35,"angle":268,"satellites":43,"speed":0,"hex_longitude":"2d15e7c0","hex_latitude":"071fda88","is_valid_coordinates":true} 
[2026-09-21 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-09-21 11:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232661760001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351950406221824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578441331248367616,"note":"Value kept but may cause issues"} 
[2026-09-21 11:47:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789971355000,"timestamp_ms":1789971355000,"timestamp_seconds":1789971355,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29b5578"} 
[2026-09-21 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-09-21 11:47:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 11:47:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 11:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232661760001,"66":13048,"132":206,"28":31744,"24":0,"16":22351950406221824,"45":1578441331248367616},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232661760001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:47:48] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:47:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351950406221824,"km_value":22351950406221.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578441331248367616,"description":"Unknown IO ID 45"} 
[2026-09-21 11:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232661760001,"power":13048,"unknown_132":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1578441331248367616}} 
[2026-09-21 11:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:47:48] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:47:48] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:48:03] local.INFO: TCP Data received {"connection_id":189964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:03] local.INFO: Processing buffer {"connection_id":189964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:03] local.INFO: IMEI packet received {"connection_id":189964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":189964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:48:04] local.INFO: TCP Data received {"connection_id":189964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:04] local.INFO: Processing buffer {"connection_id":189964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:04] local.INFO: IMEI packet received {"connection_id":189964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":189964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:48:08] local.INFO: TCP Data received {"connection_id":189964,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:08] local.INFO: Processing buffer {"connection_id":189964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:48:08] local.INFO: IMEI packet received {"connection_id":189964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":189964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:48:10] local.INFO: TCP Data received {"connection_id":189964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:10] local.INFO: Processing buffer {"connection_id":189964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:10] local.INFO: Packet analysis {"connection_id":189964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:48:10] local.INFO: Extracted packet for processing {"connection_id":189964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:48:10] 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-09-21 11: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-09-21 11:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":189964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:48:10] local.INFO: GPS data processed {"connection_id":189964,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:48:10] local.INFO: Acknowledgment sent {"connection_id":189964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:48:19] local.INFO: TCP Data received {"connection_id":188515,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29ba780012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29ba780012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:48:19] local.INFO: Processing buffer {"connection_id":188515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29ba780012d15e7c0071fda880023010c2d..."} 
[2026-09-21 11:48:19] local.INFO: Packet analysis {"connection_id":188515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:48:19] local.INFO: Extracted packet for processing {"connection_id":188515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29b"} 
[2026-09-21 11:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528072,"longitude_deg":75.6410304,"latitude_deg":11.9528072,"altitude":35,"angle":268,"satellites":45,"speed":0,"hex_longitude":"2d15e7c0","hex_latitude":"071fda88","is_valid_coordinates":true} 
[2026-09-21 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232666880001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22351950406221824,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578441331248367616,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,132,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789971376000,"timestamp_ms":1789971376000,"timestamp_seconds":1789971376,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29ba780"} 
[2026-09-21 11:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 11:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188515,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232666880001,"66":13004,"132":206,"28":31744,"24":0,"16":22351950406221824,"45":1578441331248367616},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,132,28,24,16,45]} 
[2026-09-21 11:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232666880001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:48:19] local.INFO: Unknown IO ID detected {"io_id":132,"value":206,"description":"Unknown IO ID 132"} 
[2026-09-21 11:48:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22351950406221824,"km_value":22351950406221.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578441331248367616,"description":"Unknown IO ID 45"} 
[2026-09-21 11:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232666880001,"power":13004,"unknown_132":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1578441331248367616}} 
[2026-09-21 11:48:20] local.INFO: DEBUG: GPS processor result {"connection_id":188515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:48:20] local.INFO: GPS data processed {"connection_id":188515,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:48:20] local.INFO: Acknowledgment sent {"connection_id":188515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:48:40] local.INFO: TCP Data received {"connection_id":191286,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:40] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:40] local.INFO: IMEI packet received {"connection_id":191286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:48:40] local.INFO: IMEI acknowledgment sent {"connection_id":191286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:48:41] local.INFO: TCP Data received {"connection_id":191286,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:41] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:48:41] local.INFO: IMEI packet received {"connection_id":191286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:48:41] local.INFO: IMEI acknowledgment sent {"connection_id":191286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:48:42] local.INFO: TCP Data received {"connection_id":191286,"ip":"117.224.82.161","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:48:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191286,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:48:42] local.INFO: Processing buffer {"connection_id":191286,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 11:48:42] local.INFO: IMEI packet received {"connection_id":191286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:48:42] local.INFO: IMEI acknowledgment sent {"connection_id":191286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:48:43] local.INFO: TCP Data received {"connection_id":189964,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:43] local.INFO: Processing buffer {"connection_id":189964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:48:43] local.INFO: Packet analysis {"connection_id":189964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:48:43] local.INFO: Extracted packet for processing {"connection_id":189964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:43] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:48:43] 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-09-21 11:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:48:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":189964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:48:43] local.INFO: GPS data processed {"connection_id":189964,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:48:43] local.INFO: Acknowledgment sent {"connection_id":189964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:49:03] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:03] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:03] local.INFO: IMEI packet received {"connection_id":188660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":188660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:49:08] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:08] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:49:08] local.INFO: IMEI packet received {"connection_id":188660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:49:10] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:10] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:10] local.INFO: Packet analysis {"connection_id":188660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:49:10] local.INFO: Extracted packet for processing {"connection_id":188660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:49:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:49:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:49:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:49:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:49:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:49:10] 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-09-21 11: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-09-21 11:49:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:49:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:49:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:49:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:49:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:49:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:49:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:49:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:49:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:49:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:49:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:49:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:49:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:49:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:49:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:49:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:49:10] local.INFO: DEBUG: GPS processor result {"connection_id":188660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:49:10] local.INFO: GPS data processed {"connection_id":188660,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:49:10] local.INFO: Acknowledgment sent {"connection_id":188660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:49:41] local.INFO: TCP Data received {"connection_id":188660,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188660,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:41] local.INFO: Processing buffer {"connection_id":188660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:49:41] local.INFO: Packet analysis {"connection_id":188660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:49:41] local.INFO: Extracted packet for processing {"connection_id":188660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:49: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-09-21 11:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:49:41] local.INFO: GPS data processed {"connection_id":188660,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:49:41] local.INFO: Acknowledgment sent {"connection_id":188660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:50:08] local.INFO: TCP Data received {"connection_id":189966,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:08] local.INFO: Processing buffer {"connection_id":189966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:08] local.INFO: IMEI packet received {"connection_id":189966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":189966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:50:13] local.INFO: TCP Data received {"connection_id":189966,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:13] local.INFO: Processing buffer {"connection_id":189966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:50:13] local.INFO: IMEI packet received {"connection_id":189966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":189966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:50:15] local.INFO: TCP Data received {"connection_id":189966,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:15] local.INFO: Processing buffer {"connection_id":189966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:15] local.INFO: Packet analysis {"connection_id":189966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:50:15] local.INFO: Extracted packet for processing {"connection_id":189966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:15] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:50:15] 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-09-21 11:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":189966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":189966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":189966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:50:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:50:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":189966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:50:15] local.INFO: GPS data processed {"connection_id":189966,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:50:15] local.INFO: Acknowledgment sent {"connection_id":189966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:50:21] local.INFO: TCP Data received {"connection_id":189966,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189966,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:21] local.INFO: Processing buffer {"connection_id":189966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:50:21] local.INFO: Packet analysis {"connection_id":189966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:50:21] local.INFO: Extracted packet for processing {"connection_id":189966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:50:21] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:21] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:50:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:50:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":189966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":189966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":189966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:50:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":189966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:50:22] local.INFO: GPS data processed {"connection_id":189966,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:50:22] local.INFO: Acknowledgment sent {"connection_id":189966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:51:03] local.INFO: TCP Data received {"connection_id":189967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:03] local.INFO: Processing buffer {"connection_id":189967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:03] local.INFO: IMEI packet received {"connection_id":189967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":189967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:51:08] local.INFO: TCP Data received {"connection_id":189967,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:08] local.INFO: Processing buffer {"connection_id":189967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:51:08] local.INFO: IMEI packet received {"connection_id":189967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":189967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:51:09] local.INFO: TCP Data received {"connection_id":189967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:09] local.INFO: Processing buffer {"connection_id":189967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:09] local.INFO: Packet analysis {"connection_id":189967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:51:09] local.INFO: Extracted packet for processing {"connection_id":189967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:51: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-09-21 11:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":189967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:51:09] local.INFO: GPS data processed {"connection_id":189967,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:51:09] local.INFO: Acknowledgment sent {"connection_id":189967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:51:41] local.INFO: TCP Data received {"connection_id":189967,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:41] local.INFO: Processing buffer {"connection_id":189967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:51:41] local.INFO: Packet analysis {"connection_id":189967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:51:41] local.INFO: Extracted packet for processing {"connection_id":189967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:51:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:51: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-09-21 11:51: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-09-21 11:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":189967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:51:41] local.INFO: GPS data processed {"connection_id":189967,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:51:41] local.INFO: Acknowledgment sent {"connection_id":189967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:52:03] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:03] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:03] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:52:08] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:08] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:52:08] local.INFO: IMEI packet received {"connection_id":188516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:52:10] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:10] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:10] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:52:10] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:52:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:52:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:52:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:52:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:52:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:52:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:52:10] 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-09-21 11: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-09-21 11:52:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:52:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:52:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:52:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:52:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:52:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:52:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:52:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:52:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:52:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:52:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:52:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:52:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:52:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:52:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:52:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:52:10] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876054,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:52:10] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:52:10] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:52:40] local.INFO: TCP Data received {"connection_id":189968,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189968,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:52:40] local.INFO: Processing buffer {"connection_id":189968,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:52:40] local.INFO: IMEI packet received {"connection_id":189968,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:52:40] local.INFO: IMEI acknowledgment sent {"connection_id":189968,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:52:41] local.INFO: TCP Data received {"connection_id":188516,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:41] local.INFO: Processing buffer {"connection_id":188516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c29cb8f0012d34c04006aa4130000d000c2d..."} 
[2026-09-21 11:52:41] local.INFO: Packet analysis {"connection_id":188516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:52:41] local.INFO: Extracted packet for processing {"connection_id":188516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c29c"} 
[2026-09-21 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":13,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232613120001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 11:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 11:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971446000,"timestamp_ms":1789971446000,"timestamp_seconds":1789971446,"priority":1,"record_length":96,"hex_timestamp":"000001a0c29cb8f0"} 
[2026-09-21 11:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 11:52: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-09-21 11: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-09-21 11:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232613120001,"66":25462,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 11:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232613120001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232613120001,"power":25462,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:52:41] local.INFO: GPS data processed {"connection_id":188516,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:52:41] local.INFO: Acknowledgment sent {"connection_id":188516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:53:03] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:03] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:03] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:53:05] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:05] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:05] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:53:08] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:08] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:53:08] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:53:09] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:09] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:09] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:53:09] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11: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-09-21 11:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:53:09] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:53:09] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:53:15] local.INFO: TCP Data received {"connection_id":188517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:53:15] local.INFO: Processing buffer {"connection_id":188517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:53:15] local.INFO: IMEI packet received {"connection_id":188517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":188517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:53:41] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:41] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:53:41] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:53:41] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:53:41] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:53:41] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:53:47] local.INFO: TCP Data received {"connection_id":189969,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:53:47] local.INFO: Processing buffer {"connection_id":189969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:53:47] local.INFO: IMEI packet received {"connection_id":189969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:53:47] local.INFO: IMEI acknowledgment sent {"connection_id":189969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:53:48] local.INFO: TCP Data received {"connection_id":189969,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a03778012d18108007219788004800232e..."} 
[2026-09-21 11:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a03778012d18108007219788004800232e..."} 
[2026-09-21 11:53:48] local.INFO: Processing buffer {"connection_id":189969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a03778012d18108007219788004800232e..."} 
[2026-09-21 11:53:48] local.INFO: Packet analysis {"connection_id":189969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:53:48] local.INFO: Extracted packet for processing {"connection_id":189969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":756551808,"raw_latitude":119641992,"longitude_deg":75.6551808,"latitude_deg":11.9641992,"altitude":72,"angle":35,"satellites":46,"speed":33,"hex_longitude":"2d181080","hex_latitude":"07219788","is_valid_coordinates":true} 
[2026-09-21 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:53:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232748800001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22360909708001280,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624654346240,"note":"Value kept but may cause issues"} 
[2026-09-21 11:53:48] 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-09-21 11:53:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789971675000,"timestamp_ms":1789971675000,"timestamp_seconds":1789971675,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a03778"} 
[2026-09-21 11:53:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:53:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:53:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-21 11:53:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:53:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:53:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:53:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:53:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:53:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:53:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:53:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:53:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:53:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:53:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232748800001,"66":13374,"120":206,"28":31744,"24":33,"16":22360909708001280,"45":1734026624654346240},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:53:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:53:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:53:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232748800001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:53:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:53:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:53:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22360909708001280,"km_value":22360909708001.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:53:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624654346240,"description":"Unknown IO ID 45"} 
[2026-09-21 11:53:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232748800001,"power":13374,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1734026624654346240}} 
[2026-09-21 11:53:48] local.INFO: DEBUG: GPS processor result {"connection_id":189969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:53:48] local.INFO: GPS data processed {"connection_id":189969,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:53:48] local.INFO: Acknowledgment sent {"connection_id":189969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:54:03] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:03] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:03] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:54:08] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:08] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:54:08] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:54:10] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:10] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:10] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:54:10] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:54: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-09-21 11: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-09-21 11:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:54:10] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:54:10] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:54:19] local.INFO: TCP Data received {"connection_id":189969,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a06a40012d1824400721b540004a00222b..."} 
[2026-09-21 11:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189969,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a06a40012d1824400721b540004a00222b..."} 
[2026-09-21 11:54:19] local.INFO: Processing buffer {"connection_id":189969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a06a40012d1824400721b540004a00222b..."} 
[2026-09-21 11:54:19] local.INFO: Packet analysis {"connection_id":189969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:54:19] local.INFO: Extracted packet for processing {"connection_id":189969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649600,"longitude_deg":75.6556864,"latitude_deg":11.96496,"altitude":74,"angle":34,"satellites":43,"speed":16,"hex_longitude":"2d182440","hex_latitude":"0721b540","is_valid_coordinates":true} 
[2026-09-21 11:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232748800001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22361347794665472,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624654346240,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789971688000,"timestamp_ms":1789971688000,"timestamp_seconds":1789971688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a06a40"} 
[2026-09-21 11:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-09-21 11:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232748800001,"66":14428,"120":206,"28":31744,"24":16,"16":22361347794665472,"45":1734026624654346240},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232748800001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:54:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:54:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22361347794665472,"km_value":22361347794665.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624654346240,"description":"Unknown IO ID 45"} 
[2026-09-21 11:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232748800001,"power":14428,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1734026624654346240}} 
[2026-09-21 11:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":189969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:54:20] local.INFO: GPS data processed {"connection_id":189969,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:54:20] local.INFO: Acknowledgment sent {"connection_id":189969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:54:41] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:41] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:54:41] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:54:41] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54: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-09-21 11:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:54:41] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:54:41] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:54:41] local.INFO: TCP Data received {"connection_id":188665,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:41] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:41] local.INFO: IMEI packet received {"connection_id":188665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":188665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:54:47] local.INFO: TCP Data received {"connection_id":188665,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:47] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:54:47] local.INFO: IMEI packet received {"connection_id":188665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:54:47] local.INFO: IMEI acknowledgment sent {"connection_id":188665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:54:48] local.INFO: TCP Data received {"connection_id":188665,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a075f8012d1826400721b860004a00162b..."} 
[2026-09-21 11:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a075f8012d1826400721b860004a00162b..."} 
[2026-09-21 11:54:48] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a075f8012d1826400721b860004a00162b..."} 
[2026-09-21 11:54:48] local.INFO: Packet analysis {"connection_id":188665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:54:48] local.INFO: Extracted packet for processing {"connection_id":188665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650400,"longitude_deg":75.6557376,"latitude_deg":11.96504,"altitude":74,"angle":22,"satellites":43,"speed":9,"hex_longitude":"2d182640","hex_latitude":"0721b860","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232752128001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22361395039305728,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446329344,"note":"Value kept but may cause issues"} 
[2026-09-21 11:54:48] 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-09-21 11:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789971691000,"timestamp_ms":1789971691000,"timestamp_seconds":1789971691,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a075f8"} 
[2026-09-21 11:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 11:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232752128001,"66":14483,"120":206,"28":31744,"24":9,"16":22361395039305728,"45":1739585755446329344},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232752128001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:54:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:54:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22361395039305728,"km_value":22361395039305.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446329344,"description":"Unknown IO ID 45"} 
[2026-09-21 11:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232752128001,"power":14483,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1739585755446329344}} 
[2026-09-21 11:54:48] local.INFO: DEBUG: GPS processor result {"connection_id":188665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:54:48] local.INFO: GPS data processed {"connection_id":188665,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:54:48] local.INFO: Acknowledgment sent {"connection_id":188665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:55:08] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:08] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:08] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:55:13] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:13] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:55:13] local.INFO: IMEI packet received {"connection_id":191291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":191291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:55:14] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:14] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:14] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:55:14] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:55:14] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:55:14] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:55:20] local.INFO: TCP Data received {"connection_id":188665,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a079e0012d1826400721b928004a00092c..."} 
[2026-09-21 11:55:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a079e0012d1826400721b928004a00092c..."} 
[2026-09-21 11:55:20] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a079e0012d1826400721b928004a00092c..."} 
[2026-09-21 11:55:20] local.INFO: Packet analysis {"connection_id":188665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:55:20] local.INFO: Extracted packet for processing {"connection_id":188665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650600,"longitude_deg":75.6557376,"latitude_deg":11.96506,"altitude":74,"angle":9,"satellites":44,"speed":7,"hex_longitude":"2d182640","hex_latitude":"0721b928","is_valid_coordinates":true} 
[2026-09-21 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:55:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232752896001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22361407924207616,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705399955456,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:20] 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-09-21 11:55:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789971692000,"timestamp_ms":1789971692000,"timestamp_seconds":1789971692,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a079e0"} 
[2026-09-21 11:55:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:55:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:55:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-09-21 11:55:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:55:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:55:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:55:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:55:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:55:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:55:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:55:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:55:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:55:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:55:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232752896001,"66":13993,"120":206,"28":31744,"24":7,"16":22361407924207616,"45":1740148705399955456},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:55:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:55:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:55:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232752896001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:55:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:55:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:55:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22361407924207616,"km_value":22361407924207.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:55:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705399955456,"description":"Unknown IO ID 45"} 
[2026-09-21 11:55:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232752896001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1740148705399955456}} 
[2026-09-21 11:55:20] local.INFO: DEBUG: GPS processor result {"connection_id":188665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:55:20] local.INFO: GPS data processed {"connection_id":188665,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:55:20] local.INFO: Acknowledgment sent {"connection_id":188665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:55:41] local.INFO: TCP Data received {"connection_id":188519,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:41] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:41] local.INFO: IMEI packet received {"connection_id":188519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 11:55:41] local.INFO: IMEI acknowledgment sent {"connection_id":188519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:55:42] local.INFO: TCP Data received {"connection_id":188519,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:42] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:42] local.INFO: IMEI packet received {"connection_id":188519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:55:42] local.INFO: IMEI acknowledgment sent {"connection_id":188519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:55:46] local.INFO: TCP Data received {"connection_id":191291,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:46] local.INFO: Processing buffer {"connection_id":191291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:55:46] local.INFO: Packet analysis {"connection_id":191291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:55:46] local.INFO: Extracted packet for processing {"connection_id":191291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:55:46] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:55:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:55:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:55: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-09-21 11:55:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":191291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":191291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:55:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:55:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":191291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:55:46] local.INFO: GPS data processed {"connection_id":191291,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:55:46] local.INFO: Acknowledgment sent {"connection_id":191291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:55:46] local.INFO: TCP Data received {"connection_id":188519,"ip":"117.224.82.161","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:46] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 11:55:46] local.INFO: IMEI packet received {"connection_id":188519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 11:55:46] local.INFO: IMEI acknowledgment sent {"connection_id":188519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:55:47] local.INFO: TCP Data received {"connection_id":188519,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a07dc8012d1826400721b9b8004a01412d..."} 
[2026-09-21 11:55:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a07dc8012d1826400721b9b8004a01412d..."} 
[2026-09-21 11:55:47] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a07dc8012d1826400721b9b8004a01412d..."} 
[2026-09-21 11:55:47] local.INFO: Packet analysis {"connection_id":188519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:55:47] local.INFO: Extracted packet for processing {"connection_id":188519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":756557376,"raw_latitude":119650744,"longitude_deg":75.6557376,"latitude_deg":11.9650744,"altitude":74,"angle":321,"satellites":45,"speed":6,"hex_longitude":"2d182640","hex_latitude":"0721b9b8","is_valid_coordinates":true} 
[2026-09-21 11:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:55:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232753152001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22361412219174912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400006656,"note":"Value kept but may cause issues"} 
[2026-09-21 11:55:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:55:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789971693000,"timestamp_ms":1789971693000,"timestamp_seconds":1789971693,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a07dc8"} 
[2026-09-21 11:55:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:55:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:55:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 11:55:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:55:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:55:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:55:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:55:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:55:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:55:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:55:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:55:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:55:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:55:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232753152001,"66":13993,"120":206,"28":31744,"24":6,"16":22361412219174912,"45":1740148705400006656},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:55:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:55:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:55:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232753152001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:55:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:55:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:55:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22361412219174912,"km_value":22361412219174.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:55:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400006656,"description":"Unknown IO ID 45"} 
[2026-09-21 11:55:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232753152001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1740148705400006656}} 
[2026-09-21 11:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":188519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:55:48] local.INFO: GPS data processed {"connection_id":188519,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:55:48] local.INFO: Acknowledgment sent {"connection_id":188519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:56:03] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:03] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:03] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:56:08] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:08] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:56:08] local.INFO: IMEI packet received {"connection_id":188520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:56:10] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:10] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:10] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:56:10] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:56: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-09-21 11:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:56:10] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:56:10] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:56:19] local.INFO: TCP Data received {"connection_id":188519,"ip":"117.224.82.161","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a0cfd0012d1825c00721b8c0004b01412e..."} 
[2026-09-21 11:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a0cfd0012d1825c00721b8c0004b01412e..."} 
[2026-09-21 11:56:19] local.INFO: Processing buffer {"connection_id":188519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a0cfd0012d1825c00721b8c0004b01412e..."} 
[2026-09-21 11:56:19] local.INFO: Packet analysis {"connection_id":188519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:56:19] local.INFO: Extracted packet for processing {"connection_id":188519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a0"} 
[2026-09-21 11:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756557248,"raw_latitude":119650496,"longitude_deg":75.6557248,"latitude_deg":11.9650496,"altitude":75,"angle":321,"satellites":46,"speed":0,"hex_longitude":"2d1825c0","hex_latitude":"0721b8c0","is_valid_coordinates":true} 
[2026-09-21 11:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232753408001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22361446578913280,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740148705400043520,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789971714000,"timestamp_ms":1789971714000,"timestamp_seconds":1789971714,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a0cfd0"} 
[2026-09-21 11:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 11:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 11:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 11:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.82.161","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 11:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 11:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232753408001,"66":13167,"120":206,"28":31744,"24":0,"16":22361446578913280,"45":1740148705400043520},"client_ip":"117.224.82.161","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 11:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 11:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 11:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232753408001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:56:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 11:56:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 11:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22361446578913280,"km_value":22361446578913.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740148705400043520,"description":"Unknown IO ID 45"} 
[2026-09-21 11:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232753408001,"power":13167,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740148705400043520}} 
[2026-09-21 11:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":188519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:56:19] local.INFO: GPS data processed {"connection_id":188519,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:56:19] local.INFO: Acknowledgment sent {"connection_id":188519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:56:41] local.INFO: TCP Data received {"connection_id":188520,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188520,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:41] local.INFO: Processing buffer {"connection_id":188520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:56:41] local.INFO: Packet analysis {"connection_id":188520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:56:41] local.INFO: Extracted packet for processing {"connection_id":188520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:56:41] local.INFO: GPS data processed {"connection_id":188520,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:56:41] local.INFO: Acknowledgment sent {"connection_id":188520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:57:03] local.INFO: TCP Data received {"connection_id":191292,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:03] local.INFO: Processing buffer {"connection_id":191292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:03] local.INFO: IMEI packet received {"connection_id":191292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":191292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:57:08] local.INFO: TCP Data received {"connection_id":191292,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:08] local.INFO: Processing buffer {"connection_id":191292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:57:08] local.INFO: IMEI packet received {"connection_id":191292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":191292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:57:10] local.INFO: TCP Data received {"connection_id":191292,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:10] local.INFO: Processing buffer {"connection_id":191292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:10] local.INFO: Packet analysis {"connection_id":191292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:57:10] local.INFO: Extracted packet for processing {"connection_id":191292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:57:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:57:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:57: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-09-21 11: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-09-21 11:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:57:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:57:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":191292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:57:10] local.INFO: GPS data processed {"connection_id":191292,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:57:10] local.INFO: Acknowledgment sent {"connection_id":191292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:57:41] local.INFO: TCP Data received {"connection_id":191292,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191292,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:41] local.INFO: Processing buffer {"connection_id":191292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a150b8012d34c04006aa41300007000c2d..."} 
[2026-09-21 11:57:41] local.INFO: Packet analysis {"connection_id":191292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:57:41] local.INFO: Extracted packet for processing {"connection_id":191292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a1"} 
[2026-09-21 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11: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-09-21 11:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232690176001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11: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-09-21 11:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789971747000,"timestamp_ms":1789971747000,"timestamp_seconds":1789971747,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a150b8"} 
[2026-09-21 11:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 11:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11: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-09-21 11:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232690176001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232690176001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232690176001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":191292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:57:41] local.INFO: GPS data processed {"connection_id":191292,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:57:41] local.INFO: Acknowledgment sent {"connection_id":191292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:58:07] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:58:07] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:58:07] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:58:08] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.0","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-21 11:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-21 11:58:08] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-21 11:58:08] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:58:13] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:58:13] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-09-21 11:58:13] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:58:14] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:58:14] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a000001a0c2..."} 
[2026-09-21 11:58:14] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:58:19] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:58:19] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:58:19] local.INFO: Packet analysis {"connection_id":188667,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:58:19] local.INFO: Extracted packet for processing {"connection_id":188667,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 11:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":188667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:58:19] local.INFO: GPS data processed {"connection_id":188667,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:58:19] local.INFO: Acknowledgment sent {"connection_id":188667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:58:19] local.INFO: Packet analysis {"connection_id":188667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:58:19] local.INFO: Extracted packet for processing {"connection_id":188667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 11:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":188667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:58:19] local.INFO: GPS data processed {"connection_id":188667,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:58:19] local.INFO: Acknowledgment sent {"connection_id":188667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:58:45] local.INFO: TCP Data received {"connection_id":188522,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:58:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188522,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:58:45] local.INFO: Processing buffer {"connection_id":188522,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:58:45] local.INFO: IMEI packet received {"connection_id":188522,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:58:45] local.INFO: IMEI acknowledgment sent {"connection_id":188522,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:59:08] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:08] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:08] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 11:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:59:13] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:13] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 11:59:13] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 11:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 11:59:16] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:59:16] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 11:59:16] local.INFO: IMEI packet received {"connection_id":188669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 11:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":188669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 11:59:20] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:20] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:20] local.INFO: Packet analysis {"connection_id":188668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:59:20] local.INFO: Extracted packet for processing {"connection_id":188668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 11:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:59:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:59:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":188668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:59:20] local.INFO: GPS data processed {"connection_id":188668,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:59:20] local.INFO: Acknowledgment sent {"connection_id":188668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 11:59:21] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:21] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 11:59:21] local.INFO: Packet analysis {"connection_id":188668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:59:21] local.INFO: Extracted packet for processing {"connection_id":188668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 11:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 11:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 11:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 11:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 11:59:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 11:59:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 11:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 11:59:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 11:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 11:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 11:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 11:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188668,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 11:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 11:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 11:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 11:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 11:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 11:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 11:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 11:59:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 11:59:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 11:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 11:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 11:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 11:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":188668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 11:59:21] local.INFO: GPS data processed {"connection_id":188668,"processed":1,"errors":0,"total":1} 
[2026-09-21 11:59:21] local.INFO: Acknowledgment sent {"connection_id":188668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:00:03] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:03] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:03] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:00:08] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:08] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:00:08] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:00:09] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:09] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:09] local.INFO: Packet analysis {"connection_id":188670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:00:09] local.INFO: Extracted packet for processing {"connection_id":188670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 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-09-21 12:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:00: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-09-21 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-09-21 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-09-21 12:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:00:09] local.INFO: GPS data processed {"connection_id":188670,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:00:09] local.INFO: Acknowledgment sent {"connection_id":188670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:00:41] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:41] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:00:41] local.INFO: Packet analysis {"connection_id":188670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:00:41] local.INFO: Extracted packet for processing {"connection_id":188670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 12:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:00: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-09-21 12:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":188670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:00:42] local.INFO: GPS data processed {"connection_id":188670,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:00:42] local.INFO: Acknowledgment sent {"connection_id":188670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:01:03] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:03] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:03] local.INFO: IMEI packet received {"connection_id":188523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":188523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:01:08] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:08] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:01:08] local.INFO: IMEI packet received {"connection_id":188523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:01:09] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:09] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:09] local.INFO: Packet analysis {"connection_id":188523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:01:09] local.INFO: Extracted packet for processing {"connection_id":188523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 12:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":188523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:01:09] local.INFO: GPS data processed {"connection_id":188523,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:01:09] local.INFO: Acknowledgment sent {"connection_id":188523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:01:33] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:33] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:33] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:01:33] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:01:34] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:34] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:34] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:01:34] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:01:35] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:35] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:35] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:01:35] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:01:39] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:39] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:01:39] local.INFO: IMEI packet received {"connection_id":188524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:01:39] local.INFO: IMEI acknowledgment sent {"connection_id":188524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:01:40] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a90560012d17acc00721a118004d013828..."} 
[2026-09-21 12:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a90560012d17acc00721a118004d013828..."} 
[2026-09-21 12:01:40] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a90560012d17acc00721a118004d013828..."} 
[2026-09-21 12:01:40] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a9"} 
[2026-09-21 12:01:40] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a9"} 
[2026-09-21 12:01:40] local.INFO: GPS Element Parsed {"raw_longitude":756526272,"raw_latitude":119644440,"longitude_deg":75.6526272,"latitude_deg":11.964444,"altitude":77,"angle":312,"satellites":40,"speed":11,"hex_longitude":"2d17acc0","hex_latitude":"0721a118","is_valid_coordinates":true} 
[2026-09-21 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232893440001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22363143090995200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1711860470238564352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:40] 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-09-21 12:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789972252000,"timestamp_ms":1789972252000,"timestamp_seconds":1789972252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a90560"} 
[2026-09-21 12:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-21 12:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232893440001,"66":14298,"120":206,"28":31744,"24":11,"16":22363143090995200,"45":1711860470238564352},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232893440001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:01:40] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:01:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22363143090995200,"km_value":22363143090995.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1711860470238564352,"description":"Unknown IO ID 45"} 
[2026-09-21 12:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232893440001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1711860470238564352}} 
[2026-09-21 12:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:01:40] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:01:40] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:01:41] local.INFO: TCP Data received {"connection_id":188523,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:41] local.INFO: Processing buffer {"connection_id":188523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:01:41] local.INFO: Packet analysis {"connection_id":188523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:01:41] local.INFO: Extracted packet for processing {"connection_id":188523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:01: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-09-21 12:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 12:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":188523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:01:41] local.INFO: GPS data processed {"connection_id":188523,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:01:41] local.INFO: Acknowledgment sent {"connection_id":188523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:02:03] local.INFO: TCP Data received {"connection_id":189973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:03] local.INFO: Processing buffer {"connection_id":189973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:03] local.INFO: IMEI packet received {"connection_id":189973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":189973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:02:08] local.INFO: TCP Data received {"connection_id":189973,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:08] local.INFO: Processing buffer {"connection_id":189973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:02:08] local.INFO: IMEI packet received {"connection_id":189973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":189973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:02:09] local.INFO: TCP Data received {"connection_id":189973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:09] local.INFO: Processing buffer {"connection_id":189973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:09] local.INFO: Packet analysis {"connection_id":189973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:02:09] local.INFO: Extracted packet for processing {"connection_id":189973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 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-09-21 12:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:02: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-09-21 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-09-21 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-09-21 12:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":189973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:02:09] local.INFO: GPS data processed {"connection_id":189973,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:02:09] local.INFO: Acknowledgment sent {"connection_id":189973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:02:12] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a90948012d17ac000721a208004c015128..."} 
[2026-09-21 12:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a90948012d17ac000721a208004c015128..."} 
[2026-09-21 12:02:12] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a90948012d17ac000721a208004c015128..."} 
[2026-09-21 12:02:12] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a9"} 
[2026-09-21 12:02:12] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a9"} 
[2026-09-21 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756526080,"raw_latitude":119644680,"longitude_deg":75.652608,"latitude_deg":11.964468,"altitude":76,"angle":337,"satellites":40,"speed":10,"hex_longitude":"2d17ac00","hex_latitude":"0721a208","is_valid_coordinates":true} 
[2026-09-21 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232896512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22363155975897088,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705949495728084992,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:12] 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-09-21 12:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789972253000,"timestamp_ms":1789972253000,"timestamp_seconds":1789972253,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a90948"} 
[2026-09-21 12:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:02:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 12:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232896512001,"66":14298,"120":206,"28":31744,"24":10,"16":22363155975897088,"45":1705949495728084992},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232896512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:02:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:02:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22363155975897088,"km_value":22363155975897.09,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705949495728084992,"description":"Unknown IO ID 45"} 
[2026-09-21 12:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232896512001,"power":14298,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1705949495728084992}} 
[2026-09-21 12:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:02:12] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:02:12] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:02:41] local.INFO: TCP Data received {"connection_id":189973,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:41] local.INFO: Processing buffer {"connection_id":189973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2a5e880012d34c04006aa41300006000c2d..."} 
[2026-09-21 12:02:41] local.INFO: Packet analysis {"connection_id":189973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:02:41] local.INFO: Extracted packet for processing {"connection_id":189973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2a5"} 
[2026-09-21 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232767232001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972048000,"timestamp_ms":1789972048000,"timestamp_seconds":1789972048,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2a5e880"} 
[2026-09-21 12:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:02: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-09-21 12:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232767232001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232767232001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232767232001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":189973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:02:41] local.INFO: GPS data processed {"connection_id":189973,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:02:41] local.INFO: Acknowledgment sent {"connection_id":189973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:02:43] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa0f00012d17ab40072218b0004f014e26..."} 
[2026-09-21 12:02:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa0f00012d17ab40072218b0004f014e26..."} 
[2026-09-21 12:02:43] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa0f00012d17ab40072218b0004f014e26..."} 
[2026-09-21 12:02:43] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:02:43] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":756525888,"raw_latitude":119675056,"longitude_deg":75.6525888,"latitude_deg":11.9675056,"altitude":79,"angle":334,"satellites":38,"speed":17,"hex_longitude":"2d17ab40","hex_latitude":"072218b0","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:02:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232913664001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22364654919483392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705738389503287296,"note":"Value kept but may cause issues"} 
[2026-09-21 12:02:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:02:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789972320000,"timestamp_ms":1789972320000,"timestamp_seconds":1789972320,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa0f00"} 
[2026-09-21 12:02:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:02:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-21 12:02:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:02:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:02:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:02:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:02:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:02:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:02:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:02:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:02:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:02:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232913664001,"66":14048,"120":206,"28":31744,"24":17,"16":22364654919483392,"45":1705738389503287296},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:02:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:02:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:02:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232913664001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:02:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:02:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:02:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22364654919483392,"km_value":22364654919483.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:02:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705738389503287296,"description":"Unknown IO ID 45"} 
[2026-09-21 12:02:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232913664001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1705738389503287296}} 
[2026-09-21 12:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:02:43] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:02:43] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:03:03] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:03] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:03] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:03:07] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:07] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:03:07] local.INFO: IMEI packet received {"connection_id":191293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:03:09] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:09] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:09] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:09] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:03:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:03:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:03:09] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:03:09] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:03:14] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa16d0012d17a88007221af80050013525..."} 
[2026-09-21 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa16d0012d17a88007221af80050013525..."} 
[2026-09-21 12:03:14] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa16d0012d17a88007221af80050013525..."} 
[2026-09-21 12:03:14] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:14] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:14] local.INFO: GPS Element Parsed {"raw_longitude":756525184,"raw_latitude":119675640,"longitude_deg":75.6525184,"latitude_deg":11.967564,"altitude":80,"angle":309,"satellites":37,"speed":16,"hex_longitude":"2d17a880","hex_latitude":"07221af8","is_valid_coordinates":true} 
[2026-09-21 12:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232913920001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22364702164123648,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1705527283270856704,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:14] 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-09-21 12:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789972322000,"timestamp_ms":1789972322000,"timestamp_seconds":1789972322,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa16d0"} 
[2026-09-21 12:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 12:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:03:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232913920001,"66":13972,"120":206,"28":31744,"24":16,"16":22364702164123648,"45":1705527283270856704},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232913920001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:03:14] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:03:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22364702164123648,"km_value":22364702164123.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1705527283270856704,"description":"Unknown IO ID 45"} 
[2026-09-21 12:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232913920001,"power":13972,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1705527283270856704}} 
[2026-09-21 12:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:03:14] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:03:14] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:03:40] local.INFO: TCP Data received {"connection_id":191293,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:40] local.INFO: Processing buffer {"connection_id":191293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:03:40] local.INFO: Packet analysis {"connection_id":191293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:40] local.INFO: Extracted packet for processing {"connection_id":191293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:03:40] local.INFO: GPS data processed {"connection_id":191293,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:03:40] local.INFO: Acknowledgment sent {"connection_id":191293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:03:46] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa1ea0012d17a5c007221c580050012826..."} 
[2026-09-21 12:03:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa1ea0012d17a5c007221c580050012826..."} 
[2026-09-21 12:03:46] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa1ea0012d17a5c007221c580050012826..."} 
[2026-09-21 12:03:46] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:46] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":756524480,"raw_latitude":119675992,"longitude_deg":75.652448,"latitude_deg":11.9675992,"altitude":80,"angle":296,"satellites":38,"speed":14,"hex_longitude":"2d17a5c0","hex_latitude":"07221c58","is_valid_coordinates":true} 
[2026-09-21 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:03:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232914432001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22364736523862016,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1704753227085051904,"note":"Value kept but may cause issues"} 
[2026-09-21 12:03:46] 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-09-21 12:03:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789972324000,"timestamp_ms":1789972324000,"timestamp_seconds":1789972324,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa1ea0"} 
[2026-09-21 12:03:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:03:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:03:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 12:03:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:03:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:03:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:03:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:03:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:03:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:03:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:03:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:03:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:03:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:03:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232914432001,"66":13428,"120":206,"28":31744,"24":14,"16":22364736523862016,"45":1704753227085051904},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:03:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:03:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:03:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232914432001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:03:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:03:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:03:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22364736523862016,"km_value":22364736523862.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:03:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1704753227085051904,"description":"Unknown IO ID 45"} 
[2026-09-21 12:03:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232914432001,"power":13428,"unknown_120":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1704753227085051904}} 
[2026-09-21 12:03:46] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:03:46] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:03:46] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:04:03] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:03] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:03] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:04:08] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:08] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:04:08] local.INFO: IMEI packet received {"connection_id":188525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:04:09] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:09] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:09] local.INFO: Packet analysis {"connection_id":188525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:09] local.INFO: Extracted packet for processing {"connection_id":188525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:04: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-09-21 12:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":188525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:04:09] local.INFO: GPS data processed {"connection_id":188525,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:04:09] local.INFO: Acknowledgment sent {"connection_id":188525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:04:17] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa3de0012d179c4007221fd00051013c27..."} 
[2026-09-21 12:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa3de0012d179c4007221fd00051013c27..."} 
[2026-09-21 12:04:17] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa3de0012d179c4007221fd00051013c27..."} 
[2026-09-21 12:04:17] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:17] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756522048,"raw_latitude":119676880,"longitude_deg":75.6522048,"latitude_deg":11.967688,"altitude":81,"angle":316,"satellites":39,"speed":12,"hex_longitude":"2d179c40","hex_latitude":"07221fd0","is_valid_coordinates":true} 
[2026-09-21 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232914944001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22364861077913600,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1703979170899187712,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:17] 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-09-21 12:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789972332000,"timestamp_ms":1789972332000,"timestamp_seconds":1789972332,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa3de0"} 
[2026-09-21 12:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-09-21 12:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232914944001,"66":13961,"120":206,"28":31744,"24":12,"16":22364861077913600,"45":1703979170899187712},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232914944001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:04:17] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:04:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22364861077913600,"km_value":22364861077913.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1703979170899187712,"description":"Unknown IO ID 45"} 
[2026-09-21 12:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232914944001,"power":13961,"unknown_120":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1703979170899187712}} 
[2026-09-21 12:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:04:18] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:04:18] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:04:41] local.INFO: TCP Data received {"connection_id":188525,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:41] local.INFO: Processing buffer {"connection_id":188525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:04:41] local.INFO: Packet analysis {"connection_id":188525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:41] local.INFO: Extracted packet for processing {"connection_id":188525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:04: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-09-21 12: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-09-21 12:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":188525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:04:41] local.INFO: GPS data processed {"connection_id":188525,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:04:41] local.INFO: Acknowledgment sent {"connection_id":188525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:04:45] local.INFO: TCP Data received {"connection_id":191295,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191295,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:04:45] local.INFO: Processing buffer {"connection_id":191295,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:04:45] local.INFO: IMEI packet received {"connection_id":191295,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:04:45] local.INFO: IMEI acknowledgment sent {"connection_id":191295,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:04:50] local.INFO: TCP Data received {"connection_id":188524,"ip":"117.225.226.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ac06e8012d178340072230c8005f005b28..."} 
[2026-09-21 12:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ac06e8012d178340072230c8005f005b28..."} 
[2026-09-21 12:04:50] local.INFO: Processing buffer {"connection_id":188524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ac06e8012d178340072230c8005f005b28..."} 
[2026-09-21 12:04:50] local.INFO: Packet analysis {"connection_id":188524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ac"} 
[2026-09-21 12:04:50] local.INFO: Extracted packet for processing {"connection_id":188524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ac"} 
[2026-09-21 12:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756515648,"raw_latitude":119681224,"longitude_deg":75.6515648,"latitude_deg":11.9681224,"altitude":95,"angle":91,"satellites":40,"speed":13,"hex_longitude":"2d178340","hex_latitude":"072230c8","is_valid_coordinates":true} 
[2026-09-21 12:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232941568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22365750136143872,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1692438696855478272,"note":"Value kept but may cause issues"} 
[2026-09-21 12:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789972449000,"timestamp_ms":1789972449000,"timestamp_seconds":1789972449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ac06e8"} 
[2026-09-21 12:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:04: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-09-21 12:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-21 12:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.226.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232941568001,"66":12711,"105":206,"83":41984,"24":13,"16":22365750136143872,"45":1692438696855478272},"client_ip":"117.225.226.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232941568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:04:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22365750136143872,"km_value":22365750136143.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1692438696855478272,"description":"Unknown IO ID 45"} 
[2026-09-21 12:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232941568001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1692438696855478272}} 
[2026-09-21 12:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":188524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:04:50] local.INFO: GPS data processed {"connection_id":188524,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:04:50] local.INFO: Acknowledgment sent {"connection_id":188524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:05:05] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:05] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:05] local.INFO: IMEI packet received {"connection_id":191296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":191296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:05:08] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:08] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:05:08] local.INFO: IMEI packet received {"connection_id":191296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":191296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:05:10] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:10] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:10] local.INFO: Packet analysis {"connection_id":191296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:05:10] local.INFO: Extracted packet for processing {"connection_id":191296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:05:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:05:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:05: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-09-21 12: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-09-21 12:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:05:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:05:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:05:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:05:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:05:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:05:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:05:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:05:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:05:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":191296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:05:10] local.INFO: GPS data processed {"connection_id":191296,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:05:10] local.INFO: Acknowledgment sent {"connection_id":191296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:05:15] local.INFO: TCP Data received {"connection_id":188673,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:15] local.INFO: Processing buffer {"connection_id":188673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:15] local.INFO: IMEI packet received {"connection_id":188673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:05:15] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:05:15] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:05:15] local.INFO: IMEI packet received {"connection_id":188672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:05:16] local.INFO: TCP Data received {"connection_id":188673,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:16] local.INFO: Processing buffer {"connection_id":188673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:16] local.INFO: IMEI packet received {"connection_id":188673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":188673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:05:18] local.INFO: TCP Data received {"connection_id":188673,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: Processing buffer {"connection_id":188673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: IMEI packet received {"connection_id":188673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":188673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:05:18] local.INFO: TCP Data received {"connection_id":188673,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: Processing buffer {"connection_id":188673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:05:18] local.INFO: IMEI packet received {"connection_id":188673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":188673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:05:41] local.INFO: TCP Data received {"connection_id":191296,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:41] local.INFO: Processing buffer {"connection_id":191296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:05:41] local.INFO: Packet analysis {"connection_id":191296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:05:41] local.INFO: Extracted packet for processing {"connection_id":191296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:05: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-09-21 12:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:05: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-09-21 12:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":191296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:05:41] local.INFO: GPS data processed {"connection_id":191296,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:05:41] local.INFO: Acknowledgment sent {"connection_id":191296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:06:03] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:03] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:03] local.INFO: IMEI packet received {"connection_id":188526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:06:08] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:08] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:06:08] local.INFO: IMEI packet received {"connection_id":188526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:06:10] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:10] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:10] local.INFO: Packet analysis {"connection_id":188526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:06:10] local.INFO: Extracted packet for processing {"connection_id":188526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:06: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-09-21 12: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-09-21 12:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:06:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":188526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:06:10] local.INFO: GPS data processed {"connection_id":188526,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:06:10] local.INFO: Acknowledgment sent {"connection_id":188526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:06:41] local.INFO: TCP Data received {"connection_id":188526,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:41] local.INFO: Processing buffer {"connection_id":188526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:06:41] local.INFO: Packet analysis {"connection_id":188526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:06:41] local.INFO: Extracted packet for processing {"connection_id":188526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:06: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-09-21 12:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:06:41] local.INFO: GPS data processed {"connection_id":188526,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:06:41] local.INFO: Acknowledgment sent {"connection_id":188526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:07:03] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:03] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:03] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:07:08] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:08] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:07:08] local.INFO: IMEI packet received {"connection_id":191297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":191297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:07:09] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:09] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:09] local.INFO: Packet analysis {"connection_id":191297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:07:09] local.INFO: Extracted packet for processing {"connection_id":191297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 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-09-21 12:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:07: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-09-21 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-09-21 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-09-21 12:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":191297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:07:09] local.INFO: GPS data processed {"connection_id":191297,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:07:09] local.INFO: Acknowledgment sent {"connection_id":191297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:07:41] local.INFO: TCP Data received {"connection_id":191297,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:41] local.INFO: Processing buffer {"connection_id":191297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2aa8048012d34c04006aa41300007000c2d..."} 
[2026-09-21 12:07:41] local.INFO: Packet analysis {"connection_id":191297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:07:41] local.INFO: Extracted packet for processing {"connection_id":191297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2aa"} 
[2026-09-21 12:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232844288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972349000,"timestamp_ms":1789972349000,"timestamp_seconds":1789972349,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2aa8048"} 
[2026-09-21 12:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:07: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-09-21 12: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-09-21 12:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232844288001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232844288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232844288001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":191297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:07:41] local.INFO: GPS data processed {"connection_id":191297,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:07:41] local.INFO: Acknowledgment sent {"connection_id":191297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:08:03] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:03] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:03] local.INFO: IMEI packet received {"connection_id":188674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":188674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:08:08] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:08] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:08:08] local.INFO: IMEI packet received {"connection_id":188674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:08:09] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:09] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:09] local.INFO: Packet analysis {"connection_id":188674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:08:09] local.INFO: Extracted packet for processing {"connection_id":188674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 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-09-21 12:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:08: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-09-21 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-09-21 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-09-21 12:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":188674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:08:09] local.INFO: GPS data processed {"connection_id":188674,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:08:09] local.INFO: Acknowledgment sent {"connection_id":188674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:08:41] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:41] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:08:41] local.INFO: Packet analysis {"connection_id":188674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:08:41] local.INFO: Extracted packet for processing {"connection_id":188674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:08:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:08:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:08:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:08:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:08:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:08:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:08:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:08:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:08: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-09-21 12: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-09-21 12:08:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:08:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:08:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:08:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:08:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:08:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:08:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:08:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:08:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:08:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:08:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:08:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:08:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:08:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:08:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:08:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:08:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:08:41] local.INFO: DEBUG: GPS processor result {"connection_id":188674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:08:41] local.INFO: GPS data processed {"connection_id":188674,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:08:41] local.INFO: Acknowledgment sent {"connection_id":188674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:09:06] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:06] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:06] local.INFO: IMEI packet received {"connection_id":188675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":188675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:09:08] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:08] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:09:08] local.INFO: IMEI packet received {"connection_id":188675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:09:10] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:10] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:10] local.INFO: Packet analysis {"connection_id":188675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:10] local.INFO: Extracted packet for processing {"connection_id":188675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:09:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:09:10] local.INFO: GPS data processed {"connection_id":188675,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:09:10] local.INFO: Acknowledgment sent {"connection_id":188675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:09:14] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:14] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:14] local.INFO: Packet analysis {"connection_id":188675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:14] local.INFO: Extracted packet for processing {"connection_id":188675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:09:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:09:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 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-09-21 12:09:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:09: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-09-21 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-09-21 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-09-21 12:09:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:09:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:09:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:09:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:09:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:09:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:09:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:09:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:09:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:09:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:09:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:09:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:09:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:09:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:09:14] local.INFO: DEBUG: GPS processor result {"connection_id":188675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:09:14] local.INFO: GPS data processed {"connection_id":188675,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:09:14] local.INFO: Acknowledgment sent {"connection_id":188675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:09:45] local.INFO: TCP Data received {"connection_id":188675,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:45] local.INFO: Processing buffer {"connection_id":188675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:09:45] local.INFO: Packet analysis {"connection_id":188675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:45] local.INFO: Extracted packet for processing {"connection_id":188675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:09:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:09:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:09:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:09:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:09:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:09: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-09-21 12: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-09-21 12:09:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:09:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:09:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:09:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:09:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:09:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:09:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:09:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:09:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:09:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:09:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:09:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:09:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:09:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:09:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:09:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":188675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:09:45] local.INFO: GPS data processed {"connection_id":188675,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:09:45] local.INFO: Acknowledgment sent {"connection_id":188675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:10:03] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:03] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:03] local.INFO: IMEI packet received {"connection_id":191298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":191298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:10:09] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:09] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:10:09] local.INFO: IMEI packet received {"connection_id":191298,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:10:09] local.INFO: IMEI acknowledgment sent {"connection_id":191298,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:10:10] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:10] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:10] local.INFO: Packet analysis {"connection_id":191298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:10:10] local.INFO: Extracted packet for processing {"connection_id":191298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:10:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:10:10] local.INFO: GPS data processed {"connection_id":191298,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:10:10] local.INFO: Acknowledgment sent {"connection_id":191298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:10:23] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:10:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:10:23] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:10:23] local.INFO: IMEI packet received {"connection_id":189975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:10:23] local.INFO: IMEI acknowledgment sent {"connection_id":189975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:10:24] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b00270012d1823400721b830004b011a2f..."} 
[2026-09-21 12:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b00270012d1823400721b830004b011a2f..."} 
[2026-09-21 12:10:24] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b00270012d1823400721b830004b011a2f..."} 
[2026-09-21 12:10:24] local.INFO: Packet analysis {"connection_id":189975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:10:24] local.INFO: Extracted packet for processing {"connection_id":189975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:10:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233008384001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789972710000,"timestamp_ms":1789972710000,"timestamp_seconds":1789972710,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b00270"} 
[2026-09-21 12:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:10:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266246864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249342458343031840,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2941429761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3066560587,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2147951004,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2650852839,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":25,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":62,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633254432770,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,120,28,24,241,158,16,121,160,94,45,184,75,47,10,66,90,128,86,1,240,238,194,33,4,113,205,20,19,144,46,239,56,2,79,7,73,25,231,62,206],"length":575,"final_offset":705,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:10:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404629812692123648,"timestamp_seconds":5404629812692124.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":189975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233008384001,"66":13080,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233008384001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:10:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:10:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233008384001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":189975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:10:25] local.INFO: GPS data processed {"connection_id":189975,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:10:25] local.INFO: Acknowledgment sent {"connection_id":189975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:10:40] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:10:40] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:10:40] local.INFO: IMEI packet received {"connection_id":188676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:10:40] local.INFO: IMEI acknowledgment sent {"connection_id":188676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:10:41] local.INFO: TCP Data received {"connection_id":191298,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:41] local.INFO: Processing buffer {"connection_id":191298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:10:41] local.INFO: Packet analysis {"connection_id":191298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:10:41] local.INFO: Extracted packet for processing {"connection_id":191298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10: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-09-21 12:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:10: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-09-21 12:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191298,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":191298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:10:41] local.INFO: GPS data processed {"connection_id":191298,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:10:41] local.INFO: Acknowledgment sent {"connection_id":191298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:10:57] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b05478012d1823400721b830004b011a2e..."} 
[2026-09-21 12:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b05478012d1823400721b830004b011a2e..."} 
[2026-09-21 12:10:57] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b05478012d1823400721b830004b011a2e..."} 
[2026-09-21 12:10:57] local.INFO: Packet analysis {"connection_id":189975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:10:57] local.INFO: Extracted packet for processing {"connection_id":189975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:10:57] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233013760001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:10: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-09-21 12:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789972731000,"timestamp_ms":1789972731000,"timestamp_seconds":1789972731,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b05478"} 
[2026-09-21 12:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 12:10: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-09-21 12:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":189975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233013760001,"66":13004,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233013760001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:10:57] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:10:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233013760001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":189975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:10:57] local.INFO: GPS data processed {"connection_id":189975,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:10:57] local.INFO: Acknowledgment sent {"connection_id":189975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:11:03] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:03] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:03] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:11:08] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:08] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:11:08] local.INFO: IMEI packet received {"connection_id":188528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:11:09] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:09] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:09] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:11:09] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 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-09-21 12:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:11: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-09-21 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-09-21 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-09-21 12:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:11:09] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:11:09] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:11:15] local.INFO: TCP Data received {"connection_id":188677,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:11:15] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:11:15] local.INFO: IMEI packet received {"connection_id":188677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:11:28] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b0a680012d1823400721b830004b011a30..."} 
[2026-09-21 12:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b0a680012d1823400721b830004b011a30..."} 
[2026-09-21 12:11:28] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b0a680012d1823400721b830004b011a30..."} 
[2026-09-21 12:11:28] local.INFO: Packet analysis {"connection_id":189975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:11:28] local.INFO: Extracted packet for processing {"connection_id":189975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":48,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233019136001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11: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-09-21 12:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789972752000,"timestamp_ms":1789972752000,"timestamp_seconds":1789972752,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b0a680"} 
[2026-09-21 12:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":204,"data_length":795,"current_offset":136} 
[2026-09-21 12:11: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-09-21 12: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-09-21 12:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":189975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233019136001,"66":12972,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233019136001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:11:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233019136001,"power":12972,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":189975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:11:28] local.INFO: GPS data processed {"connection_id":189975,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:11:28] local.INFO: Acknowledgment sent {"connection_id":189975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:11:41] local.INFO: TCP Data received {"connection_id":188528,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:41] local.INFO: Processing buffer {"connection_id":188528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:11:41] local.INFO: Packet analysis {"connection_id":188528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:11:41] local.INFO: Extracted packet for processing {"connection_id":188528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:11: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-09-21 12:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":188528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:11:41] local.INFO: GPS data processed {"connection_id":188528,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:11:41] local.INFO: Acknowledgment sent {"connection_id":188528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:12:00] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b0f888012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b0f888012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:00] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b0f888012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:00] local.INFO: Packet analysis {"connection_id":189975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:12:00] local.INFO: Extracted packet for processing {"connection_id":189975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b0"} 
[2026-09-21 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:12:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233024512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:12:00] local.INFO: AVL Record Parsed {"raw_timestamp":1789972773000,"timestamp_ms":1789972773000,"timestamp_seconds":1789972773,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b0f888"} 
[2026-09-21 12:12:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:12:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:12:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 12:12:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:12:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:12:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:12:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:12:00] local.INFO: Teltonika packet parsed successfully {"connection_id":189975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:12:00] local.INFO: Passing IMEI to GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:12:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:12:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:12:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:12:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:12:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233024512001,"66":12950,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:12:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:12:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:12:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233024512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:12:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:12:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:12:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:12:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:12:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233024512001,"power":12950,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:12:00] local.INFO: DEBUG: GPS processor result {"connection_id":189975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:12:00] local.INFO: GPS data processed {"connection_id":189975,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:12:00] local.INFO: Acknowledgment sent {"connection_id":189975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:12:03] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:03] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:03] local.INFO: IMEI packet received {"connection_id":191299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":191299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:12:08] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:08] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:12:08] local.INFO: IMEI packet received {"connection_id":191299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":191299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:12:09] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:09] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:09] local.INFO: Packet analysis {"connection_id":191299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:12:09] local.INFO: Extracted packet for processing {"connection_id":191299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 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-09-21 12:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:12: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-09-21 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-09-21 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-09-21 12:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":191299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:12:09] local.INFO: GPS data processed {"connection_id":191299,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:12:09] local.INFO: Acknowledgment sent {"connection_id":191299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:12:32] local.INFO: TCP Data received {"connection_id":189975,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b14a90012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b14a90012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:32] local.INFO: Processing buffer {"connection_id":189975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b14a90012d1823400721b830004b011a2e..."} 
[2026-09-21 12:12:32] local.INFO: Packet analysis {"connection_id":189975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:12:32] local.INFO: Extracted packet for processing {"connection_id":189975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:12:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233029888001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:32] 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-09-21 12:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1789972794000,"timestamp_ms":1789972794000,"timestamp_seconds":1789972794,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b14a90"} 
[2026-09-21 12:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 12:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:12:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233029888001,"66":12863,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233029888001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233029888001,"power":12863,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":189975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:12:32] local.INFO: GPS data processed {"connection_id":189975,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:12:32] local.INFO: Acknowledgment sent {"connection_id":189975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:12:41] local.INFO: TCP Data received {"connection_id":191299,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:41] local.INFO: Processing buffer {"connection_id":191299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2af1810012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:12:41] local.INFO: Packet analysis {"connection_id":191299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:12:41] local.INFO: Extracted packet for processing {"connection_id":191299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2af"} 
[2026-09-21 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232921344001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:12: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-09-21 12:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972650000,"timestamp_ms":1789972650000,"timestamp_seconds":1789972650,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2af1810"} 
[2026-09-21 12:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 12:12: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-09-21 12:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232921344001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232921344001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232921344001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":191299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:12:41] local.INFO: GPS data processed {"connection_id":191299,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:12:41] local.INFO: Acknowledgment sent {"connection_id":191299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:13:08] local.INFO: TCP Data received {"connection_id":188678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:08] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:08] local.INFO: IMEI packet received {"connection_id":188678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:13:09] local.INFO: TCP Data received {"connection_id":188678,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:09] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:13:09] local.INFO: IMEI packet received {"connection_id":188678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":188678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:13:11] local.INFO: TCP Data received {"connection_id":188678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:11] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:11] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:11] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:13:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:13:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:13:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:13:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:13:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:13:11] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:13:11] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:13:14] local.INFO: TCP Data received {"connection_id":188530,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:14] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:14] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:13:14] local.INFO: TCP Data received {"connection_id":188678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:14] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:14] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:14] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:13:14] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:13:14] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:13:18] local.INFO: TCP Data received {"connection_id":188530,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:18] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:13:18] local.INFO: IMEI packet received {"connection_id":188530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":188530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:13:19] local.INFO: TCP Data received {"connection_id":188530,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b19c98012d1823400721b830004b011a2e..."} 
[2026-09-21 12:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b19c98012d1823400721b830004b011a2e..."} 
[2026-09-21 12:13:19] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b19c98012d1823400721b830004b011a2e..."} 
[2026-09-21 12:13:19] local.INFO: Packet analysis {"connection_id":188530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:13:19] local.INFO: Extracted packet for processing {"connection_id":188530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233035264001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972815000,"timestamp_ms":1789972815000,"timestamp_seconds":1789972815,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b19c98"} 
[2026-09-21 12:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 12:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233035264001,"66":12841,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233035264001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:13:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:13:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233035264001,"power":12841,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:13:20] local.INFO: DEBUG: GPS processor result {"connection_id":188530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:13:20] local.INFO: GPS data processed {"connection_id":188530,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:13:20] local.INFO: Acknowledgment sent {"connection_id":188530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:13:48] local.INFO: TCP Data received {"connection_id":188678,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:48] local.INFO: Processing buffer {"connection_id":188678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:13:48] local.INFO: Packet analysis {"connection_id":188678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:48] local.INFO: Extracted packet for processing {"connection_id":188678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:13:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:13:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":188678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:13:49] local.INFO: GPS data processed {"connection_id":188678,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:13:49] local.INFO: Acknowledgment sent {"connection_id":188678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:13:51] local.INFO: TCP Data received {"connection_id":188530,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b1eea0012d1823400721b830004b011a2f..."} 
[2026-09-21 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b1eea0012d1823400721b830004b011a2f..."} 
[2026-09-21 12:13:51] local.INFO: Processing buffer {"connection_id":188530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b1eea0012d1823400721b830004b011a2f..."} 
[2026-09-21 12:13:51] local.INFO: Packet analysis {"connection_id":188530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:13:51] local.INFO: Extracted packet for processing {"connection_id":188530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b1"} 
[2026-09-21 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233040640001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:13:51] 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-09-21 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789972836000,"timestamp_ms":1789972836000,"timestamp_seconds":1789972836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b1eea0"} 
[2026-09-21 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 12:13:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233040640001,"66":12798,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233040640001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:13:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233040640001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":188530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:13:51] local.INFO: GPS data processed {"connection_id":188530,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:13:51] local.INFO: Acknowledgment sent {"connection_id":188530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:14:03] local.INFO: TCP Data received {"connection_id":191300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:03] local.INFO: Processing buffer {"connection_id":191300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:03] local.INFO: IMEI packet received {"connection_id":191300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":191300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:14:08] local.INFO: TCP Data received {"connection_id":191300,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:08] local.INFO: Processing buffer {"connection_id":191300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:14:08] local.INFO: IMEI packet received {"connection_id":191300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:14:09] local.INFO: TCP Data received {"connection_id":191300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:09] local.INFO: Processing buffer {"connection_id":191300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:09] local.INFO: Packet analysis {"connection_id":191300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:14:09] local.INFO: Extracted packet for processing {"connection_id":191300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 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-09-21 12:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:14:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 12:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":191300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:14:09] local.INFO: GPS data processed {"connection_id":191300,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:14:09] local.INFO: Acknowledgment sent {"connection_id":191300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:14:13] local.INFO: TCP Data received {"connection_id":189979,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:13] local.INFO: Processing buffer {"connection_id":189979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:13] local.INFO: IMEI packet received {"connection_id":189979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":189979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:14:18] local.INFO: TCP Data received {"connection_id":189979,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:18] local.INFO: Processing buffer {"connection_id":189979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:14:18] local.INFO: IMEI packet received {"connection_id":189979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":189979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:14:19] local.INFO: TCP Data received {"connection_id":189979,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b240a8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b240a8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:19] local.INFO: Processing buffer {"connection_id":189979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b240a8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:19] local.INFO: Packet analysis {"connection_id":189979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:14:19] local.INFO: Extracted packet for processing {"connection_id":189979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233046016001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972857000,"timestamp_ms":1789972857000,"timestamp_seconds":1789972857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b240a8"} 
[2026-09-21 12:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 12:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233046016001,"66":12765,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233046016001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:14:20] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:14:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233046016001,"power":12765,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":189979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:14:20] local.INFO: GPS data processed {"connection_id":189979,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:14:20] local.INFO: Acknowledgment sent {"connection_id":189979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:14:41] local.INFO: TCP Data received {"connection_id":191300,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:41] local.INFO: Processing buffer {"connection_id":191300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:14:41] local.INFO: Packet analysis {"connection_id":191300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:14:41] local.INFO: Extracted packet for processing {"connection_id":191300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:14:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:14:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":191300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:14:41] local.INFO: GPS data processed {"connection_id":191300,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:14:41] local.INFO: Acknowledgment sent {"connection_id":191300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:14:51] local.INFO: TCP Data received {"connection_id":189979,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b292b0012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b292b0012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:51] local.INFO: Processing buffer {"connection_id":189979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b292b0012d1823400721b830004b011a2e..."} 
[2026-09-21 12:14:51] local.INFO: Packet analysis {"connection_id":189979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:14:51] local.INFO: Extracted packet for processing {"connection_id":189979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:14:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233051392001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:14:51] 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-09-21 12:14:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789972878000,"timestamp_ms":1789972878000,"timestamp_seconds":1789972878,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b292b0"} 
[2026-09-21 12:14:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:14:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:14:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 12:14:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:14:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:14:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:14:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:14:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:14:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:14:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:14:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:14:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:14:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:14:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233051392001,"66":12711,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:14:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:14:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:14:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233051392001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:14:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:14:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:14:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:14:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:14:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233051392001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:14:52] local.INFO: DEBUG: GPS processor result {"connection_id":189979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:14:52] local.INFO: GPS data processed {"connection_id":189979,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:14:52] local.INFO: Acknowledgment sent {"connection_id":189979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:15:03] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:03] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:03] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:15:08] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:08] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:15:08] local.INFO: IMEI packet received {"connection_id":188532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":188532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:15:09] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:09] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:09] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:09] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:15:09] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:15:09] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:15:13] local.INFO: TCP Data received {"connection_id":188533,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:13] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:13] local.INFO: IMEI packet received {"connection_id":188533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":188533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:15:18] local.INFO: TCP Data received {"connection_id":188533,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:18] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:15:18] local.INFO: IMEI packet received {"connection_id":188533,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188533,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:15:19] local.INFO: TCP Data received {"connection_id":188533,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b2e4b8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b2e4b8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:15:19] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b2e4b8012d1823400721b830004b011a2e..."} 
[2026-09-21 12:15:19] local.INFO: Packet analysis {"connection_id":188533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:15:19] local.INFO: Extracted packet for processing {"connection_id":188533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b2"} 
[2026-09-21 12:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":46,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233056768001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972899000,"timestamp_ms":1789972899000,"timestamp_seconds":1789972899,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b2e4b8"} 
[2026-09-21 12:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 12:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233056768001,"66":12689,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233056768001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:15:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:15:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233056768001,"power":12689,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":188533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:15:20] local.INFO: GPS data processed {"connection_id":188533,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:15:20] local.INFO: Acknowledgment sent {"connection_id":188533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:15:43] local.INFO: TCP Data received {"connection_id":188532,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:43] local.INFO: Processing buffer {"connection_id":188532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:15:43] local.INFO: Packet analysis {"connection_id":188532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:43] local.INFO: Extracted packet for processing {"connection_id":188532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:15:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:15:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:15:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:15:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:15:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:15:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:15:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":188532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:15:43] local.INFO: GPS data processed {"connection_id":188532,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:15:43] local.INFO: Acknowledgment sent {"connection_id":188532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:15:51] local.INFO: TCP Data received {"connection_id":188533,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b336c0012d1823400721b830004b011a2c..."} 
[2026-09-21 12:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188533,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b336c0012d1823400721b830004b011a2c..."} 
[2026-09-21 12:15:51] local.INFO: Processing buffer {"connection_id":188533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b336c0012d1823400721b830004b011a2c..."} 
[2026-09-21 12:15:51] local.INFO: Packet analysis {"connection_id":188533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:51] local.INFO: Extracted packet for processing {"connection_id":188533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":44,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233062144001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:15:51] 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-09-21 12:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789972920000,"timestamp_ms":1789972920000,"timestamp_seconds":1789972920,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b336c0"} 
[2026-09-21 12:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:15:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:15:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 12:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:15:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188533,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233062144001,"66":12613,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233062144001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:15:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:15:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233062144001,"power":12613,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":188533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876127,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:15:51] local.INFO: GPS data processed {"connection_id":188533,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:15:51] local.INFO: Acknowledgment sent {"connection_id":188533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:16:03] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:03] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:03] local.INFO: IMEI packet received {"connection_id":189981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":189981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:16:08] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:08] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:16:08] local.INFO: IMEI packet received {"connection_id":189981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":189981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:16:09] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:09] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:09] local.INFO: Packet analysis {"connection_id":189981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:09] local.INFO: Extracted packet for processing {"connection_id":189981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 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-09-21 12:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:16:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 12:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":189981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:16:09] local.INFO: GPS data processed {"connection_id":189981,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:16:09] local.INFO: Acknowledgment sent {"connection_id":189981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:16:13] local.INFO: TCP Data received {"connection_id":191302,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:13] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:13] local.INFO: IMEI packet received {"connection_id":191302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":191302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:16:18] local.INFO: TCP Data received {"connection_id":191302,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:18] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:16:18] local.INFO: IMEI packet received {"connection_id":191302,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":191302,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:16:19] local.INFO: TCP Data received {"connection_id":191302,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b388c8012d1823400721b830004b011a2f..."} 
[2026-09-21 12:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b388c8012d1823400721b830004b011a2f..."} 
[2026-09-21 12:16:19] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b388c8012d1823400721b830004b011a2f..."} 
[2026-09-21 12:16:19] local.INFO: Packet analysis {"connection_id":191302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:19] local.INFO: Extracted packet for processing {"connection_id":191302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650352,"longitude_deg":75.6556608,"latitude_deg":11.9650352,"altitude":75,"angle":282,"satellites":47,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b830","is_valid_coordinates":true} 
[2026-09-21 12:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233067520001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369813175205888,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972941000,"timestamp_ms":1789972941000,"timestamp_seconds":1789972941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b388c8"} 
[2026-09-21 12:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 12:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233067520001,"66":12548,"120":206,"28":31744,"24":0,"16":22369813175205888,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233067520001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:16:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:16:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369813175205888,"km_value":22369813175205.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233067520001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:16:20] local.INFO: DEBUG: GPS processor result {"connection_id":191302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:16:20] local.INFO: GPS data processed {"connection_id":191302,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:16:20] local.INFO: Acknowledgment sent {"connection_id":191302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:16:30] local.INFO: TCP Data received {"connection_id":191303,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:16:30] local.INFO: Processing buffer {"connection_id":191303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:16:30] local.INFO: IMEI packet received {"connection_id":191303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":191303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:16:40] local.INFO: TCP Data received {"connection_id":189981,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:40] local.INFO: Processing buffer {"connection_id":189981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:16:40] local.INFO: Packet analysis {"connection_id":189981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:40] local.INFO: Extracted packet for processing {"connection_id":189981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":189981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:16:40] local.INFO: GPS data processed {"connection_id":189981,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:16:40] local.INFO: Acknowledgment sent {"connection_id":189981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:16:51] local.INFO: TCP Data received {"connection_id":191302,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3abf0012d1823800721b818004500b62f..."} 
[2026-09-21 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191302,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3abf0012d1823800721b818004500b62f..."} 
[2026-09-21 12:16:51] local.INFO: Processing buffer {"connection_id":191302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3abf0012d1823800721b818004500b62f..."} 
[2026-09-21 12:16:51] local.INFO: Packet analysis {"connection_id":191302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:51] local.INFO: Extracted packet for processing {"connection_id":191302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650328,"longitude_deg":75.6556672,"latitude_deg":11.9650328,"altitude":69,"angle":182,"satellites":47,"speed":2,"hex_longitude":"2d182380","hex_latitude":"0721b818","is_valid_coordinates":true} 
[2026-09-21 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233072896001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369817470173184,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469811200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] 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-09-21 12:16:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789972950000,"timestamp_ms":1789972950000,"timestamp_seconds":1789972950,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3abf0"} 
[2026-09-21 12:16:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:16:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:16:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266419864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184216232141,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2990581761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3090153547,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":238,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":49,"raw_value":4261465575,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:16:51] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,120,28,24,241,158,16,121,160,54,45,64,184,75,44,10,66,228,46,146,1,240,167,194,33,4,113,205,238,35,48,47,239,49,2,79,7,231],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:16:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404629816987090944,"timestamp_seconds":5404629816987091.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:16:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:16:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:16:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:16:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:16:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191302,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:16:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:16:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:16:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:16:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233072896001,"66":12526,"120":206,"28":31744,"24":2,"16":22369817470173184,"45":1739304280469811200},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:16:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:16:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:16:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233072896001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:16:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:16:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:16:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369817470173184,"km_value":22369817470173.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:16:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469811200,"description":"Unknown IO ID 45"} 
[2026-09-21 12:16:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233072896001,"power":12526,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739304280469811200}} 
[2026-09-21 12:16:51] local.INFO: DEBUG: GPS processor result {"connection_id":191302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:16:51] local.INFO: GPS data processed {"connection_id":191302,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:16:51] local.INFO: Acknowledgment sent {"connection_id":191302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:17:08] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:08] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:08] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:17:13] local.INFO: TCP Data received {"connection_id":189982,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:13] local.INFO: Processing buffer {"connection_id":189982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:13] local.INFO: IMEI packet received {"connection_id":189982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":189982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:17:13] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:13] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:17:13] local.INFO: IMEI packet received {"connection_id":188534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":188534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:17:14] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:14] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:14] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:14] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:17:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:17:14] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:17:14] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:17:18] local.INFO: TCP Data received {"connection_id":189982,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:18] local.INFO: Processing buffer {"connection_id":189982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:17:18] local.INFO: IMEI packet received {"connection_id":189982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":189982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:17:19] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:19] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:19] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:19] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:17:19] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:17:19] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:17:19] local.INFO: TCP Data received {"connection_id":189982,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b70750012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b70750012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:19] local.INFO: Processing buffer {"connection_id":189982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b70750012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:19] local.INFO: Packet analysis {"connection_id":189982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:17:19] local.INFO: Extracted packet for processing {"connection_id":189982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649728,"longitude_deg":75.6556608,"latitude_deg":11.9649728,"altitude":70,"angle":194,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-21 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233126144001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369847534944256,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469651456,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789973170000,"timestamp_ms":1789973170000,"timestamp_seconds":1789973170,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b70750"} 
[2026-09-21 12:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266627864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341696,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3043829761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259078,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":63,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,121,160,99,45,64,181,70,44,10,66,17,191,1,240,14,194,33,4,113,205,27,35,192,46,239,49,2,79,7,231,63,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:17:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044245081184272384,"timestamp_seconds":5044245081184272.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233126144001,"66":12548,"120":206,"28":31744,"24":0,"16":22369847534944256,"45":1739304280469651456},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233126144001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369847534944256,"km_value":22369847534944.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469651456,"description":"Unknown IO ID 45"} 
[2026-09-21 12:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233126144001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469651456}} 
[2026-09-21 12:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":189982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:17:19] local.INFO: GPS data processed {"connection_id":189982,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:17:19] local.INFO: Acknowledgment sent {"connection_id":189982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:17:20] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:17:20] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:17:20] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:17:24] local.INFO: TCP Data received {"connection_id":188534,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:24] local.INFO: Processing buffer {"connection_id":188534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:17:24] local.INFO: Packet analysis {"connection_id":188534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:24] local.INFO: Extracted packet for processing {"connection_id":188534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:17:24] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:17:24] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:17:24] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":188534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:17:24] local.INFO: GPS data processed {"connection_id":188534,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:17:24] local.INFO: Acknowledgment sent {"connection_id":188534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:17:51] local.INFO: TCP Data received {"connection_id":189982,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b75958012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b75958012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:51] local.INFO: Processing buffer {"connection_id":189982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b75958012d1823400721b5c0004600c22d..."} 
[2026-09-21 12:17:51] local.INFO: Packet analysis {"connection_id":189982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:17:51] local.INFO: Extracted packet for processing {"connection_id":189982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649728,"longitude_deg":75.6556608,"latitude_deg":11.9649728,"altitude":70,"angle":194,"satellites":45,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b5c0","is_valid_coordinates":true} 
[2026-09-21 12:17:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233131520001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369847534944256,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469651456,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] 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-09-21 12:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789973191000,"timestamp_ms":1789973191000,"timestamp_seconds":1789973191,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b75958"} 
[2026-09-21 12:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:17:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266648864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3049205761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259078,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:17:51] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:17:51] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,120,28,24,241,158,16,121,160,181,45,64,70,10,66,99,44,17,1,240,255,194,33,4,113,205,109,35,192,47,239,49,2,79,7,231],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:17:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044245081184272384,"timestamp_seconds":5044245081184272.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233131520001,"66":12558,"120":206,"28":31744,"24":0,"16":22369847534944256,"45":1739304280469651456},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233131520001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:17:51] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369847534944256,"km_value":22369847534944.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:17:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469651456,"description":"Unknown IO ID 45"} 
[2026-09-21 12:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233131520001,"power":12558,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739304280469651456}} 
[2026-09-21 12:17:51] local.INFO: DEBUG: GPS processor result {"connection_id":189982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:17:51] local.INFO: GPS data processed {"connection_id":189982,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:17:51] local.INFO: Acknowledgment sent {"connection_id":189982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:18:03] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:03] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:03] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:18:08] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:08] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:18:08] local.INFO: IMEI packet received {"connection_id":191304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":191304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:18:09] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:18:09] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b3afd8012d34c04006aa41300009000c2e..."} 
[2026-09-21 12:18:09] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:18:09] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b3"} 
[2026-09-21 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458232998400001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789972951000,"timestamp_ms":1789972951000,"timestamp_seconds":1789972951,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b3afd8"} 
[2026-09-21 12:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 12:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458232998400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458232998400001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458232998400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:18:09] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:18:09] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:18:18] local.INFO: TCP Data received {"connection_id":188535,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:18] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:18] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:18:23] local.INFO: TCP Data received {"connection_id":188535,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:23] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:18:23] local.INFO: IMEI packet received {"connection_id":188535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":188535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:18:24] local.INFO: TCP Data received {"connection_id":188535,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b75d40012d1822400721b408004c00d52d..."} 
[2026-09-21 12:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b75d40012d1822400721b408004c00d52d..."} 
[2026-09-21 12:18:24] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b75d40012d1822400721b408004c00d52d..."} 
[2026-09-21 12:18:24] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:18:24] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649288,"longitude_deg":75.6556352,"latitude_deg":11.9649288,"altitude":76,"angle":213,"satellites":45,"speed":2,"hex_longitude":"2d182240","hex_latitude":"0721b408","is_valid_coordinates":true} 
[2026-09-21 12:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233136896001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369873304748032,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469651456,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789973192000,"timestamp_ms":1789973192000,"timestamp_seconds":1789973192,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b75d40"} 
[2026-09-21 12:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428992,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266669864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":64,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249385889052341696,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3054581761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259078,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:24] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,121,160,7,45,64,181,70,10,66,99,1,240,14,194,33,4,113,205,191,35,192,48,239,49,2,79,231,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:18:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044245081184272384,"timestamp_seconds":5044245081184272.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:18:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233136896001,"66":12385,"120":206,"28":31744,"24":2,"16":22369873304748032,"45":1739304280469651456},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233136896001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:18:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:18:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369873304748032,"km_value":22369873304748.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469651456,"description":"Unknown IO ID 45"} 
[2026-09-21 12:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233136896001,"power":12385,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1739304280469651456}} 
[2026-09-21 12:18:25] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:18:25] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:18:25] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:18:29] local.INFO: TCP Data received {"connection_id":188535,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b7af48012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188535,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b7af48012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:18:29] local.INFO: Processing buffer {"connection_id":188535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b7af48012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:18:29] local.INFO: Packet analysis {"connection_id":188535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:18:29] local.INFO: Extracted packet for processing {"connection_id":188535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b7"} 
[2026-09-21 12:18:29] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648552,"longitude_deg":75.6555776,"latitude_deg":11.9648552,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233137152001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369924844355584,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492828160,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18: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-09-21 12:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789973213000,"timestamp_ms":1789973213000,"timestamp_seconds":1789973213,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b7af48"} 
[2026-09-21 12:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:18: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-09-21 12:18:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 12:18: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-09-21 12:18:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":188535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":188535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:18:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233137152001,"66":12461,"120":206,"28":31744,"24":0,"16":22369924844355584,"45":1739022805492828160},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233137152001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:18:29] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369924844355584,"km_value":22369924844355.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492828160,"description":"Unknown IO ID 45"} 
[2026-09-21 12:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233137152001,"power":12461,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1739022805492828160}} 
[2026-09-21 12:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":188535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:18:29] local.INFO: GPS data processed {"connection_id":188535,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:18:29] local.INFO: Acknowledgment sent {"connection_id":188535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:18:41] local.INFO: TCP Data received {"connection_id":191304,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:18:41] local.INFO: Processing buffer {"connection_id":191304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:18:41] local.INFO: Packet analysis {"connection_id":191304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:18:41] local.INFO: Extracted packet for processing {"connection_id":191304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:18:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":191304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:18:41] local.INFO: GPS data processed {"connection_id":191304,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:18:41] local.INFO: Acknowledgment sent {"connection_id":191304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:19:03] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:03] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:03] local.INFO: IMEI packet received {"connection_id":188680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":188680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:19:08] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:08] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:19:08] local.INFO: IMEI packet received {"connection_id":188680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:19:09] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:09] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:09] local.INFO: Packet analysis {"connection_id":188680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:09] local.INFO: Extracted packet for processing {"connection_id":188680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:19: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-09-21 12:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":188680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:19:09] local.INFO: GPS data processed {"connection_id":188680,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:19:09] local.INFO: Acknowledgment sent {"connection_id":188680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:19:13] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:13] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:13] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:19:14] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:14] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:14] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:19:18] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:18] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:19:18] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:19:19] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b80150012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b80150012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:19] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b80150012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:19] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:19] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648552,"longitude_deg":75.6555776,"latitude_deg":11.9648552,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-21 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233142528001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369924844355584,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795040768,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789973234000,"timestamp_ms":1789973234000,"timestamp_seconds":1789973234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b80150"} 
[2026-09-21 12:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 12:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233142528001,"66":12548,"120":206,"28":31744,"24":0,"16":22369924844355584,"45":1738389486795040768},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233142528001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:19:19] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:19:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369924844355584,"km_value":22369924844355.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795040768,"description":"Unknown IO ID 45"} 
[2026-09-21 12:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233142528001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795040768}} 
[2026-09-21 12:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:19:19] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:19:19] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:19:24] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b85358012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b85358012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:24] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b85358012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:24] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:24] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648552,"longitude_deg":75.6555776,"latitude_deg":11.9648552,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-21 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233147904001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369924844355584,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795040768,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789973255000,"timestamp_ms":1789973255000,"timestamp_seconds":1789973255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b85358"} 
[2026-09-21 12:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266732864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3070709761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259078,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:19:24] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:24] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,120,28,24,241,158,16,121,160,175,45,177,75,43,10,66,93,64,180,76,89,1,240,14,194,33,4,113,205,181,35,192,239,49,2,79,7,70,231],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:19:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404547336435138560,"timestamp_seconds":5404547336435139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233147904001,"66":12548,"120":206,"28":31744,"24":0,"16":22369924844355584,"45":1738389486795040768},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233147904001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:19:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:19:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369924844355584,"km_value":22369924844355.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795040768,"description":"Unknown IO ID 45"} 
[2026-09-21 12:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233147904001,"power":12548,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795040768}} 
[2026-09-21 12:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:19:24] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:19:24] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:19:42] local.INFO: TCP Data received {"connection_id":188680,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:42] local.INFO: Processing buffer {"connection_id":188680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:19:42] local.INFO: Packet analysis {"connection_id":188680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:42] local.INFO: Extracted packet for processing {"connection_id":188680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:19:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:19:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:19:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:19:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:19: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-09-21 12: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-09-21 12:19:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:19:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:19:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:19:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:19:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:19:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:19:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:19:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:19:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:19:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:19:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:19:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:19:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:19:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:19:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:19:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:19:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:19:42] local.INFO: DEBUG: GPS processor result {"connection_id":188680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:19:42] local.INFO: GPS data processed {"connection_id":188680,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:19:42] local.INFO: Acknowledgment sent {"connection_id":188680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:19:55] local.INFO: TCP Data received {"connection_id":188681,"ip":"117.224.99.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b8a560012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b8a560012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:55] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b8a560012d1820000721b128004b00cf2b..."} 
[2026-09-21 12:19:55] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:55] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648552,"longitude_deg":75.6555776,"latitude_deg":11.9648552,"altitude":75,"angle":207,"satellites":43,"speed":0,"hex_longitude":"2d182000","hex_latitude":"0721b128","is_valid_coordinates":true} 
[2026-09-21 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233153280001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22369924844355584,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795040768,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19: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-09-21 12:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789973276000,"timestamp_ms":1789973276000,"timestamp_seconds":1789973276,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b8a560"} 
[2026-09-21 12:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:19:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3266753864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3076085761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3049259078,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883401422,"corrected_to":0} 
[2026-09-21 12:19:55] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8647137906286139392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:19:55] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,120,28,24,241,158,16,121,160,1,45,177,75,43,10,66,175,93,64,240,97,194,33,4,113,205,7,35,192,239,49,2,79,70,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3883401422,"validated":0}]} 
[2026-09-21 12:19:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404547336435138560,"timestamp_seconds":5404547336435139.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.99.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233153280001,"66":13722,"120":206,"28":31744,"24":0,"16":22369924844355584,"45":1738389486795040768},"client_ip":"117.224.99.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-09-21 12:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233153280001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:19:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-09-21 12:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-09-21 12:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22369924844355584,"km_value":22369924844355.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795040768,"description":"Unknown IO ID 45"} 
[2026-09-21 12:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233153280001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1738389486795040768}} 
[2026-09-21 12:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:19:55] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:19:55] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:20:03] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:03] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:03] local.INFO: IMEI packet received {"connection_id":188537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":188537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:20:08] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:08] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:20:08] local.INFO: IMEI packet received {"connection_id":188537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":188537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:20:09] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:09] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:09] local.INFO: Packet analysis {"connection_id":188537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:20:09] local.INFO: Extracted packet for processing {"connection_id":188537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 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-09-21 12:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:20: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-09-21 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-09-21 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-09-21 12:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":188537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:20:09] local.INFO: GPS data processed {"connection_id":188537,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:20:09] local.INFO: Acknowledgment sent {"connection_id":188537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:20:10] local.INFO: TCP Data received {"connection_id":188682,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:10] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:10] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:20:11] local.INFO: TCP Data received {"connection_id":188682,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:11] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:11] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:20:12] local.INFO: TCP Data received {"connection_id":188682,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:12] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:12] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:20:13] local.INFO: TCP Data received {"connection_id":188682,"ip":"117.224.99.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:13] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:20:13] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:20:41] local.INFO: TCP Data received {"connection_id":188537,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:41] local.INFO: Processing buffer {"connection_id":188537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:20:41] local.INFO: Packet analysis {"connection_id":188537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:20:41] local.INFO: Extracted packet for processing {"connection_id":188537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:20: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-09-21 12:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:20:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":188537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:20:41] local.INFO: GPS data processed {"connection_id":188537,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:20:41] local.INFO: Acknowledgment sent {"connection_id":188537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:21:03] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:03] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:03] local.INFO: IMEI packet received {"connection_id":189984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":189984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:21:08] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:08] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:21:08] local.INFO: IMEI packet received {"connection_id":189984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":189984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:21:09] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:09] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:09] local.INFO: Packet analysis {"connection_id":189984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:21:09] local.INFO: Extracted packet for processing {"connection_id":189984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 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-09-21 12:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:21: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-09-21 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-09-21 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-09-21 12:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":189984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:21:09] local.INFO: GPS data processed {"connection_id":189984,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:21:09] local.INFO: Acknowledgment sent {"connection_id":189984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:21:40] local.INFO: TCP Data received {"connection_id":189984,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:40] local.INFO: Processing buffer {"connection_id":189984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:21:40] local.INFO: Packet analysis {"connection_id":189984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:21:40] local.INFO: Extracted packet for processing {"connection_id":189984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":189984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:21:40] local.INFO: GPS data processed {"connection_id":189984,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:21:40] local.INFO: Acknowledgment sent {"connection_id":189984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:22:03] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:03] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:03] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:22:08] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:08] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:22:08] local.INFO: IMEI packet received {"connection_id":191306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":191306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:22:09] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:09] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:09] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:22:09] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:22: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-09-21 12:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:22:09] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:22:09] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:22:41] local.INFO: TCP Data received {"connection_id":191306,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:41] local.INFO: Processing buffer {"connection_id":191306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2b847a0012d34c04006aa41300006000c2b..."} 
[2026-09-21 12:22:41] local.INFO: Packet analysis {"connection_id":191306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:22:41] local.INFO: Extracted packet for processing {"connection_id":191306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2b8"} 
[2026-09-21 12:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233075456001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973252000,"timestamp_ms":1789973252000,"timestamp_seconds":1789973252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2b847a0"} 
[2026-09-21 12:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233075456001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233075456001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233075456001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":191306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:22:41] local.INFO: GPS data processed {"connection_id":191306,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:22:41] local.INFO: Acknowledgment sent {"connection_id":191306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:22:50] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:22:50] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:22:50] local.INFO: IMEI packet received {"connection_id":188684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":188684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:23:08] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:08] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:08] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:23:11] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:11] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:23:11] local.INFO: IMEI packet received {"connection_id":191307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":191307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:23:12] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:12] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:12] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:12] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:23: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-09-21 12:23: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-09-21 12:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:23:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:23:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:23:12] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:23:12] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:23:13] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:13] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:13] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:13] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:23: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-09-21 12: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-09-21 12:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:23:13] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:23:13] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:23:15] local.INFO: TCP Data received {"connection_id":188539,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:23:15] local.INFO: Processing buffer {"connection_id":188539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:23:15] local.INFO: IMEI packet received {"connection_id":188539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":188539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:23:45] local.INFO: TCP Data received {"connection_id":191307,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191307,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:45] local.INFO: Processing buffer {"connection_id":191307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:23:45] local.INFO: Packet analysis {"connection_id":191307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:45] local.INFO: Extracted packet for processing {"connection_id":191307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:23:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:23: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-09-21 12:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:23:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:23:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:23:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:23:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":191307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:23:45] local.INFO: GPS data processed {"connection_id":191307,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:23:45] local.INFO: Acknowledgment sent {"connection_id":191307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:24:03] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:03] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:03] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:24:08] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:08] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:24:08] local.INFO: IMEI packet received {"connection_id":188540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":188540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:24:09] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:09] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:09] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:24:09] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 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-09-21 12:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:24: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-09-21 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-09-21 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-09-21 12:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:24:09] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:24:09] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:24:41] local.INFO: TCP Data received {"connection_id":188540,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188540,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:41] local.INFO: Processing buffer {"connection_id":188540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:24:41] local.INFO: Packet analysis {"connection_id":188540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:24:41] local.INFO: Extracted packet for processing {"connection_id":188540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":188540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:24:41] local.INFO: GPS data processed {"connection_id":188540,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:24:41] local.INFO: Acknowledgment sent {"connection_id":188540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:25:03] local.INFO: TCP Data received {"connection_id":189987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:03] local.INFO: Processing buffer {"connection_id":189987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:03] local.INFO: IMEI packet received {"connection_id":189987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":189987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:25:08] local.INFO: TCP Data received {"connection_id":189987,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:08] local.INFO: Processing buffer {"connection_id":189987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:25:08] local.INFO: IMEI packet received {"connection_id":189987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":189987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:25:09] local.INFO: TCP Data received {"connection_id":189987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:09] local.INFO: Processing buffer {"connection_id":189987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:09] local.INFO: Packet analysis {"connection_id":189987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:25:09] local.INFO: Extracted packet for processing {"connection_id":189987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:25:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:25: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-09-21 12:25:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":189987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:25:09] local.INFO: GPS data processed {"connection_id":189987,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:25:09] local.INFO: Acknowledgment sent {"connection_id":189987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:25:41] local.INFO: TCP Data received {"connection_id":189987,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:41] local.INFO: Processing buffer {"connection_id":189987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:25:41] local.INFO: Packet analysis {"connection_id":189987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:25:41] local.INFO: Extracted packet for processing {"connection_id":189987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:25: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-09-21 12:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":189987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:25:41] local.INFO: GPS data processed {"connection_id":189987,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:25:41] local.INFO: Acknowledgment sent {"connection_id":189987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:26:03] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:03] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:03] local.INFO: IMEI packet received {"connection_id":191309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:26:08] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:08] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:26:08] local.INFO: IMEI packet received {"connection_id":191309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:26:09] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:09] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:09] local.INFO: Packet analysis {"connection_id":191309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:26:09] local.INFO: Extracted packet for processing {"connection_id":191309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 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-09-21 12:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":191309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:26:09] local.INFO: GPS data processed {"connection_id":191309,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:26:09] local.INFO: Acknowledgment sent {"connection_id":191309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:26:28] local.INFO: TCP Data received {"connection_id":188542,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188542,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:28] local.INFO: Processing buffer {"connection_id":188542,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:28] local.INFO: Packet analysis {"connection_id":188542,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 12:26:28] local.INFO: Extracted packet for processing {"connection_id":188542,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 12:26:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 12:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 12:26:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:28] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 12:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 12:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 12:26:28] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188542,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 12:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188542,"device_imei":null,"avl_records_count":1} 
[2026-09-21 12:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188542,"device_imei":null,"avl_records_count":1} 
[2026-09-21 12:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":188542,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 12:26:28] local.INFO: GPS data processed {"connection_id":188542,"processed":0,"errors":0,"total":1} 
[2026-09-21 12:26:28] local.INFO: Acknowledgment sent {"connection_id":188542,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:26:35] local.INFO: TCP Data received {"connection_id":188686,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188686,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:35] local.INFO: Processing buffer {"connection_id":188686,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 12:26:35] local.INFO: Packet analysis {"connection_id":188686,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 12:26:35] local.INFO: Extracted packet for processing {"connection_id":188686,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 12:26:35] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 12:26:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 12:26:35] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:35] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 12:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 12:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 12:26:35] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":188686,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 12:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":188686,"device_imei":null,"avl_records_count":1} 
[2026-09-21 12:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":188686,"device_imei":null,"avl_records_count":1} 
[2026-09-21 12:26:35] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":188686,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 12:26:35] local.INFO: GPS data processed {"connection_id":188686,"processed":0,"errors":0,"total":1} 
[2026-09-21 12:26:35] local.INFO: Acknowledgment sent {"connection_id":188686,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:26:41] local.INFO: TCP Data received {"connection_id":191309,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:41] local.INFO: Processing buffer {"connection_id":191309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:26:41] local.INFO: Packet analysis {"connection_id":191309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:26:41] local.INFO: Extracted packet for processing {"connection_id":191309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:26: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-09-21 12:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:26:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:26:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":191309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:26:41] local.INFO: GPS data processed {"connection_id":191309,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:26:41] local.INFO: Acknowledgment sent {"connection_id":191309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:27:03] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:03] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:03] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:27:08] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:08] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:27:08] local.INFO: IMEI packet received {"connection_id":188543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:27:10] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:10] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:10] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:27:10] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:27:10] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:27:10] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:27:28] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:28] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:28] local.INFO: IMEI packet received {"connection_id":191310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:27:28] local.INFO: IMEI acknowledgment sent {"connection_id":191310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:27:30] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:30] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:27:30] local.INFO: IMEI packet received {"connection_id":191310,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:27:30] local.INFO: IMEI acknowledgment sent {"connection_id":191310,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:27:31] local.INFO: TCP Data received {"connection_id":191310,"ip":"42.109.136.9","data_length":93,"data_hex":"00000000000000518e01000001a0c2c00800012d196a0007220a18006b011626..."} 
[2026-09-21 12:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191310,"packet_length":93,"packet_hex":"00000000000000518e01000001a0c2c00800012d196a0007220a18006b011626..."} 
[2026-09-21 12:27:31] local.INFO: Processing buffer {"connection_id":191310,"buffer_length":93,"buffer_hex":"00000000000000518e01000001a0c2c00800012d196a0007220a18006b011626..."} 
[2026-09-21 12:27:31] local.INFO: Packet analysis {"connection_id":191310,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e01000001a0c2c0"} 
[2026-09-21 12:27:31] local.INFO: Extracted packet for processing {"connection_id":191310,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e01000001a0c2c0"} 
[2026-09-21 12:27:31] local.INFO: GPS Element Parsed {"raw_longitude":756640256,"raw_latitude":119671320,"longitude_deg":75.6640256,"latitude_deg":11.967132,"altitude":107,"angle":278,"satellites":38,"speed":14,"hex_longitude":"2d196a00","hex_latitude":"07220a18","is_valid_coordinates":true} 
[2026-09-21 12: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":93,"current_offset":40} 
[2026-09-21 12:27:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:27:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:27:31] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:27:31] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 12:27:31] local.INFO: Teltonika packet parsed successfully {"connection_id":191310,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 12:27:31] local.INFO: Passing IMEI to GPS processor {"connection_id":191310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 12:27:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":191310,"device_imei":"862567074811360","avl_records_count":0} 
[2026-09-21 12:27:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 12:27:31] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 12:27:31] local.INFO: DEBUG: GPS processor result {"connection_id":191310,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 12:27:31] local.ERROR: GPS data processing failed {"connection_id":191310,"error":"No valid data to process"} 
[2026-09-21 12:27:31] local.INFO: Acknowledgment sent {"connection_id":191310,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 12:27:41] local.INFO: TCP Data received {"connection_id":188543,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:41] local.INFO: Processing buffer {"connection_id":188543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2bcdf68012d34c04006aa41300004000c2b..."} 
[2026-09-21 12:27:41] local.INFO: Packet analysis {"connection_id":188543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:27:41] local.INFO: Extracted packet for processing {"connection_id":188543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2bc"} 
[2026-09-21 12:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233152512001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:27: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-09-21 12:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973553000,"timestamp_ms":1789973553000,"timestamp_seconds":1789973553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2bcdf68"} 
[2026-09-21 12:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:27:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233152512001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233152512001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233152512001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:27:41] local.INFO: GPS data processed {"connection_id":188543,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:27:41] local.INFO: Acknowledgment sent {"connection_id":188543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:28:08] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:08] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:08] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:28:12] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:12] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:12] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:28:12] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:12] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:28:12] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:28:13] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:28:13] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:13] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:13] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:13] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:28:13] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:28:13] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:28:13] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:13] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:28:14] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:14] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:28:14] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:28:14] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:14] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:14] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:14] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:28:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:28:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:28:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:28:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:28:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:28:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:28:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:28:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:28:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:28:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:28:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:28:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:28:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:28:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:28:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:28:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:28:14] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:28:14] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:28:40] local.INFO: TCP Data received {"connection_id":191311,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:28:40] local.INFO: Processing buffer {"connection_id":191311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:28:40] local.INFO: IMEI packet received {"connection_id":191311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:28:40] local.INFO: IMEI acknowledgment sent {"connection_id":191311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:28:45] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:45] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:28:45] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:45] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:28: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-09-21 12:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:28:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:28:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:28:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:28:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:28:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:28:45] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:28:45] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:29:03] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:03] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:03] local.INFO: IMEI packet received {"connection_id":191312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":191312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:29:08] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:08] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:29:08] local.INFO: IMEI packet received {"connection_id":191312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":191312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:29:09] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:09] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:09] local.INFO: Packet analysis {"connection_id":191312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:29:09] local.INFO: Extracted packet for processing {"connection_id":191312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 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-09-21 12:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":191312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:29:09] local.INFO: GPS data processed {"connection_id":191312,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:29:09] local.INFO: Acknowledgment sent {"connection_id":191312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:29:15] local.INFO: TCP Data received {"connection_id":189988,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:29:15] local.INFO: Processing buffer {"connection_id":189988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:29:15] local.INFO: IMEI packet received {"connection_id":189988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":189988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:29:40] local.INFO: TCP Data received {"connection_id":191312,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191312,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:40] local.INFO: Processing buffer {"connection_id":191312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:29:40] local.INFO: Packet analysis {"connection_id":191312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:29:40] local.INFO: Extracted packet for processing {"connection_id":191312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:29:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":191312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:29:40] local.INFO: GPS data processed {"connection_id":191312,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:29:40] local.INFO: Acknowledgment sent {"connection_id":191312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:30:03] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:03] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:03] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:30:08] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:08] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:30:08] local.INFO: IMEI packet received {"connection_id":188545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:30:09] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:09] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:09] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:30:09] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 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-09-21 12:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:30:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:30:09] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:30:09] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:30:41] local.INFO: TCP Data received {"connection_id":188545,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:41] local.INFO: Processing buffer {"connection_id":188545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:30:41] local.INFO: Packet analysis {"connection_id":188545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:30:41] local.INFO: Extracted packet for processing {"connection_id":188545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:30: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-09-21 12:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:30: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:30:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:30:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:30:41] local.INFO: GPS data processed {"connection_id":188545,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:30:41] local.INFO: Acknowledgment sent {"connection_id":188545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:31:03] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:03] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:03] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:31:08] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:08] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:31:08] local.INFO: IMEI packet received {"connection_id":191313,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":191313,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:31:09] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:09] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:09] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:31:09] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 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-09-21 12:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:31:09] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:31:09] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:31:41] local.INFO: TCP Data received {"connection_id":191313,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:41] local.INFO: Processing buffer {"connection_id":191313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:31:41] local.INFO: Packet analysis {"connection_id":191313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:31:41] local.INFO: Extracted packet for processing {"connection_id":191313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:31: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-09-21 12:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191313,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":191313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:31:41] local.INFO: GPS data processed {"connection_id":191313,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:31:41] local.INFO: Acknowledgment sent {"connection_id":191313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:32:03] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:03] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:03] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:32:08] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:08] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:32:08] local.INFO: IMEI packet received {"connection_id":188546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":188546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:32:09] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:09] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:09] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:32:09] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:32:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:32:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:32:09] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:32:09] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:32:40] local.INFO: TCP Data received {"connection_id":188546,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:40] local.INFO: Processing buffer {"connection_id":188546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c17730012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:32:40] local.INFO: Packet analysis {"connection_id":188546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:32:40] local.INFO: Extracted packet for processing {"connection_id":188546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c1"} 
[2026-09-21 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233229568001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789973854000,"timestamp_ms":1789973854000,"timestamp_seconds":1789973854,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c17730"} 
[2026-09-21 12:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 12:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233229568001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233229568001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233229568001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:32:41] local.INFO: DEBUG: GPS processor result {"connection_id":188546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:32:41] local.INFO: GPS data processed {"connection_id":188546,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:32:41] local.INFO: Acknowledgment sent {"connection_id":188546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:33:08] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:08] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:08] local.INFO: IMEI packet received {"connection_id":189991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":189991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:33:13] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:13] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:33:13] local.INFO: IMEI packet received {"connection_id":189991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":189991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:33:14] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:14] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:14] local.INFO: Packet analysis {"connection_id":189991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:14] local.INFO: Extracted packet for processing {"connection_id":189991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:33:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:33:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:33:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:33:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:33:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:33: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-09-21 12:33:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:33:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:33:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:33:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:33:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:33:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:33:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:33:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:33:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:33:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:33:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:33:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:33:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:33:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:33:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:33:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:33:14] local.INFO: DEBUG: GPS processor result {"connection_id":189991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:33:14] local.INFO: GPS data processed {"connection_id":189991,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:33:14] local.INFO: Acknowledgment sent {"connection_id":189991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:33:16] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:16] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:16] local.INFO: Packet analysis {"connection_id":189991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:16] local.INFO: Extracted packet for processing {"connection_id":189991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:33:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33: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-09-21 12:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:33:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":189991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:33:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:33:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:33:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:33:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":189991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:33:16] local.INFO: GPS data processed {"connection_id":189991,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:33:16] local.INFO: Acknowledgment sent {"connection_id":189991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:33:18] local.INFO: TCP Data received {"connection_id":189992,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:33:18] local.INFO: Processing buffer {"connection_id":189992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:33:18] local.INFO: IMEI packet received {"connection_id":189992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":189992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:33:18] local.INFO: TCP Data received {"connection_id":189992,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c4f1d0012d1859400721ff480053002e2b..."} 
[2026-09-21 12:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c4f1d0012d1859400721ff480053002e2b..."} 
[2026-09-21 12:33:18] local.INFO: Processing buffer {"connection_id":189992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c4f1d0012d1859400721ff480053002e2b..."} 
[2026-09-21 12:33:18] local.INFO: Packet analysis {"connection_id":189992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c4"} 
[2026-09-21 12:33:18] local.INFO: Extracted packet for processing {"connection_id":189992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c4"} 
[2026-09-21 12:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756570432,"raw_latitude":119668552,"longitude_deg":75.6570432,"latitude_deg":11.9668552,"altitude":83,"angle":46,"satellites":43,"speed":8,"hex_longitude":"2d185940","hex_latitude":"0721ff48","is_valid_coordinates":true} 
[2026-09-21 12:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233364480001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22383947912577024,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754152085495875584,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789974082000,"timestamp_ms":1789974082000,"timestamp_seconds":1789974082,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c4f1d0"} 
[2026-09-21 12:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-21 12:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233364480001,"66":12917,"105":206,"83":41984,"24":8,"16":22383947912577024,"45":1754152085495875584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233364480001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:33:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22383947912577024,"km_value":22383947912577.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754152085495875584,"description":"Unknown IO ID 45"} 
[2026-09-21 12:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233364480001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1754152085495875584}} 
[2026-09-21 12:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":189992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:33:19] local.INFO: GPS data processed {"connection_id":189992,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:33:19] local.INFO: Acknowledgment sent {"connection_id":189992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:33:47] local.INFO: TCP Data received {"connection_id":189991,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:47] local.INFO: Processing buffer {"connection_id":189991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:33:47] local.INFO: Packet analysis {"connection_id":189991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:47] local.INFO: Extracted packet for processing {"connection_id":189991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":189991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":189991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":189991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:33:47] local.INFO: GPS data processed {"connection_id":189991,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:33:47] local.INFO: Acknowledgment sent {"connection_id":189991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:33:49] local.INFO: TCP Data received {"connection_id":189992,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c543d8012d185a8007220068005300382c..."} 
[2026-09-21 12:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c543d8012d185a8007220068005300382c..."} 
[2026-09-21 12:33:49] local.INFO: Processing buffer {"connection_id":189992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c543d8012d185a8007220068005300382c..."} 
[2026-09-21 12:33:49] local.INFO: Packet analysis {"connection_id":189992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c5"} 
[2026-09-21 12:33:49] local.INFO: Extracted packet for processing {"connection_id":189992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c5"} 
[2026-09-21 12:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756570752,"raw_latitude":119668840,"longitude_deg":75.6570752,"latitude_deg":11.966884,"altitude":83,"angle":56,"satellites":44,"speed":0,"hex_longitude":"2d185a80","hex_latitude":"07220068","is_valid_coordinates":true} 
[2026-09-21 12:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233364992001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22383973682380800,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754503929216845824,"note":"Value kept but may cause issues"} 
[2026-09-21 12:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789974103000,"timestamp_ms":1789974103000,"timestamp_seconds":1789974103,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c543d8"} 
[2026-09-21 12:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-21 12:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233364992001,"66":12711,"105":206,"83":41984,"24":0,"16":22383973682380800,"45":1754503929216845824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233364992001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:33:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22383973682380800,"km_value":22383973682380.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754503929216845824,"description":"Unknown IO ID 45"} 
[2026-09-21 12:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233364992001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1754503929216845824}} 
[2026-09-21 12:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":189992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:33:49] local.INFO: GPS data processed {"connection_id":189992,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:33:49] local.INFO: Acknowledgment sent {"connection_id":189992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:34:03] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:03] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:03] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:34:08] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:08] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:34:08] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:34:10] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:10] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:10] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:10] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:34: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-09-21 12:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:34:10] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:34:10] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:34:13] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:34:13] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:13] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:34:18] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:18] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:34:18] local.INFO: IMEI packet received {"connection_id":188547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":188547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:34:18] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c6ab38012d1857400721fad8005301142d..."} 
[2026-09-21 12:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c6ab38012d1857400721fad8005301142d..."} 
[2026-09-21 12:34:18] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c6ab38012d1857400721fad8005301142d..."} 
[2026-09-21 12:34:18] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:18] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756569920,"raw_latitude":119667416,"longitude_deg":75.656992,"latitude_deg":11.9667416,"altitude":83,"angle":276,"satellites":45,"speed":0,"hex_longitude":"2d185740","hex_latitude":"0721fad8","is_valid_coordinates":true} 
[2026-09-21 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233393408001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22384068171661312,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263133696,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789974195000,"timestamp_ms":1789974195000,"timestamp_seconds":1789974195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c6ab38"} 
[2026-09-21 12:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-21 12:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233393408001,"66":13906,"105":206,"83":41984,"24":0,"16":22384068171661312,"45":1753940979263133696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233393408001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:34:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22384068171661312,"km_value":22384068171661.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263133696,"description":"Unknown IO ID 45"} 
[2026-09-21 12:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233393408001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1753940979263133696}} 
[2026-09-21 12:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:34:19] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:34:19] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:34:22] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c6b308012d1856400721fab8005300fa2d..."} 
[2026-09-21 12:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c6b308012d1856400721fab8005300fa2d..."} 
[2026-09-21 12:34:22] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c6b308012d1856400721fab8005300fa2d..."} 
[2026-09-21 12:34:22] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:22] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756569664,"raw_latitude":119667384,"longitude_deg":75.6569664,"latitude_deg":11.9667384,"altitude":83,"angle":250,"satellites":45,"speed":4,"hex_longitude":"2d185640","hex_latitude":"0721fab8","is_valid_coordinates":true} 
[2026-09-21 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233393920001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22384081056563200,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753940979263133696,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789974197000,"timestamp_ms":1789974197000,"timestamp_seconds":1789974197,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c6b308"} 
[2026-09-21 12:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-21 12:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233393920001,"66":13928,"105":206,"83":41984,"24":4,"16":22384081056563200,"45":1753940979263133696},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233393920001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:34:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22384081056563200,"km_value":22384081056563.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753940979263133696,"description":"Unknown IO ID 45"} 
[2026-09-21 12:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233393920001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1753940979263133696}} 
[2026-09-21 12:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:34:22] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:34:22] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:34:41] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:41] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:34:41] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:41] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34: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-09-21 12:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:34: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-09-21 12:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:34:41] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:34:41] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:34:45] local.INFO: TCP Data received {"connection_id":191316,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:34:45] local.INFO: Processing buffer {"connection_id":191316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:34:45] local.INFO: IMEI packet received {"connection_id":191316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:34:45] local.INFO: IMEI acknowledgment sent {"connection_id":191316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:34:53] local.INFO: TCP Data received {"connection_id":188547,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c6b6f0012d1856000721fa70005300e42d..."} 
[2026-09-21 12:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188547,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c6b6f0012d1856000721fa70005300e42d..."} 
[2026-09-21 12:34:53] local.INFO: Processing buffer {"connection_id":188547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c6b6f0012d1856000721fa70005300e42d..."} 
[2026-09-21 12:34:53] local.INFO: Packet analysis {"connection_id":188547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:53] local.INFO: Extracted packet for processing {"connection_id":188547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:34:53] local.INFO: GPS Element Parsed {"raw_longitude":756569600,"raw_latitude":119667312,"longitude_deg":75.65696,"latitude_deg":11.9667312,"altitude":83,"angle":228,"satellites":45,"speed":6,"hex_longitude":"2d185600","hex_latitude":"0721fa70","is_valid_coordinates":true} 
[2026-09-21 12:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:34:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233394432001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22384085351530496,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753659504286414848,"note":"Value kept but may cause issues"} 
[2026-09-21 12:34:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:34:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789974198000,"timestamp_ms":1789974198000,"timestamp_seconds":1789974198,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c6b6f0"} 
[2026-09-21 12:34:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:34: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-09-21 12:34:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-21 12:34:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:34:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:34:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:34:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:34:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:34:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:34:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:34:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:34:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:34:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233394432001,"66":14243,"105":206,"83":41984,"24":6,"16":22384085351530496,"45":1753659504286414848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:34:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:34:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:34:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233394432001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:34:53] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:34:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:34:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22384085351530496,"km_value":22384085351530.496,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:34:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753659504286414848,"description":"Unknown IO ID 45"} 
[2026-09-21 12:34:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233394432001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1753659504286414848}} 
[2026-09-21 12:34:54] local.INFO: DEBUG: GPS processor result {"connection_id":188547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:34:54] local.INFO: GPS data processed {"connection_id":188547,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:34:54] local.INFO: Acknowledgment sent {"connection_id":188547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:35:03] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:03] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:03] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:35:08] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:08] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:35:08] local.INFO: IMEI packet received {"connection_id":188548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":188548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:35:09] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:09] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:09] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:35:09] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 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-09-21 12:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:35:09] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:35:09] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:35:11] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:11] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:11] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:35:13] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:13] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:13] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:35:15] local.INFO: TCP Data received {"connection_id":191317,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:35:15] local.INFO: Processing buffer {"connection_id":191317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:35:15] local.INFO: IMEI packet received {"connection_id":191317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":191317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:35:18] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:18] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:35:18] local.INFO: IMEI packet received {"connection_id":188549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":188549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:35:19] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c7b8c0012d186a80072181a8004c005a2a..."} 
[2026-09-21 12:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c7b8c0012d186a80072181a8004c005a2a..."} 
[2026-09-21 12:35:19] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c7b8c0012d186a80072181a8004c005a2a..."} 
[2026-09-21 12:35:19] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:35:19] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756574848,"raw_latitude":119636392,"longitude_deg":75.6574848,"latitude_deg":11.9636392,"altitude":76,"angle":90,"satellites":42,"speed":32,"hex_longitude":"2d186a80","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-09-21 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233411072001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22386357389230080,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757600153952481280,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974264000,"timestamp_ms":1789974264000,"timestamp_seconds":1789974264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c7b8c0"} 
[2026-09-21 12:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:35:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 12:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233411072001,"66":13993,"106":206,"83":41984,"24":32,"16":22386357389230080,"45":1757600153952481280},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 12:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233411072001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:35:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 12:35:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22386357389230080,"km_value":22386357389230.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757600153952481280,"description":"Unknown IO ID 45"} 
[2026-09-21 12:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233411072001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1757600153952481280}} 
[2026-09-21 12:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:35:19] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:35:19] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:35:40] local.INFO: TCP Data received {"connection_id":188548,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188548,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:40] local.INFO: Processing buffer {"connection_id":188548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:35:40] local.INFO: Packet analysis {"connection_id":188548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:35:40] local.INFO: Extracted packet for processing {"connection_id":188548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":188548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:35:40] local.INFO: GPS data processed {"connection_id":188548,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:35:40] local.INFO: Acknowledgment sent {"connection_id":188548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:35:50] local.INFO: TCP Data received {"connection_id":188549,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c7d418012d18860007218138004a006829..."} 
[2026-09-21 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188549,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c7d418012d18860007218138004a006829..."} 
[2026-09-21 12:35:50] local.INFO: Processing buffer {"connection_id":188549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c7d418012d18860007218138004a006829..."} 
[2026-09-21 12:35:50] local.INFO: Packet analysis {"connection_id":188549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:35:50] local.INFO: Extracted packet for processing {"connection_id":188549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756581888,"raw_latitude":119636280,"longitude_deg":75.6581888,"latitude_deg":11.963628,"altitude":74,"angle":104,"satellites":41,"speed":43,"hex_longitude":"2d188600","hex_latitude":"07218138","is_valid_coordinates":true} 
[2026-09-21 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233411584001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22386692396679168,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1759359372556871680,"note":"Value kept but may cause issues"} 
[2026-09-21 12:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789974271000,"timestamp_ms":1789974271000,"timestamp_seconds":1789974271,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c7d418"} 
[2026-09-21 12:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 12:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233411584001,"66":14070,"106":206,"83":41984,"24":43,"16":22386692396679168,"45":1759359372556871680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 12:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233411584001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:35:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 12:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22386692396679168,"km_value":22386692396679.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1759359372556871680,"description":"Unknown IO ID 45"} 
[2026-09-21 12:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233411584001,"power":14070,"unknown_106":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1759359372556871680}} 
[2026-09-21 12:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":188549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:35:50] local.INFO: GPS data processed {"connection_id":188549,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:35:50] local.INFO: Acknowledgment sent {"connection_id":188549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:36:03] local.INFO: TCP Data received {"connection_id":189994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:03] local.INFO: Processing buffer {"connection_id":189994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:03] local.INFO: IMEI packet received {"connection_id":189994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":189994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:36:08] local.INFO: TCP Data received {"connection_id":189994,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:08] local.INFO: Processing buffer {"connection_id":189994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:36:08] local.INFO: IMEI packet received {"connection_id":189994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":189994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:36:10] local.INFO: TCP Data received {"connection_id":189994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:10] local.INFO: Processing buffer {"connection_id":189994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:10] local.INFO: Packet analysis {"connection_id":189994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:36:10] local.INFO: Extracted packet for processing {"connection_id":189994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:36: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-09-21 12:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":189994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":189994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":189994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:36:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":189994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:36:10] local.INFO: GPS data processed {"connection_id":189994,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:36:10] local.INFO: Acknowledgment sent {"connection_id":189994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:36:13] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:13] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:13] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:36:18] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:18] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:36:18] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:36:18] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c7dbe8012d188e0007217e38004a007425..."} 
[2026-09-21 12:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c7dbe8012d188e0007217e38004a007425..."} 
[2026-09-21 12:36:18] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c7dbe8012d188e0007217e38004a007425..."} 
[2026-09-21 12:36:18] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:36:18] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c7"} 
[2026-09-21 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756583936,"raw_latitude":119635512,"longitude_deg":75.6583936,"latitude_deg":11.9635512,"altitude":74,"angle":116,"satellites":37,"speed":44,"hex_longitude":"2d188e00","hex_latitude":"07217e38","is_valid_coordinates":true} 
[2026-09-21 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233413376001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22386799770861568,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1767099934416386048,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789974273000,"timestamp_ms":1789974273000,"timestamp_seconds":1789974273,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c7dbe8"} 
[2026-09-21 12:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 12:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233413376001,"66":13993,"106":206,"83":41984,"24":44,"16":22386799770861568,"45":1767099934416386048},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 12:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233413376001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:36:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 12:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22386799770861568,"km_value":22386799770861.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1767099934416386048,"description":"Unknown IO ID 45"} 
[2026-09-21 12:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233413376001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1767099934416386048}} 
[2026-09-21 12:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:36:18] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:36:18] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:36:41] local.INFO: TCP Data received {"connection_id":189994,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:41] local.INFO: Processing buffer {"connection_id":189994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:36:41] local.INFO: Packet analysis {"connection_id":189994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:36:41] local.INFO: Extracted packet for processing {"connection_id":189994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36: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-09-21 12:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:36: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-09-21 12:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:36:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":189994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:36:41] local.INFO: GPS data processed {"connection_id":189994,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:36:41] local.INFO: Acknowledgment sent {"connection_id":189994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:36:50] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c90c98012d18e04007214d480044008a2a..."} 
[2026-09-21 12:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c90c98012d18e04007214d480044008a2a..."} 
[2026-09-21 12:36:50] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c90c98012d18e04007214d480044008a2a..."} 
[2026-09-21 12:36:50] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c9"} 
[2026-09-21 12:36:50] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c9"} 
[2026-09-21 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756604992,"raw_latitude":119622984,"longitude_deg":75.6604992,"latitude_deg":11.9622984,"altitude":68,"angle":138,"satellites":42,"speed":9,"hex_longitude":"2d18e040","hex_latitude":"07214d48","is_valid_coordinates":true} 
[2026-09-21 12:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233433088001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22388144095625216,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792080838596255744,"note":"Value kept but may cause issues"} 
[2026-09-21 12:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789974351000,"timestamp_ms":1789974351000,"timestamp_seconds":1789974351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c90c98"} 
[2026-09-21 12:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 12:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233433088001,"66":14352,"106":206,"83":41984,"24":9,"16":22388144095625216,"45":1792080838596255744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 12:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233433088001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:36:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 12:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22388144095625216,"km_value":22388144095625.215,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792080838596255744,"description":"Unknown IO ID 45"} 
[2026-09-21 12:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233433088001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1792080838596255744}} 
[2026-09-21 12:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:36:50] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:36:50] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:37:08] local.INFO: TCP Data received {"connection_id":188695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:08] local.INFO: Processing buffer {"connection_id":188695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:08] local.INFO: IMEI packet received {"connection_id":188695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:37:12] local.INFO: TCP Data received {"connection_id":191318,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:12] local.INFO: Processing buffer {"connection_id":191318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:12] local.INFO: IMEI packet received {"connection_id":191318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":191318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:37:13] local.INFO: TCP Data received {"connection_id":191318,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:13] local.INFO: Processing buffer {"connection_id":191318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:13] local.INFO: IMEI packet received {"connection_id":191318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":191318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:37:13] local.INFO: TCP Data received {"connection_id":188695,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:13] local.INFO: Processing buffer {"connection_id":188695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:37:13] local.INFO: IMEI packet received {"connection_id":188695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":188695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:37:14] local.INFO: TCP Data received {"connection_id":191318,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:14] local.INFO: Processing buffer {"connection_id":191318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:14] local.INFO: IMEI packet received {"connection_id":191318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":191318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:37:14] local.INFO: TCP Data received {"connection_id":188695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:14] local.INFO: Processing buffer {"connection_id":188695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:14] local.INFO: Packet analysis {"connection_id":188695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:37:14] local.INFO: Extracted packet for processing {"connection_id":188695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:37: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-09-21 12: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-09-21 12:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":188695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:37:14] local.INFO: GPS data processed {"connection_id":188695,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:37:14] local.INFO: Acknowledgment sent {"connection_id":188695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:37:16] local.INFO: TCP Data received {"connection_id":191318,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:16] local.INFO: Processing buffer {"connection_id":191318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:37:16] local.INFO: IMEI packet received {"connection_id":191318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:37:16] local.INFO: IMEI acknowledgment sent {"connection_id":191318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:37:19] local.INFO: TCP Data received {"connection_id":188695,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188695,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:19] local.INFO: Processing buffer {"connection_id":188695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:37:19] local.INFO: Packet analysis {"connection_id":188695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:37:19] local.INFO: Extracted packet for processing {"connection_id":188695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":188695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:37:19] local.INFO: GPS data processed {"connection_id":188695,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:37:19] local.INFO: Acknowledgment sent {"connection_id":188695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:38:03] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:03] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:03] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:38:08] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:08] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:38:08] local.INFO: IMEI packet received {"connection_id":188551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":188551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:38:09] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:38:09] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2c60ef8012d34c04006aa41300008000c2a..."} 
[2026-09-21 12:38:09] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:38:09] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2c6"} 
[2026-09-21 12:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233306624001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974155000,"timestamp_ms":1789974155000,"timestamp_seconds":1789974155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2c60ef8"} 
[2026-09-21 12:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:38: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-09-21 12: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-09-21 12:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233306624001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233306624001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233306624001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:38:09] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:38:09] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:38:40] local.INFO: TCP Data received {"connection_id":188551,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188551,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:38:40] local.INFO: Processing buffer {"connection_id":188551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:38:40] local.INFO: Packet analysis {"connection_id":188551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:38:40] local.INFO: Extracted packet for processing {"connection_id":188551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":188551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:38:40] local.INFO: GPS data processed {"connection_id":188551,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:38:40] local.INFO: Acknowledgment sent {"connection_id":188551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:39:03] local.INFO: TCP Data received {"connection_id":191321,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:03] local.INFO: Processing buffer {"connection_id":191321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:03] local.INFO: IMEI packet received {"connection_id":191321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":191321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:39:08] local.INFO: TCP Data received {"connection_id":191321,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:08] local.INFO: Processing buffer {"connection_id":191321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:39:08] local.INFO: IMEI packet received {"connection_id":191321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":191321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:39:09] local.INFO: TCP Data received {"connection_id":191321,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:09] local.INFO: Processing buffer {"connection_id":191321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:09] local.INFO: Packet analysis {"connection_id":191321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:39:09] local.INFO: Extracted packet for processing {"connection_id":191321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 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-09-21 12:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":191321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:39:09] local.INFO: GPS data processed {"connection_id":191321,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:39:09] local.INFO: Acknowledgment sent {"connection_id":191321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:39:41] local.INFO: TCP Data received {"connection_id":191321,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191321,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:41] local.INFO: Processing buffer {"connection_id":191321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:39:41] local.INFO: Packet analysis {"connection_id":191321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:39:41] local.INFO: Extracted packet for processing {"connection_id":191321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:39:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:39:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:39:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:39:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:39: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-09-21 12:39:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:39:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:39:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:39: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-09-21 12:39: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-09-21 12:39:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:39:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:39:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:39:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:39:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:39:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:39:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:39:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:39:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:39:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:39:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:39:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:39:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:39:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:39:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:39:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:39:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:39:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:39:41] local.INFO: DEBUG: GPS processor result {"connection_id":191321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:39:41] local.INFO: GPS data processed {"connection_id":191321,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:39:41] local.INFO: Acknowledgment sent {"connection_id":191321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:40:03] local.INFO: TCP Data received {"connection_id":188697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:03] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:03] local.INFO: IMEI packet received {"connection_id":188697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:40:08] local.INFO: TCP Data received {"connection_id":188697,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:08] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:40:08] local.INFO: IMEI packet received {"connection_id":188697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:40:09] local.INFO: TCP Data received {"connection_id":188697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:09] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:09] local.INFO: Packet analysis {"connection_id":188697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:40:09] local.INFO: Extracted packet for processing {"connection_id":188697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 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-09-21 12:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:40:09] local.INFO: GPS data processed {"connection_id":188697,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:40:09] local.INFO: Acknowledgment sent {"connection_id":188697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:40:30] local.INFO: TCP Data received {"connection_id":189995,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189995,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:40:30] local.INFO: Processing buffer {"connection_id":189995,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:40:30] local.INFO: IMEI packet received {"connection_id":189995,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":189995,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:40:41] local.INFO: TCP Data received {"connection_id":188697,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:41] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:40:41] local.INFO: Packet analysis {"connection_id":188697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:40:41] local.INFO: Extracted packet for processing {"connection_id":188697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:40: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-09-21 12: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-09-21 12:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:40:41] local.INFO: GPS data processed {"connection_id":188697,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:40:41] local.INFO: Acknowledgment sent {"connection_id":188697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:41:08] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:08] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:08] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:41:13] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:13] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:41:13] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:41:13] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:41:14] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:14] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:14] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:41:14] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:41:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:41:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:41: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-09-21 12: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-09-21 12:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:41:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:41:14] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:41:14] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:41:19] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:19] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:41:19] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:41:19] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:41:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:41:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:41:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:41:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:41:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:41:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:41:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:41:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:41:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:41:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:41:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:41:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:41:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:41:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:41:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:41:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:41:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:41:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:41:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:41:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:41:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:41:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:41:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:41:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:41:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:41:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:41:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:41:19] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:41:19] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:41:20] local.INFO: TCP Data received {"connection_id":188700,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188700,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:41:20] local.INFO: Processing buffer {"connection_id":188700,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:41:20] local.INFO: IMEI packet received {"connection_id":188700,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:41:20] local.INFO: IMEI acknowledgment sent {"connection_id":188700,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:42:03] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:03] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:03] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:42:08] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:08] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:42:08] local.INFO: IMEI packet received {"connection_id":188555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":188555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:42:09] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:09] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:09] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:42:09] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:42:09] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:42:09] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:42:18] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:42:18] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:42:18] local.INFO: IMEI packet received {"connection_id":189996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":189996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:42:18] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cdf668012d181e400721a8980049000c2a..."} 
[2026-09-21 12:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cdf668012d181e400721a8980049000c2a..."} 
[2026-09-21 12:42:18] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cdf668012d181e400721a8980049000c2a..."} 
[2026-09-21 12:42:18] local.INFO: Packet analysis {"connection_id":189996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cd"} 
[2026-09-21 12:42:18] local.INFO: Extracted packet for processing {"connection_id":189996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cd"} 
[2026-09-21 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646360,"longitude_deg":75.6555328,"latitude_deg":11.964636,"altitude":73,"angle":12,"satellites":42,"speed":6,"hex_longitude":"2d181e40","hex_latitude":"0721a898","is_valid_coordinates":true} 
[2026-09-21 12:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233515776001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393456970170368,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329335808,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789974673000,"timestamp_ms":1789974673000,"timestamp_seconds":1789974673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cdf668"} 
[2026-09-21 12:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3268240864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3450101761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2490368079,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":2550213912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":56,"raw_value":2466303338,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2381053952,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,142,160,234,45,128,166,73,39,10,66,199,159,77,43,183,64,1,240,169,227,194,33,4,113,205,26,92,208,239,56,2,79,7,29],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 12:42:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260582777157713920,"timestamp_seconds":5260582777157714.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233515776001,"66":13993,"105":206,"83":41984,"24":6,"16":22393456970170368,"45":1737967274329335808},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233515776001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:42:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393456970170368,"km_value":22393456970170.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329335808,"description":"Unknown IO ID 45"} 
[2026-09-21 12:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233515776001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737967274329335808}} 
[2026-09-21 12:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":189996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:42:18] local.INFO: GPS data processed {"connection_id":189996,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:42:18] local.INFO: Acknowledgment sent {"connection_id":189996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:42:42] local.INFO: TCP Data received {"connection_id":188555,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188555,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:42] local.INFO: Processing buffer {"connection_id":188555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:42:42] local.INFO: Packet analysis {"connection_id":188555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:42:42] local.INFO: Extracted packet for processing {"connection_id":188555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 12:42: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-09-21 12:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":188555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:42:42] local.INFO: GPS data processed {"connection_id":188555,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:42:42] local.INFO: Acknowledgment sent {"connection_id":188555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:42:49] local.INFO: TCP Data received {"connection_id":189996,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ce0dd8012d181f800721aab0004a002f2c..."} 
[2026-09-21 12:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189996,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ce0dd8012d181f800721aab0004a002f2c..."} 
[2026-09-21 12:42:49] local.INFO: Processing buffer {"connection_id":189996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ce0dd8012d181f800721aab0004a002f2c..."} 
[2026-09-21 12:42:49] local.INFO: Packet analysis {"connection_id":189996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:42:49] local.INFO: Extracted packet for processing {"connection_id":189996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646896,"longitude_deg":75.6555648,"latitude_deg":11.9646896,"altitude":74,"angle":47,"satellites":44,"speed":6,"hex_longitude":"2d181f80","hex_latitude":"0721aab0","is_valid_coordinates":true} 
[2026-09-21 12:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233516288001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393487034941440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585235968,"note":"Value kept but may cause issues"} 
[2026-09-21 12:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789974679000,"timestamp_ms":1789974679000,"timestamp_seconds":1789974679,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ce0dd8"} 
[2026-09-21 12:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 12:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233516288001,"66":14048,"105":206,"83":41984,"24":6,"16":22393487034941440,"45":1737896905585235968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233516288001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:42:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393487034941440,"km_value":22393487034941.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585235968,"description":"Unknown IO ID 45"} 
[2026-09-21 12:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233516288001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1737896905585235968}} 
[2026-09-21 12:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":189996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:42:49] local.INFO: GPS data processed {"connection_id":189996,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:42:49] local.INFO: Acknowledgment sent {"connection_id":189996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:43:03] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:03] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:03] local.INFO: IMEI packet received {"connection_id":189998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":189998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:43:08] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:08] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:43:08] local.INFO: IMEI packet received {"connection_id":189998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":189998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:43:09] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:43:09] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2caa6c0012d34c04006aa41300005000c2c..."} 
[2026-09-21 12:43:09] local.INFO: Packet analysis {"connection_id":189998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:43:09] local.INFO: Extracted packet for processing {"connection_id":189998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ca"} 
[2026-09-21 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233383680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974456000,"timestamp_ms":1789974456000,"timestamp_seconds":1789974456,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2caa6c0"} 
[2026-09-21 12:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233383680001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233383680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233383680001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:43:10] local.INFO: DEBUG: GPS processor result {"connection_id":189998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:43:10] local.INFO: GPS data processed {"connection_id":189998,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:43:10] local.INFO: Acknowledgment sent {"connection_id":189998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:43:13] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:13] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:13] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:43:14] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:14] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:14] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:43:18] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:18] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:43:18] local.INFO: IMEI packet received {"connection_id":188556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:43:19] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ce15a8012d1820c00721abf8004b00222c..."} 
[2026-09-21 12:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ce15a8012d1820c00721abf8004b00222c..."} 
[2026-09-21 12:43:19] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ce15a8012d1820c00721abf8004b00222c..."} 
[2026-09-21 12:43:19] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:43:19] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119647224,"longitude_deg":75.6555968,"latitude_deg":11.9647224,"altitude":75,"angle":34,"satellites":44,"speed":11,"hex_longitude":"2d1820c0","hex_latitude":"0721abf8","is_valid_coordinates":true} 
[2026-09-21 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:43:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233517824001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393508509777920,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306261504,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:43:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974681000,"timestamp_ms":1789974681000,"timestamp_seconds":1789974681,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ce15a8"} 
[2026-09-21 12:43:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:43:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:43:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 12:43:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:43:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:43:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:43:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:43:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:43:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:43:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:43:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:43:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:43:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:43:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233517824001,"66":13091,"105":206,"83":41984,"24":11,"16":22393508509777920,"45":1738248749306261504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:43:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:43:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:43:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233517824001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:43:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:43:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:43:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393508509777920,"km_value":22393508509777.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:43:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306261504,"description":"Unknown IO ID 45"} 
[2026-09-21 12:43:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233517824001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738248749306261504}} 
[2026-09-21 12:43:19] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:43:19] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:43:19] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:43:40] local.INFO: TCP Data received {"connection_id":189998,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:43:40] local.INFO: Processing buffer {"connection_id":189998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:43:40] local.INFO: Packet analysis {"connection_id":189998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:43:40] local.INFO: Extracted packet for processing {"connection_id":189998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":189998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:43:40] local.INFO: GPS data processed {"connection_id":189998,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:43:40] local.INFO: Acknowledgment sent {"connection_id":189998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:43:50] local.INFO: TCP Data received {"connection_id":188556,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ce67b0012d1823800721b060004b00262b..."} 
[2026-09-21 12:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ce67b0012d1823800721b060004b00262b..."} 
[2026-09-21 12:43:50] local.INFO: Processing buffer {"connection_id":188556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ce67b0012d1823800721b060004b00262b..."} 
[2026-09-21 12:43:50] local.INFO: Packet analysis {"connection_id":188556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:43:50] local.INFO: Extracted packet for processing {"connection_id":188556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119648352,"longitude_deg":75.6556672,"latitude_deg":11.9648352,"altitude":75,"angle":38,"satellites":43,"speed":0,"hex_longitude":"2d182380","hex_latitude":"0721b060","is_valid_coordinates":true} 
[2026-09-21 12:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233518336001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393572934287360,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027233792,"note":"Value kept but may cause issues"} 
[2026-09-21 12:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789974702000,"timestamp_ms":1789974702000,"timestamp_seconds":1789974702,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ce67b0"} 
[2026-09-21 12:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 12:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233518336001,"66":13124,"105":206,"83":41984,"24":0,"16":22393572934287360,"45":1738600593027233792},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233518336001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:43:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393572934287360,"km_value":22393572934287.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027233792,"description":"Unknown IO ID 45"} 
[2026-09-21 12:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233518336001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027233792}} 
[2026-09-21 12:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":188556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:43:50] local.INFO: GPS data processed {"connection_id":188556,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:43:50] local.INFO: Acknowledgment sent {"connection_id":188556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:44:03] local.INFO: TCP Data received {"connection_id":189999,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:03] local.INFO: Processing buffer {"connection_id":189999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:03] local.INFO: IMEI packet received {"connection_id":189999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":189999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:44:08] local.INFO: TCP Data received {"connection_id":189999,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:08] local.INFO: Processing buffer {"connection_id":189999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:44:08] local.INFO: IMEI packet received {"connection_id":189999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":189999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:44:09] local.INFO: TCP Data received {"connection_id":189999,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:09] local.INFO: Processing buffer {"connection_id":189999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:09] local.INFO: Packet analysis {"connection_id":189999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:44:09] local.INFO: Extracted packet for processing {"connection_id":189999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 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-09-21 12:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":189999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:44:09] local.INFO: GPS data processed {"connection_id":189999,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:44:09] local.INFO: Acknowledgment sent {"connection_id":189999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:44:13] local.INFO: TCP Data received {"connection_id":190000,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:13] local.INFO: Processing buffer {"connection_id":190000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:13] local.INFO: IMEI packet received {"connection_id":190000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":190000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:44:17] local.INFO: TCP Data received {"connection_id":190000,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:17] local.INFO: Processing buffer {"connection_id":190000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:44:17] local.INFO: IMEI packet received {"connection_id":190000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":190000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:44:18] local.INFO: TCP Data received {"connection_id":190000,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ceb9b8012d1824800721b0c0004a00262d..."} 
[2026-09-21 12:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ceb9b8012d1824800721b0c0004a00262d..."} 
[2026-09-21 12:44:18] local.INFO: Processing buffer {"connection_id":190000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ceb9b8012d1824800721b0c0004a00262d..."} 
[2026-09-21 12:44:18] local.INFO: Packet analysis {"connection_id":190000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:44:18] local.INFO: Extracted packet for processing {"connection_id":190000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119648448,"longitude_deg":75.6556928,"latitude_deg":11.9648448,"altitude":74,"angle":38,"satellites":45,"speed":3,"hex_longitude":"2d182480","hex_latitude":"0721b0c0","is_valid_coordinates":true} 
[2026-09-21 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233523712001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393585819189248,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213476864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789974723000,"timestamp_ms":1789974723000,"timestamp_seconds":1789974723,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ceb9b8"} 
[2026-09-21 12:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 12:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233523712001,"66":13222,"105":206,"83":41984,"24":3,"16":22393585819189248,"45":1739374649213476864},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233523712001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:44:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393585819189248,"km_value":22393585819189.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213476864,"description":"Unknown IO ID 45"} 
[2026-09-21 12:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233523712001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739374649213476864}} 
[2026-09-21 12:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":190000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:44:18] local.INFO: GPS data processed {"connection_id":190000,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:44:18] local.INFO: Acknowledgment sent {"connection_id":190000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:44:40] local.INFO: TCP Data received {"connection_id":189999,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:40] local.INFO: Processing buffer {"connection_id":189999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:44:40] local.INFO: Packet analysis {"connection_id":189999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:44:40] local.INFO: Extracted packet for processing {"connection_id":189999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":189999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:44:40] local.INFO: GPS data processed {"connection_id":189999,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:44:40] local.INFO: Acknowledgment sent {"connection_id":189999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:44:49] local.INFO: TCP Data received {"connection_id":190000,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cecd40012d1824800721b308004a00112d..."} 
[2026-09-21 12:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cecd40012d1824800721b308004a00112d..."} 
[2026-09-21 12:44:49] local.INFO: Processing buffer {"connection_id":190000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cecd40012d1824800721b308004a00112d..."} 
[2026-09-21 12:44:49] local.INFO: Packet analysis {"connection_id":190000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:44:49] local.INFO: Extracted packet for processing {"connection_id":190000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649032,"longitude_deg":75.6556928,"latitude_deg":11.9649032,"altitude":74,"angle":17,"satellites":45,"speed":8,"hex_longitude":"2d182480","hex_latitude":"0721b308","is_valid_coordinates":true} 
[2026-09-21 12:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233529088001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393615883960320,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190212096,"note":"Value kept but may cause issues"} 
[2026-09-21 12:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789974728000,"timestamp_ms":1789974728000,"timestamp_seconds":1789974728,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cecd40"} 
[2026-09-21 12:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-21 12:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233529088001,"66":13167,"105":206,"83":41984,"24":8,"16":22393615883960320,"45":1739656124190212096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233529088001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:44:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393615883960320,"km_value":22393615883960.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190212096,"description":"Unknown IO ID 45"} 
[2026-09-21 12:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233529088001,"power":13167,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739656124190212096}} 
[2026-09-21 12:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":190000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:44:49] local.INFO: GPS data processed {"connection_id":190000,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:44:49] local.INFO: Acknowledgment sent {"connection_id":190000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:45:03] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:03] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:03] local.INFO: IMEI packet received {"connection_id":191322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":191322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:45:09] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:09] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:45:09] local.INFO: IMEI packet received {"connection_id":191322,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:45:09] local.INFO: IMEI acknowledgment sent {"connection_id":191322,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:45:11] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:11] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:11] local.INFO: Packet analysis {"connection_id":191322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:45:11] local.INFO: Extracted packet for processing {"connection_id":191322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:45:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:45: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-09-21 12:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:45:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:45:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":191322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:45:11] local.INFO: GPS data processed {"connection_id":191322,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:45:11] local.INFO: Acknowledgment sent {"connection_id":191322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:45:13] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:13] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:13] local.INFO: IMEI packet received {"connection_id":188702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:45:18] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:18] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:45:18] local.INFO: IMEI packet received {"connection_id":188702,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":188702,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:45:19] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ced8f8012d1825000721b5a8004b01582d..."} 
[2026-09-21 12:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ced8f8012d1825000721b5a8004b01582d..."} 
[2026-09-21 12:45:19] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ced8f8012d1825000721b5a8004b01582d..."} 
[2026-09-21 12:45:19] local.INFO: Packet analysis {"connection_id":188702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:45:19] local.INFO: Extracted packet for processing {"connection_id":188702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119649704,"longitude_deg":75.6557056,"latitude_deg":11.9649704,"altitude":75,"angle":344,"satellites":45,"speed":8,"hex_longitude":"2d182500","hex_latitude":"0721b5a8","is_valid_coordinates":true} 
[2026-09-21 12:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233530368001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393650243698688,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190361600,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974731000,"timestamp_ms":1789974731000,"timestamp_seconds":1789974731,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ced8f8"} 
[2026-09-21 12:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-21 12:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233530368001,"66":13102,"105":206,"83":41984,"24":8,"16":22393650243698688,"45":1739656124190361600},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233530368001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:45:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393650243698688,"km_value":22393650243698.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190361600,"description":"Unknown IO ID 45"} 
[2026-09-21 12:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233530368001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739656124190361600}} 
[2026-09-21 12:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:45:19] local.INFO: GPS data processed {"connection_id":188702,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:45:19] local.INFO: Acknowledgment sent {"connection_id":188702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:45:44] local.INFO: TCP Data received {"connection_id":191322,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191322,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:44] local.INFO: Processing buffer {"connection_id":191322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:45:44] local.INFO: Packet analysis {"connection_id":191322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:45:44] local.INFO: Extracted packet for processing {"connection_id":191322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:45: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-09-21 12:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":191322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":191322,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":191322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:45:44] local.INFO: GPS data processed {"connection_id":191322,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:45:44] local.INFO: Acknowledgment sent {"connection_id":191322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:45:50] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cedce0012d1824800721b640004b01322d..."} 
[2026-09-21 12:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cedce0012d1824800721b640004b01322d..."} 
[2026-09-21 12:45:50] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cedce0012d1824800721b640004b01322d..."} 
[2026-09-21 12:45:50] local.INFO: Packet analysis {"connection_id":188702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:45:50] local.INFO: Extracted packet for processing {"connection_id":188702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649856,"longitude_deg":75.6556928,"latitude_deg":11.9649856,"altitude":75,"angle":306,"satellites":45,"speed":6,"hex_longitude":"2d182480","hex_latitude":"0721b640","is_valid_coordinates":true} 
[2026-09-21 12:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233531136001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393658833633280,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678888960,"note":"Value kept but may cause issues"} 
[2026-09-21 12:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789974732000,"timestamp_ms":1789974732000,"timestamp_seconds":1789974732,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cedce0"} 
[2026-09-21 12:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 12:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188702,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233531136001,"66":13135,"105":206,"83":41984,"24":6,"16":22393658833633280,"45":1739796861678888960},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233531136001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:45:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393658833633280,"km_value":22393658833633.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678888960,"description":"Unknown IO ID 45"} 
[2026-09-21 12:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233531136001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739796861678888960}} 
[2026-09-21 12:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":188702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:45:50] local.INFO: GPS data processed {"connection_id":188702,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:45:50] local.INFO: Acknowledgment sent {"connection_id":188702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:46:08] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:08] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:08] local.INFO: IMEI packet received {"connection_id":188703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:46:13] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:13] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:13] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:46:13] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:13] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:46:13] local.INFO: IMEI packet received {"connection_id":188703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:46:14] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:14] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:14] local.INFO: Packet analysis {"connection_id":188703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:46:14] local.INFO: Extracted packet for processing {"connection_id":188703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:46:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:46:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:46:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:46:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:46:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12: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-09-21 12:46:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:46:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:46:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:46:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:46:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:46:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:46:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:46:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:46:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:46:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:46:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:46:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:46:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:46:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:46:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:46:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:46:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:46:14] local.INFO: DEBUG: GPS processor result {"connection_id":188703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:46:14] local.INFO: GPS data processed {"connection_id":188703,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:46:14] local.INFO: Acknowledgment sent {"connection_id":188703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:46:18] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:18] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:46:18] local.INFO: IMEI packet received {"connection_id":188559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:46:19] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cee0c8012d1824000721b670004b010d2d..."} 
[2026-09-21 12:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cee0c8012d1824000721b670004b010d2d..."} 
[2026-09-21 12:46:19] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cee0c8012d1824000721b670004b010d2d..."} 
[2026-09-21 12:46:19] local.INFO: Packet analysis {"connection_id":188559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:46:19] local.INFO: Extracted packet for processing {"connection_id":188559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ce"} 
[2026-09-21 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119649904,"longitude_deg":75.65568,"latitude_deg":11.9649904,"altitude":75,"angle":269,"satellites":45,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b670","is_valid_coordinates":true} 
[2026-09-21 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233531392001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393667423567872,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190572544,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974733000,"timestamp_ms":1789974733000,"timestamp_seconds":1789974733,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cee0c8"} 
[2026-09-21 12:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 12:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233531392001,"66":13135,"105":206,"83":41984,"24":6,"16":22393667423567872,"45":1739656124190572544},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233531392001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:46:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393667423567872,"km_value":22393667423567.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190572544,"description":"Unknown IO ID 45"} 
[2026-09-21 12:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233531392001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190572544}} 
[2026-09-21 12:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":188559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:46:19] local.INFO: GPS data processed {"connection_id":188559,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:46:19] local.INFO: Acknowledgment sent {"connection_id":188559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:46:20] local.INFO: TCP Data received {"connection_id":188703,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:20] local.INFO: Processing buffer {"connection_id":188703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:46:20] local.INFO: Packet analysis {"connection_id":188703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:46:20] local.INFO: Extracted packet for processing {"connection_id":188703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:46:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:46:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:46:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":188703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:46:20] local.INFO: GPS data processed {"connection_id":188703,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:46:20] local.INFO: Acknowledgment sent {"connection_id":188703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:46:50] local.INFO: TCP Data received {"connection_id":188559,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d1cae0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d1cae0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:46:50] local.INFO: Processing buffer {"connection_id":188559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d1cae0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:46:50] local.INFO: Packet analysis {"connection_id":188559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d1"} 
[2026-09-21 12:46:50] local.INFO: Extracted packet for processing {"connection_id":188559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d1"} 
[2026-09-21 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233575168001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789974924000,"timestamp_ms":1789974924000,"timestamp_seconds":1789974924,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d1cae0"} 
[2026-09-21 12:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 12:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233575168001,"66":12950,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233575168001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:46:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233575168001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":188559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:46:50] local.INFO: GPS data processed {"connection_id":188559,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:46:50] local.INFO: Acknowledgment sent {"connection_id":188559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:46:50] local.INFO: TCP Data received {"connection_id":188558,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:46:50] local.INFO: Processing buffer {"connection_id":188558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:46:50] local.INFO: IMEI packet received {"connection_id":188558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":188558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:47:04] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:04] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:04] local.INFO: IMEI packet received {"connection_id":190002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":190002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:47:08] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:08] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:47:08] local.INFO: IMEI packet received {"connection_id":190002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":190002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:47:09] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:09] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:09] local.INFO: Packet analysis {"connection_id":190002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:09] local.INFO: Extracted packet for processing {"connection_id":190002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 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-09-21 12:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 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-09-21 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-09-21 12:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:47:09] local.INFO: GPS data processed {"connection_id":190002,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:47:09] local.INFO: Acknowledgment sent {"connection_id":190002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:47:13] local.INFO: TCP Data received {"connection_id":190003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:13] local.INFO: Processing buffer {"connection_id":190003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:13] local.INFO: IMEI packet received {"connection_id":190003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":190003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:47:13] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:13] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:13] local.INFO: Packet analysis {"connection_id":190002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:13] local.INFO: Extracted packet for processing {"connection_id":190002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:47: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-09-21 12:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":190002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:47:14] local.INFO: GPS data processed {"connection_id":190002,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:47:14] local.INFO: Acknowledgment sent {"connection_id":190002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:47:15] local.INFO: TCP Data received {"connection_id":188704,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:47:15] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:47:15] local.INFO: IMEI packet received {"connection_id":188704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":188704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:47:18] local.INFO: TCP Data received {"connection_id":190003,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:18] local.INFO: Processing buffer {"connection_id":190003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:47:18] local.INFO: IMEI packet received {"connection_id":190003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":190003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:47:19] local.INFO: TCP Data received {"connection_id":190003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d21ce8012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d21ce8012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:19] local.INFO: Processing buffer {"connection_id":190003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d21ce8012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:19] local.INFO: Packet analysis {"connection_id":190003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:47:19] local.INFO: Extracted packet for processing {"connection_id":190003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233580544001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789974945000,"timestamp_ms":1789974945000,"timestamp_seconds":1789974945,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d21ce8"} 
[2026-09-21 12:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 12:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233580544001,"66":12885,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233580544001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233580544001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":190003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:47:19] local.INFO: GPS data processed {"connection_id":190003,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:47:19] local.INFO: Acknowledgment sent {"connection_id":190003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:47:45] local.INFO: TCP Data received {"connection_id":190002,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:45] local.INFO: Processing buffer {"connection_id":190002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:47:45] local.INFO: Packet analysis {"connection_id":190002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:45] local.INFO: Extracted packet for processing {"connection_id":190002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47: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-09-21 12:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:47:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:47:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:47:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:47:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:47:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":190002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:47:45] local.INFO: GPS data processed {"connection_id":190002,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:47:45] local.INFO: Acknowledgment sent {"connection_id":190002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:47:49] local.INFO: TCP Data received {"connection_id":190003,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d26ef0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d26ef0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:49] local.INFO: Processing buffer {"connection_id":190003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d26ef0012d1823000721b510004c00c92e..."} 
[2026-09-21 12:47:49] local.INFO: Packet analysis {"connection_id":190003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:47:49] local.INFO: Extracted packet for processing {"connection_id":190003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233585920001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789974966000,"timestamp_ms":1789974966000,"timestamp_seconds":1789974966,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d26ef0"} 
[2026-09-21 12:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 12:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233585920001,"66":12917,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233585920001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:47:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233585920001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":190003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:47:50] local.INFO: GPS data processed {"connection_id":190003,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:47:50] local.INFO: Acknowledgment sent {"connection_id":190003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:48:03] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:03] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:03] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:48:08] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:08] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:48:08] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:48:10] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:48:10] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2cf3e88012d34c04006aa41300008000c2b..."} 
[2026-09-21 12:48:10] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:48:10] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2cf"} 
[2026-09-21 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233460736001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789974757000,"timestamp_ms":1789974757000,"timestamp_seconds":1789974757,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2cf3e88"} 
[2026-09-21 12:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12: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-09-21 12:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233460736001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233460736001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233460736001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:48:10] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:48:10] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:48:18] local.INFO: TCP Data received {"connection_id":191323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:18] local.INFO: Processing buffer {"connection_id":191323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:18] local.INFO: IMEI packet received {"connection_id":191323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":191323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:48:23] local.INFO: TCP Data received {"connection_id":191323,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:23] local.INFO: Processing buffer {"connection_id":191323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:48:23] local.INFO: IMEI packet received {"connection_id":191323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:48:23] local.INFO: IMEI acknowledgment sent {"connection_id":191323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:48:24] local.INFO: TCP Data received {"connection_id":191323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d2c0f8012d1823000721b510004c00c92c..."} 
[2026-09-21 12:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d2c0f8012d1823000721b510004c00c92c..."} 
[2026-09-21 12:48:24] local.INFO: Processing buffer {"connection_id":191323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d2c0f8012d1823000721b510004c00c92c..."} 
[2026-09-21 12:48:24] local.INFO: Packet analysis {"connection_id":191323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:48:24] local.INFO: Extracted packet for processing {"connection_id":191323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d2"} 
[2026-09-21 12:48:24] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:48:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233591296001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:48:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789974987000,"timestamp_ms":1789974987000,"timestamp_seconds":1789974987,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d2c0f8"} 
[2026-09-21 12:48:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:48: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-09-21 12:48:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-21 12:48:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:48:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:48:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:48:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:48:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:48:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:48:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:48:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:48:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:48:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:48:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233591296001,"66":12885,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:48:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:48:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:48:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233591296001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:48:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:48:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:48:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:48:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:48:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233591296001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:48:24] local.INFO: DEBUG: GPS processor result {"connection_id":191323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:48:24] local.INFO: GPS data processed {"connection_id":191323,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:48:24] local.INFO: Acknowledgment sent {"connection_id":191323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:48:28] local.INFO: TCP Data received {"connection_id":191323,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d31300012d1823000721b510004c00c92d..."} 
[2026-09-21 12:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191323,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d31300012d1823000721b510004c00c92d..."} 
[2026-09-21 12:48:28] local.INFO: Processing buffer {"connection_id":191323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d31300012d1823000721b510004c00c92d..."} 
[2026-09-21 12:48:28] local.INFO: Packet analysis {"connection_id":191323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:48:28] local.INFO: Extracted packet for processing {"connection_id":191323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233596672001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48: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-09-21 12:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789975008000,"timestamp_ms":1789975008000,"timestamp_seconds":1789975008,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d31300"} 
[2026-09-21 12:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12: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-09-21 12:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 12:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233596672001,"66":12885,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233596672001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:48:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:48:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233596672001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":191323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:48:28] local.INFO: GPS data processed {"connection_id":191323,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:48:28] local.INFO: Acknowledgment sent {"connection_id":191323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:48:41] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:48:41] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:48:41] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:48:41] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:48: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-09-21 12: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-09-21 12:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:48:41] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:48:41] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:49:03] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:03] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:03] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:49:08] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:08] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:49:08] local.INFO: IMEI packet received {"connection_id":188560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:49:09] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:09] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:09] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:09] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:49:09] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:49:09] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:49:11] local.INFO: TCP Data received {"connection_id":190004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:11] local.INFO: Processing buffer {"connection_id":190004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:11] local.INFO: IMEI packet received {"connection_id":190004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":190004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:49:13] local.INFO: TCP Data received {"connection_id":190004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:13] local.INFO: Processing buffer {"connection_id":190004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:13] local.INFO: IMEI packet received {"connection_id":190004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":190004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:49:18] local.INFO: TCP Data received {"connection_id":190004,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:18] local.INFO: Processing buffer {"connection_id":190004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:49:18] local.INFO: IMEI packet received {"connection_id":190004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":190004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:49:19] local.INFO: TCP Data received {"connection_id":190004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d36508012d1823000721b510004c00c92c..."} 
[2026-09-21 12:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d36508012d1823000721b510004c00c92c..."} 
[2026-09-21 12:49:19] local.INFO: Processing buffer {"connection_id":190004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d36508012d1823000721b510004c00c92c..."} 
[2026-09-21 12:49:19] local.INFO: Packet analysis {"connection_id":190004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:19] local.INFO: Extracted packet for processing {"connection_id":190004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233602048001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975029000,"timestamp_ms":1789975029000,"timestamp_seconds":1789975029,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d36508"} 
[2026-09-21 12:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 12:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233602048001,"66":12852,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233602048001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:49:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233602048001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":190004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:49:19] local.INFO: GPS data processed {"connection_id":190004,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:49:19] local.INFO: Acknowledgment sent {"connection_id":190004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:49:40] local.INFO: TCP Data received {"connection_id":188560,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188560,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:40] local.INFO: Processing buffer {"connection_id":188560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:49:40] local.INFO: Packet analysis {"connection_id":188560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:40] local.INFO: Extracted packet for processing {"connection_id":188560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:49:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":188560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:49:40] local.INFO: GPS data processed {"connection_id":188560,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:49:40] local.INFO: Acknowledgment sent {"connection_id":188560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:49:50] local.INFO: TCP Data received {"connection_id":190004,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3b710012d1823000721b510004c00c92d..."} 
[2026-09-21 12:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3b710012d1823000721b510004c00c92d..."} 
[2026-09-21 12:49:50] local.INFO: Processing buffer {"connection_id":190004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3b710012d1823000721b510004c00c92d..."} 
[2026-09-21 12:49:50] local.INFO: Packet analysis {"connection_id":190004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:50] local.INFO: Extracted packet for processing {"connection_id":190004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233607424001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975050000,"timestamp_ms":1789975050000,"timestamp_seconds":1789975050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3b710"} 
[2026-09-21 12:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-21 12:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233607424001,"66":12841,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233607424001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:49:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233607424001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":190004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:49:50] local.INFO: GPS data processed {"connection_id":190004,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:49:50] local.INFO: Acknowledgment sent {"connection_id":190004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:50:03] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:03] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:03] local.INFO: IMEI packet received {"connection_id":188706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":188706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:50:08] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:08] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:50:08] local.INFO: IMEI packet received {"connection_id":188706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:50:09] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:09] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:09] local.INFO: Packet analysis {"connection_id":188706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:50:09] local.INFO: Extracted packet for processing {"connection_id":188706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":188706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:50:09] local.INFO: GPS data processed {"connection_id":188706,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:50:09] local.INFO: Acknowledgment sent {"connection_id":188706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:50:13] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:13] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:13] local.INFO: IMEI packet received {"connection_id":191325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":191325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:50:14] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:14] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:14] local.INFO: IMEI packet received {"connection_id":191325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":191325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:50:18] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:18] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:50:18] local.INFO: IMEI packet received {"connection_id":191325,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":191325,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:50:19] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d40918012d1823000721b510004c00c92c..."} 
[2026-09-21 12:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d40918012d1823000721b510004c00c92c..."} 
[2026-09-21 12:50:19] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d40918012d1823000721b510004c00c92c..."} 
[2026-09-21 12:50:19] local.INFO: Packet analysis {"connection_id":191325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:50:19] local.INFO: Extracted packet for processing {"connection_id":191325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":44,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233612800001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975071000,"timestamp_ms":1789975071000,"timestamp_seconds":1789975071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d40918"} 
[2026-09-21 12:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 12:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233612800001,"66":12841,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233612800001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:50:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233612800001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":191325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:50:19] local.INFO: GPS data processed {"connection_id":191325,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:50:19] local.INFO: Acknowledgment sent {"connection_id":191325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:50:41] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:41] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:50:41] local.INFO: Packet analysis {"connection_id":188706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:50:41] local.INFO: Extracted packet for processing {"connection_id":188706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":188706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:50:41] local.INFO: GPS data processed {"connection_id":188706,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:50:41] local.INFO: Acknowledgment sent {"connection_id":188706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:50:50] local.INFO: TCP Data received {"connection_id":191325,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d45b20012d1823000721b510004c00c92d..."} 
[2026-09-21 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d45b20012d1823000721b510004c00c92d..."} 
[2026-09-21 12:50:50] local.INFO: Processing buffer {"connection_id":191325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d45b20012d1823000721b510004c00c92d..."} 
[2026-09-21 12:50:50] local.INFO: Packet analysis {"connection_id":191325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:50:50] local.INFO: Extracted packet for processing {"connection_id":191325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233618176001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975092000,"timestamp_ms":1789975092000,"timestamp_seconds":1789975092,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d45b20"} 
[2026-09-21 12:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 12:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191325,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233618176001,"66":12809,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233618176001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:50:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233618176001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":191325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:50:50] local.INFO: GPS data processed {"connection_id":191325,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:50:50] local.INFO: Acknowledgment sent {"connection_id":191325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:51:09] local.INFO: TCP Data received {"connection_id":190005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:09] local.INFO: Processing buffer {"connection_id":190005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:09] local.INFO: IMEI packet received {"connection_id":190005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":190005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:51:13] local.INFO: TCP Data received {"connection_id":190006,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:13] local.INFO: Processing buffer {"connection_id":190006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:13] local.INFO: IMEI packet received {"connection_id":190006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":190006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:51:13] local.INFO: TCP Data received {"connection_id":190005,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:13] local.INFO: Processing buffer {"connection_id":190005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:51:13] local.INFO: IMEI packet received {"connection_id":190005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":190005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:51:14] local.INFO: TCP Data received {"connection_id":190005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:14] local.INFO: Processing buffer {"connection_id":190005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:14] local.INFO: Packet analysis {"connection_id":190005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:51:14] local.INFO: Extracted packet for processing {"connection_id":190005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":190005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:51:14] local.INFO: GPS data processed {"connection_id":190005,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:51:14] local.INFO: Acknowledgment sent {"connection_id":190005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:51:17] local.INFO: TCP Data received {"connection_id":190006,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:17] local.INFO: Processing buffer {"connection_id":190006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:51:17] local.INFO: IMEI packet received {"connection_id":190006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":190006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:51:18] local.INFO: TCP Data received {"connection_id":190006,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d4ad28012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d4ad28012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:18] local.INFO: Processing buffer {"connection_id":190006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d4ad28012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:18] local.INFO: Packet analysis {"connection_id":190006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:51:18] local.INFO: Extracted packet for processing {"connection_id":190006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233623552001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789975113000,"timestamp_ms":1789975113000,"timestamp_seconds":1789975113,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d4ad28"} 
[2026-09-21 12:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":142,"raw_value":4043309056,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3268570864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":194,"raw_value":-3306512934647618816,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3037724748,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":4160826648,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359349456467,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2398158848,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428865167497414958,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:18] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,142,160,9,45,181,76,44,10,66,183,101,1,240,52,227,194,33,4,113,205,192,35,239,50,2,79,7,164],"length":535,"final_offset":665,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 12:51:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476598341993234432,"timestamp_seconds":5476598341993234.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233623552001,"66":12776,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233623552001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:51:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233623552001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":190006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:51:18] local.INFO: GPS data processed {"connection_id":190006,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:51:18] local.INFO: Acknowledgment sent {"connection_id":190006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:51:19] local.INFO: TCP Data received {"connection_id":190005,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:19] local.INFO: Processing buffer {"connection_id":190005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:51:19] local.INFO: Packet analysis {"connection_id":190005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:51:19] local.INFO: Extracted packet for processing {"connection_id":190005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:51:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:51:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":190005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:51:19] local.INFO: GPS data processed {"connection_id":190005,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:51:19] local.INFO: Acknowledgment sent {"connection_id":190005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:51:49] local.INFO: TCP Data received {"connection_id":190006,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d4ff30012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d4ff30012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:49] local.INFO: Processing buffer {"connection_id":190006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d4ff30012d1823000721b510004c00c92f..."} 
[2026-09-21 12:51:49] local.INFO: Packet analysis {"connection_id":190006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:51:49] local.INFO: Extracted packet for processing {"connection_id":190006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d4"} 
[2026-09-21 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233628928001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789975134000,"timestamp_ms":1789975134000,"timestamp_seconds":1789975134,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d4ff30"} 
[2026-09-21 12:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 12:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233628928001,"66":12776,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233628928001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233628928001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":190006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:51:49] local.INFO: GPS data processed {"connection_id":190006,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:51:49] local.INFO: Acknowledgment sent {"connection_id":190006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:52:03] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:03] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:03] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:52:08] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:08] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:52:08] local.INFO: IMEI packet received {"connection_id":188563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:52:09] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:09] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:09] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:52:09] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12: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-09-21 12: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-09-21 12:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:52:09] local.INFO: GPS data processed {"connection_id":188563,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:52:09] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:52:13] local.INFO: TCP Data received {"connection_id":190007,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:13] local.INFO: Processing buffer {"connection_id":190007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:13] local.INFO: IMEI packet received {"connection_id":190007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":190007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:52:18] local.INFO: TCP Data received {"connection_id":190007,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:18] local.INFO: Processing buffer {"connection_id":190007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:52:18] local.INFO: IMEI packet received {"connection_id":190007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":190007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:52:19] local.INFO: TCP Data received {"connection_id":190007,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d55138012d1823000721b510004c00c92d..."} 
[2026-09-21 12:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d55138012d1823000721b510004c00c92d..."} 
[2026-09-21 12:52:19] local.INFO: Processing buffer {"connection_id":190007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d55138012d1823000721b510004c00c92d..."} 
[2026-09-21 12:52:19] local.INFO: Packet analysis {"connection_id":190007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:52:19] local.INFO: Extracted packet for processing {"connection_id":190007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233634304001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975155000,"timestamp_ms":1789975155000,"timestamp_seconds":1789975155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d55138"} 
[2026-09-21 12:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 12:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233634304001,"66":12711,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233634304001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:52:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233634304001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":190007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:52:19] local.INFO: GPS data processed {"connection_id":190007,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:52:19] local.INFO: Acknowledgment sent {"connection_id":190007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:52:41] local.INFO: TCP Data received {"connection_id":188563,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:41] local.INFO: Processing buffer {"connection_id":188563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:52:41] local.INFO: Packet analysis {"connection_id":188563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:52:41] local.INFO: Extracted packet for processing {"connection_id":188563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 12:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:52: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-09-21 12: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-09-21 12:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:52:41] local.INFO: GPS data processed {"connection_id":188563,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:52:41] local.INFO: Acknowledgment sent {"connection_id":188563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:52:46] local.INFO: TCP Data received {"connection_id":188707,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:52:46] local.INFO: Processing buffer {"connection_id":188707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:52:46] local.INFO: IMEI packet received {"connection_id":188707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:52:46] local.INFO: IMEI acknowledgment sent {"connection_id":188707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:52:50] local.INFO: TCP Data received {"connection_id":190007,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d5a340012d1823000721b510004c00c92f..."} 
[2026-09-21 12:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d5a340012d1823000721b510004c00c92f..."} 
[2026-09-21 12:52:50] local.INFO: Processing buffer {"connection_id":190007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d5a340012d1823000721b510004c00c92f..."} 
[2026-09-21 12:52:50] local.INFO: Packet analysis {"connection_id":190007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:52:50] local.INFO: Extracted packet for processing {"connection_id":190007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":47,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233639680001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975176000,"timestamp_ms":1789975176000,"timestamp_seconds":1789975176,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d5a340"} 
[2026-09-21 12:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 12:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233639680001,"66":12711,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233639680001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:52:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233639680001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":190007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:52:50] local.INFO: GPS data processed {"connection_id":190007,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:52:50] local.INFO: Acknowledgment sent {"connection_id":190007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:53:03] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:03] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:03] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:53:08] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:08] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:53:08] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:53:09] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:53:09] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d3d650012d34c04006aa41300001000c2d..."} 
[2026-09-21 12:53:09] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:53:09] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d3"} 
[2026-09-21 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233537792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975058000,"timestamp_ms":1789975058000,"timestamp_seconds":1789975058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d3d650"} 
[2026-09-21 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-09-21 12:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:53: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-09-21 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-09-21 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-09-21 12:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233537792001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233537792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233537792001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:53:09] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:53:09] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:53:13] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:13] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:13] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:53:15] local.INFO: TCP Data received {"connection_id":188564,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:53:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:53:15] local.INFO: Processing buffer {"connection_id":188564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:53:15] local.INFO: IMEI packet received {"connection_id":188564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:53:15] local.INFO: IMEI acknowledgment sent {"connection_id":188564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:53:18] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:18] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:53:18] local.INFO: IMEI packet received {"connection_id":191327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":191327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:53:19] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d5f548012d1823000721b510004c00c92e..."} 
[2026-09-21 12:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d5f548012d1823000721b510004c00c92e..."} 
[2026-09-21 12:53:19] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d5f548012d1823000721b510004c00c92e..."} 
[2026-09-21 12:53:19] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:53:19] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d5"} 
[2026-09-21 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649552,"longitude_deg":75.6556544,"latitude_deg":11.9649552,"altitude":76,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 12:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233645056001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393688898404352,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725428736,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975197000,"timestamp_ms":1789975197000,"timestamp_seconds":1789975197,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d5f548"} 
[2026-09-21 12:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 12:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233645056001,"66":12743,"105":206,"83":41984,"24":0,"16":22393688898404352,"45":1739233911725428736},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233645056001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:53:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393688898404352,"km_value":22393688898404.35,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725428736,"description":"Unknown IO ID 45"} 
[2026-09-21 12:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233645056001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725428736}} 
[2026-09-21 12:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:53:19] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:53:19] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:53:40] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:53:40] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:53:40] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:53:40] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:53:40] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:53:40] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:53:50] local.INFO: TCP Data received {"connection_id":191327,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d89cf8012d1820c00721ad28004d00d92e..."} 
[2026-09-21 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d89cf8012d1820c00721ad28004d00d92e..."} 
[2026-09-21 12:53:50] local.INFO: Processing buffer {"connection_id":191327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d89cf8012d1820c00721ad28004d00d92e..."} 
[2026-09-21 12:53:50] local.INFO: Packet analysis {"connection_id":191327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:53:50] local.INFO: Extracted packet for processing {"connection_id":191327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119647528,"longitude_deg":75.6555968,"latitude_deg":11.9647528,"altitude":77,"angle":217,"satellites":46,"speed":18,"hex_longitude":"2d1820c0","hex_latitude":"0721ad28","is_valid_coordinates":true} 
[2026-09-21 12:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233694464001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393800567554048,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542980939776,"note":"Value kept but may cause issues"} 
[2026-09-21 12:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975371000,"timestamp_ms":1789975371000,"timestamp_seconds":1789975371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d89cf8"} 
[2026-09-21 12:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 12:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233694464001,"66":12874,"105":206,"83":41984,"24":18,"16":22393800567554048,"45":1739163542980939776},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233694464001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:53:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393800567554048,"km_value":22393800567554.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542980939776,"description":"Unknown IO ID 45"} 
[2026-09-21 12:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233694464001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1739163542980939776}} 
[2026-09-21 12:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":191327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:53:50] local.INFO: GPS data processed {"connection_id":191327,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:53:50] local.INFO: Acknowledgment sent {"connection_id":191327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:54:03] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:03] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:03] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:54:09] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:09] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:54:09] local.INFO: IMEI packet received {"connection_id":188566,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":188566,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:54:10] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:10] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:10] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:10] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:54:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:54:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:54:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:54:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:54:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:54: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-09-21 12:54:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:54:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:54:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:54:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:54:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:54:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:54:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:54:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:54:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:54:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:54:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:54:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:54:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:54:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:54:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:54:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:54:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:54:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:54:10] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:54:10] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:54:10] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:54:18] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:18] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:18] local.INFO: IMEI packet received {"connection_id":188709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:54:22] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:22] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:54:22] local.INFO: IMEI packet received {"connection_id":188709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":188709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:54:23] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d8c408012d18188007219fc0004e00cd2c..."} 
[2026-09-21 12:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d8c408012d18188007219fc0004e00cd2c..."} 
[2026-09-21 12:54:23] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d8c408012d18188007219fc0004e00cd2c..."} 
[2026-09-21 12:54:23] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:23] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119644096,"longitude_deg":75.6553856,"latitude_deg":11.9644096,"altitude":78,"angle":205,"satellites":44,"speed":8,"hex_longitude":"2d181880","hex_latitude":"07219fc0","is_valid_coordinates":true} 
[2026-09-21 12:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233694976001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22393993841082368,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027311616,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789975381000,"timestamp_ms":1789975381000,"timestamp_seconds":1789975381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d8c408"} 
[2026-09-21 12:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-21 12:54:23] 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-09-21 12:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233694976001,"66":12863,"105":206,"83":41984,"24":8,"16":22393993841082368,"45":1738600593027311616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233694976001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22393993841082368,"km_value":22393993841082.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027311616,"description":"Unknown IO ID 45"} 
[2026-09-21 12:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233694976001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738600593027311616}} 
[2026-09-21 12:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:54:23] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:54:23] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:54:23] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d8c7f0012d18184007219f18004e00ba2c..."} 
[2026-09-21 12:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d8c7f0012d18184007219f18004e00ba2c..."} 
[2026-09-21 12:54:23] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d8c7f0012d18184007219f18004e00ba2c..."} 
[2026-09-21 12:54:23] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:23] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":756553792,"raw_latitude":119643928,"longitude_deg":75.6553792,"latitude_deg":11.9643928,"altitude":78,"angle":186,"satellites":44,"speed":6,"hex_longitude":"2d181840","hex_latitude":"07219f18","is_valid_coordinates":true} 
[2026-09-21 12:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233697536001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22394006725984256,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468570112,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789975382000,"timestamp_ms":1789975382000,"timestamp_seconds":1789975382,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d8c7f0"} 
[2026-09-21 12:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:54:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:54:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 12:54:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:54:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233697536001,"66":12841,"105":206,"83":41984,"24":6,"16":22394006725984256,"45":1736278424468570112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233697536001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22394006725984256,"km_value":22394006725984.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468570112,"description":"Unknown IO ID 45"} 
[2026-09-21 12:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233697536001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736278424468570112}} 
[2026-09-21 12:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:54:23] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:54:23] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:54:41] local.INFO: TCP Data received {"connection_id":188566,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188566,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:41] local.INFO: Processing buffer {"connection_id":188566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:54:41] local.INFO: Packet analysis {"connection_id":188566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:41] local.INFO: Extracted packet for processing {"connection_id":188566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54: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-09-21 12:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:54: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-09-21 12:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188566,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:54:41] local.INFO: GPS data processed {"connection_id":188566,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:54:41] local.INFO: Acknowledgment sent {"connection_id":188566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:54:55] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d919f8012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d919f8012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:54:55] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d919f8012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:54:55] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:54:55] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643696,"longitude_deg":75.6554048,"latitude_deg":11.9643696,"altitude":78,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-09-21 12:54:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:54:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233697792001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22394023905853440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736208055724349440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:54:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:54:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789975403000,"timestamp_ms":1789975403000,"timestamp_seconds":1789975403,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d919f8"} 
[2026-09-21 12:54:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:54:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 12:54:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:54:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:54:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:54:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:54:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:54:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:54:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:54:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:54:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:54:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233697792001,"66":12776,"105":206,"83":41984,"24":0,"16":22394023905853440,"45":1736208055724349440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:54:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:54:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:54:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233697792001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:54:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:54:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:54:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22394023905853440,"km_value":22394023905853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:54:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736208055724349440,"description":"Unknown IO ID 45"} 
[2026-09-21 12:54:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233697792001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736208055724349440}} 
[2026-09-21 12:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:54:55] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:54:55] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:55:08] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:08] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:08] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:55:13] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:13] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:13] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:55:13] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:13] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:55:13] local.INFO: IMEI packet received {"connection_id":191328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":191328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:55:14] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:14] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:14] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:55:14] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:55:14] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:55:14] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:55:18] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:18] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:55:18] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:55:18] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d96c00012d18194007219e30004e00ba2a..."} 
[2026-09-21 12:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d96c00012d18194007219e30004e00ba2a..."} 
[2026-09-21 12:55:18] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d96c00012d18194007219e30004e00ba2a..."} 
[2026-09-21 12:55:18] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:55:18] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643696,"longitude_deg":75.6554048,"latitude_deg":11.9643696,"altitude":78,"angle":186,"satellites":42,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-09-21 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233703168001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22394023905853440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701000704,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789975424000,"timestamp_ms":1789975424000,"timestamp_seconds":1789975424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d96c00"} 
[2026-09-21 12:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 12:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233703168001,"66":12743,"105":206,"83":41984,"24":0,"16":22394023905853440,"45":1736489530701000704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233703168001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22394023905853440,"km_value":22394023905853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701000704,"description":"Unknown IO ID 45"} 
[2026-09-21 12:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233703168001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701000704}} 
[2026-09-21 12:55:19] local.INFO: TCP Data received {"connection_id":191328,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191328,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:19] local.INFO: Processing buffer {"connection_id":191328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:55:19] local.INFO: Packet analysis {"connection_id":191328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:55:19] local.INFO: Extracted packet for processing {"connection_id":191328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:55:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:55:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:55:19] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:55:19] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":191328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:55:19] local.INFO: GPS data processed {"connection_id":191328,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:55:19] local.INFO: Acknowledgment sent {"connection_id":191328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:55:50] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d9be08012d18194007219e30004e00ba2e..."} 
[2026-09-21 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d9be08012d18194007219e30004e00ba2e..."} 
[2026-09-21 12:55:50] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d9be08012d18194007219e30004e00ba2e..."} 
[2026-09-21 12:55:50] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:55:50] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d9"} 
[2026-09-21 12:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643696,"longitude_deg":75.6554048,"latitude_deg":11.9643696,"altitude":78,"angle":186,"satellites":46,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-09-21 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233708544001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22394023905853440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701000704,"note":"Value kept but may cause issues"} 
[2026-09-21 12:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975445000,"timestamp_ms":1789975445000,"timestamp_seconds":1789975445,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d9be08"} 
[2026-09-21 12:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 12:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233708544001,"66":12711,"105":206,"83":41984,"24":0,"16":22394023905853440,"45":1736489530701000704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233708544001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:55:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22394023905853440,"km_value":22394023905853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701000704,"description":"Unknown IO ID 45"} 
[2026-09-21 12:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233708544001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701000704}} 
[2026-09-21 12:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876259,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:55:50] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:55:50] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:56:03] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:03] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:03] local.INFO: IMEI packet received {"connection_id":190008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":190008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:56:08] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:08] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:56:08] local.INFO: IMEI packet received {"connection_id":190008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":190008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:56:10] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:10] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:10] local.INFO: Packet analysis {"connection_id":190008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:56:10] local.INFO: Extracted packet for processing {"connection_id":190008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:56: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-09-21 12:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:56:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:56:10] local.INFO: GPS data processed {"connection_id":190008,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:56:10] local.INFO: Acknowledgment sent {"connection_id":190008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:56:13] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:13] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:13] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:56:18] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:18] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:56:18] local.INFO: IMEI packet received {"connection_id":188568,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":188568,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:56:19] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2da1010012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2da1010012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:56:19] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2da1010012d18194007219e30004e00ba2c..."} 
[2026-09-21 12:56:19] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2da"} 
[2026-09-21 12:56:19] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2da"} 
[2026-09-21 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756554048,"raw_latitude":119643696,"longitude_deg":75.6554048,"latitude_deg":11.9643696,"altitude":78,"angle":186,"satellites":44,"speed":0,"hex_longitude":"2d181940","hex_latitude":"07219e30","is_valid_coordinates":true} 
[2026-09-21 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233713920001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22394023905853440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736489530701000704,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975466000,"timestamp_ms":1789975466000,"timestamp_seconds":1789975466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2da1010"} 
[2026-09-21 12:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 12:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233713920001,"66":13820,"105":206,"83":41984,"24":0,"16":22394023905853440,"45":1736489530701000704},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 12:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233713920001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:56:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 12:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22394023905853440,"km_value":22394023905853.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736489530701000704,"description":"Unknown IO ID 45"} 
[2026-09-21 12:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233713920001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1736489530701000704}} 
[2026-09-21 12:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:56:19] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:56:19] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:56:41] local.INFO: TCP Data received {"connection_id":190008,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:41] local.INFO: Processing buffer {"connection_id":190008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:56:41] local.INFO: Packet analysis {"connection_id":190008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:56:41] local.INFO: Extracted packet for processing {"connection_id":190008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 12: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-09-21 12:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":190008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:56:41] local.INFO: GPS data processed {"connection_id":190008,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:56:41] local.INFO: Acknowledgment sent {"connection_id":190008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:56:50] local.INFO: TCP Data received {"connection_id":188568,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2db7388012d18674007218228005000642b..."} 
[2026-09-21 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2db7388012d18674007218228005000642b..."} 
[2026-09-21 12:56:50] local.INFO: Processing buffer {"connection_id":188568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2db7388012d18674007218228005000642b..."} 
[2026-09-21 12:56:50] local.INFO: Packet analysis {"connection_id":188568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2db"} 
[2026-09-21 12:56:50] local.INFO: Extracted packet for processing {"connection_id":188568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2db"} 
[2026-09-21 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756574016,"raw_latitude":119636520,"longitude_deg":75.6574016,"latitude_deg":11.963652,"altitude":80,"angle":100,"satellites":43,"speed":38,"hex_longitude":"2d186740","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-09-21 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233741312001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22395196431925248,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1753166923069769728,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975557000,"timestamp_ms":1789975557000,"timestamp_seconds":1789975557,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2db7388"} 
[2026-09-21 12:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 12:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3269129864,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3674101761,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2802319440,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867882,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2405564416,"note":"Value kept but may cause issues"} 
[2026-09-21 12:56:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,144,160,56,45,151,82,10,66,143,6,128,166,80,105,2,192,1,240,131,227,194,33,4,113,205,9,250,29,224,239,55,79,7,11],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 12:56:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5764735251069337600,"timestamp_seconds":5764735251069338.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 12:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188568,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 12:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 12:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 12:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233741312001,"66":13993,"106":206,"83":41984,"24":38,"16":22395196431925248,"45":1753166923069769728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 12:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 12:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 12:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233741312001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:56:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 12:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 12:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22395196431925248,"km_value":22395196431925.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1753166923069769728,"description":"Unknown IO ID 45"} 
[2026-09-21 12:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233741312001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1753166923069769728}} 
[2026-09-21 12:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":188568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:56:50] local.INFO: GPS data processed {"connection_id":188568,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:56:50] local.INFO: Acknowledgment sent {"connection_id":188568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:57:04] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:04] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:04] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:57:04] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:57:08] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:08] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:57:08] local.INFO: IMEI packet received {"connection_id":191329,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":191329,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:57:09] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:09] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:09] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:57:09] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 12: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-09-21 12:57:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:57:09] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:57:09] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:57:12] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:57:12] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:57:12] local.INFO: IMEI packet received {"connection_id":188712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 12:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:57:13] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.9","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 12:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 12:57:13] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 12:57:13] local.INFO: IMEI packet received {"connection_id":188712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":188712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:57:15] local.INFO: TCP Data received {"connection_id":188712,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188712,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 12:57:15] local.INFO: Processing buffer {"connection_id":188712,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 12:57:15] local.INFO: IMEI packet received {"connection_id":188712,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 12:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":188712,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:57:41] local.INFO: TCP Data received {"connection_id":191329,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:41] local.INFO: Processing buffer {"connection_id":191329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:57:41] local.INFO: Packet analysis {"connection_id":191329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:57:41] local.INFO: Extracted packet for processing {"connection_id":191329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12: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-09-21 12:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 12:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 12:57: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-09-21 12: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-09-21 12:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191329,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":191329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:57:41] local.INFO: GPS data processed {"connection_id":191329,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:57:41] local.INFO: Acknowledgment sent {"connection_id":191329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:58:03] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:03] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:03] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:58:08] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:08] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:58:08] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:58:09] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:58:09] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2d86e18012d34c04006aa4130000a000c2d..."} 
[2026-09-21 12:58:09] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:58:09] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2d8"} 
[2026-09-21 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":10,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 12:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233614848001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 12:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975359000,"timestamp_ms":1789975359000,"timestamp_seconds":1789975359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2d86e18"} 
[2026-09-21 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-09-21 12:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 12:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233614848001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233614848001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233614848001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:58:09] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:58:09] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:58:35] local.INFO: TCP Data received {"connection_id":190010,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:58:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:58:35] local.INFO: Processing buffer {"connection_id":190010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:58:35] local.INFO: IMEI packet received {"connection_id":190010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:58:35] local.INFO: IMEI acknowledgment sent {"connection_id":190010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:58:40] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:58:40] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:58:40] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:58:40] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 12:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 12:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 12:58: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-09-21 12:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:58:40] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:58:40] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:59:03] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:03] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:03] local.INFO: IMEI packet received {"connection_id":190011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 12:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":190011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:59:08] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:08] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 12:59:08] local.INFO: IMEI packet received {"connection_id":190011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 12:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":190011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 12:59:09] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:09] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:09] local.INFO: Packet analysis {"connection_id":190011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:59:09] local.INFO: Extracted packet for processing {"connection_id":190011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12: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-09-21 12:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 12:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 12:59: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-09-21 12:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:59:09] local.INFO: GPS data processed {"connection_id":190011,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:59:09] local.INFO: Acknowledgment sent {"connection_id":190011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 12:59:20] local.INFO: TCP Data received {"connection_id":190012,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:59:20] local.INFO: Processing buffer {"connection_id":190012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 12:59:20] local.INFO: IMEI packet received {"connection_id":190012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 12:59:20] local.INFO: IMEI acknowledgment sent {"connection_id":190012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 12:59:41] local.INFO: TCP Data received {"connection_id":190011,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:41] local.INFO: Processing buffer {"connection_id":190011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 12:59:41] local.INFO: Packet analysis {"connection_id":190011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:59:41] local.INFO: Extracted packet for processing {"connection_id":190011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 12:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 12:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 12:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 12:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 12:59: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-09-21 12:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 12:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 12:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 12:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 12:59: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-09-21 12:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 12:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 12:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 12:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 12:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 12:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 12:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 12:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 12:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 12:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 12:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 12:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 12:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 12:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 12:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":190011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 12:59:41] local.INFO: GPS data processed {"connection_id":190011,"processed":1,"errors":0,"total":1} 
[2026-09-21 12:59:41] local.INFO: Acknowledgment sent {"connection_id":190011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:00:03] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:03] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:03] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:00:08] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:08] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:00:08] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:00:09] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:09] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:09] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:00:09] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 13:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:00: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-09-21 13:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:00:09] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:00:09] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:00:41] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:41] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:00:41] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:00:41] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 13:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:00: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-09-21 13:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:00:41] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:00:41] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:01:03] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:03] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:03] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:01:08] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:08] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:01:08] local.INFO: IMEI packet received {"connection_id":191331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":191331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:01:09] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:09] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:09] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:01:09] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 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-09-21 13:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:01: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-09-21 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-09-21 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-09-21 13:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:01:09] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:01:09] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:01:41] local.INFO: TCP Data received {"connection_id":191331,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:41] local.INFO: Processing buffer {"connection_id":191331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:01:41] local.INFO: Packet analysis {"connection_id":191331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:01:41] local.INFO: Extracted packet for processing {"connection_id":191331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:01: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-09-21 13:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 13:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:01: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-09-21 13:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":191331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:01:41] local.INFO: GPS data processed {"connection_id":191331,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:01:41] local.INFO: Acknowledgment sent {"connection_id":191331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:02:03] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:03] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:03] local.INFO: IMEI packet received {"connection_id":188718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:02:03] local.INFO: IMEI acknowledgment sent {"connection_id":188718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:02:08] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:08] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:02:08] local.INFO: IMEI packet received {"connection_id":188718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":188718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:02:09] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:09] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:09] local.INFO: Packet analysis {"connection_id":188718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:02:09] local.INFO: Extracted packet for processing {"connection_id":188718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 13:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:02: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-09-21 13:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":188718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:02:09] local.INFO: GPS data processed {"connection_id":188718,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:02:09] local.INFO: Acknowledgment sent {"connection_id":188718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:02:16] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:02:16] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:02:16] local.INFO: IMEI packet received {"connection_id":191333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":191333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:02:17] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2df0d68012d19024007214160004400f32d..."} 
[2026-09-21 13:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2df0d68012d19024007214160004400f32d..."} 
[2026-09-21 13:02:17] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2df0d68012d19024007214160004400f32d..."} 
[2026-09-21 13:02:17] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:02:17] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233797632001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789975793000,"timestamp_ms":1789975793000,"timestamp_seconds":1789975793,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2df0d68"} 
[2026-09-21 13:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-21 13:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233797632001,"66":12841,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233797632001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:02:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233797632001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:02:17] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:02:17] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:02:41] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:41] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:02:41] local.INFO: Packet analysis {"connection_id":188718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:02:41] local.INFO: Extracted packet for processing {"connection_id":188718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 13:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:02: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-09-21 13:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":188718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:02:41] local.INFO: GPS data processed {"connection_id":188718,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:02:41] local.INFO: Acknowledgment sent {"connection_id":188718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:02:48] local.INFO: TCP Data received {"connection_id":191333,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2df5f70012d19024007214160004400f32d..."} 
[2026-09-21 13:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2df5f70012d19024007214160004400f32d..."} 
[2026-09-21 13:02:48] local.INFO: Processing buffer {"connection_id":191333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2df5f70012d19024007214160004400f32d..."} 
[2026-09-21 13:02:48] local.INFO: Packet analysis {"connection_id":191333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:02:48] local.INFO: Extracted packet for processing {"connection_id":191333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233803008001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789975814000,"timestamp_ms":1789975814000,"timestamp_seconds":1789975814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2df5f70"} 
[2026-09-21 13:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:02:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 13:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233803008001,"66":12776,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233803008001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:02:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233803008001,"power":12776,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":191333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876277,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:02:48] local.INFO: GPS data processed {"connection_id":191333,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:02:48] local.INFO: Acknowledgment sent {"connection_id":191333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:03:03] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:03] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:03] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:03:08] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:08] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:03:08] local.INFO: IMEI packet received {"connection_id":188570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":188570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:03:09] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:03:09] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dd05e0012d34c04006aa41300000000c2b..."} 
[2026-09-21 13:03:09] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:03:09] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2dd"} 
[2026-09-21 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233691904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975660000,"timestamp_ms":1789975660000,"timestamp_seconds":1789975660,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dd05e0"} 
[2026-09-21 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-09-21 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:03: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-09-21 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-09-21 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-09-21 13:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233691904001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233691904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233691904001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:03:09] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:03:09] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:03:13] local.INFO: TCP Data received {"connection_id":190015,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:13] local.INFO: Processing buffer {"connection_id":190015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:13] local.INFO: IMEI packet received {"connection_id":190015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":190015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:03:18] local.INFO: TCP Data received {"connection_id":190015,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:18] local.INFO: Processing buffer {"connection_id":190015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:03:18] local.INFO: IMEI packet received {"connection_id":190015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":190015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:03:19] local.INFO: TCP Data received {"connection_id":190015,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2dfb178012d19024007214160004400f32d..."} 
[2026-09-21 13:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2dfb178012d19024007214160004400f32d..."} 
[2026-09-21 13:03:19] local.INFO: Processing buffer {"connection_id":190015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2dfb178012d19024007214160004400f32d..."} 
[2026-09-21 13:03:19] local.INFO: Packet analysis {"connection_id":190015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:03:19] local.INFO: Extracted packet for processing {"connection_id":190015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2df"} 
[2026-09-21 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233808384001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975835000,"timestamp_ms":1789975835000,"timestamp_seconds":1789975835,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2dfb178"} 
[2026-09-21 13:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 13:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233808384001,"66":12722,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233808384001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:03:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233808384001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":190015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:03:19] local.INFO: GPS data processed {"connection_id":190015,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:03:19] local.INFO: Acknowledgment sent {"connection_id":190015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:03:40] local.INFO: TCP Data received {"connection_id":188570,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188570,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:03:40] local.INFO: Processing buffer {"connection_id":188570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:03:40] local.INFO: Packet analysis {"connection_id":188570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:03:40] local.INFO: Extracted packet for processing {"connection_id":188570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":188570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:03:40] local.INFO: GPS data processed {"connection_id":188570,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:03:40] local.INFO: Acknowledgment sent {"connection_id":188570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:03:50] local.INFO: TCP Data received {"connection_id":190015,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e00380012d19024007214160004400f32b..."} 
[2026-09-21 13:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e00380012d19024007214160004400f32b..."} 
[2026-09-21 13:03:50] local.INFO: Processing buffer {"connection_id":190015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e00380012d19024007214160004400f32b..."} 
[2026-09-21 13:03:50] local.INFO: Packet analysis {"connection_id":190015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:03:50] local.INFO: Extracted packet for processing {"connection_id":190015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":43,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233813760001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:03:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975856000,"timestamp_ms":1789975856000,"timestamp_seconds":1789975856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e00380"} 
[2026-09-21 13:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:03:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 13:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233813760001,"66":12667,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233813760001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:03:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:03:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233813760001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":190015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:03:50] local.INFO: GPS data processed {"connection_id":190015,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:03:50] local.INFO: Acknowledgment sent {"connection_id":190015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:04:03] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:03] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:03] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:04:08] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:08] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:04:08] local.INFO: IMEI packet received {"connection_id":191334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":191334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:04:09] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:09] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:09] local.INFO: Packet analysis {"connection_id":191334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:04:09] local.INFO: Extracted packet for processing {"connection_id":191334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 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-09-21 13:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":191334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:04:09] local.INFO: GPS data processed {"connection_id":191334,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:04:09] local.INFO: Acknowledgment sent {"connection_id":191334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:04:13] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:13] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:13] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:04:18] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:18] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:04:18] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:04:19] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e05588012d19024007214160004400f32c..."} 
[2026-09-21 13:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e05588012d19024007214160004400f32c..."} 
[2026-09-21 13:04:19] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e05588012d19024007214160004400f32c..."} 
[2026-09-21 13:04:19] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:04:19] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:04:19] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":44,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233819136001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975877000,"timestamp_ms":1789975877000,"timestamp_seconds":1789975877,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e05588"} 
[2026-09-21 13:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 13:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233819136001,"66":12678,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233819136001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:04:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:04:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233819136001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:04:19] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:04:19] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:04:41] local.INFO: TCP Data received {"connection_id":191334,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:41] local.INFO: Processing buffer {"connection_id":191334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:04:41] local.INFO: Packet analysis {"connection_id":191334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:04:41] local.INFO: Extracted packet for processing {"connection_id":191334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:04: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-09-21 13: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-09-21 13:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":191334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:04:41] local.INFO: GPS data processed {"connection_id":191334,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:04:41] local.INFO: Acknowledgment sent {"connection_id":191334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:04:50] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e0a790012d19024007214160004400f32e..."} 
[2026-09-21 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e0a790012d19024007214160004400f32e..."} 
[2026-09-21 13:04:50] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e0a790012d19024007214160004400f32e..."} 
[2026-09-21 13:04:50] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:04:50] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233824512001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975898000,"timestamp_ms":1789975898000,"timestamp_seconds":1789975898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e0a790"} 
[2026-09-21 13:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-21 13:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:04:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233824512001,"66":12645,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233824512001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:04:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233824512001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876285,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:04:50] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:04:50] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:04:50] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:04:50] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:04:50] local.INFO: IMEI packet received {"connection_id":188720,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":188720,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:05:04] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:04] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:04] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:05:08] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:08] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:05:08] local.INFO: IMEI packet received {"connection_id":188571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":188571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:05:09] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:09] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:09] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:09] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 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-09-21 13:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:05:09] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:05:09] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:05:13] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:13] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:13] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:05:15] local.INFO: TCP Data received {"connection_id":188572,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:05:15] local.INFO: Processing buffer {"connection_id":188572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:05:15] local.INFO: IMEI packet received {"connection_id":188572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":188572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:05:18] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:18] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:05:18] local.INFO: IMEI packet received {"connection_id":188573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":188573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:05:19] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e0f998012d19024007214160004400f32e..."} 
[2026-09-21 13:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e0f998012d19024007214160004400f32e..."} 
[2026-09-21 13:05:19] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e0f998012d19024007214160004400f32e..."} 
[2026-09-21 13:05:19] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:05:19] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e0"} 
[2026-09-21 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233829888001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975919000,"timestamp_ms":1789975919000,"timestamp_seconds":1789975919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e0f998"} 
[2026-09-21 13:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 13:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233829888001,"66":12580,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233829888001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:05:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233829888001,"power":12580,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:05:19] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:05:19] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:05:41] local.INFO: TCP Data received {"connection_id":188571,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:41] local.INFO: Processing buffer {"connection_id":188571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:05:41] local.INFO: Packet analysis {"connection_id":188571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:41] local.INFO: Extracted packet for processing {"connection_id":188571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05: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-09-21 13:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":188571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:05:41] local.INFO: GPS data processed {"connection_id":188571,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:05:41] local.INFO: Acknowledgment sent {"connection_id":188571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:05:50] local.INFO: TCP Data received {"connection_id":188573,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e14ba0012d19024007214160004400f32d..."} 
[2026-09-21 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188573,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e14ba0012d19024007214160004400f32d..."} 
[2026-09-21 13:05:50] local.INFO: Processing buffer {"connection_id":188573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e14ba0012d19024007214160004400f32d..."} 
[2026-09-21 13:05:50] local.INFO: Packet analysis {"connection_id":188573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:50] local.INFO: Extracted packet for processing {"connection_id":188573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233835264001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975940000,"timestamp_ms":1789975940000,"timestamp_seconds":1789975940,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e14ba0"} 
[2026-09-21 13:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 13:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233835264001,"66":12548,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233835264001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:05:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233835264001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":188573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:05:50] local.INFO: GPS data processed {"connection_id":188573,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:05:50] local.INFO: Acknowledgment sent {"connection_id":188573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:06:03] local.INFO: TCP Data received {"connection_id":188721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:03] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:03] local.INFO: IMEI packet received {"connection_id":188721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:06:08] local.INFO: TCP Data received {"connection_id":188721,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:08] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:06:08] local.INFO: IMEI packet received {"connection_id":188721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:06:09] local.INFO: TCP Data received {"connection_id":188721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:09] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:09] local.INFO: Packet analysis {"connection_id":188721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:09] local.INFO: Extracted packet for processing {"connection_id":188721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 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-09-21 13:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":188721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:06:09] local.INFO: GPS data processed {"connection_id":188721,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:06:09] local.INFO: Acknowledgment sent {"connection_id":188721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:06:13] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:13] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:13] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:06:18] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:18] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:06:18] local.INFO: IMEI packet received {"connection_id":188574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:06:18] local.INFO: IMEI acknowledgment sent {"connection_id":188574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:06:19] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d19024007214160004400f32d..."} 
[2026-09-21 13:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d19024007214160004400f32d..."} 
[2026-09-21 13:06:19] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d19024007214160004400f32d..."} 
[2026-09-21 13:06:19] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:19] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233840640001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:06:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:06:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:06:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:06:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3269418864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184211972301,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3758325761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397034,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2456354816,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:19] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,106,83,24,241,157,16,146,160,249,45,64,65,68,46,10,66,167,85,1,240,134,227,194,33,4,113,205,177,2,96,239,49,79,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 13:06:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900183769178177536,"timestamp_seconds":4900183769178178.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:06:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:06:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:06:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:06:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:06:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:06:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:06:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:06:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:06:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233840640001,"66":12526,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:06:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:06:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:06:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233840640001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:06:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:06:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:06:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:06:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:06:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233840640001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:06:19] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:06:19] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:06:19] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:06:41] local.INFO: TCP Data received {"connection_id":188721,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:41] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:06:41] local.INFO: Packet analysis {"connection_id":188721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:41] local.INFO: Extracted packet for processing {"connection_id":188721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:06: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-09-21 13:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:06:41] local.INFO: GPS data processed {"connection_id":188721,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:06:41] local.INFO: Acknowledgment sent {"connection_id":188721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:06:50] local.INFO: TCP Data received {"connection_id":188574,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e1efb0012d19024007214160004400f32d..."} 
[2026-09-21 13:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e1efb0012d19024007214160004400f32d..."} 
[2026-09-21 13:06:50] local.INFO: Processing buffer {"connection_id":188574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e1efb0012d19024007214160004400f32d..."} 
[2026-09-21 13:06:50] local.INFO: Packet analysis {"connection_id":188574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:50] local.INFO: Extracted packet for processing {"connection_id":188574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:06:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:06:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:06:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789975982000,"timestamp_ms":1789975982000,"timestamp_seconds":1789975982,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e1efb0"} 
[2026-09-21 13:06:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:06:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:06:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:06:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:06:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:06:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:06:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:06:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:06:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:06:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:06:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:06:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:06:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:06:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":12526,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:06:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:06:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:06:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:06:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:06:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:06:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:06:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:06:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:06:50] local.INFO: DEBUG: GPS processor result {"connection_id":188574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:06:50] local.INFO: GPS data processed {"connection_id":188574,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:06:50] local.INFO: Acknowledgment sent {"connection_id":188574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:07:03] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:03] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:03] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:07:08] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:08] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:07:08] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:07:10] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:10] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:10] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:07:10] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:07:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:07:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:07:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:07:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13: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-09-21 13: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-09-21 13:07:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:07:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:07:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:07:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:07:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:07:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:07:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:07:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:07:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:07:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:07:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:07:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:07:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:07:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:07:10] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:07:10] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:07:10] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:07:18] local.INFO: TCP Data received {"connection_id":190018,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:18] local.INFO: Processing buffer {"connection_id":190018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:18] local.INFO: IMEI packet received {"connection_id":190018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":190018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:07:23] local.INFO: TCP Data received {"connection_id":190018,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:23] local.INFO: Processing buffer {"connection_id":190018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:07:23] local.INFO: IMEI packet received {"connection_id":190018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:07:23] local.INFO: IMEI acknowledgment sent {"connection_id":190018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:07:23] local.INFO: TCP Data received {"connection_id":190018,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e241b8012d19024007214160004400f32f..."} 
[2026-09-21 13:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e241b8012d19024007214160004400f32f..."} 
[2026-09-21 13:07:23] local.INFO: Processing buffer {"connection_id":190018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e241b8012d19024007214160004400f32f..."} 
[2026-09-21 13:07:23] local.INFO: Packet analysis {"connection_id":190018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:07:23] local.INFO: Extracted packet for processing {"connection_id":190018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233851392001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789976003000,"timestamp_ms":1789976003000,"timestamp_seconds":1789976003,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e241b8"} 
[2026-09-21 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-09-21 13:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233851392001,"66":12461,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233851392001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:07:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233851392001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":190018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:07:23] local.INFO: GPS data processed {"connection_id":190018,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:07:23] local.INFO: Acknowledgment sent {"connection_id":190018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:07:28] local.INFO: TCP Data received {"connection_id":190018,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e293c0012d19024007214160004400f32f..."} 
[2026-09-21 13:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e293c0012d19024007214160004400f32f..."} 
[2026-09-21 13:07:28] local.INFO: Processing buffer {"connection_id":190018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e293c0012d19024007214160004400f32f..."} 
[2026-09-21 13:07:28] local.INFO: Packet analysis {"connection_id":190018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:07:28] local.INFO: Extracted packet for processing {"connection_id":190018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":47,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233856768001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07: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-09-21 13:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789976024000,"timestamp_ms":1789976024000,"timestamp_seconds":1789976024,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e293c0"} 
[2026-09-21 13:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233856768001,"66":12461,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233856768001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:07:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233856768001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":190018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:07:28] local.INFO: GPS data processed {"connection_id":190018,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:07:28] local.INFO: Acknowledgment sent {"connection_id":190018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:07:41] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:41] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:07:41] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:07:41] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:07: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-09-21 13: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-09-21 13:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:07:41] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:07:41] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:08:03] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:03] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:03] local.INFO: IMEI packet received {"connection_id":190019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":190019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:08:08] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:08] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:08:08] local.INFO: IMEI packet received {"connection_id":190019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:08:09] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:08:09] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e19da8012d34c04006aa41300001000c2d..."} 
[2026-09-21 13:08:09] local.INFO: Packet analysis {"connection_id":190019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:08:09] local.INFO: Extracted packet for processing {"connection_id":190019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e1"} 
[2026-09-21 13:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":1,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233768960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789975961000,"timestamp_ms":1789975961000,"timestamp_seconds":1789975961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e19da8"} 
[2026-09-21 13:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13: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-09-21 13: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-09-21 13:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233768960001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233768960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233768960001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":190019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:08:09] local.INFO: GPS data processed {"connection_id":190019,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:08:09] local.INFO: Acknowledgment sent {"connection_id":190019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:08:13] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:13] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:13] local.INFO: IMEI packet received {"connection_id":191335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":191335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:08:14] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:14] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:14] local.INFO: IMEI packet received {"connection_id":191335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:08:14] local.INFO: IMEI acknowledgment sent {"connection_id":191335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:08:18] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:18] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:08:18] local.INFO: IMEI packet received {"connection_id":191335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":191335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:08:19] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e2e5c8012d19024007214160004400f32e..."} 
[2026-09-21 13:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e2e5c8012d19024007214160004400f32e..."} 
[2026-09-21 13:08:19] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e2e5c8012d19024007214160004400f32e..."} 
[2026-09-21 13:08:19] local.INFO: Packet analysis {"connection_id":191335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:08:19] local.INFO: Extracted packet for processing {"connection_id":191335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e2"} 
[2026-09-21 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233862144001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976045000,"timestamp_ms":1789976045000,"timestamp_seconds":1789976045,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e2e5c8"} 
[2026-09-21 13:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233862144001,"66":12461,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233862144001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:08:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233862144001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":191335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:08:19] local.INFO: GPS data processed {"connection_id":191335,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:08:19] local.INFO: Acknowledgment sent {"connection_id":191335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:08:40] local.INFO: TCP Data received {"connection_id":190019,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:08:40] local.INFO: Processing buffer {"connection_id":190019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:08:40] local.INFO: Packet analysis {"connection_id":190019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:08:40] local.INFO: Extracted packet for processing {"connection_id":190019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:08: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-09-21 13:08: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-09-21 13:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":190019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:08:40] local.INFO: GPS data processed {"connection_id":190019,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:08:40] local.INFO: Acknowledgment sent {"connection_id":190019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:08:50] local.INFO: TCP Data received {"connection_id":191335,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e337d0012d19024007214160004400f32e..."} 
[2026-09-21 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191335,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e337d0012d19024007214160004400f32e..."} 
[2026-09-21 13:08:50] local.INFO: Processing buffer {"connection_id":191335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e337d0012d19024007214160004400f32e..."} 
[2026-09-21 13:08:50] local.INFO: Packet analysis {"connection_id":191335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e3"} 
[2026-09-21 13:08:50] local.INFO: Extracted packet for processing {"connection_id":191335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e3"} 
[2026-09-21 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":46,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233867520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976066000,"timestamp_ms":1789976066000,"timestamp_seconds":1789976066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e337d0"} 
[2026-09-21 13:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233867520001,"66":12461,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233867520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:08:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233867520001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":191335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876301,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:08:50] local.INFO: GPS data processed {"connection_id":191335,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:08:50] local.INFO: Acknowledgment sent {"connection_id":191335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:09:03] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:03] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:03] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:09:08] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:08] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:09:08] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:09:10] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:10] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:10] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:10] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:09:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:09: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-09-21 13:09:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:09:10] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:09:10] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:09:13] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:09:13] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:13] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:09:14] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:14] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:14] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:09:14] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:09:16] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:16] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:09:16] local.INFO: IMEI packet received {"connection_id":191337,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":191337,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:09:16] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e6be28012d19024007214160004400f32d..."} 
[2026-09-21 13:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e6be28012d19024007214160004400f32d..."} 
[2026-09-21 13:09:16] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e6be28012d19024007214160004400f32d..."} 
[2026-09-21 13:09:16] local.INFO: Packet analysis {"connection_id":191337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:16] local.INFO: Extracted packet for processing {"connection_id":191337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:16] local.INFO: GPS Element Parsed {"raw_longitude":756613696,"raw_latitude":119619936,"longitude_deg":75.6613696,"latitude_deg":11.9619936,"altitude":68,"angle":243,"satellites":45,"speed":0,"hex_longitude":"2d190240","hex_latitude":"07214160","is_valid_coordinates":true} 
[2026-09-21 13:09:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:09:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233926656001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22397502829363200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802073200268500992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789976297000,"timestamp_ms":1789976297000,"timestamp_seconds":1789976297,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e6be28"} 
[2026-09-21 13:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3269754864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":4097,"corrected_to":0} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3844341761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":209,"raw_value":4160826649,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2456354816,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:17] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,146,160,26,45,64,65,68,44,10,66,200,47,118,1,240,53,227,194,33,4,113,205,209,2,96,239,48,79,7],"length":479,"final_offset":609,"validated_count":36,"validation_warnings":[{"io_id":200,"original":4097,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 13:09:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900183764883210240,"timestamp_seconds":4900183764883210.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233926656001,"66":13928,"106":206,"83":41984,"24":0,"16":22397502829363200,"45":1802073200268500992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233926656001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:09:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22397502829363200,"km_value":22397502829363.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802073200268500992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233926656001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1802073200268500992}} 
[2026-09-21 13:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":191337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:09:17] local.INFO: GPS data processed {"connection_id":191337,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:09:17] local.INFO: Acknowledgment sent {"connection_id":191337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:09:41] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:41] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:09:41] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:41] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:09: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-09-21 13: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-09-21 13:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:09:41] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:09:41] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:09:48] local.INFO: TCP Data received {"connection_id":191337,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e771d8012d18de0007215188004601342b..."} 
[2026-09-21 13:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e771d8012d18de0007215188004601342b..."} 
[2026-09-21 13:09:48] local.INFO: Processing buffer {"connection_id":191337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e771d8012d18de0007215188004601342b..."} 
[2026-09-21 13:09:48] local.INFO: Packet analysis {"connection_id":191337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:09:48] local.INFO: Extracted packet for processing {"connection_id":191337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119624072,"longitude_deg":75.6604416,"latitude_deg":11.9624072,"altitude":70,"angle":308,"satellites":43,"speed":15,"hex_longitude":"2d18de00","hex_latitude":"07215188","is_valid_coordinates":true} 
[2026-09-21 13:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233942784001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22398069765046272,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1792362313572771840,"note":"Value kept but may cause issues"} 
[2026-09-21 13:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789976343000,"timestamp_ms":1789976343000,"timestamp_seconds":1789976343,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e771d8"} 
[2026-09-21 13:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 13:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191337,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233942784001,"66":14211,"106":206,"83":41984,"24":15,"16":22398069765046272,"45":1792362313572771840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233942784001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:09:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22398069765046272,"km_value":22398069765046.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1792362313572771840,"description":"Unknown IO ID 45"} 
[2026-09-21 13:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233942784001,"power":14211,"unknown_106":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1792362313572771840}} 
[2026-09-21 13:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":191337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:09:48] local.INFO: GPS data processed {"connection_id":191337,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:09:48] local.INFO: Acknowledgment sent {"connection_id":191337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:10:03] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:03] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:03] local.INFO: IMEI packet received {"connection_id":191339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:10:03] local.INFO: IMEI acknowledgment sent {"connection_id":191339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:10:08] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:08] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:10:08] local.INFO: IMEI packet received {"connection_id":191339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":191339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:10:09] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:09] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:09] local.INFO: Packet analysis {"connection_id":191339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:10:09] local.INFO: Extracted packet for processing {"connection_id":191339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 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-09-21 13:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":191339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:10:09] local.INFO: GPS data processed {"connection_id":191339,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:10:09] local.INFO: Acknowledgment sent {"connection_id":191339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:10:15] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:10:15] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:15] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:10:15] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:10:18] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:18] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:10:18] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:10:18] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:10:19] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e775c0012d18dc80072152280046011b2b..."} 
[2026-09-21 13:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e775c0012d18dc80072152280046011b2b..."} 
[2026-09-21 13:10:19] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e775c0012d18dc80072152280046011b2b..."} 
[2026-09-21 13:10:19] local.INFO: Packet analysis {"connection_id":188725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:10:19] local.INFO: Extracted packet for processing {"connection_id":188725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119624232,"longitude_deg":75.6604032,"latitude_deg":11.9624232,"altitude":70,"angle":283,"satellites":43,"speed":14,"hex_longitude":"2d18dc80","hex_latitude":"07215228","is_valid_coordinates":true} 
[2026-09-21 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233943808001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22398091239882752,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732363798528,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976344000,"timestamp_ms":1789976344000,"timestamp_seconds":1789976344,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e775c0"} 
[2026-09-21 13:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-21 13:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233943808001,"66":14135,"106":206,"83":41984,"24":14,"16":22398091239882752,"45":1791869732363798528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233943808001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:10:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:10:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22398091239882752,"km_value":22398091239882.754,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732363798528,"description":"Unknown IO ID 45"} 
[2026-09-21 13:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233943808001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1791869732363798528}} 
[2026-09-21 13:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":188725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:10:19] local.INFO: GPS data processed {"connection_id":188725,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:10:19] local.INFO: Acknowledgment sent {"connection_id":188725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:10:41] local.INFO: TCP Data received {"connection_id":191339,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191339,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:41] local.INFO: Processing buffer {"connection_id":191339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:10:41] local.INFO: Packet analysis {"connection_id":191339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:10:41] local.INFO: Extracted packet for processing {"connection_id":191339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10: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-09-21 13:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:10: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-09-21 13:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":191339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:10:41] local.INFO: GPS data processed {"connection_id":191339,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:10:41] local.INFO: Acknowledgment sent {"connection_id":191339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:10:45] local.INFO: TCP Data received {"connection_id":188726,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188726,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:10:45] local.INFO: Processing buffer {"connection_id":188726,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:10:45] local.INFO: IMEI packet received {"connection_id":188726,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:10:45] local.INFO: IMEI acknowledgment sent {"connection_id":188726,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:10:50] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e779a8012d18db40072152400046010e2a..."} 
[2026-09-21 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e779a8012d18db40072152400046010e2a..."} 
[2026-09-21 13:10:50] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e779a8012d18db40072152400046010e2a..."} 
[2026-09-21 13:10:50] local.INFO: Packet analysis {"connection_id":188725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:10:50] local.INFO: Extracted packet for processing {"connection_id":188725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e7"} 
[2026-09-21 13:10:50] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119624256,"longitude_deg":75.6603712,"latitude_deg":11.9624256,"altitude":70,"angle":270,"satellites":42,"speed":12,"hex_longitude":"2d18db40","hex_latitude":"07215240","is_valid_coordinates":true} 
[2026-09-21 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:10:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233944064001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22398104124784640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519898773504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:10:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:10:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976345000,"timestamp_ms":1789976345000,"timestamp_seconds":1789976345,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e779a8"} 
[2026-09-21 13:10:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:10:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:10:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 13:10:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:10:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:10:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:10:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:10:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:10:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:10:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:10:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:10:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:10:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:10:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233944064001,"66":14135,"106":206,"83":41984,"24":12,"16":22398104124784640,"45":1791447519898773504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:10:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:10:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:10:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233944064001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:10:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:10:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:10:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22398104124784640,"km_value":22398104124784.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:10:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519898773504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:10:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233944064001,"power":14135,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1791447519898773504}} 
[2026-09-21 13:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":188725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:10:50] local.INFO: GPS data processed {"connection_id":188725,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:10:50] local.INFO: Acknowledgment sent {"connection_id":188725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:11:03] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:03] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:03] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:11:08] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:08] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:11:08] local.INFO: IMEI packet received {"connection_id":188575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:11:09] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:09] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:09] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:11:09] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 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-09-21 13:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:11:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:11:09] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:11:09] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:11:13] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:13] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:13] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:11:15] local.INFO: TCP Data received {"connection_id":188728,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:11:15] local.INFO: Processing buffer {"connection_id":188728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:11:15] local.INFO: IMEI packet received {"connection_id":188728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":188728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:11:18] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:18] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:11:18] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:11:19] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e896d0012d181d000721a5f8004b01012a..."} 
[2026-09-21 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e896d0012d181d000721a5f8004b01012a..."} 
[2026-09-21 13:11:19] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e896d0012d181d000721a5f8004b01012a..."} 
[2026-09-21 13:11:19] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:11:19] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":756555008,"raw_latitude":119645688,"longitude_deg":75.6555008,"latitude_deg":11.9645688,"altitude":75,"angle":257,"satellites":42,"speed":8,"hex_longitude":"2d181d00","hex_latitude":"0721a5f8","is_valid_coordinates":true} 
[2026-09-21 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233962752001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22400758414573568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096704512,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976418000,"timestamp_ms":1789976418000,"timestamp_seconds":1789976418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e896d0"} 
[2026-09-21 13:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 13:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233962752001,"66":14265,"105":206,"83":41984,"24":8,"16":22400758414573568,"45":1737756168096704512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233962752001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:11:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:11:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22400758414573568,"km_value":22400758414573.566,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096704512,"description":"Unknown IO ID 45"} 
[2026-09-21 13:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233962752001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737756168096704512}} 
[2026-09-21 13:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:11:19] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:11:19] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:11:40] local.INFO: TCP Data received {"connection_id":188575,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188575,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:40] local.INFO: Processing buffer {"connection_id":188575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:11:40] local.INFO: Packet analysis {"connection_id":188575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:11:40] local.INFO: Extracted packet for processing {"connection_id":188575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:11: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-09-21 13:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":188575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:11:40] local.INFO: GPS data processed {"connection_id":188575,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:11:40] local.INFO: Acknowledgment sent {"connection_id":188575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:11:50] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e89ab8012d181c800721a5b8004b00eb29..."} 
[2026-09-21 13:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e89ab8012d181c800721a5b8004b00eb29..."} 
[2026-09-21 13:11:50] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e89ab8012d181c800721a5b8004b00eb29..."} 
[2026-09-21 13:11:50] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:11:50] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756554880,"raw_latitude":119645624,"longitude_deg":75.655488,"latitude_deg":11.9645624,"altitude":75,"angle":235,"satellites":41,"speed":9,"hex_longitude":"2d181c80","hex_latitude":"0721a5b8","is_valid_coordinates":true} 
[2026-09-21 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233963008001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22400767004508160,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864175616,"note":"Value kept but may cause issues"} 
[2026-09-21 13:11:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976419000,"timestamp_ms":1789976419000,"timestamp_seconds":1789976419,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e89ab8"} 
[2026-09-21 13:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:11:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 13:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233963008001,"66":14265,"105":206,"83":41984,"24":9,"16":22400767004508160,"45":1737545061864175616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233963008001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:11:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:11:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22400767004508160,"km_value":22400767004508.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864175616,"description":"Unknown IO ID 45"} 
[2026-09-21 13:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233963008001,"power":14265,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737545061864175616}} 
[2026-09-21 13:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:11:50] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:11:50] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:12:03] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:03] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:03] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:12:08] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:08] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:12:08] local.INFO: IMEI packet received {"connection_id":188576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:12:10] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:10] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:10] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:12:10] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:12: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-09-21 13: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-09-21 13:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:12:10] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:12:10] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:12:15] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:15] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:15] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:12:18] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:18] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:18] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:12:23] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:23] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:12:23] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:12:24] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e89ea0012d181b800721a510004b00dc29..."} 
[2026-09-21 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e89ea0012d181b800721a510004b00dc29..."} 
[2026-09-21 13:12:24] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e89ea0012d181b800721a510004b00dc29..."} 
[2026-09-21 13:12:24] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:12:24] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645456,"longitude_deg":75.6554624,"latitude_deg":11.9645456,"altitude":75,"angle":220,"satellites":41,"speed":11,"hex_longitude":"2d181b80","hex_latitude":"0721a510","is_valid_coordinates":true} 
[2026-09-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233963264001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22400779889410048,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737404324375803904,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789976420000,"timestamp_ms":1789976420000,"timestamp_seconds":1789976420,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e89ea0"} 
[2026-09-21 13:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 13:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233963264001,"66":13939,"105":206,"83":41984,"24":11,"16":22400779889410048,"45":1737404324375803904},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233963264001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22400779889410048,"km_value":22400779889410.047,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737404324375803904,"description":"Unknown IO ID 45"} 
[2026-09-21 13:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233963264001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1737404324375803904}} 
[2026-09-21 13:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:12:24] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:12:24] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:12:24] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e8a670012d181a000721a2d8004b00cf2a..."} 
[2026-09-21 13:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e8a670012d181a000721a2d8004b00cf2a..."} 
[2026-09-21 13:12:24] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e8a670012d181a000721a2d8004b00cf2a..."} 
[2026-09-21 13:12:24] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:12:24] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e8"} 
[2026-09-21 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":756554240,"raw_latitude":119644888,"longitude_deg":75.655424,"latitude_deg":11.9644888,"altitude":75,"angle":207,"satellites":42,"speed":14,"hex_longitude":"2d181a00","hex_latitude":"0721a2d8","is_valid_coordinates":true} 
[2026-09-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233963520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22400809954181120,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399050240,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789976422000,"timestamp_ms":1789976422000,"timestamp_seconds":1789976422,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e8a670"} 
[2026-09-21 13:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-21 13:12:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233963520001,"66":14265,"107":206,"83":41984,"24":14,"16":22400809954181120,"45":1737122849399050240},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233963520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22400809954181120,"km_value":22400809954181.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399050240,"description":"Unknown IO ID 45"} 
[2026-09-21 13:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233963520001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1737122849399050240}} 
[2026-09-21 13:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:12:25] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:12:25] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:12:43] local.INFO: TCP Data received {"connection_id":188576,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188576,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:43] local.INFO: Processing buffer {"connection_id":188576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:12:43] local.INFO: Packet analysis {"connection_id":188576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:12:43] local.INFO: Extracted packet for processing {"connection_id":188576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 13:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:12:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:12: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-09-21 13: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-09-21 13:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:12:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:12:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:12:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":188576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:12:43] local.INFO: GPS data processed {"connection_id":188576,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:12:43] local.INFO: Acknowledgment sent {"connection_id":188576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:12:56] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ea2158012d17164007209068002a00e12c..."} 
[2026-09-21 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ea2158012d17164007209068002a00e12c..."} 
[2026-09-21 13:12:56] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ea2158012d17164007209068002a00e12c..."} 
[2026-09-21 13:12:56] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:12:56] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":756487744,"raw_latitude":119574632,"longitude_deg":75.6487744,"latitude_deg":11.9574632,"altitude":42,"angle":225,"satellites":44,"speed":52,"hex_longitude":"2d171640","hex_latitude":"07209068","is_valid_coordinates":true} 
[2026-09-21 13:12:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233987072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22405504353435648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1671187336088088576,"note":"Value kept but may cause issues"} 
[2026-09-21 13:12: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-09-21 13:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789976519000,"timestamp_ms":1789976519000,"timestamp_seconds":1789976519,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ea2158"} 
[2026-09-21 13:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 13:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:12:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233987072001,"66":14352,"107":206,"83":41984,"24":52,"16":22405504353435648,"45":1671187336088088576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233987072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:12:56] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:12:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22405504353435648,"km_value":22405504353435.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1671187336088088576,"description":"Unknown IO ID 45"} 
[2026-09-21 13:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233987072001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1671187336088088576}} 
[2026-09-21 13:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:12:56] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:12:56] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:13:03] local.INFO: TCP Data received {"connection_id":190020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:03] local.INFO: Processing buffer {"connection_id":190020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:03] local.INFO: IMEI packet received {"connection_id":190020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":190020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:13:08] local.INFO: TCP Data received {"connection_id":190020,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:08] local.INFO: Processing buffer {"connection_id":190020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:13:08] local.INFO: IMEI packet received {"connection_id":190020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":190020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:13:09] local.INFO: TCP Data received {"connection_id":190020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:13:09] local.INFO: Processing buffer {"connection_id":190020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63570012d34c04006aa41300005000c2c..."} 
[2026-09-21 13:13:09] local.INFO: Packet analysis {"connection_id":190020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:13:09] local.INFO: Extracted packet for processing {"connection_id":190020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233846016001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976262000,"timestamp_ms":1789976262000,"timestamp_seconds":1789976262,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63570"} 
[2026-09-21 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-09-21 13:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233846016001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233846016001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233846016001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":190020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:13:09] local.INFO: GPS data processed {"connection_id":190020,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:13:09] local.INFO: Acknowledgment sent {"connection_id":190020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:13:12] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:13:12] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:12] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:13:13] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:13] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:13] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:13:18] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:18] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:13:18] local.INFO: IMEI packet received {"connection_id":191341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":191341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:13:19] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ea4098012d16fb00072073d0002800dd2c..."} 
[2026-09-21 13:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ea4098012d16fb00072073d0002800dd2c..."} 
[2026-09-21 13:13:19] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ea4098012d16fb00072073d0002800dd2c..."} 
[2026-09-21 13:13:19] local.INFO: Packet analysis {"connection_id":191341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:19] local.INFO: Extracted packet for processing {"connection_id":191341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756480768,"raw_latitude":119567312,"longitude_deg":75.6480768,"latitude_deg":11.9567312,"altitude":40,"angle":221,"satellites":44,"speed":49,"hex_longitude":"2d16fb00","hex_latitude":"072073d0","is_valid_coordinates":true} 
[2026-09-21 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233988864001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22405989684740096,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1663587511715260416,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976527000,"timestamp_ms":1789976527000,"timestamp_seconds":1789976527,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ea4098"} 
[2026-09-21 13:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3270084864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":26625,"corrected_to":0} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503941472780288,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3920373761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4148166715,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264512107,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":55,"raw_value":4194356586,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2550267904,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84750059916697891,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":120,"raw_value":17170936407013888,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-3891102238830493632,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:19] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,107,83,24,241,157,16,153,160,6,45,64,169,47,40,10,66,234,193,52,152,203,1,240,185,227,194,32,4,113,205,42,172,132,43,239,55,2,79,7,59,46,206,144,120,23],"length":628,"final_offset":758,"validated_count":46,"validation_warnings":[{"io_id":203,"original":26625,"validated":0},{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-21 13:13:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026666528691191808,"timestamp_seconds":3026666528691192.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233988864001,"66":14461,"85":206,"83":41984,"24":49,"16":22405989684740096,"45":1663587511715260416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-21 13:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233988864001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:13:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-21 13:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22405989684740096,"km_value":22405989684740.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1663587511715260416,"description":"Unknown IO ID 45"} 
[2026-09-21 13:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233988864001,"power":14461,"unknown_85":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1663587511715260416}} 
[2026-09-21 13:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":191341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:13:19] local.INFO: GPS data processed {"connection_id":191341,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:13:19] local.INFO: Acknowledgment sent {"connection_id":191341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:13:40] local.INFO: TCP Data received {"connection_id":190020,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:13:40] local.INFO: Processing buffer {"connection_id":190020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:13:40] local.INFO: Packet analysis {"connection_id":190020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:40] local.INFO: Extracted packet for processing {"connection_id":190020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:13: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-09-21 13:13: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-09-21 13:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":190020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:13:40] local.INFO: GPS data processed {"connection_id":190020,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:13:40] local.INFO: Acknowledgment sent {"connection_id":190020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:13:50] local.INFO: TCP Data received {"connection_id":191341,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ea5bf0012d16e20007205980002600e02d..."} 
[2026-09-21 13:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ea5bf0012d16e20007205980002600e02d..."} 
[2026-09-21 13:13:50] local.INFO: Processing buffer {"connection_id":191341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ea5bf0012d16e20007205980002600e02d..."} 
[2026-09-21 13:13:50] local.INFO: Packet analysis {"connection_id":191341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:50] local.INFO: Extracted packet for processing {"connection_id":191341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756474368,"raw_latitude":119560576,"longitude_deg":75.6474368,"latitude_deg":11.9560576,"altitude":38,"angle":224,"satellites":45,"speed":53,"hex_longitude":"2d16e200","hex_latitude":"07205980","is_valid_coordinates":true} 
[2026-09-21 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233990912001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22406436361338880,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655917318598021120,"note":"Value kept but may cause issues"} 
[2026-09-21 13:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976534000,"timestamp_ms":1789976534000,"timestamp_seconds":1789976534,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ea5bf0"} 
[2026-09-21 13:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-09-21 13:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233990912001,"66":14461,"85":206,"83":41984,"24":53,"16":22406436361338880,"45":1655917318598021120},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-21 13:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233990912001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:13:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-21 13:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22406436361338880,"km_value":22406436361338.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655917318598021120,"description":"Unknown IO ID 45"} 
[2026-09-21 13:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233990912001,"power":14461,"unknown_85":206,"unknown_83":41984,"ignition":53,"odometer":null,"unknown_45":1655917318598021120}} 
[2026-09-21 13:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":191341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:13:50] local.INFO: GPS data processed {"connection_id":191341,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:13:50] local.INFO: Acknowledgment sent {"connection_id":191341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:14:03] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:03] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:03] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:14:03] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:14:08] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:08] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:14:08] local.INFO: IMEI packet received {"connection_id":191343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:14:10] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:10] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:10] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:14:10] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:14: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-09-21 13: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-09-21 13:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:14:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:14:10] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:14:10] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:14:13] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:13] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:13] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:14:18] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:18] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:14:18] local.INFO: IMEI packet received {"connection_id":188577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":188577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:14:19] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eb6590012d15e7c0071fdad00022013a2e..."} 
[2026-09-21 13:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eb6590012d15e7c0071fdad00022013a2e..."} 
[2026-09-21 13:14:19] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eb6590012d15e7c0071fdad00022013a2e..."} 
[2026-09-21 13:14:19] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:14:19] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528144,"longitude_deg":75.6410304,"latitude_deg":11.9528144,"altitude":34,"angle":314,"satellites":46,"speed":9,"hex_longitude":"2d15e7c0","hex_latitude":"071fdad0","is_valid_coordinates":true} 
[2026-09-21 13:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234009856001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22409958234521600,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578582068736714752,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976602000,"timestamp_ms":1789976602000,"timestamp_seconds":1789976602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eb6590"} 
[2026-09-21 13:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 13:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234009856001,"66":14428,"87":206,"83":41984,"24":9,"16":22409958234521600,"45":1578582068736714752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-21 13:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234009856001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:14:19] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-21 13:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22409958234521600,"km_value":22409958234521.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578582068736714752,"description":"Unknown IO ID 45"} 
[2026-09-21 13:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234009856001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1578582068736714752}} 
[2026-09-21 13:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:14:19] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:14:19] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:14:42] local.INFO: TCP Data received {"connection_id":191343,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191343,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:42] local.INFO: Processing buffer {"connection_id":191343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:14:42] local.INFO: Packet analysis {"connection_id":191343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:14:42] local.INFO: Extracted packet for processing {"connection_id":191343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:14:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:14:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:14: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-09-21 13: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-09-21 13:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:14:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:14:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:14:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:14:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:14:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:14:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:14:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:14:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:14:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":191343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:14:42] local.INFO: GPS data processed {"connection_id":191343,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:14:42] local.INFO: Acknowledgment sent {"connection_id":191343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:14:50] local.INFO: TCP Data received {"connection_id":188577,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eb6978012d15e700071fdba8002201502f..."} 
[2026-09-21 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188577,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eb6978012d15e700071fdba8002201502f..."} 
[2026-09-21 13:14:50] local.INFO: Processing buffer {"connection_id":188577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eb6978012d15e700071fdba8002201502f..."} 
[2026-09-21 13:14:50] local.INFO: Packet analysis {"connection_id":188577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:14:50] local.INFO: Extracted packet for processing {"connection_id":188577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756410112,"raw_latitude":119528360,"longitude_deg":75.6410112,"latitude_deg":11.952836,"altitude":34,"angle":336,"satellites":47,"speed":10,"hex_longitude":"2d15e700","hex_latitude":"071fdba8","is_valid_coordinates":true} 
[2026-09-21 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234010112001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22409971119423488,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578441331248386048,"note":"Value kept but may cause issues"} 
[2026-09-21 13:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976603000,"timestamp_ms":1789976603000,"timestamp_seconds":1789976603,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eb6978"} 
[2026-09-21 13:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 13:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234010112001,"66":14428,"87":206,"83":41984,"24":10,"16":22409971119423488,"45":1578441331248386048},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-21 13:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234010112001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:14:50] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-21 13:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22409971119423488,"km_value":22409971119423.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578441331248386048,"description":"Unknown IO ID 45"} 
[2026-09-21 13:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234010112001,"power":14428,"unknown_87":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1578441331248386048}} 
[2026-09-21 13:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":188577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:14:50] local.INFO: GPS data processed {"connection_id":188577,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:14:50] local.INFO: Acknowledgment sent {"connection_id":188577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:15:03] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:03] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:03] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:15:08] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:08] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:15:08] local.INFO: IMEI packet received {"connection_id":188578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":188578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:15:10] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:10] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:10] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:15:10] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 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-09-21 13:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:15:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:15:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:15:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876327,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:15:10] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:15:10] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:15:13] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:13] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:13] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:15:17] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:17] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:15:17] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:15:18] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eb6d60012d15e700071fdca00023000d2f..."} 
[2026-09-21 13:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eb6d60012d15e700071fdca00023000d2f..."} 
[2026-09-21 13:15:18] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eb6d60012d15e700071fdca00023000d2f..."} 
[2026-09-21 13:15:18] local.INFO: Packet analysis {"connection_id":188730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:15:18] local.INFO: Extracted packet for processing {"connection_id":188730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756410112,"raw_latitude":119528608,"longitude_deg":75.6410112,"latitude_deg":11.9528608,"altitude":35,"angle":13,"satellites":47,"speed":9,"hex_longitude":"2d15e700","hex_latitude":"071fdca0","is_valid_coordinates":true} 
[2026-09-21 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234010368001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22409984004325376,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578230225015908352,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789976604000,"timestamp_ms":1789976604000,"timestamp_seconds":1789976604,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eb6d60"} 
[2026-09-21 13:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 13:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234010368001,"66":14352,"87":206,"83":41984,"24":9,"16":22409984004325376,"45":1578230225015908352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-21 13:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234010368001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:15:18] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-21 13:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22409984004325376,"km_value":22409984004325.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578230225015908352,"description":"Unknown IO ID 45"} 
[2026-09-21 13:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234010368001,"power":14352,"unknown_87":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1578230225015908352}} 
[2026-09-21 13:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:15:18] local.INFO: GPS data processed {"connection_id":188730,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:15:18] local.INFO: Acknowledgment sent {"connection_id":188730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:15:41] local.INFO: TCP Data received {"connection_id":188578,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:41] local.INFO: Processing buffer {"connection_id":188578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:15:41] local.INFO: Packet analysis {"connection_id":188578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:15:41] local.INFO: Extracted packet for processing {"connection_id":188578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15: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-09-21 13:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:15: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-09-21 13:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":188578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:15:41] local.INFO: GPS data processed {"connection_id":188578,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:15:41] local.INFO: Acknowledgment sent {"connection_id":188578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:15:49] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eb7148012d15e7c0071fdd280022003b2f..."} 
[2026-09-21 13:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eb7148012d15e7c0071fdd280022003b2f..."} 
[2026-09-21 13:15:49] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eb7148012d15e7c0071fdd280022003b2f..."} 
[2026-09-21 13:15:49] local.INFO: Packet analysis {"connection_id":188730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:15:49] local.INFO: Extracted packet for processing {"connection_id":188730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2eb"} 
[2026-09-21 13:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756410304,"raw_latitude":119528744,"longitude_deg":75.6410304,"latitude_deg":11.9528744,"altitude":34,"angle":59,"satellites":47,"speed":8,"hex_longitude":"2d15e7c0","hex_latitude":"071fdd28","is_valid_coordinates":true} 
[2026-09-21 13:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234010624001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22409992594259968,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1578230225015971840,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789976605000,"timestamp_ms":1789976605000,"timestamp_seconds":1789976605,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eb7148"} 
[2026-09-21 13:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141248,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3270181864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503941561712640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":194,"raw_value":3946229761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3714056227,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637357759425111,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1784086734,"corrected_to":0} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":19,"raw_value":2281778454,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2635202560,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":168,"raw_value":84748519097180152,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":10978568506977536,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.WARNING: Large IO value detected {"io_id":22,"raw_value":8556847126169518119,"note":"Value kept but may cause issues"} 
[2026-09-21 13:15:49] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,87,83,24,241,157,16,160,105,45,219,34,47,10,66,101,192,218,46,97,64,1,240,92,227,194,31,4,113,205,33,19,35,239,55,2,79,7,39,44,206,168,32,22],"length":628,"final_offset":758,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1784086734,"validated":0}]} 
[2026-09-21 13:15:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2522030286842691584,"timestamp_seconds":2522030286842691.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234010624001,"66":14352,"87":206,"83":41984,"24":8,"16":22409992594259968,"45":1578230225015971840},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,83,24,16,45]} 
[2026-09-21 13:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234010624001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:15:49] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-09-21 13:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22409992594259968,"km_value":22409992594259.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1578230225015971840,"description":"Unknown IO ID 45"} 
[2026-09-21 13:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234010624001,"power":14352,"unknown_87":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1578230225015971840}} 
[2026-09-21 13:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:15:49] local.INFO: GPS data processed {"connection_id":188730,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:15:49] local.INFO: Acknowledgment sent {"connection_id":188730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:16:03] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:03] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:03] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:16:08] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:08] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:16:08] local.INFO: IMEI packet received {"connection_id":191345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":191345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:16:09] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:09] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:09] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:16:09] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 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-09-21 13:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 13:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:16:09] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:16:09] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:16:13] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:13] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:13] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:16:14] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:14] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:14] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:16:18] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:18] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:16:18] local.INFO: IMEI packet received {"connection_id":188579,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":188579,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:16:19] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ed3280012d16e080072059d8002800282c..."} 
[2026-09-21 13:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ed3280012d16e080072059d8002800282c..."} 
[2026-09-21 13:16:19] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ed3280012d16e080072059d8002800282c..."} 
[2026-09-21 13:16:19] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:16:19] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756473984,"raw_latitude":119560664,"longitude_deg":75.6473984,"latitude_deg":11.9560664,"altitude":40,"angle":40,"satellites":44,"speed":45,"hex_longitude":"2d16e080","hex_latitude":"072059d8","is_valid_coordinates":true} 
[2026-09-21 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234038272001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22413484402671616,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1641350988549640192,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976720000,"timestamp_ms":1789976720000,"timestamp_seconds":1789976720,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ed3280"} 
[2026-09-21 13:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 13:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234038272001,"66":14396,"85":206,"83":41984,"24":45,"16":22413484402671616,"45":1641350988549640192},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-21 13:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234038272001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:16:19] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-21 13:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22413484402671616,"km_value":22413484402671.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1641350988549640192,"description":"Unknown IO ID 45"} 
[2026-09-21 13:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234038272001,"power":14396,"unknown_85":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1641350988549640192}} 
[2026-09-21 13:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:16:19] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:16:19] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:16:30] local.INFO: TCP Data received {"connection_id":190022,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:16:30] local.INFO: Processing buffer {"connection_id":190022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:16:30] local.INFO: IMEI packet received {"connection_id":190022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:16:30] local.INFO: IMEI acknowledgment sent {"connection_id":190022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:16:40] local.INFO: TCP Data received {"connection_id":191345,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191345,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:40] local.INFO: Processing buffer {"connection_id":191345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:16:40] local.INFO: Packet analysis {"connection_id":191345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:16:40] local.INFO: Extracted packet for processing {"connection_id":191345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:16: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-09-21 13: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-09-21 13:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":191345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:16:40] local.INFO: GPS data processed {"connection_id":191345,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:16:40] local.INFO: Acknowledgment sent {"connection_id":191345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:16:50] local.INFO: TCP Data received {"connection_id":188579,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ed51c0012d16f80007207470002c00282d..."} 
[2026-09-21 13:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ed51c0012d16f80007207470002c00282d..."} 
[2026-09-21 13:16:50] local.INFO: Processing buffer {"connection_id":188579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ed51c0012d16f80007207470002c00282d..."} 
[2026-09-21 13:16:50] local.INFO: Packet analysis {"connection_id":188579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:16:50] local.INFO: Extracted packet for processing {"connection_id":188579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756480000,"raw_latitude":119567472,"longitude_deg":75.648,"latitude_deg":11.9567472,"altitude":44,"angle":40,"satellites":45,"speed":44,"hex_longitude":"2d16f800","hex_latitude":"07207470","is_valid_coordinates":true} 
[2026-09-21 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234040320001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22413922489335808,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1648458231713486848,"note":"Value kept but may cause issues"} 
[2026-09-21 13:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976728000,"timestamp_ms":1789976728000,"timestamp_seconds":1789976728,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ed51c0"} 
[2026-09-21 13:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 13:16:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:16:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188579,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234040320001,"66":14298,"85":206,"83":41984,"24":44,"16":22413922489335808,"45":1648458231713486848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-09-21 13:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234040320001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:16:50] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-09-21 13:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22413922489335808,"km_value":22413922489335.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1648458231713486848,"description":"Unknown IO ID 45"} 
[2026-09-21 13:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234040320001,"power":14298,"unknown_85":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1648458231713486848}} 
[2026-09-21 13:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":188579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:16:50] local.INFO: GPS data processed {"connection_id":188579,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:16:50] local.INFO: Acknowledgment sent {"connection_id":188579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:17:03] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:03] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:03] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:17:08] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:08] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:17:08] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:17:09] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:09] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:09] local.INFO: Packet analysis {"connection_id":188731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:17:09] local.INFO: Extracted packet for processing {"connection_id":188731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:17: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-09-21 13:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":188731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:17:09] local.INFO: GPS data processed {"connection_id":188731,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:17:09] local.INFO: Acknowledgment sent {"connection_id":188731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:17:13] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:13] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:13] local.INFO: IMEI packet received {"connection_id":190023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":190023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:17:15] local.INFO: TCP Data received {"connection_id":191346,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:17:15] local.INFO: Processing buffer {"connection_id":191346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:17:15] local.INFO: IMEI packet received {"connection_id":191346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":191346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:17:18] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:18] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:17:18] local.INFO: IMEI packet received {"connection_id":190023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":190023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:17:19] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ed7100012d17118007208f60002d002c2c..."} 
[2026-09-21 13:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ed7100012d17118007208f60002d002c2c..."} 
[2026-09-21 13:17:19] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ed7100012d17118007208f60002d002c2c..."} 
[2026-09-21 13:17:19] local.INFO: Packet analysis {"connection_id":190023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:17:19] local.INFO: Extracted packet for processing {"connection_id":190023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756486528,"raw_latitude":119574368,"longitude_deg":75.6486528,"latitude_deg":11.9574368,"altitude":45,"angle":44,"satellites":44,"speed":48,"hex_longitude":"2d171180","hex_latitude":"07208f60","is_valid_coordinates":true} 
[2026-09-21 13:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234042368001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22414377755869184,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655072893667930112,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976736000,"timestamp_ms":1789976736000,"timestamp_seconds":1789976736,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ed7100"} 
[2026-09-21 13:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:17:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 13:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234042368001,"66":14298,"107":206,"83":41984,"24":48,"16":22414377755869184,"45":1655072893667930112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234042368001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:17:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:17:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22414377755869184,"km_value":22414377755869.184,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655072893667930112,"description":"Unknown IO ID 45"} 
[2026-09-21 13:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234042368001,"power":14298,"unknown_107":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1655072893667930112}} 
[2026-09-21 13:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":190023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:17:19] local.INFO: GPS data processed {"connection_id":190023,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:17:19] local.INFO: Acknowledgment sent {"connection_id":190023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:17:41] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:41] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:17:41] local.INFO: Packet analysis {"connection_id":188731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:17:41] local.INFO: Extracted packet for processing {"connection_id":188731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:17:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:17:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:17:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:17:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:17:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:17: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-09-21 13:17:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:17:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:17:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:17:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:17:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":188731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:17:41] local.INFO: GPS data processed {"connection_id":188731,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:17:41] local.INFO: Acknowledgment sent {"connection_id":188731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:17:50] local.INFO: TCP Data received {"connection_id":190023,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ed9040012d172c800720a860002f003028..."} 
[2026-09-21 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190023,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ed9040012d172c800720a860002f003028..."} 
[2026-09-21 13:17:50] local.INFO: Processing buffer {"connection_id":190023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ed9040012d172c800720a860002f003028..."} 
[2026-09-21 13:17:50] local.INFO: Packet analysis {"connection_id":190023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:17:50] local.INFO: Extracted packet for processing {"connection_id":190023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":756493440,"raw_latitude":119580768,"longitude_deg":75.649344,"latitude_deg":11.9580768,"altitude":47,"angle":48,"satellites":40,"speed":45,"hex_longitude":"2d172c80","hex_latitude":"0720a860","is_valid_coordinates":true} 
[2026-09-21 13:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:17:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234044416001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22414828727435264,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1662250505575817216,"note":"Value kept but may cause issues"} 
[2026-09-21 13:17:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:17:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976744000,"timestamp_ms":1789976744000,"timestamp_seconds":1789976744,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ed9040"} 
[2026-09-21 13:17:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:17:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:17:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 13:17:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:17:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:17:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:17:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:17:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:17:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:17:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:17:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:17:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:17:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:17:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234044416001,"66":14070,"107":206,"83":41984,"24":45,"16":22414828727435264,"45":1662250505575817216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:17:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:17:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:17:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234044416001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:17:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:17:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:17:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22414828727435264,"km_value":22414828727435.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:17:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1662250505575817216,"description":"Unknown IO ID 45"} 
[2026-09-21 13:17:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234044416001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1662250505575817216}} 
[2026-09-21 13:17:50] local.INFO: DEBUG: GPS processor result {"connection_id":190023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:17:50] local.INFO: GPS data processed {"connection_id":190023,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:17:50] local.INFO: Acknowledgment sent {"connection_id":190023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:18:08] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:08] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:08] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:18:13] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:13] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:13] local.INFO: IMEI packet received {"connection_id":188581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:18:13] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:13] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:18:13] local.INFO: IMEI packet received {"connection_id":188580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:18:14] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:14] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:14] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:18:14] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:18:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:18: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-09-21 13:18:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:18:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:18:14] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:18:14] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:18:18] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:18] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:18:18] local.INFO: IMEI packet received {"connection_id":188581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:18:19] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2edb368012d174b400720c1300033003228..."} 
[2026-09-21 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2edb368012d174b400720c1300033003228..."} 
[2026-09-21 13:18:19] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2edb368012d174b400720c1300033003228..."} 
[2026-09-21 13:18:19] local.INFO: Packet analysis {"connection_id":188581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:18:19] local.INFO: Extracted packet for processing {"connection_id":188581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756501312,"raw_latitude":119587120,"longitude_deg":75.6501312,"latitude_deg":11.958712,"altitude":51,"angle":50,"satellites":40,"speed":42,"hex_longitude":"2d174b40","hex_latitude":"0720c130","is_valid_coordinates":true} 
[2026-09-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234046464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22415314058739712,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1669850329948643328,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976753000,"timestamp_ms":1789976753000,"timestamp_seconds":1789976753,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2edb368"} 
[2026-09-21 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 13:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234046464001,"66":13961,"107":206,"83":41984,"24":42,"16":22415314058739712,"45":1669850329948643328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234046464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22415314058739712,"km_value":22415314058739.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1669850329948643328,"description":"Unknown IO ID 45"} 
[2026-09-21 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234046464001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1669850329948643328}} 
[2026-09-21 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:18:19] local.INFO: GPS data processed {"connection_id":188581,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:18:19] local.INFO: Acknowledgment sent {"connection_id":188581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:18:19] local.INFO: TCP Data received {"connection_id":188580,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:19] local.INFO: Processing buffer {"connection_id":188580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2eacd38012d34c04006aa41300003000c2c..."} 
[2026-09-21 13:18:19] local.INFO: Packet analysis {"connection_id":188580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:18:19] local.INFO: Extracted packet for processing {"connection_id":188580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ea"} 
[2026-09-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":3,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976563000,"timestamp_ms":1789976563000,"timestamp_seconds":1789976563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2eacd38"} 
[2026-09-21 13:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 13:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233923072001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233923072001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:18:19] local.INFO: GPS data processed {"connection_id":188580,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:18:19] local.INFO: Acknowledgment sent {"connection_id":188580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:18:49] local.INFO: TCP Data received {"connection_id":188581,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2edd690012d1765800720d9c00037002a2d..."} 
[2026-09-21 13:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2edd690012d1765800720d9c00037002a2d..."} 
[2026-09-21 13:18:49] local.INFO: Processing buffer {"connection_id":188581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2edd690012d1765800720d9c00037002a2d..."} 
[2026-09-21 13:18:49] local.INFO: Packet analysis {"connection_id":188581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:18:49] local.INFO: Extracted packet for processing {"connection_id":188581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756508032,"raw_latitude":119593408,"longitude_deg":75.6508032,"latitude_deg":11.9593408,"altitude":55,"angle":42,"satellites":45,"speed":38,"hex_longitude":"2d176580","hex_latitude":"0720d9c0","is_valid_coordinates":true} 
[2026-09-21 13:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234048768001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22415756440371200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1678505685484122112,"note":"Value kept but may cause issues"} 
[2026-09-21 13:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789976762000,"timestamp_ms":1789976762000,"timestamp_seconds":1789976762,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2edd690"} 
[2026-09-21 13:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 13:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234048768001,"66":14048,"107":206,"83":41984,"24":38,"16":22415756440371200,"45":1678505685484122112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234048768001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:18:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22415756440371200,"km_value":22415756440371.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1678505685484122112,"description":"Unknown IO ID 45"} 
[2026-09-21 13:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234048768001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1678505685484122112}} 
[2026-09-21 13:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":188581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:18:50] local.INFO: GPS data processed {"connection_id":188581,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:18:50] local.INFO: Acknowledgment sent {"connection_id":188581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:19:03] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:03] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:03] local.INFO: IMEI packet received {"connection_id":190024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":190024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:19:08] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:08] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:19:08] local.INFO: IMEI packet received {"connection_id":190024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":190024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:19:10] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:10] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:10] local.INFO: Packet analysis {"connection_id":190024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:19:10] local.INFO: Extracted packet for processing {"connection_id":190024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:19:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:19: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-09-21 13:19:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:19:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:19:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:19:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:19:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:19:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:19:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":190024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:19:10] local.INFO: GPS data processed {"connection_id":190024,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:19:10] local.INFO: Acknowledgment sent {"connection_id":190024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:19:18] local.INFO: TCP Data received {"connection_id":188732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:18] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:18] local.INFO: IMEI packet received {"connection_id":188732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":188732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:19:23] local.INFO: TCP Data received {"connection_id":188732,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:23] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:19:23] local.INFO: IMEI packet received {"connection_id":188732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:19:23] local.INFO: IMEI acknowledgment sent {"connection_id":188732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:19:24] local.INFO: TCP Data received {"connection_id":188732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2edfda0012d177f000720f608003a002d2a..."} 
[2026-09-21 13:19:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2edfda0012d177f000720f608003a002d2a..."} 
[2026-09-21 13:19:24] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2edfda0012d177f000720f608003a002d2a..."} 
[2026-09-21 13:19:24] local.INFO: Packet analysis {"connection_id":188732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:19:24] local.INFO: Extracted packet for processing {"connection_id":188732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ed"} 
[2026-09-21 13:19:24] local.INFO: GPS Element Parsed {"raw_longitude":756514560,"raw_latitude":119600648,"longitude_deg":75.651456,"latitude_deg":11.9600648,"altitude":58,"angle":45,"satellites":42,"speed":38,"hex_longitude":"2d177f00","hex_latitude":"0720f608","is_valid_coordinates":true} 
[2026-09-21 13:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:19:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234051072001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22416224591806464,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1685894403624386560,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:19:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789976772000,"timestamp_ms":1789976772000,"timestamp_seconds":1789976772,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2edfda0"} 
[2026-09-21 13:19:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:19:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:19:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 13:19:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:19:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:19:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:19:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:19:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:19:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:19:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:19:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:19:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:19:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:19:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234051072001,"66":13906,"107":206,"83":41984,"24":38,"16":22416224591806464,"45":1685894403624386560},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:19:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:19:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:19:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234051072001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:19:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:19:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:19:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22416224591806464,"km_value":22416224591806.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:19:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1685894403624386560,"description":"Unknown IO ID 45"} 
[2026-09-21 13:19:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234051072001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1685894403624386560}} 
[2026-09-21 13:19:24] local.INFO: DEBUG: GPS processor result {"connection_id":188732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:19:24] local.INFO: GPS data processed {"connection_id":188732,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:19:24] local.INFO: Acknowledgment sent {"connection_id":188732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:19:28] local.INFO: TCP Data received {"connection_id":188732,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ee20c8012d179ac007210bd0003b00352b..."} 
[2026-09-21 13:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ee20c8012d179ac007210bd0003b00352b..."} 
[2026-09-21 13:19:28] local.INFO: Processing buffer {"connection_id":188732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ee20c8012d179ac007210bd0003b00352b..."} 
[2026-09-21 13:19:28] local.INFO: Packet analysis {"connection_id":188732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ee"} 
[2026-09-21 13:19:28] local.INFO: Extracted packet for processing {"connection_id":188732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ee"} 
[2026-09-21 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756521664,"raw_latitude":119606224,"longitude_deg":75.6521664,"latitude_deg":11.9606224,"altitude":59,"angle":53,"satellites":43,"speed":42,"hex_longitude":"2d179ac0","hex_latitude":"07210bd0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234053632001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22416654088536064,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693072015532361728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19: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-09-21 13:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789976781000,"timestamp_ms":1789976781000,"timestamp_seconds":1789976781,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ee20c8"} 
[2026-09-21 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-09-21 13:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-21 13:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234053632001,"66":12939,"107":206,"83":41984,"24":42,"16":22416654088536064,"45":1693072015532361728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234053632001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:19:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22416654088536064,"km_value":22416654088536.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693072015532361728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234053632001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1693072015532361728}} 
[2026-09-21 13:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":188732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:19:28] local.INFO: GPS data processed {"connection_id":188732,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:19:28] local.INFO: Acknowledgment sent {"connection_id":188732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:19:41] local.INFO: TCP Data received {"connection_id":190024,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:41] local.INFO: Processing buffer {"connection_id":190024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:19:41] local.INFO: Packet analysis {"connection_id":190024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:19:41] local.INFO: Extracted packet for processing {"connection_id":190024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:19: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-09-21 13:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":190024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:19:41] local.INFO: GPS data processed {"connection_id":190024,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:19:41] local.INFO: Acknowledgment sent {"connection_id":190024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:20:03] local.INFO: TCP Data received {"connection_id":190025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:03] local.INFO: Processing buffer {"connection_id":190025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:03] local.INFO: IMEI packet received {"connection_id":190025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":190025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:20:08] local.INFO: TCP Data received {"connection_id":190025,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:08] local.INFO: Processing buffer {"connection_id":190025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:20:08] local.INFO: IMEI packet received {"connection_id":190025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":190025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:20:09] local.INFO: TCP Data received {"connection_id":190025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:09] local.INFO: Processing buffer {"connection_id":190025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:09] local.INFO: Packet analysis {"connection_id":190025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:20:09] local.INFO: Extracted packet for processing {"connection_id":190025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:20: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-09-21 13:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:20:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":190025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:20:09] local.INFO: GPS data processed {"connection_id":190025,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:20:09] local.INFO: Acknowledgment sent {"connection_id":190025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:20:11] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:11] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:11] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:20:13] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:13] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:13] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:20:18] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:18] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:20:18] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:20:19] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f06ab8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f06ab8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:20:19] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f06ab8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:20:19] local.INFO: Packet analysis {"connection_id":188733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f0"} 
[2026-09-21 13:20:19] local.INFO: Extracted packet for processing {"connection_id":188733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f0"} 
[2026-09-21 13:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234088960001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976931000,"timestamp_ms":1789976931000,"timestamp_seconds":1789976931,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f06ab8"} 
[2026-09-21 13:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 13:20:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234088960001,"66":12689,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234088960001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:20:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234088960001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":188733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:20:19] local.INFO: GPS data processed {"connection_id":188733,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:20:19] local.INFO: Acknowledgment sent {"connection_id":188733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:20:40] local.INFO: TCP Data received {"connection_id":190025,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:40] local.INFO: Processing buffer {"connection_id":190025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:20:40] local.INFO: Packet analysis {"connection_id":190025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:20:40] local.INFO: Extracted packet for processing {"connection_id":190025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":190025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:20:40] local.INFO: GPS data processed {"connection_id":190025,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:20:40] local.INFO: Acknowledgment sent {"connection_id":190025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:20:50] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f0bcc0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f0bcc0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:20:50] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f0bcc0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:20:50] local.INFO: Packet analysis {"connection_id":188733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f0"} 
[2026-09-21 13:20:50] local.INFO: Extracted packet for processing {"connection_id":188733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f0"} 
[2026-09-21 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234094336001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976952000,"timestamp_ms":1789976952000,"timestamp_seconds":1789976952,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f0bcc0"} 
[2026-09-21 13:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 13:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234094336001,"66":12645,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234094336001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:20:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234094336001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":188733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:20:50] local.INFO: GPS data processed {"connection_id":188733,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:20:50] local.INFO: Acknowledgment sent {"connection_id":188733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:21:03] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:03] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:03] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:21:08] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:08] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:21:08] local.INFO: IMEI packet received {"connection_id":188583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:21:09] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:09] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:09] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:21:09] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:21:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 13:21:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:21:09] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:21:09] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:21:13] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:13] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:13] local.INFO: IMEI packet received {"connection_id":191350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":191350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:21:14] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:14] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:14] local.INFO: IMEI packet received {"connection_id":191350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:21:14] local.INFO: IMEI acknowledgment sent {"connection_id":191350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:21:18] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:18] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:21:18] local.INFO: IMEI packet received {"connection_id":191350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":191350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:21:19] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f10ec8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f10ec8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:21:19] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f10ec8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:21:19] local.INFO: Packet analysis {"connection_id":191350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:21:19] local.INFO: Extracted packet for processing {"connection_id":191350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:21:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234099712001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:21:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976973000,"timestamp_ms":1789976973000,"timestamp_seconds":1789976973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f10ec8"} 
[2026-09-21 13:21:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:21:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:21:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 13:21:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:21:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:21:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:21:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:21:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:21:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:21:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:21:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:21:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:21:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:21:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234099712001,"66":12548,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:21:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:21:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:21:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234099712001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:21:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:21:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:21:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:21:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:21:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234099712001,"power":12548,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":191350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:21:19] local.INFO: GPS data processed {"connection_id":191350,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:21:19] local.INFO: Acknowledgment sent {"connection_id":191350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:21:41] local.INFO: TCP Data received {"connection_id":188583,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:41] local.INFO: Processing buffer {"connection_id":188583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:21:41] local.INFO: Packet analysis {"connection_id":188583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:21:41] local.INFO: Extracted packet for processing {"connection_id":188583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21: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-09-21 13:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:21:41] local.INFO: GPS data processed {"connection_id":188583,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:21:41] local.INFO: Acknowledgment sent {"connection_id":188583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:21:50] local.INFO: TCP Data received {"connection_id":191350,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f160d0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f160d0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:21:50] local.INFO: Processing buffer {"connection_id":191350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f160d0012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:21:50] local.INFO: Packet analysis {"connection_id":191350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:21:50] local.INFO: Extracted packet for processing {"connection_id":191350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:21:50] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234105088001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:21:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789976994000,"timestamp_ms":1789976994000,"timestamp_seconds":1789976994,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f160d0"} 
[2026-09-21 13:21:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:21:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:21:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3270451864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184214134989,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4022773761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":116,"raw_value":2684431639,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2760048640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:21:50] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,107,83,24,241,157,16,164,160,188,45,50,60,43,10,66,106,44,1,240,178,227,194,33,4,113,205,116,201,248,239,49,2,79,7],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-21 13:21:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323507508300742656,"timestamp_seconds":4323507508300742.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:21:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:21:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:21:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:21:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:21:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:21:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:21:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:21:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:21:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234105088001,"66":12558,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:21:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:21:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:21:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234105088001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:21:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:21:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:21:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:21:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:21:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234105088001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:21:50] local.INFO: DEBUG: GPS processor result {"connection_id":191350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:21:50] local.INFO: GPS data processed {"connection_id":191350,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:21:50] local.INFO: Acknowledgment sent {"connection_id":191350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:22:03] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:03] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:03] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:22:08] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:08] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:22:08] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:22:09] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:09] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:09] local.INFO: Packet analysis {"connection_id":188735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:22:09] local.INFO: Extracted packet for processing {"connection_id":188735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 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-09-21 13:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:22: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-09-21 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-09-21 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-09-21 13:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:22:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":188735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:22:09] local.INFO: GPS data processed {"connection_id":188735,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:22:09] local.INFO: Acknowledgment sent {"connection_id":188735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:22:13] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:13] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:13] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:22:17] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:17] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:22:17] local.INFO: IMEI packet received {"connection_id":191351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":191351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:22:18] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f1b2d8012d17c900072132f8003c002f29..."} 
[2026-09-21 13:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f1b2d8012d17c900072132f8003c002f29..."} 
[2026-09-21 13:22:18] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f1b2d8012d17c900072132f8003c002f29..."} 
[2026-09-21 13:22:18] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:22:18] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f1"} 
[2026-09-21 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":41,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234110464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789977015000,"timestamp_ms":1789977015000,"timestamp_seconds":1789977015,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f1b2d8"} 
[2026-09-21 13:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":2197815296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3270472864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249286658127901432,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":194,"raw_value":4028149761,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2818649367,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847658,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2760048640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":72,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,164,160,14,45,50,60,44,10,66,188,43,106,1,240,145,227,194,33,4,113,205,198,201,248,42,239,49,2,79,7,72,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-21 13:22:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4323507504005775360,"timestamp_seconds":4323507504005775.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234110464001,"66":12504,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234110464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:22:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234110464001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:22:18] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:22:18] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:22:40] local.INFO: TCP Data received {"connection_id":191352,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:22:40] local.INFO: Processing buffer {"connection_id":191352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:22:40] local.INFO: IMEI packet received {"connection_id":191352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:22:40] local.INFO: IMEI acknowledgment sent {"connection_id":191352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:22:41] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:41] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:22:41] local.INFO: Packet analysis {"connection_id":188735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:22:41] local.INFO: Extracted packet for processing {"connection_id":188735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:22:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:22:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:22:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:22:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:22:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:22:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:22:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:22:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:22:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:22:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:22:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:22:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:22:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:22:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:22:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:22:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:22:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:22:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:22:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:22:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:22:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:22:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:22:41] local.INFO: DEBUG: GPS processor result {"connection_id":188735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:22:41] local.INFO: GPS data processed {"connection_id":188735,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:22:41] local.INFO: Acknowledgment sent {"connection_id":188735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:22:49] local.INFO: TCP Data received {"connection_id":191351,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f204e0012d17c900072132f8003c002f28..."} 
[2026-09-21 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f204e0012d17c900072132f8003c002f28..."} 
[2026-09-21 13:22:49] local.INFO: Processing buffer {"connection_id":191351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f204e0012d17c900072132f8003c002f28..."} 
[2026-09-21 13:22:49] local.INFO: Packet analysis {"connection_id":191351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:22:49] local.INFO: Extracted packet for processing {"connection_id":191351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":40,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789977036000,"timestamp_ms":1789977036000,"timestamp_seconds":1789977036,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f204e0"} 
[2026-09-21 13:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234115840001,"66":12504,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:22:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234115840001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":191351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:22:49] local.INFO: GPS data processed {"connection_id":191351,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:22:49] local.INFO: Acknowledgment sent {"connection_id":191351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:23:08] local.INFO: TCP Data received {"connection_id":190026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:08] local.INFO: Processing buffer {"connection_id":190026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:08] local.INFO: IMEI packet received {"connection_id":190026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":190026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:23:13] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:13] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:13] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:23:13] local.INFO: TCP Data received {"connection_id":190026,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:13] local.INFO: Processing buffer {"connection_id":190026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:23:13] local.INFO: IMEI packet received {"connection_id":190026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":190026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:23:14] local.INFO: TCP Data received {"connection_id":190026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:14] local.INFO: Processing buffer {"connection_id":190026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:14] local.INFO: Packet analysis {"connection_id":190026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:23:14] local.INFO: Extracted packet for processing {"connection_id":190026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:23: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-09-21 13:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:23:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":190026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:23:14] local.INFO: GPS data processed {"connection_id":190026,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:23:14] local.INFO: Acknowledgment sent {"connection_id":190026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:23:15] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:15] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:15] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:23:18] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:18] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:23:18] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:23:19] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f256e8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f256e8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:23:19] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f256e8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:23:19] local.INFO: Packet analysis {"connection_id":188736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:23:19] local.INFO: Extracted packet for processing {"connection_id":188736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234121216001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977057000,"timestamp_ms":1789977057000,"timestamp_seconds":1789977057,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f256e8"} 
[2026-09-21 13:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234121216001,"66":12504,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234121216001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234121216001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":188736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:23:19] local.INFO: GPS data processed {"connection_id":188736,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:23:19] local.INFO: Acknowledgment sent {"connection_id":188736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:23:19] local.INFO: TCP Data received {"connection_id":190026,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:19] local.INFO: Processing buffer {"connection_id":190026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ef6500012d34c04006aa41300006000c2c..."} 
[2026-09-21 13:23:19] local.INFO: Packet analysis {"connection_id":190026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:23:19] local.INFO: Extracted packet for processing {"connection_id":190026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ef"} 
[2026-09-21 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234000128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789976864000,"timestamp_ms":1789976864000,"timestamp_seconds":1789976864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ef6500"} 
[2026-09-21 13:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:23:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:23:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234000128001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234000128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234000128001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":190026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:23:19] local.INFO: GPS data processed {"connection_id":190026,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:23:19] local.INFO: Acknowledgment sent {"connection_id":190026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:23:20] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:20] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:23:20] local.INFO: IMEI packet received {"connection_id":191353,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 13:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":191353,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:23:22] local.INFO: TCP Data received {"connection_id":191353,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2e63188012b882a000b7c72b0001f00d215..."} 
[2026-09-21 13:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191353,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2e63188012b882a000b7c72b0001f00d215..."} 
[2026-09-21 13:23:22] local.INFO: Processing buffer {"connection_id":191353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2e63188012b882a000b7c72b0001f00d215..."} 
[2026-09-21 13:23:22] local.INFO: Packet analysis {"connection_id":191353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:23:22] local.INFO: Extracted packet for processing {"connection_id":191353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2e6"} 
[2026-09-21 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":730343936,"raw_latitude":192705200,"longitude_deg":73.0343936,"latitude_deg":19.27052,"altitude":31,"angle":210,"satellites":21,"speed":0,"hex_longitude":"2b882a00","hex_latitude":"0b7c72b0","is_valid_coordinates":true} 
[2026-09-21 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458233845760001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3600548393648128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8635089286196973568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789976261000,"timestamp_ms":1789976261000,"timestamp_seconds":1789976261,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2e63188"} 
[2026-09-21 13:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:23:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22784,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 13:23:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 13:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191353,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 13:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 13:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 13:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458233845760001,"66":25799,"27":206,"234":55296,"24":0,"16":3600548393648128,"43":-8635089286196973568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 13:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 13:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 13:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458233845760001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:23:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 13:23:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 13:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3600548393648128,"km_value":3600548393648.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:23:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8635089286196973568,"description":"Unknown IO ID 43"} 
[2026-09-21 13:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458233845760001,"power":25799,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8635089286196973568}} 
[2026-09-21 13:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":191353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876362,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:23:22] local.INFO: GPS data processed {"connection_id":191353,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:23:22] local.INFO: Acknowledgment sent {"connection_id":191353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:23:50] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f2a8f0012d17c900072132f8003c002f2d..."} 
[2026-09-21 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f2a8f0012d17c900072132f8003c002f2d..."} 
[2026-09-21 13:23:50] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f2a8f0012d17c900072132f8003c002f2d..."} 
[2026-09-21 13:23:50] local.INFO: Packet analysis {"connection_id":188736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:23:50] local.INFO: Extracted packet for processing {"connection_id":188736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":45,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:23:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234126592001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:23:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:23:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977078000,"timestamp_ms":1789977078000,"timestamp_seconds":1789977078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f2a8f0"} 
[2026-09-21 13:23:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:23:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:23:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:23:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:23:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:23:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:23:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:23:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:23:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:23:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:23:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:23:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:23:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:23:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234126592001,"66":12504,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:23:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:23:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:23:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234126592001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:23:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:23:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:23:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:23:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:23:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234126592001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:23:50] local.INFO: DEBUG: GPS processor result {"connection_id":188736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:23:50] local.INFO: GPS data processed {"connection_id":188736,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:23:50] local.INFO: Acknowledgment sent {"connection_id":188736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:24:03] local.INFO: TCP Data received {"connection_id":188737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:03] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:03] local.INFO: IMEI packet received {"connection_id":188737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":188737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:24:08] local.INFO: TCP Data received {"connection_id":188737,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:08] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:24:08] local.INFO: IMEI packet received {"connection_id":188737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":188737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:24:09] local.INFO: TCP Data received {"connection_id":188737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:09] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:09] local.INFO: Packet analysis {"connection_id":188737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:09] local.INFO: Extracted packet for processing {"connection_id":188737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:24: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-09-21 13:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":188737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:24:09] local.INFO: GPS data processed {"connection_id":188737,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:24:09] local.INFO: Acknowledgment sent {"connection_id":188737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:24:10] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:24:10] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:24:10] local.INFO: IMEI packet received {"connection_id":188738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":188738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:24:18] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:18] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:18] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:24:23] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:23] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:24:23] local.INFO: IMEI packet received {"connection_id":191354,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":191354,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:24:24] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f2faf8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f2faf8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:24] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f2faf8012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:24] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:24:24] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f2"} 
[2026-09-21 13:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234131968001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789977099000,"timestamp_ms":1789977099000,"timestamp_seconds":1789977099,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f2faf8"} 
[2026-09-21 13:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234131968001,"66":12461,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234131968001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234131968001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:24:24] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:24:24] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:24:24] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f34d00012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f34d00012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:24:24] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f34d00012d17c900072132f8003c002f2b..."} 
[2026-09-21 13:24:24] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:24] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":43,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234137344001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789977120000,"timestamp_ms":1789977120000,"timestamp_seconds":1789977120,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f34d00"} 
[2026-09-21 13:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:24:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:24:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234137344001,"66":12461,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234137344001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234137344001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:24:24] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:24:24] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:24:41] local.INFO: TCP Data received {"connection_id":188737,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:41] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:24:41] local.INFO: Packet analysis {"connection_id":188737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:41] local.INFO: Extracted packet for processing {"connection_id":188737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:24:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":188737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:24:41] local.INFO: GPS data processed {"connection_id":188737,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:24:41] local.INFO: Acknowledgment sent {"connection_id":188737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:24:55] local.INFO: TCP Data received {"connection_id":191354,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f39f08012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191354,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f39f08012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:55] local.INFO: Processing buffer {"connection_id":191354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f39f08012d17c900072132f8003c002f2c..."} 
[2026-09-21 13:24:55] local.INFO: Packet analysis {"connection_id":191354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:55] local.INFO: Extracted packet for processing {"connection_id":191354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":44,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234142720001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789977141000,"timestamp_ms":1789977141000,"timestamp_seconds":1789977141,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f39f08"} 
[2026-09-21 13:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:24:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191354,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234142720001,"66":12461,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234142720001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:24:55] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:24:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234142720001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":191354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:24:56] local.INFO: GPS data processed {"connection_id":191354,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:24:56] local.INFO: Acknowledgment sent {"connection_id":191354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:25:03] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:03] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:03] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:25:08] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:08] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:25:08] local.INFO: IMEI packet received {"connection_id":188584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":188584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:25:10] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:10] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:10] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:10] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 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-09-21 13:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 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-09-21 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-09-21 13:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:25:10] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:25:10] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:25:13] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:13] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:13] local.INFO: IMEI packet received {"connection_id":188739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":188739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:25:18] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:18] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:25:18] local.INFO: IMEI packet received {"connection_id":188739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":188739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:25:19] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3f110012d17c900072132f8003c002f2a..."} 
[2026-09-21 13:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3f110012d17c900072132f8003c002f2a..."} 
[2026-09-21 13:25:19] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3f110012d17c900072132f8003c002f2a..."} 
[2026-09-21 13:25:19] local.INFO: Packet analysis {"connection_id":188739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:19] local.INFO: Extracted packet for processing {"connection_id":188739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":42,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:25:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234148096001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:25:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977162000,"timestamp_ms":1789977162000,"timestamp_seconds":1789977162,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3f110"} 
[2026-09-21 13:25:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:25:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:25:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:25:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:25:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:25:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:25:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:25:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:25:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:25:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:25:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:25:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:25:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:25:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234148096001,"66":12461,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:25:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:25:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:25:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234148096001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:25:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:25:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:25:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:25:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:25:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234148096001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:25:19] local.INFO: DEBUG: GPS processor result {"connection_id":188739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:25:19] local.INFO: GPS data processed {"connection_id":188739,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:25:19] local.INFO: Acknowledgment sent {"connection_id":188739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:25:41] local.INFO: TCP Data received {"connection_id":188584,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188584,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:41] local.INFO: Processing buffer {"connection_id":188584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:25:41] local.INFO: Packet analysis {"connection_id":188584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:41] local.INFO: Extracted packet for processing {"connection_id":188584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25: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-09-21 13:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":188584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:25:41] local.INFO: GPS data processed {"connection_id":188584,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:25:41] local.INFO: Acknowledgment sent {"connection_id":188584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:25:50] local.INFO: TCP Data received {"connection_id":188739,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f44318012d17c900072132f8003c002f2e..."} 
[2026-09-21 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f44318012d17c900072132f8003c002f2e..."} 
[2026-09-21 13:25:50] local.INFO: Processing buffer {"connection_id":188739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f44318012d17c900072132f8003c002f2e..."} 
[2026-09-21 13:25:50] local.INFO: Packet analysis {"connection_id":188739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f4"} 
[2026-09-21 13:25:50] local.INFO: Extracted packet for processing {"connection_id":188739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f4"} 
[2026-09-21 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":756533504,"raw_latitude":119616248,"longitude_deg":75.6533504,"latitude_deg":11.9616248,"altitude":60,"angle":47,"satellites":46,"speed":0,"hex_longitude":"2d17c900","hex_latitude":"072132f8","is_valid_coordinates":true} 
[2026-09-21 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:25:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234153472001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417405707812864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1713901163812943872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:25:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:25:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977183000,"timestamp_ms":1789977183000,"timestamp_seconds":1789977183,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f44318"} 
[2026-09-21 13:25:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:25:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:25:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 13:25:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:25:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:25:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:25:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:25:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:25:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:25:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:25:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:25:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:25:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:25:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234153472001,"66":12428,"107":206,"83":41984,"24":0,"16":22417405707812864,"45":1713901163812943872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:25:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:25:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:25:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234153472001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:25:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:25:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:25:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417405707812864,"km_value":22417405707812.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:25:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1713901163812943872,"description":"Unknown IO ID 45"} 
[2026-09-21 13:25:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234153472001,"power":12428,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1713901163812943872}} 
[2026-09-21 13:25:50] local.INFO: DEBUG: GPS processor result {"connection_id":188739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:25:50] local.INFO: GPS data processed {"connection_id":188739,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:25:50] local.INFO: Acknowledgment sent {"connection_id":188739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:26:03] local.INFO: TCP Data received {"connection_id":191355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:03] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:03] local.INFO: IMEI packet received {"connection_id":191355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:26:03] local.INFO: IMEI acknowledgment sent {"connection_id":191355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:26:08] local.INFO: TCP Data received {"connection_id":191355,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:08] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:26:08] local.INFO: IMEI packet received {"connection_id":191355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:26:11] local.INFO: TCP Data received {"connection_id":191355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:11] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:11] local.INFO: Packet analysis {"connection_id":191355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:26:11] local.INFO: Extracted packet for processing {"connection_id":191355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:26:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:26: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-09-21 13:26:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":191355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":191355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":191355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:26:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:26:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":191355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:26:11] local.INFO: GPS data processed {"connection_id":191355,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:26:11] local.INFO: Acknowledgment sent {"connection_id":191355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:26:13] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:13] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:13] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:26:18] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:18] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:26:18] local.INFO: IMEI packet received {"connection_id":188585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":188585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:26:19] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f669e0012d17d800072152600045001930..."} 
[2026-09-21 13:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f669e0012d17d800072152600045001930..."} 
[2026-09-21 13:26:19] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f669e0012d17d800072152600045001930..."} 
[2026-09-21 13:26:19] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f6"} 
[2026-09-21 13:26:19] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f6"} 
[2026-09-21 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756537344,"raw_latitude":119624288,"longitude_deg":75.6537344,"latitude_deg":11.9624288,"altitude":69,"angle":25,"satellites":48,"speed":10,"hex_longitude":"2d17d800","hex_latitude":"07215260","is_valid_coordinates":true} 
[2026-09-21 13:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234191872001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22417843794477056,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1716856651069663232,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977324000,"timestamp_ms":1789977324000,"timestamp_seconds":1789977324,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f669e0"} 
[2026-09-21 13:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-21 13:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1404,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234191872001,"66":14265,"107":206,"83":41984,"24":10,"16":22417843794477056,"45":1716856651069663232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234191872001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:26:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22417843794477056,"km_value":22417843794477.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1716856651069663232,"description":"Unknown IO ID 45"} 
[2026-09-21 13:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234191872001,"power":14265,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1716856651069663232}} 
[2026-09-21 13:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:26:19] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:26:19] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:26:42] local.INFO: TCP Data received {"connection_id":191355,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191355,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:42] local.INFO: Processing buffer {"connection_id":191355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:26:42] local.INFO: Packet analysis {"connection_id":191355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:26:42] local.INFO: Extracted packet for processing {"connection_id":191355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:26:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:26: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-09-21 13:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:26:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:26:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":191355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:26:42] local.INFO: GPS data processed {"connection_id":191355,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:26:42] local.INFO: Acknowledgment sent {"connection_id":191355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:26:50] local.INFO: TCP Data received {"connection_id":188585,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f6fe50012d17bb80072162180043010625..."} 
[2026-09-21 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188585,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f6fe50012d17bb80072162180043010625..."} 
[2026-09-21 13:26:50] local.INFO: Processing buffer {"connection_id":188585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f6fe50012d17bb80072162180043010625..."} 
[2026-09-21 13:26:50] local.INFO: Packet analysis {"connection_id":188585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f6"} 
[2026-09-21 13:26:50] local.INFO: Extracted packet for processing {"connection_id":188585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f6"} 
[2026-09-21 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":756530048,"raw_latitude":119628312,"longitude_deg":75.6530048,"latitude_deg":11.9628312,"altitude":67,"angle":262,"satellites":37,"speed":9,"hex_longitude":"2d17bb80","hex_latitude":"07216218","is_valid_coordinates":true} 
[2026-09-21 13:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:26:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234204160001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418281881141248,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710664201583859712,"note":"Value kept but may cause issues"} 
[2026-09-21 13:26:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:26:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977362000,"timestamp_ms":1789977362000,"timestamp_seconds":1789977362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f6fe50"} 
[2026-09-21 13:26:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:26:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:26:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-21 13:26:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:26:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:26:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:26:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:26:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:26:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:26:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:26:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:26:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:26:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:26:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234204160001,"66":14070,"107":206,"83":41984,"24":9,"16":22418281881141248,"45":1710664201583859712},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:26:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:26:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:26:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234204160001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:26:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:26:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:26:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418281881141248,"km_value":22418281881141.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:26:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710664201583859712,"description":"Unknown IO ID 45"} 
[2026-09-21 13:26:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234204160001,"power":14070,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710664201583859712}} 
[2026-09-21 13:26:50] local.INFO: DEBUG: GPS processor result {"connection_id":188585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:26:50] local.INFO: GPS data processed {"connection_id":188585,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:26:50] local.INFO: Acknowledgment sent {"connection_id":188585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:27:03] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:03] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:03] local.INFO: IMEI packet received {"connection_id":188741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":188741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:27:08] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:08] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:27:08] local.INFO: IMEI packet received {"connection_id":188741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:27:10] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:10] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:10] local.INFO: Packet analysis {"connection_id":188741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:27:10] local.INFO: Extracted packet for processing {"connection_id":188741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:27:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:27:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:27:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:27:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:27:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:27: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-09-21 13:27:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:27:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:27:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:27:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:27:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:27:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:27:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:27:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:27:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:27:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:27:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:27:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:27:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:27:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:27:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:27:10] local.INFO: DEBUG: GPS processor result {"connection_id":188741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:27:10] local.INFO: GPS data processed {"connection_id":188741,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:27:10] local.INFO: Acknowledgment sent {"connection_id":188741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:27:13] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:13] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:13] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:27:18] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:18] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:27:18] local.INFO: IMEI packet received {"connection_id":191356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":191356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:27:19] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f70df0012d17b7c007216240004201122a..."} 
[2026-09-21 13:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f70df0012d17b7c007216240004201122a..."} 
[2026-09-21 13:27:19] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f70df0012d17b7c007216240004201122a..."} 
[2026-09-21 13:27:19] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:27:19] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756529088,"raw_latitude":119628352,"longitude_deg":75.6529088,"latitude_deg":11.9628352,"altitude":66,"angle":274,"satellites":42,"speed":9,"hex_longitude":"2d17b7c0","hex_latitude":"07216240","is_valid_coordinates":true} 
[2026-09-21 13:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234204672001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418329125781504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710101251630438400,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977366000,"timestamp_ms":1789977366000,"timestamp_seconds":1789977366,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f70df0"} 
[2026-09-21 13:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 13:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234204672001,"66":13993,"107":206,"83":41984,"24":9,"16":22418329125781504,"45":1710101251630438400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234204672001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:27:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418329125781504,"km_value":22418329125781.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710101251630438400,"description":"Unknown IO ID 45"} 
[2026-09-21 13:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234204672001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710101251630438400}} 
[2026-09-21 13:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:27:19] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:27:19] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:27:42] local.INFO: TCP Data received {"connection_id":188741,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188741,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:42] local.INFO: Processing buffer {"connection_id":188741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:27:42] local.INFO: Packet analysis {"connection_id":188741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:27:42] local.INFO: Extracted packet for processing {"connection_id":188741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:27:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:27:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 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-09-21 13:27:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:27: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-09-21 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-09-21 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-09-21 13:27:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:27:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:27:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:27:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:27:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:27:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:27:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:27:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:27:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:27:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:27:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:27:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:27:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:27:42] local.INFO: DEBUG: GPS processor result {"connection_id":188741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:27:42] local.INFO: GPS data processed {"connection_id":188741,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:27:42] local.INFO: Acknowledgment sent {"connection_id":188741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:27:51] local.INFO: TCP Data received {"connection_id":191356,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f71d90012d17b4c0072162b00042011d2b..."} 
[2026-09-21 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f71d90012d17b4c0072162b00042011d2b..."} 
[2026-09-21 13:27:51] local.INFO: Processing buffer {"connection_id":191356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f71d90012d17b4c0072162b00042011d2b..."} 
[2026-09-21 13:27:51] local.INFO: Packet analysis {"connection_id":191356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:27:51] local.INFO: Extracted packet for processing {"connection_id":191356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756528320,"raw_latitude":119628464,"longitude_deg":75.652832,"latitude_deg":11.9628464,"altitude":66,"angle":285,"satellites":43,"speed":5,"hex_longitude":"2d17b4c0","hex_latitude":"072162b0","is_valid_coordinates":true} 
[2026-09-21 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234205696001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418363485519872,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1709045720467783680,"note":"Value kept but may cause issues"} 
[2026-09-21 13:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789977370000,"timestamp_ms":1789977370000,"timestamp_seconds":1789977370,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f71d90"} 
[2026-09-21 13:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 13:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:27:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234205696001,"66":13961,"107":206,"83":41984,"24":5,"16":22418363485519872,"45":1709045720467783680},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234205696001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:27:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418363485519872,"km_value":22418363485519.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1709045720467783680,"description":"Unknown IO ID 45"} 
[2026-09-21 13:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234205696001,"power":13961,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1709045720467783680}} 
[2026-09-21 13:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":191356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:27:51] local.INFO: GPS data processed {"connection_id":191356,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:27:51] local.INFO: Acknowledgment sent {"connection_id":191356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:28:03] local.INFO: TCP Data received {"connection_id":190027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:03] local.INFO: Processing buffer {"connection_id":190027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:03] local.INFO: IMEI packet received {"connection_id":190027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:28:03] local.INFO: IMEI acknowledgment sent {"connection_id":190027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:28:08] local.INFO: TCP Data received {"connection_id":190027,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190027,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:08] local.INFO: Processing buffer {"connection_id":190027,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:28:08] local.INFO: IMEI packet received {"connection_id":190027,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":190027,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:28:10] local.INFO: TCP Data received {"connection_id":190027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:28:10] local.INFO: Processing buffer {"connection_id":190027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f3fcc8012d34c04006aa41300005000c2e..."} 
[2026-09-21 13:28:10] local.INFO: Packet analysis {"connection_id":190027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:28:10] local.INFO: Extracted packet for processing {"connection_id":190027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f3"} 
[2026-09-21 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":5,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:28:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234077184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:28:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789977165000,"timestamp_ms":1789977165000,"timestamp_seconds":1789977165,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f3fcc8"} 
[2026-09-21 13:28:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:28:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:28:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:28: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-09-21 13:28:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:28:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:28:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:28:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:28:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:28:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:28:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:28:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:28:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:28:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234077184001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:28:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:28:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:28:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234077184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:28:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:28:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:28:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:28:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:28:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234077184001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:28:10] local.INFO: DEBUG: GPS processor result {"connection_id":190027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:28:10] local.INFO: GPS data processed {"connection_id":190027,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:28:10] local.INFO: Acknowledgment sent {"connection_id":190027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:28:12] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:12] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:12] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:28:13] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:13] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:13] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:28:18] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:18] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:28:18] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:28:19] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f76f98012d17b2c0072162f80041011d2c..."} 
[2026-09-21 13:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f76f98012d17b2c0072162f80041011d2c..."} 
[2026-09-21 13:28:19] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f76f98012d17b2c0072162f80041011d2c..."} 
[2026-09-21 13:28:19] local.INFO: Packet analysis {"connection_id":188743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:28:19] local.INFO: Extracted packet for processing {"connection_id":188743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:28:19] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":44,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:28:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234206720001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708201295537680384,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:28:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977391000,"timestamp_ms":1789977391000,"timestamp_seconds":1789977391,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f76f98"} 
[2026-09-21 13:28:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:28:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:28:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 13:28:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:28:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:28:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:28:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:28:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:28:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:28:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:28:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:28:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:28:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:28:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234206720001,"66":13993,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1708201295537680384},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:28:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:28:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:28:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234206720001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:28:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:28:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:28:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:28:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708201295537680384,"description":"Unknown IO ID 45"} 
[2026-09-21 13:28:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234206720001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1708201295537680384}} 
[2026-09-21 13:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":188743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:28:19] local.INFO: GPS data processed {"connection_id":188743,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:28:19] local.INFO: Acknowledgment sent {"connection_id":188743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:28:42] local.INFO: TCP Data received {"connection_id":190027,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:28:42] local.INFO: Processing buffer {"connection_id":190027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:28:42] local.INFO: Packet analysis {"connection_id":190027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:28:42] local.INFO: Extracted packet for processing {"connection_id":190027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:28: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-09-21 13:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190027,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:28:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":190027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:28:42] local.INFO: GPS data processed {"connection_id":190027,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:28:42] local.INFO: Acknowledgment sent {"connection_id":190027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:28:50] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f7c1a0012d17b2c0072162f80041011d2b..."} 
[2026-09-21 13:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f7c1a0012d17b2c0072162f80041011d2b..."} 
[2026-09-21 13:28:50] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f7c1a0012d17b2c0072162f80041011d2b..."} 
[2026-09-21 13:28:50] local.INFO: Packet analysis {"connection_id":188743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:28:50] local.INFO: Extracted packet for processing {"connection_id":188743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f7"} 
[2026-09-21 13:28:50] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":43,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234212096001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977412000,"timestamp_ms":1789977412000,"timestamp_seconds":1789977412,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f7c1a0"} 
[2026-09-21 13:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:28:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 13:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:28:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234212096001,"66":14004,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234212096001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:28:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:28:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234212096001,"power":14004,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":188743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:28:50] local.INFO: GPS data processed {"connection_id":188743,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:28:50] local.INFO: Acknowledgment sent {"connection_id":188743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:29:03] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:03] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:03] local.INFO: IMEI packet received {"connection_id":190029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":190029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:29:08] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:08] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:29:08] local.INFO: IMEI packet received {"connection_id":190029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":190029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:29:09] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:09] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:09] local.INFO: Packet analysis {"connection_id":190029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:09] local.INFO: Extracted packet for processing {"connection_id":190029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 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-09-21 13:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:29: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-09-21 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-09-21 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-09-21 13:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":190029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:29:09] local.INFO: GPS data processed {"connection_id":190029,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:29:09] local.INFO: Acknowledgment sent {"connection_id":190029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:29:12] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:12] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:12] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:29:15] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:15] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:15] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:29:15] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:29:18] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:18] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:29:18] local.INFO: IMEI packet received {"connection_id":191357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":191357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:29:18] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f813a8012d17b2c0072162f80041011d29..."} 
[2026-09-21 13:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f813a8012d17b2c0072162f80041011d29..."} 
[2026-09-21 13:29:18] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f813a8012d17b2c0072162f80041011d29..."} 
[2026-09-21 13:29:18] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:18] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":41,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234217472001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789977433000,"timestamp_ms":1789977433000,"timestamp_seconds":1789977433,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f813a8"} 
[2026-09-21 13:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 13:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234217472001,"66":13254,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234217472001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:29:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234217472001,"power":13254,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:29:18] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:29:18] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:29:40] local.INFO: TCP Data received {"connection_id":188587,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:29:40] local.INFO: Processing buffer {"connection_id":188587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:29:40] local.INFO: IMEI packet received {"connection_id":188587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":188587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:29:42] local.INFO: TCP Data received {"connection_id":190029,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:42] local.INFO: Processing buffer {"connection_id":190029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:29:42] local.INFO: Packet analysis {"connection_id":190029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:42] local.INFO: Extracted packet for processing {"connection_id":190029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:29:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:29:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:29:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:29:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:29: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-09-21 13: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-09-21 13:29:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:29:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:29:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:29:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:29:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:29:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:29:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:29:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:29:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:29:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:29:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:29:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:29:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:29:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:29:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:29:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:29:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:29:42] local.INFO: DEBUG: GPS processor result {"connection_id":190029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:29:42] local.INFO: GPS data processed {"connection_id":190029,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:29:42] local.INFO: Acknowledgment sent {"connection_id":190029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:29:49] local.INFO: TCP Data received {"connection_id":191357,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f865b0012d17b2c0072162f80041011d28..."} 
[2026-09-21 13:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f865b0012d17b2c0072162f80041011d28..."} 
[2026-09-21 13:29:49] local.INFO: Processing buffer {"connection_id":191357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f865b0012d17b2c0072162f80041011d28..."} 
[2026-09-21 13:29:49] local.INFO: Packet analysis {"connection_id":191357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:49] local.INFO: Extracted packet for processing {"connection_id":191357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":40,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234222848001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789977454000,"timestamp_ms":1789977454000,"timestamp_seconds":1789977454,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f865b0"} 
[2026-09-21 13:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-21 13:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234222848001,"66":13102,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234222848001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:29:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234222848001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:29:50] local.INFO: DEBUG: GPS processor result {"connection_id":191357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:29:50] local.INFO: GPS data processed {"connection_id":191357,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:29:50] local.INFO: Acknowledgment sent {"connection_id":191357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:30:08] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:08] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:08] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:30:13] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:13] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:13] local.INFO: IMEI packet received {"connection_id":188745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:30:15] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:15] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:30:15] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:30:15] local.INFO: TCP Data received {"connection_id":190030,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:30:15] local.INFO: Processing buffer {"connection_id":190030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:30:15] local.INFO: IMEI packet received {"connection_id":190030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":190030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:30:16] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:16] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:16] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:16] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30: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-09-21 13:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:30:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:30:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:30: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-09-21 13:30:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:30:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:30:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:30:16] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:30:16] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:30:18] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:18] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:30:18] local.INFO: IMEI packet received {"connection_id":188745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":188745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:30:19] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f8b7b8012d17b2c0072162f80041011d25..."} 
[2026-09-21 13:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f8b7b8012d17b2c0072162f80041011d25..."} 
[2026-09-21 13:30:19] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f8b7b8012d17b2c0072162f80041011d25..."} 
[2026-09-21 13:30:19] local.INFO: Packet analysis {"connection_id":188745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:19] local.INFO: Extracted packet for processing {"connection_id":188745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":37,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234228224001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977475000,"timestamp_ms":1789977475000,"timestamp_seconds":1789977475,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f8b7b8"} 
[2026-09-21 13:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 13:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234228224001,"66":13102,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234228224001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:30:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234228224001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":188745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:30:19] local.INFO: GPS data processed {"connection_id":188745,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:30:19] local.INFO: Acknowledgment sent {"connection_id":188745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:30:48] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:48] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:30:48] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:48] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:30:48] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:30: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-09-21 13:30:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:30:48] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:30:48] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:30:48] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:30:48] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:30:50] local.INFO: TCP Data received {"connection_id":188745,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f909c0012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188745,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f909c0012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:30:50] local.INFO: Processing buffer {"connection_id":188745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f909c0012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:30:50] local.INFO: Packet analysis {"connection_id":188745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:30:50] local.INFO: Extracted packet for processing {"connection_id":188745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234233600001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977496000,"timestamp_ms":1789977496000,"timestamp_seconds":1789977496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f909c0"} 
[2026-09-21 13:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 13:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234233600001,"66":13015,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234233600001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:30:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234233600001,"power":13015,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":188745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:30:50] local.INFO: GPS data processed {"connection_id":188745,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:30:50] local.INFO: Acknowledgment sent {"connection_id":188745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:31:08] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:08] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:08] local.INFO: IMEI packet received {"connection_id":188588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":188588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:31:13] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:13] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:31:13] local.INFO: IMEI packet received {"connection_id":188588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":188588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:31:16] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:16] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:16] local.INFO: Packet analysis {"connection_id":188588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:31:16] local.INFO: Extracted packet for processing {"connection_id":188588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:31:16] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:31:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:31:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:31: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-09-21 13: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-09-21 13:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:31:16] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:31:16] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":188588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:31:16] local.INFO: GPS data processed {"connection_id":188588,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:31:16] local.INFO: Acknowledgment sent {"connection_id":188588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:31:18] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:18] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:18] local.INFO: IMEI packet received {"connection_id":190031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":190031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:31:21] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:21] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:31:21] local.INFO: IMEI packet received {"connection_id":190031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":190031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:31:21] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f95bc8012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f95bc8012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:31:21] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f95bc8012d17b2c0072162f80041011d2d..."} 
[2026-09-21 13:31:21] local.INFO: Packet analysis {"connection_id":190031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:31:21] local.INFO: Extracted packet for processing {"connection_id":190031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":45,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234238976001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789977517000,"timestamp_ms":1789977517000,"timestamp_seconds":1789977517,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f95bc8"} 
[2026-09-21 13:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:31:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 13:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234238976001,"66":12972,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234238976001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:31:21] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:31:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234238976001,"power":12972,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":190031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:31:21] local.INFO: GPS data processed {"connection_id":190031,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:31:21] local.INFO: Acknowledgment sent {"connection_id":190031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:31:47] local.INFO: TCP Data received {"connection_id":188588,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188588,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:47] local.INFO: Processing buffer {"connection_id":188588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:31:47] local.INFO: Packet analysis {"connection_id":188588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:31:47] local.INFO: Extracted packet for processing {"connection_id":188588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:31:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:31:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:31:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:31:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:31:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:31:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:31:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:31:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:31:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:31:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:31:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:31:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:31:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:31:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:31:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:31:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:31:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:31:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:31:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:31:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:31:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:31:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:31:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:31:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:31:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:31:47] local.INFO: DEBUG: GPS processor result {"connection_id":188588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:31:47] local.INFO: GPS data processed {"connection_id":188588,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:31:47] local.INFO: Acknowledgment sent {"connection_id":188588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:31:52] local.INFO: TCP Data received {"connection_id":190031,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f9add0012d17b2c0072162f80041011d2e..."} 
[2026-09-21 13:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f9add0012d17b2c0072162f80041011d2e..."} 
[2026-09-21 13:31:52] local.INFO: Processing buffer {"connection_id":190031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f9add0012d17b2c0072162f80041011d2e..."} 
[2026-09-21 13:31:52] local.INFO: Packet analysis {"connection_id":190031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:31:52] local.INFO: Extracted packet for processing {"connection_id":190031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f9"} 
[2026-09-21 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":756527808,"raw_latitude":119628536,"longitude_deg":75.6527808,"latitude_deg":11.9628536,"altitude":65,"angle":285,"satellites":46,"speed":0,"hex_longitude":"2d17b2c0","hex_latitude":"072162f8","is_valid_coordinates":true} 
[2026-09-21 13:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:31:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234244352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418389255323648,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707638345584277504,"note":"Value kept but may cause issues"} 
[2026-09-21 13:31:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:31:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789977538000,"timestamp_ms":1789977538000,"timestamp_seconds":1789977538,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f9add0"} 
[2026-09-21 13:31:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:31:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:31:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 13:31:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:31:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:31:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:31:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:31:52] local.INFO: Teltonika packet parsed successfully {"connection_id":190031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:31:52] local.INFO: Passing IMEI to GPS processor {"connection_id":190031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:31:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":190031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:31:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:31:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:31:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:31:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234244352001,"66":12939,"107":206,"83":41984,"24":0,"16":22418389255323648,"45":1707638345584277504},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:31:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:31:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:31:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234244352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:31:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:31:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:31:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418389255323648,"km_value":22418389255323.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:31:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707638345584277504,"description":"Unknown IO ID 45"} 
[2026-09-21 13:31:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234244352001,"power":12939,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1707638345584277504}} 
[2026-09-21 13:31:52] local.INFO: DEBUG: GPS processor result {"connection_id":190031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:31:52] local.INFO: GPS data processed {"connection_id":190031,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:31:52] local.INFO: Acknowledgment sent {"connection_id":190031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:32:03] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:03] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:03] local.INFO: IMEI packet received {"connection_id":190032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":190032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:32:08] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:08] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:32:08] local.INFO: IMEI packet received {"connection_id":190032,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":190032,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:32:09] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:09] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:09] local.INFO: Packet analysis {"connection_id":190032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:32:09] local.INFO: Extracted packet for processing {"connection_id":190032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 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-09-21 13:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 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-09-21 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-09-21 13:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":190032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:32:09] local.INFO: GPS data processed {"connection_id":190032,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:32:09] local.INFO: Acknowledgment sent {"connection_id":190032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:32:13] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:13] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:13] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:32:13] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:32:18] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:18] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:32:18] local.INFO: IMEI packet received {"connection_id":188589,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":188589,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:32:20] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fbd0b0012d17be0007216260003f007129..."} 
[2026-09-21 13:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fbd0b0012d17be0007216260003f007129..."} 
[2026-09-21 13:32:20] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fbd0b0012d17be0007216260003f007129..."} 
[2026-09-21 13:32:20] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:32:20] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":756530688,"raw_latitude":119628384,"longitude_deg":75.6530688,"latitude_deg":11.9628384,"altitude":63,"angle":113,"satellites":41,"speed":10,"hex_longitude":"2d17be00","hex_latitude":"07216260","is_valid_coordinates":true} 
[2026-09-21 13:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234283776001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418582528851968,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708975351723640832,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789977678000,"timestamp_ms":1789977678000,"timestamp_seconds":1789977678,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fbd0b0"} 
[2026-09-21 13:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:32:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-09-21 13:32:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2237,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234283776001,"66":13972,"107":206,"83":41984,"24":10,"16":22418582528851968,"45":1708975351723640832},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234283776001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:32:20] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:32:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418582528851968,"km_value":22418582528851.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708975351723640832,"description":"Unknown IO ID 45"} 
[2026-09-21 13:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234283776001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1708975351723640832}} 
[2026-09-21 13:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:32:20] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:32:20] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:32:40] local.INFO: TCP Data received {"connection_id":190032,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:40] local.INFO: Processing buffer {"connection_id":190032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:32:40] local.INFO: Packet analysis {"connection_id":190032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:32:40] local.INFO: Extracted packet for processing {"connection_id":190032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190032,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":190032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:32:40] local.INFO: GPS data processed {"connection_id":190032,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:32:40] local.INFO: Acknowledgment sent {"connection_id":190032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:32:52] local.INFO: TCP Data received {"connection_id":188589,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fbd498012d17be80072161d8003f00822a..."} 
[2026-09-21 13:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188589,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fbd498012d17be80072161d8003f00822a..."} 
[2026-09-21 13:32:52] local.INFO: Processing buffer {"connection_id":188589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fbd498012d17be80072161d8003f00822a..."} 
[2026-09-21 13:32:52] local.INFO: Packet analysis {"connection_id":188589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:32:52] local.INFO: Extracted packet for processing {"connection_id":188589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":756530816,"raw_latitude":119628248,"longitude_deg":75.6530816,"latitude_deg":11.9628248,"altitude":63,"angle":130,"satellites":42,"speed":9,"hex_longitude":"2d17be80","hex_latitude":"072161d8","is_valid_coordinates":true} 
[2026-09-21 13:32:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:32:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234285568001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418591118786560,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710804939072233472,"note":"Value kept but may cause issues"} 
[2026-09-21 13:32:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:32:52] local.INFO: AVL Record Parsed {"raw_timestamp":1789977679000,"timestamp_ms":1789977679000,"timestamp_seconds":1789977679,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fbd498"} 
[2026-09-21 13:32:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:32:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:32:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:32:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:32:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:32:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:32:52] local.INFO: Teltonika packet parsed successfully {"connection_id":188589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:32:52] local.INFO: Passing IMEI to GPS processor {"connection_id":188589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:32:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":188589,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:32:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:32:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:32:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:32:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234285568001,"66":13972,"107":206,"83":41984,"24":9,"16":22418591118786560,"45":1710804939072233472},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:32:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:32:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:32:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234285568001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:32:52] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:32:52] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:32:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418591118786560,"km_value":22418591118786.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:32:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710804939072233472,"description":"Unknown IO ID 45"} 
[2026-09-21 13:32:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234285568001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710804939072233472}} 
[2026-09-21 13:32:52] local.INFO: DEBUG: GPS processor result {"connection_id":188589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:32:52] local.INFO: GPS data processed {"connection_id":188589,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:32:52] local.INFO: Acknowledgment sent {"connection_id":188589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:33:08] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:08] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:08] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:33:13] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:13] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:13] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:33:13] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:13] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:33:13] local.INFO: IMEI packet received {"connection_id":191359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":191359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:33:14] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:14] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:14] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:33:15] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:33:15] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2f89490012d34c04006aa41300006000c2b..."} 
[2026-09-21 13:33:15] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:33:15] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2f8"} 
[2026-09-21 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234154240001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33: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-09-21 13:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789977466000,"timestamp_ms":1789977466000,"timestamp_seconds":1789977466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2f89490"} 
[2026-09-21 13:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:33:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 13:33: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-09-21 13:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234154240001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234154240001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:33:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:33:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234154240001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:33:15] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:33:15] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:33:18] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:18] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:33:18] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:33:19] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fbd880012d17bf4007216110003f00902b..."} 
[2026-09-21 13:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fbd880012d17bf4007216110003f00902b..."} 
[2026-09-21 13:33:19] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fbd880012d17bf4007216110003f00902b..."} 
[2026-09-21 13:33:19] local.INFO: Packet analysis {"connection_id":188746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:33:19] local.INFO: Extracted packet for processing {"connection_id":188746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fb"} 
[2026-09-21 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756531008,"raw_latitude":119628048,"longitude_deg":75.6531008,"latitude_deg":11.9628048,"altitude":63,"angle":144,"satellites":43,"speed":9,"hex_longitude":"2d17bf40","hex_latitude":"07216110","is_valid_coordinates":true} 
[2026-09-21 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234285824001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22418604003688448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1710945676560553984,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977680000,"timestamp_ms":1789977680000,"timestamp_seconds":1789977680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fbd880"} 
[2026-09-21 13:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234285824001,"66":14157,"107":206,"83":41984,"24":9,"16":22418604003688448,"45":1710945676560553984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234285824001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:33:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22418604003688448,"km_value":22418604003688.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1710945676560553984,"description":"Unknown IO ID 45"} 
[2026-09-21 13:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234285824001,"power":14157,"unknown_107":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1710945676560553984}} 
[2026-09-21 13:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":188746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:33:19] local.INFO: GPS data processed {"connection_id":188746,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:33:19] local.INFO: Acknowledgment sent {"connection_id":188746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:33:47] local.INFO: TCP Data received {"connection_id":191359,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:33:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191359,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:33:47] local.INFO: Processing buffer {"connection_id":191359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:33:47] local.INFO: Packet analysis {"connection_id":191359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:33:47] local.INFO: Extracted packet for processing {"connection_id":191359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:33:47] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:33:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:33:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:33:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:33:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:33:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:33: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-09-21 13:33:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:33:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:33:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:33:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:33:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:33:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:33:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:33:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:33:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:33:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:33:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:33:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:33:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:33:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:33:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:33:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:33:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:33:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:33:47] local.INFO: DEBUG: GPS processor result {"connection_id":191359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:33:47] local.INFO: GPS data processed {"connection_id":191359,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:33:47] local.INFO: Acknowledgment sent {"connection_id":191359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:33:50] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd5750012d1823400721b5d0004900082d..."} 
[2026-09-21 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd5750012d1823400721b5d0004900082d..."} 
[2026-09-21 13:33:50] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd5750012d1823400721b5d0004900082d..."} 
[2026-09-21 13:33:50] local.INFO: Packet analysis {"connection_id":188746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:33:50] local.INFO: Extracted packet for processing {"connection_id":188746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649744,"longitude_deg":75.6556608,"latitude_deg":11.9649744,"altitude":73,"angle":8,"satellites":45,"speed":10,"hex_longitude":"2d182340","hex_latitude":"0721b5d0","is_valid_coordinates":true} 
[2026-09-21 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234310656001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22420450839625728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236983296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:33:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977778000,"timestamp_ms":1789977778000,"timestamp_seconds":1789977778,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd5750"} 
[2026-09-21 13:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:33:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:33:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 13:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:33:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234310656001,"66":13972,"105":206,"83":41984,"24":10,"16":22420450839625728,"45":1739093174236983296},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234310656001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:33:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:33:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22420450839625728,"km_value":22420450839625.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236983296,"description":"Unknown IO ID 45"} 
[2026-09-21 13:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234310656001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739093174236983296}} 
[2026-09-21 13:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":188746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:33:50] local.INFO: GPS data processed {"connection_id":188746,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:33:50] local.INFO: Acknowledgment sent {"connection_id":188746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:34:03] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:03] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:03] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:34:03] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:34:08] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:08] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:34:08] local.INFO: IMEI packet received {"connection_id":191360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":191360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:34:09] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:09] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:09] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:09] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 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-09-21 13:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:34:09] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:34:09] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:34:13] local.INFO: TCP Data received {"connection_id":188590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:13] local.INFO: Processing buffer {"connection_id":188590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:13] local.INFO: IMEI packet received {"connection_id":188590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:34:18] local.INFO: TCP Data received {"connection_id":188590,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:18] local.INFO: Processing buffer {"connection_id":188590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:34:18] local.INFO: IMEI packet received {"connection_id":188590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":188590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:34:19] local.INFO: TCP Data received {"connection_id":188590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd6308012d1823800721b828004900202d..."} 
[2026-09-21 13:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd6308012d1823800721b828004900202d..."} 
[2026-09-21 13:34:19] local.INFO: Processing buffer {"connection_id":188590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd6308012d1823800721b828004900202d..."} 
[2026-09-21 13:34:19] local.INFO: Packet analysis {"connection_id":188590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:19] local.INFO: Extracted packet for processing {"connection_id":188590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119650344,"longitude_deg":75.6556672,"latitude_deg":11.9650344,"altitude":73,"angle":32,"satellites":45,"speed":8,"hex_longitude":"2d182380","hex_latitude":"0721b828","is_valid_coordinates":true} 
[2026-09-21 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234311168001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22420480904396800,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469655552,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789977781000,"timestamp_ms":1789977781000,"timestamp_seconds":1789977781,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd6308"} 
[2026-09-21 13:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234311168001,"66":13939,"105":206,"83":41984,"24":8,"16":22420480904396800,"45":1739304280469655552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234311168001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:34:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:34:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22420480904396800,"km_value":22420480904396.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469655552,"description":"Unknown IO ID 45"} 
[2026-09-21 13:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234311168001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739304280469655552}} 
[2026-09-21 13:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":188590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:34:19] local.INFO: GPS data processed {"connection_id":188590,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:34:19] local.INFO: Acknowledgment sent {"connection_id":188590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:34:26] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:26] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:26] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:34:27] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:27] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:27] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:34:31] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:31] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:34:31] local.INFO: IMEI packet received {"connection_id":191361,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":191361,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:34:32] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 13:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 13:34:32] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 13:34:32] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 13:34:32] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 13:34:32] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:32] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:34:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:34:32] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 13:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 13:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 13:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 13:34:32] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 13:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 13:34:32] local.ERROR: GPS data processing failed {"connection_id":191361,"error":"No valid data to process"} 
[2026-09-21 13:34:32] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 13:34:40] local.INFO: TCP Data received {"connection_id":191360,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:40] local.INFO: Processing buffer {"connection_id":191360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:34:40] local.INFO: Packet analysis {"connection_id":191360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:40] local.INFO: Extracted packet for processing {"connection_id":191360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":191360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:34:40] local.INFO: GPS data processed {"connection_id":191360,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:34:40] local.INFO: Acknowledgment sent {"connection_id":191360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:34:50] local.INFO: TCP Data received {"connection_id":188590,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd66f0012d1824400721b8b0004900392e..."} 
[2026-09-21 13:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd66f0012d1824400721b8b0004900392e..."} 
[2026-09-21 13:34:50] local.INFO: Processing buffer {"connection_id":188590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd66f0012d1824400721b8b0004900392e..."} 
[2026-09-21 13:34:50] local.INFO: Packet analysis {"connection_id":188590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:50] local.INFO: Extracted packet for processing {"connection_id":188590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650480,"longitude_deg":75.6556864,"latitude_deg":11.965048,"altitude":73,"angle":57,"satellites":46,"speed":8,"hex_longitude":"2d182440","hex_latitude":"0721b8b0","is_valid_coordinates":true} 
[2026-09-21 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234311936001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22420489494331392,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213986816,"note":"Value kept but may cause issues"} 
[2026-09-21 13:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789977782000,"timestamp_ms":1789977782000,"timestamp_seconds":1789977782,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd66f0"} 
[2026-09-21 13:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-21 13:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234311936001,"66":13961,"105":206,"83":41984,"24":8,"16":22420489494331392,"45":1739374649213986816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234311936001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:34:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:34:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22420489494331392,"km_value":22420489494331.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213986816,"description":"Unknown IO ID 45"} 
[2026-09-21 13:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234311936001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739374649213986816}} 
[2026-09-21 13:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":188590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:34:50] local.INFO: GPS data processed {"connection_id":188590,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:34:50] local.INFO: Acknowledgment sent {"connection_id":188590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:35:03] local.INFO: TCP Data received {"connection_id":190035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:03] local.INFO: Processing buffer {"connection_id":190035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:03] local.INFO: IMEI packet received {"connection_id":190035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":190035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:35:03] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 13:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 13:35:03] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 13:35:03] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 13:35:03] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 13:35:03] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:35:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:35:03] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 13:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 13:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 13:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 13:35:03] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 13:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 13:35:03] local.ERROR: GPS data processing failed {"connection_id":191361,"error":"No valid data to process"} 
[2026-09-21 13:35:03] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 13:35:08] local.INFO: TCP Data received {"connection_id":190035,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:08] local.INFO: Processing buffer {"connection_id":190035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:35:08] local.INFO: IMEI packet received {"connection_id":190035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":190035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:35:09] local.INFO: TCP Data received {"connection_id":190035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:09] local.INFO: Processing buffer {"connection_id":190035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:09] local.INFO: Packet analysis {"connection_id":190035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:09] local.INFO: Extracted packet for processing {"connection_id":190035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 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-09-21 13:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:35: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-09-21 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-09-21 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-09-21 13:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":190035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:35:09] local.INFO: GPS data processed {"connection_id":190035,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:35:09] local.INFO: Acknowledgment sent {"connection_id":190035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:35:12] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:12] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:12] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:35:17] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:17] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:35:17] local.INFO: IMEI packet received {"connection_id":188592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:35:18] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fda958012d1825000721b948004a00282f..."} 
[2026-09-21 13:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fda958012d1825000721b948004a00282f..."} 
[2026-09-21 13:35:18] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fda958012d1825000721b948004a00282f..."} 
[2026-09-21 13:35:18] local.INFO: Packet analysis {"connection_id":188592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:18] local.INFO: Extracted packet for processing {"connection_id":188592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119650632,"longitude_deg":75.6557056,"latitude_deg":11.9650632,"altitude":74,"angle":40,"satellites":47,"speed":5,"hex_longitude":"2d182500","hex_latitude":"0721b948","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234312192001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22420506674200576,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446554624,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789977799000,"timestamp_ms":1789977799000,"timestamp_seconds":1789977799,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fda958"} 
[2026-09-21 13:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 13:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234312192001,"66":13961,"105":206,"83":41984,"24":5,"16":22420506674200576,"45":1739585755446554624},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234312192001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22420506674200576,"km_value":22420506674200.574,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446554624,"description":"Unknown IO ID 45"} 
[2026-09-21 13:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234312192001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446554624}} 
[2026-09-21 13:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":188592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:35:18] local.INFO: GPS data processed {"connection_id":188592,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:35:18] local.INFO: Acknowledgment sent {"connection_id":188592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:35:34] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ff4f380100000000000000000000000000..."} 
[2026-09-21 13:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ff4f380100000000000000000000000000..."} 
[2026-09-21 13:35:34] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ff4f380100000000000000000000000000..."} 
[2026-09-21 13:35:34] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:35:34] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:35:34] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789977907000,"timestamp_ms":1789977907000,"timestamp_seconds":1789977907,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ff4f38"} 
[2026-09-21 13:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:35:34] 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-09-21 13:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-21 13:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:35:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:35:34] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:35:34] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:35:41] local.INFO: TCP Data received {"connection_id":190035,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:41] local.INFO: Processing buffer {"connection_id":190035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:35:41] local.INFO: Packet analysis {"connection_id":190035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:41] local.INFO: Extracted packet for processing {"connection_id":190035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35: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-09-21 13:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":190035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:35:41] local.INFO: GPS data processed {"connection_id":190035,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:35:41] local.INFO: Acknowledgment sent {"connection_id":190035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:35:45] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:35:45] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:35:45] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:35:49] local.INFO: TCP Data received {"connection_id":188592,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fdcc80012d182c000721c278004b00192f..."} 
[2026-09-21 13:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fdcc80012d182c000721c278004b00192f..."} 
[2026-09-21 13:35:49] local.INFO: Processing buffer {"connection_id":188592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fdcc80012d182c000721c278004b00192f..."} 
[2026-09-21 13:35:49] local.INFO: Packet analysis {"connection_id":188592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:49] local.INFO: Extracted packet for processing {"connection_id":188592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756558848,"raw_latitude":119652984,"longitude_deg":75.6558848,"latitude_deg":11.9652984,"altitude":75,"angle":25,"satellites":47,"speed":10,"hex_longitude":"2d182c00","hex_latitude":"0721c278","is_valid_coordinates":true} 
[2026-09-21 13:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234316544001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22420648408121344,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679126528,"note":"Value kept but may cause issues"} 
[2026-09-21 13:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789977808000,"timestamp_ms":1789977808000,"timestamp_seconds":1789977808,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fdcc80"} 
[2026-09-21 13:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 13:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234316544001,"66":14363,"105":206,"83":41984,"24":10,"16":22420648408121344,"45":1739796861679126528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234316544001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:35:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22420648408121344,"km_value":22420648408121.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679126528,"description":"Unknown IO ID 45"} 
[2026-09-21 13:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234316544001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1739796861679126528}} 
[2026-09-21 13:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":188592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:35:49] local.INFO: GPS data processed {"connection_id":188592,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:35:49] local.INFO: Acknowledgment sent {"connection_id":188592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:36:05] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2ffa1400100000000000000000000000000..."} 
[2026-09-21 13:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2ffa1400100000000000000000000000000..."} 
[2026-09-21 13:36:05] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2ffa1400100000000000000000000000000..."} 
[2026-09-21 13:36:05] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:36:05] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:36:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:05] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1789977928000,"timestamp_ms":1789977928000,"timestamp_seconds":1789977928,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2ffa140"} 
[2026-09-21 13:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:36:05] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:36:05] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:36:05] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:36:08] local.INFO: TCP Data received {"connection_id":188748,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:08] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:08] local.INFO: IMEI packet received {"connection_id":188748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:36:13] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:13] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:13] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:36:13] local.INFO: TCP Data received {"connection_id":188748,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:13] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:36:13] local.INFO: IMEI packet received {"connection_id":188748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:36:14] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:14] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:14] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:36:14] local.INFO: TCP Data received {"connection_id":188748,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:14] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:14] local.INFO: Packet analysis {"connection_id":188748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:36:14] local.INFO: Extracted packet for processing {"connection_id":188748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:36:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:36:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:36:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:36:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:36:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:36: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-09-21 13:36:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:36:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:36:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:36:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:36:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:36:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:36:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:36:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:36:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:36:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:36:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:36:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:36:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:36:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:36:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:36:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:36:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:36:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:36:14] local.INFO: DEBUG: GPS processor result {"connection_id":188748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:36:14] local.INFO: GPS data processed {"connection_id":188748,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:36:14] local.INFO: Acknowledgment sent {"connection_id":188748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:36:15] local.INFO: TCP Data received {"connection_id":191362,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191362,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:36:15] local.INFO: Processing buffer {"connection_id":191362,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:36:15] local.INFO: IMEI packet received {"connection_id":191362,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":191362,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:36:19] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:36:19] local.INFO: TCP Data received {"connection_id":188593,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: Processing buffer {"connection_id":188593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:36:19] local.INFO: IMEI packet received {"connection_id":188593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":188593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:36:20] local.INFO: TCP Data received {"connection_id":188748,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:20] local.INFO: Processing buffer {"connection_id":188748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:36:20] local.INFO: Packet analysis {"connection_id":188748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:36:20] local.INFO: Extracted packet for processing {"connection_id":188748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:36:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:36:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:36:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":188748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:36:20] local.INFO: GPS data processed {"connection_id":188748,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:36:20] local.INFO: Acknowledgment sent {"connection_id":188748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:36:36] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fff3480100000000000000000000000000..."} 
[2026-09-21 13:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fff3480100000000000000000000000000..."} 
[2026-09-21 13:36:36] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fff3480100000000000000000000000000..."} 
[2026-09-21 13:36:36] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:36:36] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2ff"} 
[2026-09-21 13:36:36] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:36:36] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1789977949000,"timestamp_ms":1789977949000,"timestamp_seconds":1789977949,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fff348"} 
[2026-09-21 13:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-09-21 13:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:36:36] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:36:36] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:37:03] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:03] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:03] local.INFO: IMEI packet received {"connection_id":188594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":188594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:37:08] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30045500100000000000000000000000000..."} 
[2026-09-21 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30045500100000000000000000000000000..."} 
[2026-09-21 13:37:08] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30045500100000000000000000000000000..."} 
[2026-09-21 13:37:08] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:37:08] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789977970000,"timestamp_ms":1789977970000,"timestamp_seconds":1789977970,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3004550"} 
[2026-09-21 13:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":4864,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-21 13:37:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:37:08] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:37:08] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:37:08] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:08] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:37:08] local.INFO: IMEI packet received {"connection_id":188594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:37:09] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:09] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:09] local.INFO: Packet analysis {"connection_id":188594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:09] local.INFO: Extracted packet for processing {"connection_id":188594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 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-09-21 13:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 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-09-21 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-09-21 13:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":188594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:37:09] local.INFO: GPS data processed {"connection_id":188594,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:37:09] local.INFO: Acknowledgment sent {"connection_id":188594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:37:13] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:13] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:13] local.INFO: Packet analysis {"connection_id":188594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:13] local.INFO: Extracted packet for processing {"connection_id":188594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:13] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:37:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:37:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:37:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:37:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:37:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:37:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:37:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:37:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:37:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:37:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:37:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:37:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:37:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:37:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:37:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:37:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:37:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:37:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:37:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:37:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:37:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:37:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":188594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:37:13] local.INFO: GPS data processed {"connection_id":188594,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:37:13] local.INFO: Acknowledgment sent {"connection_id":188594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:37:39] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30097580100000000000000000000000000..."} 
[2026-09-21 13:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30097580100000000000000000000000000..."} 
[2026-09-21 13:37:39] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30097580100000000000000000000000000..."} 
[2026-09-21 13:37:39] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:37:39] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:37:39] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,109,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789977991000,"timestamp_ms":1789977991000,"timestamp_seconds":1789977991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3009758"} 
[2026-09-21 13:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:37:39] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432129,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-2183359612902703104,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133468930441282,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18628531601604608,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1298989262,"corrected_to":0} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":183,"raw_value":2550202368,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835469387268112,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":225,"raw_value":3005612032,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-8286397914477965824,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:39] local.INFO: IO Element Parsed {"io_data_count":27,"io_data_keys":[0,109,85,24,241,157,16,179,160,243,10,66,161,79,1,240,148,227,4,113,205,183,239,2,53,225,46],"length":577,"final_offset":707,"validated_count":27,"validation_warnings":[{"io_id":205,"original":1298989262,"validated":0}]} 
[2026-09-21 13:37:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":0,"timestamp_seconds":0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:37:39] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:37:39] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:37:45] local.INFO: TCP Data received {"connection_id":188594,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:45] local.INFO: Processing buffer {"connection_id":188594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:37:45] local.INFO: Packet analysis {"connection_id":188594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:45] local.INFO: Extracted packet for processing {"connection_id":188594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:37:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:37:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:37: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-09-21 13: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-09-21 13:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:37:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":188594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:37:45] local.INFO: GPS data processed {"connection_id":188594,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:37:45] local.INFO: Acknowledgment sent {"connection_id":188594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:38:03] local.INFO: TCP Data received {"connection_id":190037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:03] local.INFO: Processing buffer {"connection_id":190037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:03] local.INFO: IMEI packet received {"connection_id":190037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":190037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:38:08] local.INFO: TCP Data received {"connection_id":190037,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:08] local.INFO: Processing buffer {"connection_id":190037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:38:08] local.INFO: IMEI packet received {"connection_id":190037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":190037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:38:10] local.INFO: TCP Data received {"connection_id":190037,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:38:10] local.INFO: Processing buffer {"connection_id":190037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c2fd2c58012d34c04006aa41300008000c2e..."} 
[2026-09-21 13:38:10] local.INFO: Packet analysis {"connection_id":190037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:38:10] local.INFO: Extracted packet for processing {"connection_id":190037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c2fd"} 
[2026-09-21 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:38:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234231296001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789977767000,"timestamp_ms":1789977767000,"timestamp_seconds":1789977767,"priority":1,"record_length":96,"hex_timestamp":"000001a0c2fd2c58"} 
[2026-09-21 13:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 13:38: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-09-21 13: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-09-21 13:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234231296001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:38:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:38:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234231296001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:38:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:38:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:38:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:38:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:38:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234231296001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":190037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:38:10] local.INFO: GPS data processed {"connection_id":190037,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:38:10] local.INFO: Acknowledgment sent {"connection_id":190037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:38:10] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c300e9600100000000000000000000000000..."} 
[2026-09-21 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c300e9600100000000000000000000000000..."} 
[2026-09-21 13:38:10] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c300e9600100000000000000000000000000..."} 
[2026-09-21 13:38:10] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:38:10] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c300"} 
[2026-09-21 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:38:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:38:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789978012000,"timestamp_ms":1789978012000,"timestamp_seconds":1789978012,"priority":1,"record_length":96,"hex_timestamp":"000001a0c300e960"} 
[2026-09-21 13:38:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:38:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7168,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-09-21 13:38:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1165,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:38:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:38:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:38:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:38:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:38:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:38:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:38:10] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:38:10] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:38:10] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:38:10] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:38:41] local.INFO: TCP Data received {"connection_id":190037,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:38:41] local.INFO: Processing buffer {"connection_id":190037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:38:41] local.INFO: Packet analysis {"connection_id":190037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:38:41] local.INFO: Extracted packet for processing {"connection_id":190037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":190037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:38:41] local.INFO: GPS data processed {"connection_id":190037,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:38:41] local.INFO: Acknowledgment sent {"connection_id":190037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:38:41] local.INFO: TCP Data received {"connection_id":191361,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3013b680100000000000000000000000000..."} 
[2026-09-21 13:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191361,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3013b680100000000000000000000000000..."} 
[2026-09-21 13:38:41] local.INFO: Processing buffer {"connection_id":191361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3013b680100000000000000000000000000..."} 
[2026-09-21 13:38:41] local.INFO: Packet analysis {"connection_id":191361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:38:41] local.INFO: Extracted packet for processing {"connection_id":191361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:38:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978033000,"timestamp_ms":1789978033000,"timestamp_seconds":1789978033,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3013b68"} 
[2026-09-21 13:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-09-21 13:38:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1503,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191361,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191361,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:38:41] local.INFO: GPS data processed {"connection_id":191361,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:38:41] local.INFO: Acknowledgment sent {"connection_id":191361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:39:03] local.INFO: TCP Data received {"connection_id":188751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:03] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:03] local.INFO: IMEI packet received {"connection_id":188751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:39:03] local.INFO: IMEI acknowledgment sent {"connection_id":188751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:39:06] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:06] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:06] local.INFO: IMEI packet received {"connection_id":190038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":190038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:39:08] local.INFO: TCP Data received {"connection_id":188751,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:08] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:39:08] local.INFO: IMEI packet received {"connection_id":188751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":188751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:39:09] local.INFO: TCP Data received {"connection_id":188751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:09] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:09] local.INFO: Packet analysis {"connection_id":188751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:09] local.INFO: Extracted packet for processing {"connection_id":188751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13: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-09-21 13: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-09-21 13:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":188751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:39:09] local.INFO: GPS data processed {"connection_id":188751,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:39:09] local.INFO: Acknowledgment sent {"connection_id":188751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:39:10] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:10] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:39:10] local.INFO: IMEI packet received {"connection_id":190038,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":190038,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:39:11] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3018d700100000000000000000000000000..."} 
[2026-09-21 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3018d700100000000000000000000000000..."} 
[2026-09-21 13:39:11] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3018d700100000000000000000000000000..."} 
[2026-09-21 13:39:11] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:11] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586439587954688,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789978054000,"timestamp_ms":1789978054000,"timestamp_seconds":1789978054,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3018d70"} 
[2026-09-21 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-09-21 13:39:11] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-21 13:39:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 13:39:11] local.INFO: GPS data processed {"connection_id":190038,"processed":0,"errors":0,"total":1} 
[2026-09-21 13:39:11] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:39:40] local.INFO: TCP Data received {"connection_id":188751,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188751,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:40] local.INFO: Processing buffer {"connection_id":188751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:39:40] local.INFO: Packet analysis {"connection_id":188751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:40] local.INFO: Extracted packet for processing {"connection_id":188751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":188751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:39:40] local.INFO: GPS data processed {"connection_id":188751,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:39:40] local.INFO: Acknowledgment sent {"connection_id":188751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:39:42] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3031be0012d7dfe8005d50bb00000012218..."} 
[2026-09-21 13:39:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3031be0012d7dfe8005d50bb00000012218..."} 
[2026-09-21 13:39:42] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3031be0012d7dfe8005d50bb00000012218..."} 
[2026-09-21 13:39:42] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:39:42] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":763231872,"raw_latitude":97848240,"longitude_deg":76.3231872,"latitude_deg":9.784824,"altitude":0,"angle":290,"satellites":24,"speed":3,"hex_longitude":"2d7dfe80","hex_latitude":"05d50bb0","is_valid_coordinates":true} 
[2026-09-21 13:39:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:39:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234407168001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586645746384896,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079116136339681280,"note":"Value kept but may cause issues"} 
[2026-09-21 13:39:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:39:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978156000,"timestamp_ms":1789978156000,"timestamp_seconds":1789978156,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3031be0"} 
[2026-09-21 13:39:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:39:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-09-21 13:39:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:39:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:39:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:39:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:39:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:39:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:39:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:39:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:39:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:39:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:39:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234407168001,"66":13559,"111":206,"85":15104,"24":3,"16":135586645746384896,"45":9079116136339681280},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:39:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:39:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:39:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234407168001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:39:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:39:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:39:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586645746384896,"km_value":135586645746384.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:39:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079116136339681280,"description":"Unknown IO ID 45"} 
[2026-09-21 13:39:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234407168001,"power":13559,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079116136339681280}} 
[2026-09-21 13:39:42] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876422,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:39:42] local.INFO: GPS data processed {"connection_id":190038,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:39:42] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:40:03] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:03] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:03] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:40:08] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:08] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:40:08] local.INFO: IMEI packet received {"connection_id":188596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:40:09] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:09] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:09] local.INFO: Packet analysis {"connection_id":188596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:40:09] local.INFO: Extracted packet for processing {"connection_id":188596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 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-09-21 13:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 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-09-21 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-09-21 13:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:40:09] local.INFO: GPS data processed {"connection_id":188596,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:40:09] local.INFO: Acknowledgment sent {"connection_id":188596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:40:13] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30323b0012d7dfe4005d50bc00000011518..."} 
[2026-09-21 13:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30323b0012d7dfe4005d50bc00000011518..."} 
[2026-09-21 13:40:13] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30323b0012d7dfe4005d50bc00000011518..."} 
[2026-09-21 13:40:13] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:40:13] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:40:13] local.INFO: GPS Element Parsed {"raw_longitude":763231808,"raw_latitude":97848256,"longitude_deg":76.3231808,"latitude_deg":9.7848256,"altitude":0,"angle":277,"satellites":24,"speed":1,"hex_longitude":"2d7dfe40","hex_latitude":"05d50bc0","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234407936001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586650041352192,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9078834661363003392,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789978158000,"timestamp_ms":1789978158000,"timestamp_seconds":1789978158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30323b0"} 
[2026-09-21 13:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-21 13:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234407936001,"66":13526,"111":206,"85":15104,"24":1,"16":135586650041352192,"45":9078834661363003392},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234407936001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:40:13] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:40:13] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586650041352192,"km_value":135586650041352.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:40:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":9078834661363003392,"description":"Unknown IO ID 45"} 
[2026-09-21 13:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234407936001,"power":13526,"unknown_111":206,"unknown_85":15104,"ignition":1,"odometer":null,"unknown_45":9078834661363003392}} 
[2026-09-21 13:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876424,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:40:13] local.INFO: GPS data processed {"connection_id":190038,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:40:13] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:40:43] local.INFO: TCP Data received {"connection_id":188596,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:43] local.INFO: Processing buffer {"connection_id":188596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:40:43] local.INFO: Packet analysis {"connection_id":188596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:40:43] local.INFO: Extracted packet for processing {"connection_id":188596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:40:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:40: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-09-21 13:40:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:40:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:40:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":188596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:40:43] local.INFO: GPS data processed {"connection_id":188596,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:40:43] local.INFO: Acknowledgment sent {"connection_id":188596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:40:44] local.INFO: TCP Data received {"connection_id":190038,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3044c90012d7e034005d503e80000003a19..."} 
[2026-09-21 13:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3044c90012d7e034005d503e80000003a19..."} 
[2026-09-21 13:40:44] local.INFO: Processing buffer {"connection_id":190038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3044c90012d7e034005d503e80000003a19..."} 
[2026-09-21 13:40:44] local.INFO: Packet analysis {"connection_id":190038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:40:44] local.INFO: Extracted packet for processing {"connection_id":190038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:40:44] local.INFO: GPS Element Parsed {"raw_longitude":763233088,"raw_latitude":97846248,"longitude_deg":76.3233088,"latitude_deg":9.7846248,"altitude":0,"angle":58,"satellites":25,"speed":3,"hex_longitude":"2d7e0340","hex_latitude":"05d503e8","is_valid_coordinates":true} 
[2026-09-21 13:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234427392001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586864789716992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9079960561269299200,"note":"Value kept but may cause issues"} 
[2026-09-21 13:40:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789978234000,"timestamp_ms":1789978234000,"timestamp_seconds":1789978234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3044c90"} 
[2026-09-21 13:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:40:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:40:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-21 13:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:40:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":190038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":190038,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234427392001,"66":13678,"111":206,"85":15104,"24":3,"16":135586864789716992,"45":9079960561269299200},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234427392001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:40:44] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:40:44] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586864789716992,"km_value":135586864789716.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":9079960561269299200,"description":"Unknown IO ID 45"} 
[2026-09-21 13:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234427392001,"power":13678,"unknown_111":206,"unknown_85":15104,"ignition":3,"odometer":null,"unknown_45":9079960561269299200}} 
[2026-09-21 13:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":190038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876426,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:40:44] local.INFO: GPS data processed {"connection_id":190038,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:40:44] local.INFO: Acknowledgment sent {"connection_id":190038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:06] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:06] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:06] local.INFO: IMEI packet received {"connection_id":191366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":191366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:41:08] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:08] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:08] local.INFO: IMEI packet received {"connection_id":188752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":188752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:41:11] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:11] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:41:11] local.INFO: IMEI packet received {"connection_id":191366,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":191366,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:41:12] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:12] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:12] local.INFO: Packet analysis {"connection_id":191366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:12] local.INFO: Extracted packet for processing {"connection_id":191366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234427904001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080171667501869056,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234427904001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080171667501869056},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234427904001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:41:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080171667501869056,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234427904001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080171667501869056}} 
[2026-09-21 13:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":191366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876427,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:12] local.INFO: GPS data processed {"connection_id":191366,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:12] local.INFO: Acknowledgment sent {"connection_id":191366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:14] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:14] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:41:14] local.INFO: IMEI packet received {"connection_id":188752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:41:15] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:15] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:15] local.INFO: Packet analysis {"connection_id":188752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:41:15] local.INFO: Extracted packet for processing {"connection_id":188752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:41:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41: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-09-21 13:41:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:41:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:41:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:41:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:41:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:41:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:41:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:41:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:41:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:41:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:41:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:41:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:41:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:41:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:41:15] local.INFO: DEBUG: GPS processor result {"connection_id":188752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:15] local.INFO: GPS data processed {"connection_id":188752,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:15] local.INFO: Acknowledgment sent {"connection_id":188752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:20] local.INFO: TCP Data received {"connection_id":188752,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:20] local.INFO: Processing buffer {"connection_id":188752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:41:20] local.INFO: Packet analysis {"connection_id":188752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:41:20] local.INFO: Extracted packet for processing {"connection_id":188752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:41:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:41:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:41:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:41:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:41:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:41:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:41:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:41:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:41:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:41:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:41:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:41:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:41:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:41:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:41:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:41:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:41:20] local.INFO: DEBUG: GPS processor result {"connection_id":188752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:20] local.INFO: GPS data processed {"connection_id":188752,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:20] local.INFO: Acknowledgment sent {"connection_id":188752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:22] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:41:22] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:41:22] local.INFO: IMEI packet received {"connection_id":188753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":188753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:41:23] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c303f2b8012d194e00072124f0003500c828..."} 
[2026-09-21 13:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c303f2b8012d194e00072124f0003500c828..."} 
[2026-09-21 13:41:23] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c303f2b8012d194e00072124f0003500c828..."} 
[2026-09-21 13:41:23] local.INFO: Packet analysis {"connection_id":188753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:41:23] local.INFO: Extracted packet for processing {"connection_id":188753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c303"} 
[2026-09-21 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756633088,"raw_latitude":119612656,"longitude_deg":75.6633088,"latitude_deg":11.9612656,"altitude":53,"angle":200,"satellites":40,"speed":0,"hex_longitude":"2d194e00","hex_latitude":"072124f0","is_valid_coordinates":true} 
[2026-09-21 13:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234416640001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22426197505867776,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1823746773473667072,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789978211000,"timestamp_ms":1789978211000,"timestamp_seconds":1789978211,"priority":1,"record_length":96,"hex_timestamp":"000001a0c303f2b8"} 
[2026-09-21 13:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:41:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234416640001,"66":14341,"103":206,"83":41984,"24":0,"16":22426197505867776,"45":1823746773473667072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234416640001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:23] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22426197505867776,"km_value":22426197505867.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1823746773473667072,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234416640001,"power":14341,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1823746773473667072}} 
[2026-09-21 13:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":188753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:23] local.INFO: GPS data processed {"connection_id":188753,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:23] local.INFO: Acknowledgment sent {"connection_id":188753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:40] local.INFO: TCP Data received {"connection_id":190040,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190040,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:41:40] local.INFO: Processing buffer {"connection_id":190040,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:41:40] local.INFO: IMEI packet received {"connection_id":190040,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":190040,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:41:43] local.INFO: TCP Data received {"connection_id":191366,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:43] local.INFO: Processing buffer {"connection_id":191366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:41:43] local.INFO: Packet analysis {"connection_id":191366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:43] local.INFO: Extracted packet for processing {"connection_id":191366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:41:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:41:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191366,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:41:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":191366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876431,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:43] local.INFO: GPS data processed {"connection_id":191366,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:43] local.INFO: Acknowledgment sent {"connection_id":191366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:41:55] local.INFO: TCP Data received {"connection_id":188753,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c304dd18012d19290007213738003a01232b..."} 
[2026-09-21 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c304dd18012d19290007213738003a01232b..."} 
[2026-09-21 13:41:55] local.INFO: Processing buffer {"connection_id":188753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c304dd18012d19290007213738003a01232b..."} 
[2026-09-21 13:41:55] local.INFO: Packet analysis {"connection_id":188753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:55] local.INFO: Extracted packet for processing {"connection_id":188753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756623616,"raw_latitude":119617336,"longitude_deg":75.6623616,"latitude_deg":11.9617336,"altitude":58,"angle":291,"satellites":43,"speed":11,"hex_longitude":"2d192900","hex_latitude":"07213738","is_valid_coordinates":true} 
[2026-09-21 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234436864001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22426781621420032,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1813472936824559616,"note":"Value kept but may cause issues"} 
[2026-09-21 13:41:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789978271000,"timestamp_ms":1789978271000,"timestamp_seconds":1789978271,"priority":1,"record_length":96,"hex_timestamp":"000001a0c304dd18"} 
[2026-09-21 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-21 13:41:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234436864001,"66":14298,"103":206,"83":41984,"24":11,"16":22426781621420032,"45":1813472936824559616},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234436864001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:41:55] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:41:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22426781621420032,"km_value":22426781621420.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1813472936824559616,"description":"Unknown IO ID 45"} 
[2026-09-21 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234436864001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1813472936824559616}} 
[2026-09-21 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":188753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:41:55] local.INFO: GPS data processed {"connection_id":188753,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:41:55] local.INFO: Acknowledgment sent {"connection_id":188753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:03] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:03] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:03] local.INFO: IMEI packet received {"connection_id":190041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":190041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:42:06] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:06] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:06] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:42:08] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:08] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:42:08] local.INFO: IMEI packet received {"connection_id":190041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":190041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:42:09] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:09] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:09] local.INFO: Packet analysis {"connection_id":190041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:42:09] local.INFO: Extracted packet for processing {"connection_id":190041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":190041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:09] local.INFO: GPS data processed {"connection_id":190041,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:09] local.INFO: Acknowledgment sent {"connection_id":190041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:11] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:11] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:42:11] local.INFO: IMEI packet received {"connection_id":188597,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":188597,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:42:11] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:11] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:11] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:11] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:42:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:42:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:42:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:42:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:42:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:42:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:42:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:42:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:42:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:42:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:42:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:42:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876434,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:12] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:12] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:13] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:13] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:13] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:42:14] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:14] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:14] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:42:15] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:15] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:42:15] local.INFO: IMEI packet received {"connection_id":191367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":191367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:42:15] local.INFO: TCP Data received {"connection_id":191368,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:42:15] local.INFO: Processing buffer {"connection_id":191368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:42:15] local.INFO: IMEI packet received {"connection_id":191368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":191368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:42:15] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c304e100012d1927c007213758003a01112a..."} 
[2026-09-21 13:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c304e100012d1927c007213758003a01112a..."} 
[2026-09-21 13:42:15] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c304e100012d1927c007213758003a01112a..."} 
[2026-09-21 13:42:15] local.INFO: Packet analysis {"connection_id":191367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:15] local.INFO: Extracted packet for processing {"connection_id":191367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119617368,"longitude_deg":75.6623296,"latitude_deg":11.9617368,"altitude":58,"angle":273,"satellites":42,"speed":10,"hex_longitude":"2d1927c0","hex_latitude":"07213758","is_valid_coordinates":true} 
[2026-09-21 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234437376001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22426794506321920,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812980355615373312,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:42:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789978272000,"timestamp_ms":1789978272000,"timestamp_seconds":1789978272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c304e100"} 
[2026-09-21 13:42:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:42:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:42:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:42:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:42:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:42:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234437376001,"66":13439,"103":206,"83":41984,"24":10,"16":22426794506321920,"45":1812980355615373312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:42:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:42:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:42:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234437376001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:15] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:42:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:42:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22426794506321920,"km_value":22426794506321.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812980355615373312,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234437376001,"power":13439,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1812980355615373312}} 
[2026-09-21 13:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":191367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:16] local.INFO: GPS data processed {"connection_id":191367,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:16] local.INFO: Acknowledgment sent {"connection_id":191367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:41] local.INFO: TCP Data received {"connection_id":190041,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:41] local.INFO: Processing buffer {"connection_id":190041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:42:41] local.INFO: Packet analysis {"connection_id":190041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:42:41] local.INFO: Extracted packet for processing {"connection_id":190041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42: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-09-21 13:42:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:42:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:42:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:42:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:42:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:42:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:42:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:42:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:42:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:42:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:42:41] local.INFO: DEBUG: GPS processor result {"connection_id":190041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:41] local.INFO: GPS data processed {"connection_id":190041,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:41] local.INFO: Acknowledgment sent {"connection_id":190041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:42] local.INFO: TCP Data received {"connection_id":188597,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:42] local.INFO: Processing buffer {"connection_id":188597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:42:42] local.INFO: Packet analysis {"connection_id":188597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:42] local.INFO: Extracted packet for processing {"connection_id":188597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188597,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:42:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":188597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876437,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:42] local.INFO: GPS data processed {"connection_id":188597,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:42] local.INFO: Acknowledgment sent {"connection_id":188597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:42:47] local.INFO: TCP Data received {"connection_id":191367,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3059898012d19060007213d300041013026..."} 
[2026-09-21 13:42:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3059898012d19060007213d300041013026..."} 
[2026-09-21 13:42:47] local.INFO: Processing buffer {"connection_id":191367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3059898012d19060007213d300041013026..."} 
[2026-09-21 13:42:47] local.INFO: Packet analysis {"connection_id":191367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:42:47] local.INFO: Extracted packet for processing {"connection_id":191367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:42:47] local.INFO: GPS Element Parsed {"raw_longitude":756614656,"raw_latitude":119618864,"longitude_deg":75.6614656,"latitude_deg":11.9618864,"altitude":65,"angle":304,"satellites":38,"speed":10,"hex_longitude":"2d190600","hex_latitude":"07213d30","is_valid_coordinates":true} 
[2026-09-21 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:42:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22427266952724480,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803832418872569856,"note":"Value kept but may cause issues"} 
[2026-09-21 13:42:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:42:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789978319000,"timestamp_ms":1789978319000,"timestamp_seconds":1789978319,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3059898"} 
[2026-09-21 13:42:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:42:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:42:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:42:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:42:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:42:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:42:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:42:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:42:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:42:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:42:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:42:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:42:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:42:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234448896001,"66":13972,"103":206,"83":41984,"24":10,"16":22427266952724480,"45":1803832418872569856},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:42:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:42:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:42:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:42:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:42:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:42:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22427266952724480,"km_value":22427266952724.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:42:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803832418872569856,"description":"Unknown IO ID 45"} 
[2026-09-21 13:42:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234448896001,"power":13972,"unknown_103":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1803832418872569856}} 
[2026-09-21 13:42:47] local.INFO: DEBUG: GPS processor result {"connection_id":191367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:42:47] local.INFO: GPS data processed {"connection_id":191367,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:42:47] local.INFO: Acknowledgment sent {"connection_id":191367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:03] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:03] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:03] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:43:08] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:08] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:43:08] local.INFO: IMEI packet received {"connection_id":191369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":191369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:43:09] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:43:09] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c301c420012d34c04006aa41300008000c2f..."} 
[2026-09-21 13:43:09] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:43:09] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c301"} 
[2026-09-21 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234308352001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978068000,"timestamp_ms":1789978068000,"timestamp_seconds":1789978068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c301c420"} 
[2026-09-21 13:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234308352001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234308352001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234308352001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:09] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:09] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:11] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:11] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:11] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:43:11] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:11] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:11] local.INFO: IMEI packet received {"connection_id":188754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":188754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:43:12] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:12] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:12] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:43:15] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:15] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:15] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:43:16] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:16] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:43:16] local.INFO: IMEI packet received {"connection_id":188754,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":188754,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:43:16] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:16] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:43:16] local.INFO: IMEI packet received {"connection_id":190042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":190042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:43:17] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:17] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:17] local.INFO: Packet analysis {"connection_id":188754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:43:17] local.INFO: Extracted packet for processing {"connection_id":188754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":188754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876440,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:17] local.INFO: GPS data processed {"connection_id":188754,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:17] local.INFO: Acknowledgment sent {"connection_id":188754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:17] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c305a068012d19048007213ee00041013d27..."} 
[2026-09-21 13:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c305a068012d19048007213ee00041013d27..."} 
[2026-09-21 13:43:17] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c305a068012d19048007213ee00041013d27..."} 
[2026-09-21 13:43:17] local.INFO: Packet analysis {"connection_id":190042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:43:17] local.INFO: Extracted packet for processing {"connection_id":190042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756614272,"raw_latitude":119619296,"longitude_deg":75.6614272,"latitude_deg":11.9619296,"altitude":65,"angle":317,"satellites":39,"speed":11,"hex_longitude":"2d190480","hex_latitude":"07213ee0","is_valid_coordinates":true} 
[2026-09-21 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234449664001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22427292722528256,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803128731430891520,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789978321000,"timestamp_ms":1789978321000,"timestamp_seconds":1789978321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c305a068"} 
[2026-09-21 13:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234449664001,"66":13993,"103":206,"83":41984,"24":11,"16":22427292722528256,"45":1803128731430891520},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234449664001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22427292722528256,"km_value":22427292722528.258,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803128731430891520,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234449664001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1803128731430891520}} 
[2026-09-21 13:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":190042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:17] local.INFO: GPS data processed {"connection_id":190042,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:17] local.INFO: Acknowledgment sent {"connection_id":190042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:18] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c305a838012d1902c0072141480041014927..."} 
[2026-09-21 13:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c305a838012d1902c0072141480041014927..."} 
[2026-09-21 13:43:18] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c305a838012d1902c0072141480041014927..."} 
[2026-09-21 13:43:18] local.INFO: Packet analysis {"connection_id":190042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:43:18] local.INFO: Extracted packet for processing {"connection_id":190042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c305"} 
[2026-09-21 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756613824,"raw_latitude":119619912,"longitude_deg":75.6613824,"latitude_deg":11.9619912,"altitude":65,"angle":329,"satellites":39,"speed":15,"hex_longitude":"2d1902c0","hex_latitude":"07214148","is_valid_coordinates":true} 
[2026-09-21 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234450176001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22427331377233920,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1802706518965936128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789978323000,"timestamp_ms":1789978323000,"timestamp_seconds":1789978323,"priority":1,"record_length":96,"hex_timestamp":"000001a0c305a838"} 
[2026-09-21 13:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234450176001,"66":13961,"103":206,"83":41984,"24":15,"16":22427331377233920,"45":1802706518965936128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 13:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234450176001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 13:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22427331377233920,"km_value":22427331377233.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1802706518965936128,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234450176001,"power":13961,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1802706518965936128}} 
[2026-09-21 13:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":190042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:18] local.INFO: GPS data processed {"connection_id":190042,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:18] local.INFO: Acknowledgment sent {"connection_id":190042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:41] local.INFO: TCP Data received {"connection_id":191369,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:43:41] local.INFO: Processing buffer {"connection_id":191369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:43:41] local.INFO: Packet analysis {"connection_id":191369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:43:41] local.INFO: Extracted packet for processing {"connection_id":191369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:41] 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-09-21 13: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-09-21 13:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":191369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:41] local.INFO: GPS data processed {"connection_id":191369,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:41] local.INFO: Acknowledgment sent {"connection_id":191369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:48] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:48] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:43:48] local.INFO: Packet analysis {"connection_id":188754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:43:48] local.INFO: Extracted packet for processing {"connection_id":188754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:43:48] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:43:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:43:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:43:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:43:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188754,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:43:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:43:48] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:43:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:43:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:43:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:43:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:48] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:43:48] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:43:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:43:48] local.INFO: DEBUG: GPS processor result {"connection_id":188754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876444,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:48] local.INFO: GPS data processed {"connection_id":188754,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:48] local.INFO: Acknowledgment sent {"connection_id":188754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:43:50] local.INFO: TCP Data received {"connection_id":190042,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3068eb0012d18c400072153280044012429..."} 
[2026-09-21 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190042,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3068eb0012d18c400072153280044012429..."} 
[2026-09-21 13:43:50] local.INFO: Processing buffer {"connection_id":190042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3068eb0012d18c400072153280044012429..."} 
[2026-09-21 13:43:50] local.INFO: Packet analysis {"connection_id":190042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:43:50] local.INFO: Extracted packet for processing {"connection_id":190042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756597760,"raw_latitude":119624488,"longitude_deg":75.659776,"latitude_deg":11.9624488,"altitude":68,"angle":292,"satellites":41,"speed":9,"hex_longitude":"2d18c400","hex_latitude":"07215328","is_valid_coordinates":true} 
[2026-09-21 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234461184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22428198960627712,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519898736640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:43:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978382000,"timestamp_ms":1789978382000,"timestamp_seconds":1789978382,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3068eb0"} 
[2026-09-21 13:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:43:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 13:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:43:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234461184001,"66":14352,"106":206,"83":41984,"24":9,"16":22428198960627712,"45":1791447519898736640},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234461184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:43:50] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:43:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22428198960627712,"km_value":22428198960627.71,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519898736640,"description":"Unknown IO ID 45"} 
[2026-09-21 13:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234461184001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1791447519898736640}} 
[2026-09-21 13:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":190042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:43:50] local.INFO: GPS data processed {"connection_id":190042,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:43:50] local.INFO: Acknowledgment sent {"connection_id":190042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:03] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:03] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:03] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:44:06] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:06] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:06] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:44:08] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:08] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:44:08] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:44:09] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:09] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:09] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:09] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 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-09-21 13:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:44: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-09-21 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-09-21 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-09-21 13:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:09] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:09] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:11] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:11] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:44:11] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:44:11] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:11] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:11] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:44:11] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:44:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:44:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:44:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876447,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:11] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:11] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:12] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:12] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:12] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:44:13] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:13] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:13] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:44:16] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:16] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:16] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:44:17] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:17] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:44:17] local.INFO: IMEI packet received {"connection_id":188598,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":188598,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:44:18] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3069298012d18c300072153b00044013229..."} 
[2026-09-21 13:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3069298012d18c300072153b00044013229..."} 
[2026-09-21 13:44:18] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3069298012d18c300072153b00044013229..."} 
[2026-09-21 13:44:18] local.INFO: Packet analysis {"connection_id":188598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:18] local.INFO: Extracted packet for processing {"connection_id":188598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756597504,"raw_latitude":119624624,"longitude_deg":75.6597504,"latitude_deg":11.9624624,"altitude":68,"angle":306,"satellites":41,"speed":12,"hex_longitude":"2d18c300","hex_latitude":"072153b0","is_valid_coordinates":true} 
[2026-09-21 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234465792001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22428211845529600,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382969427968,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789978383000,"timestamp_ms":1789978383000,"timestamp_seconds":1789978383,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3069298"} 
[2026-09-21 13:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1585259229235642304,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3271961864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":371547016502706186,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503941848563712,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639410753796199,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3221692749,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2918973440,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84751340890693964,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.WARNING: Large IO value detected {"io_id":96,"raw_value":18015571723422720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,174,160,72,45,128,81,64,42,10,66,103,68,43,192,1,240,38,227,195,33,4,113,205,9,48,224,41,239,56,2,79,7,8,206,104,96],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 13:44:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900237628068659200,"timestamp_seconds":4900237628068659.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234465792001,"66":14352,"106":206,"83":41984,"24":12,"16":22428211845529600,"45":1784551382969427968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234465792001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22428211845529600,"km_value":22428211845529.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382969427968,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234465792001,"power":14352,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1784551382969427968}} 
[2026-09-21 13:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":188598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:18] local.INFO: GPS data processed {"connection_id":188598,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:18] local.INFO: Acknowledgment sent {"connection_id":188598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:23] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3069a68012d18c100072155c00045014128..."} 
[2026-09-21 13:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3069a68012d18c100072155c00045014128..."} 
[2026-09-21 13:44:23] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3069a68012d18c100072155c00045014128..."} 
[2026-09-21 13:44:23] local.INFO: Packet analysis {"connection_id":188598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:23] local.INFO: Extracted packet for processing {"connection_id":188598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":756596992,"raw_latitude":119625152,"longitude_deg":75.6596992,"latitude_deg":11.9625152,"altitude":69,"angle":321,"satellites":40,"speed":16,"hex_longitude":"2d18c100","hex_latitude":"072155c0","is_valid_coordinates":true} 
[2026-09-21 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234466048001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22428250500235264,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784269907992752128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:44:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789978385000,"timestamp_ms":1789978385000,"timestamp_seconds":1789978385,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3069a68"} 
[2026-09-21 13:44:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:44:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142272,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-1927532800917897152,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3271962864,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1236519624229519370,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503941848760320,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639178825562215,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5404583439934750976,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":224,"raw_value":2147950926,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":8,"raw_value":84751324784566604,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2919104512,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.WARNING: Large IO value detected {"io_id":192,"raw_value":18015674802636800,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:23] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,174,160,142,45,68,41,10,66,72,128,81,64,42,103,1,240,38,227,195,33,4,113,205,12,52,224,8,239,56,2,79,7,206,192],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 13:44:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4900253021231644672,"timestamp_seconds":4900253021231645.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 13:44:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:44:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:44:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234466048001,"66":14363,"106":206,"83":41984,"24":16,"16":22428250500235264,"45":1784269907992752128},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:44:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:44:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:44:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234466048001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:44:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:44:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22428250500235264,"km_value":22428250500235.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784269907992752128,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234466048001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1784269907992752128}} 
[2026-09-21 13:44:23] local.INFO: DEBUG: GPS processor result {"connection_id":188598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:23] local.INFO: GPS data processed {"connection_id":188598,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:23] local.INFO: Acknowledgment sent {"connection_id":188598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:41] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:41] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:44:41] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:41] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44: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-09-21 13:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:41] 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-09-21 13:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:41] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:41] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:42] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:42] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:44:42] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:44:42] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:44:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:44:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876451,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:42] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:42] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:44:54] local.INFO: TCP Data received {"connection_id":188598,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188598,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:44:54] local.INFO: Processing buffer {"connection_id":188598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:44:54] local.INFO: Packet analysis {"connection_id":188598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:54] local.INFO: Extracted packet for processing {"connection_id":188598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632560,"longitude_deg":75.6591104,"latitude_deg":11.963256,"altitude":74,"angle":301,"satellites":42,"speed":23,"hex_longitude":"2d18aa00","hex_latitude":"072172b0","is_valid_coordinates":true} 
[2026-09-21 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234466560001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22428705766768640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783706958039465984,"note":"Value kept but may cause issues"} 
[2026-09-21 13:44:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789978402000,"timestamp_ms":1789978402000,"timestamp_seconds":1789978402,"priority":1,"record_length":96,"hex_timestamp":"000001a0c306dcd0"} 
[2026-09-21 13:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 13:44:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188598,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234466560001,"66":13896,"106":206,"83":41984,"24":23,"16":22428705766768640,"45":1783706958039465984},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234466560001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:44:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:44:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22428705766768640,"km_value":22428705766768.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783706958039465984,"description":"Unknown IO ID 45"} 
[2026-09-21 13:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234466560001,"power":13896,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1783706958039465984}} 
[2026-09-21 13:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":188598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:44:54] local.INFO: GPS data processed {"connection_id":188598,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:44:54] local.INFO: Acknowledgment sent {"connection_id":188598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:06] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:06] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:06] local.INFO: IMEI packet received {"connection_id":190044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":190044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:45:08] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:08] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:08] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:45:11] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:11] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:45:11] local.INFO: IMEI packet received {"connection_id":190044,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":190044,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:45:12] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:12] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:12] local.INFO: Packet analysis {"connection_id":190044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:45:12] local.INFO: Extracted packet for processing {"connection_id":190044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:45:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":190044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876453,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:12] local.INFO: GPS data processed {"connection_id":190044,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:12] local.INFO: Acknowledgment sent {"connection_id":190044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:12] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:12] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:12] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:45:13] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:13] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:45:13] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:45:14] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:14] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:14] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:14] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:45:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:45:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:45:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:45: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-09-21 13: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-09-21 13:45:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:45:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:45:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:45:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:45:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:45:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:45:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:45:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:45:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:45:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:45:14] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:14] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:14] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:18] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:18] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:45:18] local.INFO: IMEI packet received {"connection_id":188600,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":188600,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:45:19] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:45:19] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c306dcd0012d18aa00072172b0004a012d2a..."} 
[2026-09-21 13:45:19] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:19] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:19] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632560,"longitude_deg":75.6591104,"latitude_deg":11.963256,"altitude":74,"angle":301,"satellites":42,"speed":23,"hex_longitude":"2d18aa00","hex_latitude":"072172b0","is_valid_coordinates":true} 
[2026-09-21 13:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234470912001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22428705766768640,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577017344,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978402000,"timestamp_ms":1789978402000,"timestamp_seconds":1789978402,"priority":1,"record_length":96,"hex_timestamp":"000001a0c306dcd0"} 
[2026-09-21 13:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":72,"data_length":795,"current_offset":136} 
[2026-09-21 13:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1116,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234470912001,"66":13896,"106":206,"83":41984,"24":23,"16":22428705766768640,"45":1777233033577017344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234470912001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22428705766768640,"km_value":22428705766768.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577017344,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234470912001,"power":13896,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1777233033577017344}} 
[2026-09-21 13:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:19] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:19] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:19] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:19] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:45:19] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:19] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:45:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:45:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:45:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:45:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:45:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:45:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:45:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:45:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:45:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:45:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:45:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:45:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:45:19] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:19] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:19] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:43] local.INFO: TCP Data received {"connection_id":190044,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:43] local.INFO: Processing buffer {"connection_id":190044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3046018012d7e03c005d504200000004019..."} 
[2026-09-21 13:45:43] local.INFO: Packet analysis {"connection_id":190044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:45:43] local.INFO: Extracted packet for processing {"connection_id":190044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c304"} 
[2026-09-21 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":763233216,"raw_latitude":97846304,"longitude_deg":76.3233216,"latitude_deg":9.7846304,"altitude":0,"angle":64,"satellites":25,"speed":0,"hex_longitude":"2d7e03c0","hex_latitude":"05d50420","is_valid_coordinates":true} 
[2026-09-21 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":240,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789978239000,"timestamp_ms":1789978239000,"timestamp_seconds":1789978239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3046018"} 
[2026-09-21 13:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:45:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190044,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13656,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:45:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13656,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":190044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876457,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:43] local.INFO: GPS data processed {"connection_id":190044,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:43] local.INFO: Acknowledgment sent {"connection_id":190044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:45:50] local.INFO: TCP Data received {"connection_id":188600,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3087ec8012d181b800721a718004d010e2a..."} 
[2026-09-21 13:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3087ec8012d181b800721a718004d010e2a..."} 
[2026-09-21 13:45:50] local.INFO: Processing buffer {"connection_id":188600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3087ec8012d181b800721a718004d010e2a..."} 
[2026-09-21 13:45:50] local.INFO: Packet analysis {"connection_id":188600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:45:50] local.INFO: Extracted packet for processing {"connection_id":188600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":756554624,"raw_latitude":119645976,"longitude_deg":75.6554624,"latitude_deg":11.9645976,"altitude":77,"angle":270,"satellites":42,"speed":4,"hex_longitude":"2d181b80","hex_latitude":"0721a718","is_valid_coordinates":true} 
[2026-09-21 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:45:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234494720001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430595552378880,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096743424,"note":"Value kept but may cause issues"} 
[2026-09-21 13:45:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:45:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978509000,"timestamp_ms":1789978509000,"timestamp_seconds":1789978509,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3087ec8"} 
[2026-09-21 13:45:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:45:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:45:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-21 13:45:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:45:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:45:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:45:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:45:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:45:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:45:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188600,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:45:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:45:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:45:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:45:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234494720001,"66":13972,"105":206,"83":41984,"24":4,"16":22430595552378880,"45":1737756168096743424},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:45:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:45:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:45:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234494720001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:45:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:45:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:45:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430595552378880,"km_value":22430595552378.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:45:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096743424,"description":"Unknown IO ID 45"} 
[2026-09-21 13:45:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234494720001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1737756168096743424}} 
[2026-09-21 13:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":188600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:45:50] local.INFO: GPS data processed {"connection_id":188600,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:45:50] local.INFO: Acknowledgment sent {"connection_id":188600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:03] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:03] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:03] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:46:06] local.INFO: TCP Data received {"connection_id":190045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:06] local.INFO: Processing buffer {"connection_id":190045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:06] local.INFO: IMEI packet received {"connection_id":190045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":190045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:46:08] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:08] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:46:08] local.INFO: IMEI packet received {"connection_id":191370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":191370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:46:09] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:09] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:09] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:46:09] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:46: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-09-21 13:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:09] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:09] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:11] local.INFO: TCP Data received {"connection_id":190045,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190045,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:11] local.INFO: Processing buffer {"connection_id":190045,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:46:11] local.INFO: IMEI packet received {"connection_id":190045,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":190045,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:46:11] local.INFO: TCP Data received {"connection_id":190045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:11] local.INFO: Processing buffer {"connection_id":190045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:11] local.INFO: Packet analysis {"connection_id":190045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:46:11] local.INFO: Extracted packet for processing {"connection_id":190045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:46:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":190045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":190045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":190045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:11] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:46:11] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":190045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876460,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:11] local.INFO: GPS data processed {"connection_id":190045,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:11] local.INFO: Acknowledgment sent {"connection_id":190045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:15] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:15] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:15] local.INFO: IMEI packet received {"connection_id":190046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":190046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:46:18] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:18] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:18] local.INFO: IMEI packet received {"connection_id":190046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":190046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:46:23] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:23] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:46:23] local.INFO: IMEI packet received {"connection_id":190046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":190046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:46:24] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30882b0012d181b000721a738004d01292a..."} 
[2026-09-21 13:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30882b0012d181b000721a738004d01292a..."} 
[2026-09-21 13:46:24] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30882b0012d181b000721a738004d01292a..."} 
[2026-09-21 13:46:24] local.INFO: Packet analysis {"connection_id":190046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:46:24] local.INFO: Extracted packet for processing {"connection_id":190046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119646008,"longitude_deg":75.6554496,"latitude_deg":11.9646008,"altitude":77,"angle":297,"satellites":42,"speed":5,"hex_longitude":"2d181b00","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-09-21 13:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234498304001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430604142313472,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737122849399183360,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789978510000,"timestamp_ms":1789978510000,"timestamp_seconds":1789978510,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30882b0"} 
[2026-09-21 13:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:46:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 13:46:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:46:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234498304001,"66":13928,"105":206,"83":41984,"24":5,"16":22430604142313472,"45":1737122849399183360},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234498304001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:46:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430604142313472,"km_value":22430604142313.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737122849399183360,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234498304001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737122849399183360}} 
[2026-09-21 13:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":190046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:24] local.INFO: GPS data processed {"connection_id":190046,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:24] local.INFO: Acknowledgment sent {"connection_id":190046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:28] local.INFO: TCP Data received {"connection_id":190046,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3088698012d181a800721a7a0004d013f28..."} 
[2026-09-21 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3088698012d181a800721a7a0004d013f28..."} 
[2026-09-21 13:46:28] local.INFO: Processing buffer {"connection_id":190046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3088698012d181a800721a7a0004d013f28..."} 
[2026-09-21 13:46:28] local.INFO: Packet analysis {"connection_id":190046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:46:28] local.INFO: Extracted packet for processing {"connection_id":190046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c308"} 
[2026-09-21 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756554368,"raw_latitude":119646112,"longitude_deg":75.6554368,"latitude_deg":11.9646112,"altitude":77,"angle":319,"satellites":40,"speed":6,"hex_longitude":"2d181a80","hex_latitude":"0721a7a0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234498560001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430612732248064,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910836224,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789978511000,"timestamp_ms":1789978511000,"timestamp_seconds":1789978511,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3088698"} 
[2026-09-21 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-09-21 13: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-09-21 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-09-21 13:46: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-09-21 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-09-21 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-09-21 13:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234498560001,"66":13928,"105":206,"83":41984,"24":6,"16":22430612732248064,"45":1736982111910836224},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234498560001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430612732248064,"km_value":22430612732248.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910836224,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234498560001,"power":13928,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1736982111910836224}} 
[2026-09-21 13:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":190046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:28] local.INFO: GPS data processed {"connection_id":190046,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:28] local.INFO: Acknowledgment sent {"connection_id":190046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:41] local.INFO: TCP Data received {"connection_id":191370,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191370,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:41] local.INFO: Processing buffer {"connection_id":191370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:46:41] local.INFO: Packet analysis {"connection_id":191370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:46:41] local.INFO: Extracted packet for processing {"connection_id":191370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:46:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:46:41] 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-09-21 13: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-09-21 13:46:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":191370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:41] local.INFO: GPS data processed {"connection_id":191370,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:41] local.INFO: Acknowledgment sent {"connection_id":191370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:46:42] local.INFO: TCP Data received {"connection_id":190045,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:42] local.INFO: Processing buffer {"connection_id":190045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:46:42] local.INFO: Packet analysis {"connection_id":190045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:46:42] local.INFO: Extracted packet for processing {"connection_id":190045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190045,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:46:42] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:46:42] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":190045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876464,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:46:42] local.INFO: GPS data processed {"connection_id":190045,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:46:42] local.INFO: Acknowledgment sent {"connection_id":190045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:03] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:03] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:03] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:47:08] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:08] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:47:08] local.INFO: IMEI packet received {"connection_id":188602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":188602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:47:10] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:10] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:10] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:47:10] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:47:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:47:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:47:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:47: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-09-21 13: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-09-21 13:47:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:47:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:47:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:47:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:47:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:47:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:47:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:47:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:47:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:47:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:47:10] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:10] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:10] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:11] local.INFO: TCP Data received {"connection_id":188759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:11] local.INFO: Processing buffer {"connection_id":188759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:11] local.INFO: IMEI packet received {"connection_id":188759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":188759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:47:13] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:13] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:13] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:47:16] local.INFO: TCP Data received {"connection_id":188759,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188759,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:16] local.INFO: Processing buffer {"connection_id":188759,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:47:16] local.INFO: IMEI packet received {"connection_id":188759,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:47:16] local.INFO: IMEI acknowledgment sent {"connection_id":188759,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:47:17] local.INFO: TCP Data received {"connection_id":188759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:17] local.INFO: Processing buffer {"connection_id":188759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:17] local.INFO: Packet analysis {"connection_id":188759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:17] local.INFO: Extracted packet for processing {"connection_id":188759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:17] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:47:17] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":188759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876466,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:17] local.INFO: GPS data processed {"connection_id":188759,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:17] local.INFO: Acknowledgment sent {"connection_id":188759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:18] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:18] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:47:18] local.INFO: IMEI packet received {"connection_id":188603,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":188603,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:47:19] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3098868012d1824800721b848004d00f72d..."} 
[2026-09-21 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3098868012d1824800721b848004d00f72d..."} 
[2026-09-21 13:47:19] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3098868012d1824800721b848004d00f72d..."} 
[2026-09-21 13:47:19] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:19] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650376,"longitude_deg":75.6556928,"latitude_deg":11.9650376,"altitude":77,"angle":247,"satellites":45,"speed":7,"hex_longitude":"2d182480","hex_latitude":"0721b848","is_valid_coordinates":true} 
[2026-09-21 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234515456001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430879020220416,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861679060992,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978577000,"timestamp_ms":1789978577000,"timestamp_seconds":1789978577,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3098868"} 
[2026-09-21 13:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-21 13:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234515456001,"66":13243,"105":206,"83":41984,"24":7,"16":22430879020220416,"45":1739796861679060992},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234515456001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430879020220416,"km_value":22430879020220.414,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861679060992,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234515456001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739796861679060992}} 
[2026-09-21 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:19] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:19] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:21] local.INFO: TCP Data received {"connection_id":188759,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188759,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:21] local.INFO: Processing buffer {"connection_id":188759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:47:21] local.INFO: Packet analysis {"connection_id":188759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:21] local.INFO: Extracted packet for processing {"connection_id":188759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188759,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:21] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:47:21] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":188759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876468,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:21] local.INFO: GPS data processed {"connection_id":188759,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:21] local.INFO: Acknowledgment sent {"connection_id":188759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:35] local.INFO: TCP Data received {"connection_id":191371,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:47:35] local.INFO: Processing buffer {"connection_id":191371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:47:35] local.INFO: IMEI packet received {"connection_id":191371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":191371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:47:42] local.INFO: TCP Data received {"connection_id":188602,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:42] local.INFO: Processing buffer {"connection_id":188602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:47:42] local.INFO: Packet analysis {"connection_id":188602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:47:42] local.INFO: Extracted packet for processing {"connection_id":188602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 13:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:47: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-09-21 13: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-09-21 13:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":188602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:42] local.INFO: GPS data processed {"connection_id":188602,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:42] local.INFO: Acknowledgment sent {"connection_id":188602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:47:50] local.INFO: TCP Data received {"connection_id":188603,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3098c50012d1824400721b7e0004d00d22d..."} 
[2026-09-21 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188603,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3098c50012d1824400721b7e0004d00d22d..."} 
[2026-09-21 13:47:50] local.INFO: Processing buffer {"connection_id":188603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3098c50012d1824400721b7e0004d00d22d..."} 
[2026-09-21 13:47:50] local.INFO: Packet analysis {"connection_id":188603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:50] local.INFO: Extracted packet for processing {"connection_id":188603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650272,"longitude_deg":75.6556864,"latitude_deg":11.9650272,"altitude":77,"angle":210,"satellites":45,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b7e0","is_valid_coordinates":true} 
[2026-09-21 13:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234515712001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430887610155008,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190705664,"note":"Value kept but may cause issues"} 
[2026-09-21 13:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978578000,"timestamp_ms":1789978578000,"timestamp_seconds":1789978578,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3098c50"} 
[2026-09-21 13:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-21 13:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188603,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:47:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234515712001,"66":13135,"105":206,"83":41984,"24":6,"16":22430887610155008,"45":1739656124190705664},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234515712001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:47:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430887610155008,"km_value":22430887610155.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190705664,"description":"Unknown IO ID 45"} 
[2026-09-21 13:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234515712001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190705664}} 
[2026-09-21 13:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":188603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:47:50] local.INFO: GPS data processed {"connection_id":188603,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:47:50] local.INFO: Acknowledgment sent {"connection_id":188603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:03] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:03] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:03] local.INFO: IMEI packet received {"connection_id":191372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":191372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:48:06] local.INFO: TCP Data received {"connection_id":190047,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:06] local.INFO: Processing buffer {"connection_id":190047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:06] local.INFO: IMEI packet received {"connection_id":190047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":190047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:48:08] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:08] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:48:08] local.INFO: IMEI packet received {"connection_id":191372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":191372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:48:09] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:48:09] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3065be8012d34c04006aa41300009000c2d..."} 
[2026-09-21 13:48:09] local.INFO: Packet analysis {"connection_id":191372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:48:09] local.INFO: Extracted packet for processing {"connection_id":191372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c306"} 
[2026-09-21 13:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234385408001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978369000,"timestamp_ms":1789978369000,"timestamp_seconds":1789978369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3065be8"} 
[2026-09-21 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-09-21 13:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":216,"data_length":795,"current_offset":136} 
[2026-09-21 13:48: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-09-21 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-09-21 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-09-21 13:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234385408001,"66":25582,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234385408001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234385408001,"power":25582,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":191372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:09] local.INFO: GPS data processed {"connection_id":191372,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:09] local.INFO: Acknowledgment sent {"connection_id":191372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:11] local.INFO: TCP Data received {"connection_id":190047,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190047,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:11] local.INFO: Processing buffer {"connection_id":190047,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:48:11] local.INFO: IMEI packet received {"connection_id":190047,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":190047,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:48:12] local.INFO: TCP Data received {"connection_id":190047,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:12] local.INFO: Processing buffer {"connection_id":190047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:12] local.INFO: Packet analysis {"connection_id":190047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:12] local.INFO: Extracted packet for processing {"connection_id":190047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:48:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:48:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":190047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876472,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:12] local.INFO: GPS data processed {"connection_id":190047,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:12] local.INFO: Acknowledgment sent {"connection_id":190047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:13] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:13] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:13] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:48:18] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:18] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:48:18] local.INFO: IMEI packet received {"connection_id":191373,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":191373,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:48:19] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3099038012d1824000721b740004d00b72d..."} 
[2026-09-21 13:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3099038012d1824000721b740004d00b72d..."} 
[2026-09-21 13:48:19] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3099038012d1824000721b740004d00b72d..."} 
[2026-09-21 13:48:19] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:19] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650112,"longitude_deg":75.65568,"latitude_deg":11.9650112,"altitude":77,"angle":183,"satellites":45,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b740","is_valid_coordinates":true} 
[2026-09-21 13:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234515968001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430891905122304,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446501376,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978579000,"timestamp_ms":1789978579000,"timestamp_seconds":1789978579,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3099038"} 
[2026-09-21 13:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:48:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 13:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234515968001,"66":13135,"105":206,"83":41984,"24":6,"16":22430891905122304,"45":1739585755446501376},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234515968001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:48:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430891905122304,"km_value":22430891905122.305,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446501376,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234515968001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446501376}} 
[2026-09-21 13:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:19] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:19] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:20] local.INFO: TCP Data received {"connection_id":188604,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:48:20] local.INFO: Processing buffer {"connection_id":188604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:48:20] local.INFO: IMEI packet received {"connection_id":188604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":188604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:48:40] local.INFO: TCP Data received {"connection_id":191372,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:48:40] local.INFO: Processing buffer {"connection_id":191372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:48:40] local.INFO: Packet analysis {"connection_id":191372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:48:40] local.INFO: Extracted packet for processing {"connection_id":191372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":191372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:40] local.INFO: GPS data processed {"connection_id":191372,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:40] local.INFO: Acknowledgment sent {"connection_id":191372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:43] local.INFO: TCP Data received {"connection_id":190047,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:43] local.INFO: Processing buffer {"connection_id":190047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:48:43] local.INFO: Packet analysis {"connection_id":190047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:43] local.INFO: Extracted packet for processing {"connection_id":190047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:43] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:48:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:48:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:48:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:48:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:48:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:48:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:48:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:48:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:48:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:48:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190047,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:48:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:48:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:48:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:48:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:48:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:48:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:48:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:48:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:48:43] local.INFO: DEBUG: GPS processor result {"connection_id":190047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876475,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:43] local.INFO: GPS data processed {"connection_id":190047,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:43] local.INFO: Acknowledgment sent {"connection_id":190047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:48:50] local.INFO: TCP Data received {"connection_id":191373,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3099bf0012d1823400721b510004d00d22d..."} 
[2026-09-21 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3099bf0012d1823400721b510004d00d22d..."} 
[2026-09-21 13:48:50] local.INFO: Processing buffer {"connection_id":191373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3099bf0012d1823400721b510004d00d22d..."} 
[2026-09-21 13:48:50] local.INFO: Packet analysis {"connection_id":191373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:50] local.INFO: Extracted packet for processing {"connection_id":191373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649552,"longitude_deg":75.6556608,"latitude_deg":11.9649552,"altitude":77,"angle":210,"satellites":45,"speed":8,"hex_longitude":"2d182340","hex_latitude":"0721b510","is_valid_coordinates":true} 
[2026-09-21 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234516224001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430921969893376,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702282752,"note":"Value kept but may cause issues"} 
[2026-09-21 13:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978582000,"timestamp_ms":1789978582000,"timestamp_seconds":1789978582,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3099bf0"} 
[2026-09-21 13:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 13:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191373,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:48:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234516224001,"66":13222,"105":206,"83":41984,"24":8,"16":22430921969893376,"45":1739515386702282752},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234516224001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:48:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430921969893376,"km_value":22430921969893.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702282752,"description":"Unknown IO ID 45"} 
[2026-09-21 13:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234516224001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739515386702282752}} 
[2026-09-21 13:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":191373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:48:50] local.INFO: GPS data processed {"connection_id":191373,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:48:50] local.INFO: Acknowledgment sent {"connection_id":191373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:07] local.INFO: TCP Data received {"connection_id":190049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:07] local.INFO: Processing buffer {"connection_id":190049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:07] local.INFO: IMEI packet received {"connection_id":190049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":190049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:49:08] local.INFO: TCP Data received {"connection_id":190048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:08] local.INFO: Processing buffer {"connection_id":190048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:08] local.INFO: IMEI packet received {"connection_id":190048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":190048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:49:11] local.INFO: TCP Data received {"connection_id":190049,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190049,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:11] local.INFO: Processing buffer {"connection_id":190049,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:49:11] local.INFO: IMEI packet received {"connection_id":190049,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":190049,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:49:12] local.INFO: TCP Data received {"connection_id":190049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:12] local.INFO: Processing buffer {"connection_id":190049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:12] local.INFO: Packet analysis {"connection_id":190049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:12] local.INFO: Extracted packet for processing {"connection_id":190049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:12] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:49:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":190049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876477,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:12] local.INFO: GPS data processed {"connection_id":190049,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:12] local.INFO: Acknowledgment sent {"connection_id":190049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:13] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:13] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:13] local.INFO: IMEI packet received {"connection_id":188605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":188605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:49:13] local.INFO: TCP Data received {"connection_id":190048,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:13] local.INFO: Processing buffer {"connection_id":190048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:49:13] local.INFO: IMEI packet received {"connection_id":190048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":190048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:49:14] local.INFO: TCP Data received {"connection_id":190048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:14] local.INFO: Processing buffer {"connection_id":190048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:14] local.INFO: Packet analysis {"connection_id":190048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:14] local.INFO: Extracted packet for processing {"connection_id":190048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:49: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-09-21 13:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":190048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:14] local.INFO: GPS data processed {"connection_id":190048,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:14] local.INFO: Acknowledgment sent {"connection_id":190048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:18] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:18] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:49:18] local.INFO: IMEI packet received {"connection_id":188605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":188605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:49:19] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c309edf8012d1821800721b318004d00d129..."} 
[2026-09-21 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c309edf8012d1821800721b318004d00d129..."} 
[2026-09-21 13:49:19] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c309edf8012d1821800721b318004d00d129..."} 
[2026-09-21 13:49:19] local.INFO: Packet analysis {"connection_id":188605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:19] local.INFO: Extracted packet for processing {"connection_id":188605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234516992001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469606400,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978603000,"timestamp_ms":1789978603000,"timestamp_seconds":1789978603,"priority":1,"record_length":96,"hex_timestamp":"000001a0c309edf8"} 
[2026-09-21 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-21 13:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234516992001,"66":13102,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1739304280469606400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234516992001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469606400,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234516992001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469606400}} 
[2026-09-21 13:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":188605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:19] local.INFO: GPS data processed {"connection_id":188605,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:19] local.INFO: Acknowledgment sent {"connection_id":188605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:19] local.INFO: TCP Data received {"connection_id":190048,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:19] local.INFO: Processing buffer {"connection_id":190048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:49:19] local.INFO: Packet analysis {"connection_id":190048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:19] local.INFO: Extracted packet for processing {"connection_id":190048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":190048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:19] local.INFO: GPS data processed {"connection_id":190048,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:19] local.INFO: Acknowledgment sent {"connection_id":190048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:43] local.INFO: TCP Data received {"connection_id":190049,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190049,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:43] local.INFO: Processing buffer {"connection_id":190049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:49:43] local.INFO: Packet analysis {"connection_id":190049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:43] local.INFO: Extracted packet for processing {"connection_id":190049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:49:43] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:49:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190049,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:43] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:49:43] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:49:43] local.INFO: DEBUG: GPS processor result {"connection_id":190049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876481,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:43] local.INFO: GPS data processed {"connection_id":190049,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:43] local.INFO: Acknowledgment sent {"connection_id":190049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:49:49] local.INFO: TCP Data received {"connection_id":188605,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30a4000012d1821800721b318004d00d12a..."} 
[2026-09-21 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30a4000012d1821800721b318004d00d12a..."} 
[2026-09-21 13:49:49] local.INFO: Processing buffer {"connection_id":188605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30a4000012d1821800721b318004d00d12a..."} 
[2026-09-21 13:49:49] local.INFO: Packet analysis {"connection_id":188605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:49] local.INFO: Extracted packet for processing {"connection_id":188605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":42,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234522368001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789978624000,"timestamp_ms":1789978624000,"timestamp_seconds":1789978624,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30a4000"} 
[2026-09-21 13:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 13:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234522368001,"66":13091,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234522368001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:49:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234522368001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":188605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:49:49] local.INFO: GPS data processed {"connection_id":188605,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:49:49] local.INFO: Acknowledgment sent {"connection_id":188605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:50:03] local.INFO: TCP Data received {"connection_id":191374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:03] local.INFO: Processing buffer {"connection_id":191374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:03] local.INFO: IMEI packet received {"connection_id":191374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":191374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:50:06] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:06] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:06] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 13:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:50:08] local.INFO: TCP Data received {"connection_id":191374,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:08] local.INFO: Processing buffer {"connection_id":191374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:50:08] local.INFO: IMEI packet received {"connection_id":191374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":191374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:50:09] local.INFO: TCP Data received {"connection_id":191374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:09] local.INFO: Processing buffer {"connection_id":191374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:09] local.INFO: Packet analysis {"connection_id":191374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:09] local.INFO: Extracted packet for processing {"connection_id":191374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 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-09-21 13:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:50:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":191374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:50:09] local.INFO: GPS data processed {"connection_id":191374,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:50:09] local.INFO: Acknowledgment sent {"connection_id":191374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:50:11] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:11] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 13:50:11] local.INFO: IMEI packet received {"connection_id":188606,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 13:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":188606,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:50:12] local.INFO: TCP Data received {"connection_id":188606,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188606,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:50:12] local.INFO: Processing buffer {"connection_id":188606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3090780012d7e028005d504400000004024..."} 
[2026-09-21 13:50:12] local.INFO: Packet analysis {"connection_id":188606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:50:12] local.INFO: Extracted packet for processing {"connection_id":188606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c309"} 
[2026-09-21 13:50:12] local.INFO: GPS Element Parsed {"raw_longitude":763232896,"raw_latitude":97846336,"longitude_deg":76.3232896,"latitude_deg":9.7846336,"altitude":0,"angle":64,"satellites":36,"speed":0,"hex_longitude":"2d7e0280","hex_latitude":"05d50440","is_valid_coordinates":true} 
[2026-09-21 13:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234429184001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9080312404990238720,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789978544000,"timestamp_ms":1789978544000,"timestamp_seconds":1789978544,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3090780"} 
[2026-09-21 13:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:50:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-09-21 13:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188606,"device_imei":"862567072406932","avl_records_count":1} 
[2026-09-21 13:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567072406932"} 
[2026-09-21 13:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567072406932","exists":true} 
[2026-09-21 13:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234429184001,"66":13135,"111":206,"85":15104,"24":0,"16":135586873379651584,"45":9080312404990238720},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567072406932","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,85,24,16,45]} 
[2026-09-21 13:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567072406932"} 
[2026-09-21 13:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567072406932","device_id":194233,"device_uniqueid":"862567072406932"} 
[2026-09-21 13:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234429184001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:50:12] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-09-21 13:50:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-09-21 13:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":135586873379651584,"km_value":135586873379651.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9080312404990238720,"description":"Unknown IO ID 45"} 
[2026-09-21 13:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234429184001,"power":13135,"unknown_111":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9080312404990238720}} 
[2026-09-21 13:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":188606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876484,"device_id":194233,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:50:12] local.INFO: GPS data processed {"connection_id":188606,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:50:12] local.INFO: Acknowledgment sent {"connection_id":188606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:50:13] local.INFO: TCP Data received {"connection_id":191375,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:13] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:13] local.INFO: IMEI packet received {"connection_id":191375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":191375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:50:18] local.INFO: TCP Data received {"connection_id":191375,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:18] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:50:18] local.INFO: IMEI packet received {"connection_id":191375,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":191375,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:50:19] local.INFO: TCP Data received {"connection_id":191375,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30a9208012d1821800721b318004d00d12b..."} 
[2026-09-21 13:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30a9208012d1821800721b318004d00d12b..."} 
[2026-09-21 13:50:19] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30a9208012d1821800721b318004d00d12b..."} 
[2026-09-21 13:50:19] local.INFO: Packet analysis {"connection_id":191375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:19] local.INFO: Extracted packet for processing {"connection_id":191375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:50:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234527744001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978645000,"timestamp_ms":1789978645000,"timestamp_seconds":1789978645,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30a9208"} 
[2026-09-21 13:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 13:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234527744001,"66":13102,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234527744001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:50:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:50:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:50:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:50:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234527744001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":191375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:50:19] local.INFO: GPS data processed {"connection_id":191375,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:50:19] local.INFO: Acknowledgment sent {"connection_id":191375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:50:41] local.INFO: TCP Data received {"connection_id":191374,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:41] local.INFO: Processing buffer {"connection_id":191374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:50:41] local.INFO: Packet analysis {"connection_id":191374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:41] local.INFO: Extracted packet for processing {"connection_id":191374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:50:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":191374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:50:41] local.INFO: GPS data processed {"connection_id":191374,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:50:41] local.INFO: Acknowledgment sent {"connection_id":191374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:50:50] local.INFO: TCP Data received {"connection_id":191375,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30ae410012d1821800721b318004d00d12c..."} 
[2026-09-21 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191375,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30ae410012d1821800721b318004d00d12c..."} 
[2026-09-21 13:50:50] local.INFO: Processing buffer {"connection_id":191375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30ae410012d1821800721b318004d00d12c..."} 
[2026-09-21 13:50:50] local.INFO: Packet analysis {"connection_id":191375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:50] local.INFO: Extracted packet for processing {"connection_id":191375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234533120001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978666000,"timestamp_ms":1789978666000,"timestamp_seconds":1789978666,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30ae410"} 
[2026-09-21 13:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 13:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191375,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234533120001,"66":13015,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234533120001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:50:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234533120001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":191375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:50:50] local.INFO: GPS data processed {"connection_id":191375,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:50:50] local.INFO: Acknowledgment sent {"connection_id":191375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:51:05] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:05] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:05] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:51:08] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:08] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:51:08] local.INFO: IMEI packet received {"connection_id":191377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":191377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:51:09] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:09] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:09] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:09] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 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-09-21 13:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13: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-09-21 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-09-21 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-09-21 13:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:51:09] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:51:09] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:51:12] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:12] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:12] local.INFO: IMEI packet received {"connection_id":190050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":190050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:51:14] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:14] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:14] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:14] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:51: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-09-21 13:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:51:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:51:14] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:51:14] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:51:18] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:18] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:51:18] local.INFO: IMEI packet received {"connection_id":190050,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":190050,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:51:19] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30b3618012d1821800721b318004d00d12c..."} 
[2026-09-21 13:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30b3618012d1821800721b318004d00d12c..."} 
[2026-09-21 13:51:19] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30b3618012d1821800721b318004d00d12c..."} 
[2026-09-21 13:51:19] local.INFO: Packet analysis {"connection_id":190050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:51:19] local.INFO: Extracted packet for processing {"connection_id":190050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234538496001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978687000,"timestamp_ms":1789978687000,"timestamp_seconds":1789978687,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30b3618"} 
[2026-09-21 13:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 13:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234538496001,"66":13015,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234538496001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:51:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234538496001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":190050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:51:19] local.INFO: GPS data processed {"connection_id":190050,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:51:19] local.INFO: Acknowledgment sent {"connection_id":190050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:51:45] local.INFO: TCP Data received {"connection_id":191377,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:45] local.INFO: Processing buffer {"connection_id":191377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:51:45] local.INFO: Packet analysis {"connection_id":191377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:45] local.INFO: Extracted packet for processing {"connection_id":191377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:51:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:51:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":191377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:51:45] local.INFO: GPS data processed {"connection_id":191377,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:51:45] local.INFO: Acknowledgment sent {"connection_id":191377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:51:50] local.INFO: TCP Data received {"connection_id":190050,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30b8820012d1821800721b318004d00d12e..."} 
[2026-09-21 13:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190050,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30b8820012d1821800721b318004d00d12e..."} 
[2026-09-21 13:51:50] local.INFO: Processing buffer {"connection_id":190050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30b8820012d1821800721b318004d00d12e..."} 
[2026-09-21 13:51:50] local.INFO: Packet analysis {"connection_id":190050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:51:50] local.INFO: Extracted packet for processing {"connection_id":190050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234543872001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:51:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978708000,"timestamp_ms":1789978708000,"timestamp_seconds":1789978708,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30b8820"} 
[2026-09-21 13:51:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:51:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 13:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:51:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:51:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190050,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234543872001,"66":13015,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234543872001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:51:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:51:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234543872001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":190050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:51:50] local.INFO: GPS data processed {"connection_id":190050,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:51:50] local.INFO: Acknowledgment sent {"connection_id":190050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:52:03] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:03] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:03] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:52:03] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:52:08] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:08] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:52:08] local.INFO: IMEI packet received {"connection_id":188607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:52:09] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:09] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:09] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:52:09] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 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-09-21 13:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 13:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:52:09] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:52:09] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:52:15] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:15] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:15] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:52:18] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:18] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:18] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:52:22] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:22] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:52:22] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:52:23] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30bda28012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30bda28012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:23] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30bda28012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:23] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:52:23] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30b"} 
[2026-09-21 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:52:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234549248001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:52:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789978729000,"timestamp_ms":1789978729000,"timestamp_seconds":1789978729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30bda28"} 
[2026-09-21 13:52:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:52:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:52:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 13:52:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:52:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:52:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:52:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:52:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:52:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:52:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:52:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:52:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:52:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:52:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234549248001,"66":13015,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:52:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:52:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:52:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234549248001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:52:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:52:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:52:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:52:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:52:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234549248001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:52:23] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:52:23] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:52:23] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:52:28] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30c2c30012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30c2c30012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:28] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30c2c30012d1821800721b318004d00d12e..."} 
[2026-09-21 13:52:28] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:52:28] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234554624001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52: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-09-21 13:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789978750000,"timestamp_ms":1789978750000,"timestamp_seconds":1789978750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30c2c30"} 
[2026-09-21 13:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 13:52: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-09-21 13:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234554624001,"66":12972,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234554624001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:52:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:52:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234554624001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:52:28] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:52:28] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:52:41] local.INFO: TCP Data received {"connection_id":188607,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:41] local.INFO: Processing buffer {"connection_id":188607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:52:41] local.INFO: Packet analysis {"connection_id":188607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:52:41] local.INFO: Extracted packet for processing {"connection_id":188607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 13:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:52:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:52:41] local.INFO: GPS data processed {"connection_id":188607,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:52:41] local.INFO: Acknowledgment sent {"connection_id":188607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:53:03] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:03] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:03] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:53:08] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:08] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:53:08] local.INFO: IMEI packet received {"connection_id":191378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":191378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:53:09] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:53:09] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30af3b0012d34c04006aa41300008000c2c..."} 
[2026-09-21 13:53:09] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:53:09] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30a"} 
[2026-09-21 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234462464001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978670000,"timestamp_ms":1789978670000,"timestamp_seconds":1789978670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30af3b0"} 
[2026-09-21 13:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13: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-09-21 13: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-09-21 13:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234462464001,"66":25604,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234462464001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234462464001,"power":25604,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:53:09] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:53:09] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:53:13] local.INFO: TCP Data received {"connection_id":191379,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:13] local.INFO: Processing buffer {"connection_id":191379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:13] local.INFO: IMEI packet received {"connection_id":191379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":191379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:53:18] local.INFO: TCP Data received {"connection_id":191379,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191379,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:18] local.INFO: Processing buffer {"connection_id":191379,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:53:18] local.INFO: IMEI packet received {"connection_id":191379,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":191379,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:53:19] local.INFO: TCP Data received {"connection_id":191379,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30c7e38012d1821800721b318004d00d12d..."} 
[2026-09-21 13:53:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30c7e38012d1821800721b318004d00d12d..."} 
[2026-09-21 13:53:19] local.INFO: Processing buffer {"connection_id":191379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30c7e38012d1821800721b318004d00d12d..."} 
[2026-09-21 13:53:19] local.INFO: Packet analysis {"connection_id":191379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:53:19] local.INFO: Extracted packet for processing {"connection_id":191379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649048,"longitude_deg":75.655616,"latitude_deg":11.9649048,"altitude":77,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b318","is_valid_coordinates":true} 
[2026-09-21 13:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:53:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234560000001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22430960624599040,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:53:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978771000,"timestamp_ms":1789978771000,"timestamp_seconds":1789978771,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30c7e38"} 
[2026-09-21 13:53:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:53:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:53:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 13:53:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:53:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:53:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:53:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:53:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:53:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:53:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:53:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:53:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:53:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:53:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234560000001,"66":12950,"105":206,"83":41984,"24":0,"16":22430960624599040,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 13:53:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:53:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:53:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234560000001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:53:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 13:53:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:53:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22430960624599040,"km_value":22430960624599.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:53:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:53:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234560000001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":191379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:53:19] local.INFO: GPS data processed {"connection_id":191379,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:53:19] local.INFO: Acknowledgment sent {"connection_id":191379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:53:41] local.INFO: TCP Data received {"connection_id":191378,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191378,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:53:41] local.INFO: Processing buffer {"connection_id":191378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:53:41] local.INFO: Packet analysis {"connection_id":191378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:53:41] local.INFO: Extracted packet for processing {"connection_id":191378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:53:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:53:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":191378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:53:41] local.INFO: GPS data processed {"connection_id":191378,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:53:41] local.INFO: Acknowledgment sent {"connection_id":191378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:53:50] local.INFO: TCP Data received {"connection_id":191379,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30cd040012d181f400721b198004b00d12f..."} 
[2026-09-21 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191379,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30cd040012d181f400721b198004b00d12f..."} 
[2026-09-21 13:53:50] local.INFO: Processing buffer {"connection_id":191379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30cd040012d181f400721b198004b00d12f..."} 
[2026-09-21 13:53:50] local.INFO: Packet analysis {"connection_id":191379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:53:50] local.INFO: Extracted packet for processing {"connection_id":191379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30c"} 
[2026-09-21 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:53:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234565376001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260233728,"note":"Value kept but may cause issues"} 
[2026-09-21 13:53:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:53:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978792000,"timestamp_ms":1789978792000,"timestamp_seconds":1789978792,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30cd040"} 
[2026-09-21 13:53:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:53:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:53:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 13:53:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:53:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:53:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:53:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:53:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:53:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:53:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191379,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:53:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:53:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:53:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:53:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234565376001,"66":12950,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738811699260233728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:53:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:53:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:53:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234565376001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:53:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:53:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:53:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:53:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260233728,"description":"Unknown IO ID 45"} 
[2026-09-21 13:53:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234565376001,"power":12950,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260233728}} 
[2026-09-21 13:53:50] local.INFO: DEBUG: GPS processor result {"connection_id":191379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:53:50] local.INFO: GPS data processed {"connection_id":191379,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:53:50] local.INFO: Acknowledgment sent {"connection_id":191379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:53:50] local.INFO: TCP Data received {"connection_id":190051,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190051,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:53:50] local.INFO: Processing buffer {"connection_id":190051,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:53:50] local.INFO: IMEI packet received {"connection_id":190051,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":190051,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:54:03] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:03] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:03] local.INFO: IMEI packet received {"connection_id":188764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:54:03] local.INFO: IMEI acknowledgment sent {"connection_id":188764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:54:08] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:08] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:54:08] local.INFO: IMEI packet received {"connection_id":188764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:54:09] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:09] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:09] local.INFO: Packet analysis {"connection_id":188764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:54:09] local.INFO: Extracted packet for processing {"connection_id":188764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 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-09-21 13:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:54: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-09-21 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-09-21 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-09-21 13:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":188764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:54:09] local.INFO: GPS data processed {"connection_id":188764,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:54:09] local.INFO: Acknowledgment sent {"connection_id":188764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:54:12] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:12] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:12] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:54:17] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:17] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:54:17] local.INFO: IMEI packet received {"connection_id":188608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":188608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:54:18] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30d2248012d181f400721b198004b00d12d..."} 
[2026-09-21 13:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30d2248012d181f400721b198004b00d12d..."} 
[2026-09-21 13:54:18] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30d2248012d181f400721b198004b00d12d..."} 
[2026-09-21 13:54:18] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:54:18] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234570752001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789978813000,"timestamp_ms":1789978813000,"timestamp_seconds":1789978813,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30d2248"} 
[2026-09-21 13:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 13:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234570752001,"66":12885,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234570752001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:54:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234570752001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:54:18] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:54:18] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:54:20] local.INFO: TCP Data received {"connection_id":188765,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:54:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188765,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:54:20] local.INFO: Processing buffer {"connection_id":188765,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:54:20] local.INFO: IMEI packet received {"connection_id":188765,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:54:20] local.INFO: IMEI acknowledgment sent {"connection_id":188765,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:54:41] local.INFO: TCP Data received {"connection_id":188764,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:41] local.INFO: Processing buffer {"connection_id":188764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:54:41] local.INFO: Packet analysis {"connection_id":188764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:54:41] local.INFO: Extracted packet for processing {"connection_id":188764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54: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-09-21 13:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:54:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:54:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:54:41] local.INFO: GPS data processed {"connection_id":188764,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:54:41] local.INFO: Acknowledgment sent {"connection_id":188764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:54:49] local.INFO: TCP Data received {"connection_id":188608,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30d7450012d181f400721b198004b00d12f..."} 
[2026-09-21 13:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30d7450012d181f400721b198004b00d12f..."} 
[2026-09-21 13:54:49] local.INFO: Processing buffer {"connection_id":188608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30d7450012d181f400721b198004b00d12f..."} 
[2026-09-21 13:54:49] local.INFO: Packet analysis {"connection_id":188608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:54:49] local.INFO: Extracted packet for processing {"connection_id":188608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234576128001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789978834000,"timestamp_ms":1789978834000,"timestamp_seconds":1789978834,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30d7450"} 
[2026-09-21 13:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 13:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234576128001,"66":12852,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234576128001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:54:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234576128001,"power":12852,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":188608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:54:49] local.INFO: GPS data processed {"connection_id":188608,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:54:49] local.INFO: Acknowledgment sent {"connection_id":188608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:55:03] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:03] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:03] local.INFO: IMEI packet received {"connection_id":190052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":190052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:55:04] local.INFO: TCP Data received {"connection_id":190053,"ip":"216.226.76.20","data_length":204,"data_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 13:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190053,"packet_length":204,"packet_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 13:55:04] local.INFO: Processing buffer {"connection_id":190053,"buffer_length":204,"buffer_hex":"474554202f20485454502f312e310d0a486f73743a2033372e32372e39322e31..."} 
[2026-09-21 13:55:04] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":190053,"buffer_length":204,"first_bytes_hex":"474554202f20485454502f312e310d0a"} 
[2026-09-21 13:55:08] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:08] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:55:08] local.INFO: IMEI packet received {"connection_id":190052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":190052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:55:09] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:09] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:09] local.INFO: Packet analysis {"connection_id":190052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:55:09] local.INFO: Extracted packet for processing {"connection_id":190052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 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-09-21 13:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:55: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-09-21 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-09-21 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-09-21 13:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":190052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:55:09] local.INFO: GPS data processed {"connection_id":190052,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:55:09] local.INFO: Acknowledgment sent {"connection_id":190052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:55:13] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:13] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:13] local.INFO: IMEI packet received {"connection_id":188766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:55:18] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:18] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:55:18] local.INFO: IMEI packet received {"connection_id":188766,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188766,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:55:19] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30dc658012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30dc658012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:19] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30dc658012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:19] local.INFO: Packet analysis {"connection_id":188766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:55:19] local.INFO: Extracted packet for processing {"connection_id":188766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30d"} 
[2026-09-21 13:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234581504001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978855000,"timestamp_ms":1789978855000,"timestamp_seconds":1789978855,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30dc658"} 
[2026-09-21 13:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:55:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-21 13:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234581504001,"66":12885,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234581504001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:55:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:55:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234581504001,"power":12885,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":188766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:55:19] local.INFO: GPS data processed {"connection_id":188766,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:55:19] local.INFO: Acknowledgment sent {"connection_id":188766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:55:40] local.INFO: TCP Data received {"connection_id":190052,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:40] local.INFO: Processing buffer {"connection_id":190052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:55:40] local.INFO: Packet analysis {"connection_id":190052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:55:40] local.INFO: Extracted packet for processing {"connection_id":190052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":190052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:55:40] local.INFO: GPS data processed {"connection_id":190052,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:55:40] local.INFO: Acknowledgment sent {"connection_id":190052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:55:50] local.INFO: TCP Data received {"connection_id":188766,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30e1860012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30e1860012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:50] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30e1860012d181f400721b198004b00d12c..."} 
[2026-09-21 13:55:50] local.INFO: Packet analysis {"connection_id":188766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30e"} 
[2026-09-21 13:55:50] local.INFO: Extracted packet for processing {"connection_id":188766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30e"} 
[2026-09-21 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234586880001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:55:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789978876000,"timestamp_ms":1789978876000,"timestamp_seconds":1789978876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30e1860"} 
[2026-09-21 13:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:55:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:55:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 13:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:55:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188766,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234586880001,"66":12852,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234586880001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:55:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:55:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234586880001,"power":12852,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":188766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:55:50] local.INFO: GPS data processed {"connection_id":188766,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:55:50] local.INFO: Acknowledgment sent {"connection_id":188766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:56:03] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:03] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:03] local.INFO: IMEI packet received {"connection_id":190054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:56:03] local.INFO: IMEI acknowledgment sent {"connection_id":190054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:56:08] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:08] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:56:08] local.INFO: IMEI packet received {"connection_id":190054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":190054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:56:09] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:09] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:09] local.INFO: Packet analysis {"connection_id":190054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:56:09] local.INFO: Extracted packet for processing {"connection_id":190054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 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-09-21 13:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:56: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-09-21 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-09-21 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-09-21 13:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":190054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:56:09] local.INFO: GPS data processed {"connection_id":190054,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:56:09] local.INFO: Acknowledgment sent {"connection_id":190054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:56:12] local.INFO: TCP Data received {"connection_id":190055,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:12] local.INFO: Processing buffer {"connection_id":190055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:12] local.INFO: IMEI packet received {"connection_id":190055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":190055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:56:18] local.INFO: TCP Data received {"connection_id":190055,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:18] local.INFO: Processing buffer {"connection_id":190055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:56:18] local.INFO: IMEI packet received {"connection_id":190055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":190055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:56:19] local.INFO: TCP Data received {"connection_id":190055,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30e6a68012d181f400721b198004b00d12d..."} 
[2026-09-21 13:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30e6a68012d181f400721b198004b00d12d..."} 
[2026-09-21 13:56:19] local.INFO: Processing buffer {"connection_id":190055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30e6a68012d181f400721b198004b00d12d..."} 
[2026-09-21 13:56:19] local.INFO: Packet analysis {"connection_id":190055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30e"} 
[2026-09-21 13:56:19] local.INFO: Extracted packet for processing {"connection_id":190055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30e"} 
[2026-09-21 13:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234592256001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978897000,"timestamp_ms":1789978897000,"timestamp_seconds":1789978897,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30e6a68"} 
[2026-09-21 13:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:56:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-09-21 13:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":916,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234592256001,"66":12841,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234592256001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:56:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:56:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234592256001,"power":12841,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":190055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:56:19] local.INFO: GPS data processed {"connection_id":190055,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:56:19] local.INFO: Acknowledgment sent {"connection_id":190055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:56:41] local.INFO: TCP Data received {"connection_id":190054,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190054,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:41] local.INFO: Processing buffer {"connection_id":190054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:56:41] local.INFO: Packet analysis {"connection_id":190054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:56:41] local.INFO: Extracted packet for processing {"connection_id":190054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:56:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":190054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:56:41] local.INFO: GPS data processed {"connection_id":190054,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:56:41] local.INFO: Acknowledgment sent {"connection_id":190054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:56:49] local.INFO: TCP Data received {"connection_id":190055,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c311f0c0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c311f0c0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:56:50] local.INFO: Processing buffer {"connection_id":190055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c311f0c0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:56:50] local.INFO: Packet analysis {"connection_id":190055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c311"} 
[2026-09-21 13:56:50] local.INFO: Extracted packet for processing {"connection_id":190055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c311"} 
[2026-09-21 13:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234651392001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979128000,"timestamp_ms":1789979128000,"timestamp_seconds":1789979128,"priority":1,"record_length":96,"hex_timestamp":"000001a0c311f0c0"} 
[2026-09-21 13:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 13:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234651392001,"66":12722,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234651392001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:56:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234651392001,"power":12722,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":190055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:56:50] local.INFO: GPS data processed {"connection_id":190055,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:56:50] local.INFO: Acknowledgment sent {"connection_id":190055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:57:03] local.INFO: TCP Data received {"connection_id":190056,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:03] local.INFO: Processing buffer {"connection_id":190056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:03] local.INFO: IMEI packet received {"connection_id":190056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":190056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:57:08] local.INFO: TCP Data received {"connection_id":190056,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:08] local.INFO: Processing buffer {"connection_id":190056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:57:08] local.INFO: IMEI packet received {"connection_id":190056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":190056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:57:09] local.INFO: TCP Data received {"connection_id":190056,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:09] local.INFO: Processing buffer {"connection_id":190056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:09] local.INFO: Packet analysis {"connection_id":190056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:57:09] local.INFO: Extracted packet for processing {"connection_id":190056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 13:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 13:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 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-09-21 13:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:57: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-09-21 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-09-21 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-09-21 13:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:57:09] local.INFO: GPS data processed {"connection_id":190056,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:57:09] local.INFO: Acknowledgment sent {"connection_id":190056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:57:12] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:12] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:12] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:57:18] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:18] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:57:18] local.INFO: IMEI packet received {"connection_id":188609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":188609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:57:19] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31242c8012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31242c8012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:19] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31242c8012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:19] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:57:19] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:57:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:57:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234656768001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:57:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979149000,"timestamp_ms":1789979149000,"timestamp_seconds":1789979149,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31242c8"} 
[2026-09-21 13:57:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:57:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:57:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 13:57:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:57:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:57:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:57:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:57:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:57:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:57:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:57:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:57:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:57:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:57:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234656768001,"66":12689,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:57:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:57:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:57:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234656768001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:57:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:57:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:57:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:57:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:57:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234656768001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:57:19] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:57:19] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:57:42] local.INFO: TCP Data received {"connection_id":190056,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:42] local.INFO: Processing buffer {"connection_id":190056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:57:42] local.INFO: Packet analysis {"connection_id":190056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:57:42] local.INFO: Extracted packet for processing {"connection_id":190056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13: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-09-21 13:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:57: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-09-21 13: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-09-21 13:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:57:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:57:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":190056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:57:42] local.INFO: GPS data processed {"connection_id":190056,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:57:42] local.INFO: Acknowledgment sent {"connection_id":190056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:57:50] local.INFO: TCP Data received {"connection_id":188609,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31294d0012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31294d0012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:50] local.INFO: Processing buffer {"connection_id":188609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31294d0012d181f400721b198004b00d12e..."} 
[2026-09-21 13:57:50] local.INFO: Packet analysis {"connection_id":188609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:57:50] local.INFO: Extracted packet for processing {"connection_id":188609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234662144001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979170000,"timestamp_ms":1789979170000,"timestamp_seconds":1789979170,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31294d0"} 
[2026-09-21 13:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 13:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234662144001,"66":12689,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234662144001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:57:50] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234662144001,"power":12689,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":188609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876516,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:57:50] local.INFO: GPS data processed {"connection_id":188609,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:57:50] local.INFO: Acknowledgment sent {"connection_id":188609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:58:08] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:08] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:08] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:58:13] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:13] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:58:13] local.INFO: IMEI packet received {"connection_id":191381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":191381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:58:14] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:14] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:14] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:58:14] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:58:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:58:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:58:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:58:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:58:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:58:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:58:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:58:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:58:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:58:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:58:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:58:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:58:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:58:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:58:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:58:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:58:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:58:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:58:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:58:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:58:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:58:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:58:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:58:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:58:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:58:14] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:58:14] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:58:14] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:58:18] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:18] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:18] local.INFO: IMEI packet received {"connection_id":188769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:58:19] local.INFO: TCP Data received {"connection_id":191381,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:19] local.INFO: Processing buffer {"connection_id":191381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c30f8b78012d34c04006aa41300008000c2d..."} 
[2026-09-21 13:58:19] local.INFO: Packet analysis {"connection_id":191381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:58:19] local.INFO: Extracted packet for processing {"connection_id":191381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c30f"} 
[2026-09-21 13:58:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:58:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234539520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:58:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789978971000,"timestamp_ms":1789978971000,"timestamp_seconds":1789978971,"priority":1,"record_length":96,"hex_timestamp":"000001a0c30f8b78"} 
[2026-09-21 13:58:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:58:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:58:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 13:58:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:58:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:58:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:58:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:58:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:58:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:58:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:58:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:58:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:58:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:58:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234539520001,"66":25593,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:58:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:58:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:58:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234539520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:58:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:58:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:58:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:58:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:58:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234539520001,"power":25593,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:58:19] local.INFO: DEBUG: GPS processor result {"connection_id":191381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:58:19] local.INFO: GPS data processed {"connection_id":191381,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:58:19] local.INFO: Acknowledgment sent {"connection_id":191381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:58:22] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:22] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:58:22] local.INFO: IMEI packet received {"connection_id":188769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":188769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:58:23] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c312e6d8012d181f400721b198004b00d12d..."} 
[2026-09-21 13:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c312e6d8012d181f400721b198004b00d12d..."} 
[2026-09-21 13:58:23] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c312e6d8012d181f400721b198004b00d12d..."} 
[2026-09-21 13:58:23] local.INFO: Packet analysis {"connection_id":188769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:58:23] local.INFO: Extracted packet for processing {"connection_id":188769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c312"} 
[2026-09-21 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234667520001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789979191000,"timestamp_ms":1789979191000,"timestamp_seconds":1789979191,"priority":1,"record_length":96,"hex_timestamp":"000001a0c312e6d8"} 
[2026-09-21 13:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:58:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:58:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 13:58:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13: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-09-21 13:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234667520001,"66":12667,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234667520001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:58:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:58:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234667520001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":188769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:58:23] local.INFO: GPS data processed {"connection_id":188769,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:58:23] local.INFO: Acknowledgment sent {"connection_id":188769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:58:28] local.INFO: TCP Data received {"connection_id":188769,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31338e0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31338e0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:58:28] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31338e0012d181f400721b198004b00d12f..."} 
[2026-09-21 13:58:28] local.INFO: Packet analysis {"connection_id":188769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:58:28] local.INFO: Extracted packet for processing {"connection_id":188769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234672896001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789979212000,"timestamp_ms":1789979212000,"timestamp_seconds":1789979212,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31338e0"} 
[2026-09-21 13:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 13:58: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-09-21 13:58:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234672896001,"66":12667,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234672896001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:58:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234672896001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":188769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:58:28] local.INFO: GPS data processed {"connection_id":188769,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:58:28] local.INFO: Acknowledgment sent {"connection_id":188769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:59:03] local.INFO: TCP Data received {"connection_id":190058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:03] local.INFO: Processing buffer {"connection_id":190058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:03] local.INFO: IMEI packet received {"connection_id":190058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 13:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":190058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:59:08] local.INFO: TCP Data received {"connection_id":190058,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:08] local.INFO: Processing buffer {"connection_id":190058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 13:59:08] local.INFO: IMEI packet received {"connection_id":190058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 13:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":190058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:59:09] local.INFO: TCP Data received {"connection_id":190058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:09] local.INFO: Processing buffer {"connection_id":190058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:09] local.INFO: Packet analysis {"connection_id":190058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 13:59:09] local.INFO: Extracted packet for processing {"connection_id":190058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 13:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13: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-09-21 13:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 13:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13: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":249,"data_length":795,"current_offset":136} 
[2026-09-21 13:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:59:09] local.INFO: GPS data processed {"connection_id":190058,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:59:09] local.INFO: Acknowledgment sent {"connection_id":190058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:59:13] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:13] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:13] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 13:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:59:15] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:15] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 13:59:15] local.INFO: IMEI packet received {"connection_id":188610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 13:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":188610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 13:59:16] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3138ae8012d181f400721b198004b00d12f..."} 
[2026-09-21 13:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3138ae8012d181f400721b198004b00d12f..."} 
[2026-09-21 13:59:16] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3138ae8012d181f400721b198004b00d12f..."} 
[2026-09-21 13:59:16] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:59:16] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":47,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234678272001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789979233000,"timestamp_ms":1789979233000,"timestamp_seconds":1789979233,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3138ae8"} 
[2026-09-21 13:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:59:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:59:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 13:59:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:59:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234678272001,"66":12667,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234678272001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:59:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:59:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234678272001,"power":12667,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876522,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:59:16] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:59:16] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:59:40] local.INFO: TCP Data received {"connection_id":188611,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:59:40] local.INFO: Processing buffer {"connection_id":188611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 13:59:40] local.INFO: IMEI packet received {"connection_id":188611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 13:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":188611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 13:59:41] local.INFO: TCP Data received {"connection_id":190058,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:41] local.INFO: Processing buffer {"connection_id":190058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 13:59:41] local.INFO: Packet analysis {"connection_id":190058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 13:59:41] local.INFO: Extracted packet for processing {"connection_id":190058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 13:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59: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-09-21 13:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 13:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 13:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 13:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 13:59:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 13:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 13:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 13:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 13:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 13:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 13:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 13:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 13:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 13:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":190058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:59:41] local.INFO: GPS data processed {"connection_id":190058,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:59:41] local.INFO: Acknowledgment sent {"connection_id":190058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 13:59:47] local.INFO: TCP Data received {"connection_id":188610,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c313dcf0012d181f400721b198004b00d12d..."} 
[2026-09-21 13:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c313dcf0012d181f400721b198004b00d12d..."} 
[2026-09-21 13:59:47] local.INFO: Processing buffer {"connection_id":188610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c313dcf0012d181f400721b198004b00d12d..."} 
[2026-09-21 13:59:47] local.INFO: Packet analysis {"connection_id":188610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:59:47] local.INFO: Extracted packet for processing {"connection_id":188610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c313"} 
[2026-09-21 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":45,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 13:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 13:59:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234683648001,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 13:59:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 13:59:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789979254000,"timestamp_ms":1789979254000,"timestamp_seconds":1789979254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c313dcf0"} 
[2026-09-21 13:59:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 13:59:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 13:59:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 13:59:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 13:59:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 13:59:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 13:59:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 13:59:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 13:59:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:59:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 13:59:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 13:59:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 13:59:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 13:59:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234683648001,"66":12645,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 13:59:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 13:59:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 13:59:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234683648001,"description":"Unknown IO ID 0"} 
[2026-09-21 13:59:47] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 13:59:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 13:59:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 13:59:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 13:59:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234683648001,"power":12645,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 13:59:47] local.INFO: DEBUG: GPS processor result {"connection_id":188610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 13:59:47] local.INFO: GPS data processed {"connection_id":188610,"processed":1,"errors":0,"total":1} 
[2026-09-21 13:59:47] local.INFO: Acknowledgment sent {"connection_id":188610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:00:03] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:03] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:03] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:00:08] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:08] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:00:08] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:00:09] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:09] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:09] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:09] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:00:09] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:00:09] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:00:13] local.INFO: TCP Data received {"connection_id":188612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:13] local.INFO: Processing buffer {"connection_id":188612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:13] local.INFO: IMEI packet received {"connection_id":188612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":188612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:00:15] local.INFO: TCP Data received {"connection_id":188613,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188613,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:00:15] local.INFO: Processing buffer {"connection_id":188613,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:00:15] local.INFO: IMEI packet received {"connection_id":188613,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":188613,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:00:18] local.INFO: TCP Data received {"connection_id":188612,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:18] local.INFO: Processing buffer {"connection_id":188612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:00:18] local.INFO: IMEI packet received {"connection_id":188612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":188612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:00:19] local.INFO: TCP Data received {"connection_id":188612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142ef8012d181f400721b198004b00d12e..."} 
[2026-09-21 14:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142ef8012d181f400721b198004b00d12e..."} 
[2026-09-21 14:00:19] local.INFO: Processing buffer {"connection_id":188612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142ef8012d181f400721b198004b00d12e..."} 
[2026-09-21 14:00:19] local.INFO: Packet analysis {"connection_id":188612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:19] local.INFO: Extracted packet for processing {"connection_id":188612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234689024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979275000,"timestamp_ms":1789979275000,"timestamp_seconds":1789979275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142ef8"} 
[2026-09-21 14:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 14:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234689024001,"66":12558,"107":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 14:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234689024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:00:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 14:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 14:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234689024001,"power":12558,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 14:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":188612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:00:19] local.INFO: GPS data processed {"connection_id":188612,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:00:19] local.INFO: Acknowledgment sent {"connection_id":188612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:00:40] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:40] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:00:40] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:40] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:00: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":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:00:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:00:40] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:00:40] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:00:50] local.INFO: TCP Data received {"connection_id":188612,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3148100012d181f400721b198004b00d129..."} 
[2026-09-21 14:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3148100012d181f400721b198004b00d129..."} 
[2026-09-21 14:00:50] local.INFO: Processing buffer {"connection_id":188612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3148100012d181f400721b198004b00d129..."} 
[2026-09-21 14:00:50] local.INFO: Packet analysis {"connection_id":188612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:50] local.INFO: Extracted packet for processing {"connection_id":188612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234694400001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979296000,"timestamp_ms":1789979296000,"timestamp_seconds":1789979296,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3148100"} 
[2026-09-21 14:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3272753864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":75,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829528,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528779,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":148,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432748906,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2967601152,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 14:00:50] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,107,83,24,241,157,16,176,160,220,45,64,177,75,10,66,138,47,56,1,240,123,227,195,33,4,113,205,148,31,152,46,239,49,2,79,7,106,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-21 14:00:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549548343296000,"timestamp_seconds":5404549548343296,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:00:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234694400001,"66":12645,"105":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234694400001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:00:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 14:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234694400001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 14:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":188612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:00:50] local.INFO: GPS data processed {"connection_id":188612,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:00:50] local.INFO: Acknowledgment sent {"connection_id":188612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:01:03] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:03] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:03] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:01:03] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:01:08] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:08] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:01:08] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:01:10] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:10] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:10] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:10] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:01:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:01:10] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:01:10] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:01:13] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:13] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:13] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:01:18] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:18] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:01:18] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:01:19] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c314d308012d181f400721b198004b00d12e..."} 
[2026-09-21 14:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c314d308012d181f400721b198004b00d12e..."} 
[2026-09-21 14:01:19] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c314d308012d181f400721b198004b00d12e..."} 
[2026-09-21 14:01:19] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:19] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648664,"longitude_deg":75.6555584,"latitude_deg":11.9648664,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b198","is_valid_coordinates":true} 
[2026-09-21 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234699776001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431007869239296,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979317000,"timestamp_ms":1789979317000,"timestamp_seconds":1789979317,"priority":1,"record_length":96,"hex_timestamp":"000001a0c314d308"} 
[2026-09-21 14:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 14:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234699776001,"66":12548,"105":206,"83":41984,"24":0,"16":22431007869239296,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234699776001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:01:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431007869239296,"km_value":22431007869239.297,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 14:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234699776001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 14:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:01:19] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:01:19] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:01:42] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:42] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:01:42] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:42] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:01:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:01:42] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:01:42] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:01:49] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3152510012d181e800721af68004c00d02c..."} 
[2026-09-21 14:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3152510012d181e800721af68004c00d02c..."} 
[2026-09-21 14:01:49] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3152510012d181e800721af68004c00d02c..."} 
[2026-09-21 14:01:49] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:01:49] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234705152001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562536448,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789979338000,"timestamp_ms":1789979338000,"timestamp_seconds":1789979338,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3152510"} 
[2026-09-21 14:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3791650816,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3272795864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2979528779,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":56,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2967601152,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7710389420687366144,"note":"Value kept but may cause issues"} 
[2026-09-21 14:01:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,176,160,129,45,64,177,75,41,10,66,46,107,220,1,240,101,227,195,33,4,113,205,56,31,152,47,239,49,2,79,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-09-21 14:01:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404549548343296000,"timestamp_seconds":5404549548343296,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234705152001,"66":12613,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1738178380562536448},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234705152001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:01:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562536448,"description":"Unknown IO ID 45"} 
[2026-09-21 14:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234705152001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562536448}} 
[2026-09-21 14:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876532,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:01:49] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:01:49] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:02:08] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:08] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:08] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:02:12] local.INFO: TCP Data received {"connection_id":190060,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:12] local.INFO: Processing buffer {"connection_id":190060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:12] local.INFO: IMEI packet received {"connection_id":190060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":190060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:02:13] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:13] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:02:13] local.INFO: IMEI packet received {"connection_id":191382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":191382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:02:15] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:15] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:15] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:02:15] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:02:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02: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-09-21 14:02:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:02:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:02:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:02:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:02:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:02:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:02:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:02:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:02:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:02:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:02:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:02:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:02:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:02:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:02:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:02:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:02:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:02:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:02:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:02:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:02:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:02:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:02:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:02:15] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:02:15] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:02:15] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:02:18] local.INFO: TCP Data received {"connection_id":190060,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:18] local.INFO: Processing buffer {"connection_id":190060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:02:18] local.INFO: IMEI packet received {"connection_id":190060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":190060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:02:19] local.INFO: TCP Data received {"connection_id":190060,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3157718012d181e800721af68004c00d02c..."} 
[2026-09-21 14:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3157718012d181e800721af68004c00d02c..."} 
[2026-09-21 14:02:19] local.INFO: Processing buffer {"connection_id":190060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3157718012d181e800721af68004c00d02c..."} 
[2026-09-21 14:02:19] local.INFO: Packet analysis {"connection_id":190060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:02:19] local.INFO: Extracted packet for processing {"connection_id":190060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:02:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234710528001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:02:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979359000,"timestamp_ms":1789979359000,"timestamp_seconds":1789979359,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3157718"} 
[2026-09-21 14:02:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:02:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:02:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 14:02:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:02:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:02:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:02:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:02:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:02:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:02:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:02:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:02:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:02:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:02:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234710528001,"66":12591,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:02:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:02:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:02:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234710528001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:02:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:02:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:02:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:02:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:02:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234710528001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":190060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876534,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:02:19] local.INFO: GPS data processed {"connection_id":190060,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:02:19] local.INFO: Acknowledgment sent {"connection_id":190060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:02:21] local.INFO: TCP Data received {"connection_id":191382,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:21] local.INFO: Processing buffer {"connection_id":191382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:02:21] local.INFO: Packet analysis {"connection_id":191382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:02:21] local.INFO: Extracted packet for processing {"connection_id":191382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:02:21] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 14:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:02:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:02:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:02:21] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:02:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":191382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:02:21] local.INFO: GPS data processed {"connection_id":191382,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:02:21] local.INFO: Acknowledgment sent {"connection_id":191382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:02:50] local.INFO: TCP Data received {"connection_id":190060,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c315c920012d181e800721af68004c00d02d..."} 
[2026-09-21 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c315c920012d181e800721af68004c00d02d..."} 
[2026-09-21 14:02:50] local.INFO: Processing buffer {"connection_id":190060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c315c920012d181e800721af68004c00d02d..."} 
[2026-09-21 14:02:50] local.INFO: Packet analysis {"connection_id":190060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:02:50] local.INFO: Extracted packet for processing {"connection_id":190060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c315"} 
[2026-09-21 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234715904001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979380000,"timestamp_ms":1789979380000,"timestamp_seconds":1789979380,"priority":1,"record_length":96,"hex_timestamp":"000001a0c315c920"} 
[2026-09-21 14:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:02:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 14:02:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234715904001,"66":12591,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234715904001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:02:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:02:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234715904001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":190060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:02:50] local.INFO: GPS data processed {"connection_id":190060,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:02:50] local.INFO: Acknowledgment sent {"connection_id":190060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:03:03] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:03] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:03] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:03:03] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:03:08] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:08] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:03:08] local.INFO: IMEI packet received {"connection_id":191383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":191383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:03:09] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:03:09] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3142340012d34c04006aa4130000c000c2b..."} 
[2026-09-21 14:03:09] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:03:09] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c314"} 
[2026-09-21 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234616576001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979272000,"timestamp_ms":1789979272000,"timestamp_seconds":1789979272,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3142340"} 
[2026-09-21 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-09-21 14:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:03:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2934,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 14:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234616576001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234616576001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234616576001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:03:09] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:03:09] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:03:12] local.INFO: TCP Data received {"connection_id":191384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:12] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:12] local.INFO: IMEI packet received {"connection_id":191384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":191384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:03:18] local.INFO: TCP Data received {"connection_id":191384,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:18] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:03:18] local.INFO: IMEI packet received {"connection_id":191384,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":191384,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:03:19] local.INFO: TCP Data received {"connection_id":191384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3161b28012d181e800721af68004c00d02b..."} 
[2026-09-21 14:03:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3161b28012d181e800721af68004c00d02b..."} 
[2026-09-21 14:03:19] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3161b28012d181e800721af68004c00d02b..."} 
[2026-09-21 14:03:19] local.INFO: Packet analysis {"connection_id":191384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:03:19] local.INFO: Extracted packet for processing {"connection_id":191384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:03:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234721280001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:03:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979401000,"timestamp_ms":1789979401000,"timestamp_seconds":1789979401,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3161b28"} 
[2026-09-21 14:03:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:03:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:03:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 14:03:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:03:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:03:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:03:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:03:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:03:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:03:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:03:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:03:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:03:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:03:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234721280001,"66":12580,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:03:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:03:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:03:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234721280001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:03:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:03:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:03:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:03:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:03:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234721280001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":191384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876538,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:03:19] local.INFO: GPS data processed {"connection_id":191384,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:03:19] local.INFO: Acknowledgment sent {"connection_id":191384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:03:40] local.INFO: TCP Data received {"connection_id":191383,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:03:40] local.INFO: Processing buffer {"connection_id":191383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:03:40] local.INFO: Packet analysis {"connection_id":191383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:03:40] local.INFO: Extracted packet for processing {"connection_id":191383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:03:40] local.INFO: GPS data processed {"connection_id":191383,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:03:40] local.INFO: Acknowledgment sent {"connection_id":191383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:03:49] local.INFO: TCP Data received {"connection_id":191384,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3166d30012d181e800721af68004c00d02d..."} 
[2026-09-21 14:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3166d30012d181e800721af68004c00d02d..."} 
[2026-09-21 14:03:49] local.INFO: Processing buffer {"connection_id":191384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3166d30012d181e800721af68004c00d02d..."} 
[2026-09-21 14:03:49] local.INFO: Packet analysis {"connection_id":191384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:03:49] local.INFO: Extracted packet for processing {"connection_id":191384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234726656001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789979422000,"timestamp_ms":1789979422000,"timestamp_seconds":1789979422,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3166d30"} 
[2026-09-21 14:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 14:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191384,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234726656001,"66":12428,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234726656001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:03:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234726656001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":191384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876540,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:03:50] local.INFO: GPS data processed {"connection_id":191384,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:03:50] local.INFO: Acknowledgment sent {"connection_id":191384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:04:03] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:03] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:03] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:04:08] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:08] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:04:08] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:04:09] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:09] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:09] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:04:09] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:04: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-09-21 14:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:04:09] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:04:09] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:04:18] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:18] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:18] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:04:23] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:23] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:04:23] local.INFO: IMEI packet received {"connection_id":191385,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:04:23] local.INFO: IMEI acknowledgment sent {"connection_id":191385,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:04:24] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c316bf38012d181e800721af68004c00d02b..."} 
[2026-09-21 14:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c316bf38012d181e800721af68004c00d02b..."} 
[2026-09-21 14:04:24] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c316bf38012d181e800721af68004c00d02b..."} 
[2026-09-21 14:04:24] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:04:24] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c316"} 
[2026-09-21 14:04:24] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234732032001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789979443000,"timestamp_ms":1789979443000,"timestamp_seconds":1789979443,"priority":1,"record_length":96,"hex_timestamp":"000001a0c316bf38"} 
[2026-09-21 14:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:04:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:04:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 14:04:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234732032001,"66":12558,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234732032001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:04:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:04:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:04:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:04:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234732032001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:04:24] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:04:24] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:04:28] local.INFO: TCP Data received {"connection_id":191385,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3171140012d181e800721af68004c00d02c..."} 
[2026-09-21 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191385,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3171140012d181e800721af68004c00d02c..."} 
[2026-09-21 14:04:28] local.INFO: Processing buffer {"connection_id":191385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3171140012d181e800721af68004c00d02c..."} 
[2026-09-21 14:04:28] local.INFO: Packet analysis {"connection_id":191385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:04:28] local.INFO: Extracted packet for processing {"connection_id":191385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234737408001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789979464000,"timestamp_ms":1789979464000,"timestamp_seconds":1789979464,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3171140"} 
[2026-09-21 14:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14: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-09-21 14: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3272921864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":76,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381491005829528,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2942828620,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2968059904,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,176,160,109,45,128,175,76,10,66,27,43,201,1,240,47,227,195,33,4,113,205,37,30,104,44,239,49,2,79,7,75,106,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 14:04:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606029984694272,"timestamp_seconds":5476606029984694.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191385,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234737408001,"66":12526,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234737408001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:04:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234737408001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":191385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:04:28] local.INFO: GPS data processed {"connection_id":191385,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:04:28] local.INFO: Acknowledgment sent {"connection_id":191385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:04:40] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:40] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:04:40] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:04:40] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:04:40] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:04:40] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:05:03] local.INFO: TCP Data received {"connection_id":190062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:03] local.INFO: Processing buffer {"connection_id":190062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:03] local.INFO: IMEI packet received {"connection_id":190062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":190062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:05:08] local.INFO: TCP Data received {"connection_id":190062,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:08] local.INFO: Processing buffer {"connection_id":190062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:05:08] local.INFO: IMEI packet received {"connection_id":190062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":190062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:05:09] local.INFO: TCP Data received {"connection_id":190062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:09] local.INFO: Processing buffer {"connection_id":190062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:09] local.INFO: Packet analysis {"connection_id":190062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:05:09] local.INFO: Extracted packet for processing {"connection_id":190062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 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-09-21 14:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 14:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:05:09] local.INFO: GPS data processed {"connection_id":190062,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:05:09] local.INFO: Acknowledgment sent {"connection_id":190062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:05:12] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:05:12] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:12] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:05:18] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:18] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:05:18] local.INFO: IMEI packet received {"connection_id":191386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":191386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:05:19] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3176348012d181e800721af68004c00d02b..."} 
[2026-09-21 14:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3176348012d181e800721af68004c00d02b..."} 
[2026-09-21 14:05:19] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3176348012d181e800721af68004c00d02b..."} 
[2026-09-21 14:05:19] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:05:19] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234742784001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979485000,"timestamp_ms":1789979485000,"timestamp_seconds":1789979485,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3176348"} 
[2026-09-21 14:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:05:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:05:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234742784001,"66":12548,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234742784001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:05:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:05:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234742784001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:05:19] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:05:19] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:05:40] local.INFO: TCP Data received {"connection_id":190063,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:05:40] local.INFO: Processing buffer {"connection_id":190063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:05:40] local.INFO: IMEI packet received {"connection_id":190063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":190063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:05:42] local.INFO: TCP Data received {"connection_id":190062,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:42] local.INFO: Processing buffer {"connection_id":190062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:05:42] local.INFO: Packet analysis {"connection_id":190062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:05:42] local.INFO: Extracted packet for processing {"connection_id":190062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:05:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:05:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:05:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:05:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:05:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:05: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-09-21 14:05:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:05:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:05:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:05:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:05:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:05:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:05:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:05:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:05:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:05:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:05:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:05:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:05:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:05:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:05:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:05:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:05:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:05:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:05:42] local.INFO: DEBUG: GPS processor result {"connection_id":190062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:05:42] local.INFO: GPS data processed {"connection_id":190062,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:05:42] local.INFO: Acknowledgment sent {"connection_id":190062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:05:50] local.INFO: TCP Data received {"connection_id":191386,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c317b550012d181e800721af68004c00d02d..."} 
[2026-09-21 14:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c317b550012d181e800721af68004c00d02d..."} 
[2026-09-21 14:05:50] local.INFO: Processing buffer {"connection_id":191386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c317b550012d181e800721af68004c00d02d..."} 
[2026-09-21 14:05:50] local.INFO: Packet analysis {"connection_id":191386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:05:50] local.INFO: Extracted packet for processing {"connection_id":191386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c317"} 
[2026-09-21 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234748160001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979506000,"timestamp_ms":1789979506000,"timestamp_seconds":1789979506,"priority":1,"record_length":96,"hex_timestamp":"000001a0c317b550"} 
[2026-09-21 14:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3272963864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2942828620,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2968059904,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 14:05:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,176,160,17,45,128,175,76,44,10,66,191,43,109,1,240,140,227,195,33,4,113,205,201,30,104,239,49,2,79,7,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 14:05:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606029984694272,"timestamp_seconds":5476606029984694.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234748160001,"66":12526,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234748160001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:05:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234748160001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":191386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:05:50] local.INFO: GPS data processed {"connection_id":191386,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:05:50] local.INFO: Acknowledgment sent {"connection_id":191386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:06:08] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:08] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:08] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:06:12] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:12] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:12] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:06:13] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:13] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:06:13] local.INFO: IMEI packet received {"connection_id":191387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":191387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:06:14] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:14] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:14] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:14] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:06:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:06:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:06:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:06:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:06:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:06: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-09-21 14:06:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:06:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:06:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:06:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:06:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:06:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:06:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:06:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:06:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:06:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:06:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:06:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:06:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:06:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:06:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:06:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:06:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:06:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:06:14] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:06:14] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:06:14] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:06:15] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:15] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:15] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:06:17] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:17] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:06:17] local.INFO: IMEI packet received {"connection_id":191388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":191388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:06:18] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3180758012d181e800721af68004c00d02c..."} 
[2026-09-21 14:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3180758012d181e800721af68004c00d02c..."} 
[2026-09-21 14:06:18] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3180758012d181e800721af68004c00d02c..."} 
[2026-09-21 14:06:18] local.INFO: Packet analysis {"connection_id":191388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:18] local.INFO: Extracted packet for processing {"connection_id":191388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234753536001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789979527000,"timestamp_ms":1789979527000,"timestamp_seconds":1789979527,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3180758"} 
[2026-09-21 14:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234753536001,"66":12548,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234753536001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:06:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234753536001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":191388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:06:18] local.INFO: GPS data processed {"connection_id":191388,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:06:18] local.INFO: Acknowledgment sent {"connection_id":191388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:06:20] local.INFO: TCP Data received {"connection_id":191387,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191387,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:20] local.INFO: Processing buffer {"connection_id":191387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:06:20] local.INFO: Packet analysis {"connection_id":191387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:20] local.INFO: Extracted packet for processing {"connection_id":191387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:20] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:06:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:06:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:06:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:06:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":191387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:06:20] local.INFO: GPS data processed {"connection_id":191387,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:06:20] local.INFO: Acknowledgment sent {"connection_id":191387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:06:20] local.INFO: TCP Data received {"connection_id":190064,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190064,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:06:20] local.INFO: Processing buffer {"connection_id":190064,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:06:20] local.INFO: IMEI packet received {"connection_id":190064,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":190064,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:06:23] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3185960012d181e800721af68004c00d029..."} 
[2026-09-21 14:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3185960012d181e800721af68004c00d029..."} 
[2026-09-21 14:06:23] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3185960012d181e800721af68004c00d029..."} 
[2026-09-21 14:06:23] local.INFO: Packet analysis {"connection_id":191388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:23] local.INFO: Extracted packet for processing {"connection_id":191388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":41,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234758912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789979548000,"timestamp_ms":1789979548000,"timestamp_seconds":1789979548,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3185960"} 
[2026-09-21 14:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3273005864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199127245,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2942828620,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862826,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2968059904,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:23] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,176,160,181,45,128,175,76,10,66,99,43,17,1,240,238,227,195,33,4,113,205,109,30,104,239,48,2,79,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 14:06:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606034279661568,"timestamp_seconds":5476606034279662.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234758912001,"66":12537,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234758912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:06:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234758912001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":191388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:06:23] local.INFO: GPS data processed {"connection_id":191388,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:06:23] local.INFO: Acknowledgment sent {"connection_id":191388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:06:54] local.INFO: TCP Data received {"connection_id":191388,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318ab68012d181e800721af68004c00d02e..."} 
[2026-09-21 14:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318ab68012d181e800721af68004c00d02e..."} 
[2026-09-21 14:06:54] local.INFO: Processing buffer {"connection_id":191388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318ab68012d181e800721af68004c00d02e..."} 
[2026-09-21 14:06:54] local.INFO: Packet analysis {"connection_id":191388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:54] local.INFO: Extracted packet for processing {"connection_id":191388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234764288001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789979569000,"timestamp_ms":1789979569000,"timestamp_seconds":1789979569,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318ab68"} 
[2026-09-21 14:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234764288001,"66":12548,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234764288001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:06:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234764288001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":191388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:06:54] local.INFO: GPS data processed {"connection_id":191388,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:06:54] local.INFO: Acknowledgment sent {"connection_id":191388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:07:03] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:03] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:03] local.INFO: IMEI packet received {"connection_id":190065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:07:03] local.INFO: IMEI acknowledgment sent {"connection_id":190065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:07:08] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:08] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:07:08] local.INFO: IMEI packet received {"connection_id":190065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":190065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:07:09] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:09] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:09] local.INFO: Packet analysis {"connection_id":190065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:09] local.INFO: Extracted packet for processing {"connection_id":190065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:07:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":190065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:07:09] local.INFO: GPS data processed {"connection_id":190065,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:07:09] local.INFO: Acknowledgment sent {"connection_id":190065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:07:12] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:12] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:12] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:07:18] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:18] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:07:18] local.INFO: IMEI packet received {"connection_id":191389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":191389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:07:19] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318fd70012d181e800721af68004c00d02b..."} 
[2026-09-21 14:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318fd70012d181e800721af68004c00d02b..."} 
[2026-09-21 14:07:19] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318fd70012d181e800721af68004c00d02b..."} 
[2026-09-21 14:07:19] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:19] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":43,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234769664001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979590000,"timestamp_ms":1789979590000,"timestamp_seconds":1789979590,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318fd70"} 
[2026-09-21 14:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":176,"raw_value":3909091328,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3273047864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2942828620,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2147951023,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993029994,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2968059904,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:19] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,176,160,89,45,128,175,76,41,10,66,7,44,181,1,240,238,227,195,33,4,113,205,17,30,104,239,48,2,79,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 14:07:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476606042869596160,"timestamp_seconds":5476606042869596.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234769664001,"66":12526,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234769664001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:07:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:07:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234769664001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:07:19] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:07:19] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:07:40] local.INFO: TCP Data received {"connection_id":190065,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:40] local.INFO: Processing buffer {"connection_id":190065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:07:40] local.INFO: Packet analysis {"connection_id":190065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:40] local.INFO: Extracted packet for processing {"connection_id":190065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 14:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:07:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":190065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:07:40] local.INFO: GPS data processed {"connection_id":190065,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:07:40] local.INFO: Acknowledgment sent {"connection_id":190065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:07:50] local.INFO: TCP Data received {"connection_id":191389,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3194f78012d181e800721af68004c00d02e..."} 
[2026-09-21 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191389,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3194f78012d181e800721af68004c00d02e..."} 
[2026-09-21 14:07:50] local.INFO: Processing buffer {"connection_id":191389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3194f78012d181e800721af68004c00d02e..."} 
[2026-09-21 14:07:50] local.INFO: Packet analysis {"connection_id":191389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c319"} 
[2026-09-21 14:07:50] local.INFO: Extracted packet for processing {"connection_id":191389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c319"} 
[2026-09-21 14:07:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:07:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234775040001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:07:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:07:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979611000,"timestamp_ms":1789979611000,"timestamp_seconds":1789979611,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3194f78"} 
[2026-09-21 14:07:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:07:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:07:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:07:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:07:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:07:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:07:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:07:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:07:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:07:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:07:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:07:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:07:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:07:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234775040001,"66":12504,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:07:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:07:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:07:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234775040001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:07:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:07:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:07:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:07:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:07:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234775040001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:07:50] local.INFO: DEBUG: GPS processor result {"connection_id":191389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:07:50] local.INFO: GPS data processed {"connection_id":191389,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:07:50] local.INFO: Acknowledgment sent {"connection_id":191389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:08:03] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:03] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:03] local.INFO: IMEI packet received {"connection_id":190066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:08:03] local.INFO: IMEI acknowledgment sent {"connection_id":190066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:08:08] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:08] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:08:08] local.INFO: IMEI packet received {"connection_id":190066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:08:09] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:08:09] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c318bb08012d34c04006aa41300007000c2d..."} 
[2026-09-21 14:08:09] local.INFO: Packet analysis {"connection_id":190066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:08:09] local.INFO: Extracted packet for processing {"connection_id":190066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c318"} 
[2026-09-21 14:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234693632001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979573000,"timestamp_ms":1789979573000,"timestamp_seconds":1789979573,"priority":1,"record_length":96,"hex_timestamp":"000001a0c318bb08"} 
[2026-09-21 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-09-21 14:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:08: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-09-21 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-09-21 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-09-21 14:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234693632001,"66":25549,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234693632001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234693632001,"power":25549,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":190066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:08:09] local.INFO: GPS data processed {"connection_id":190066,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:08:09] local.INFO: Acknowledgment sent {"connection_id":190066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:08:12] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:12] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:12] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:08:18] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:18] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:08:18] local.INFO: IMEI packet received {"connection_id":188617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":188617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:08:19] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c319a180012d181e800721af68004c00d02e..."} 
[2026-09-21 14:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c319a180012d181e800721af68004c00d02e..."} 
[2026-09-21 14:08:19] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c319a180012d181e800721af68004c00d02e..."} 
[2026-09-21 14:08:19] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c319"} 
[2026-09-21 14:08:19] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c319"} 
[2026-09-21 14:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648104,"longitude_deg":75.6555392,"latitude_deg":11.9648104,"altitude":76,"angle":208,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 14:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234780416001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431037934010368,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329860096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979632000,"timestamp_ms":1789979632000,"timestamp_seconds":1789979632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c319a180"} 
[2026-09-21 14:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:08:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234780416001,"66":12461,"105":206,"83":41984,"24":0,"16":22431037934010368,"45":1737967274329860096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234780416001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:08:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:08:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431037934010368,"km_value":22431037934010.367,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329860096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234780416001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329860096}} 
[2026-09-21 14:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:08:19] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:08:19] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:08:40] local.INFO: TCP Data received {"connection_id":190066,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:08:40] local.INFO: Processing buffer {"connection_id":190066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:08:40] local.INFO: Packet analysis {"connection_id":190066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:08:40] local.INFO: Extracted packet for processing {"connection_id":190066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":190066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:08:40] local.INFO: GPS data processed {"connection_id":190066,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:08:40] local.INFO: Acknowledgment sent {"connection_id":190066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:08:50] local.INFO: TCP Data received {"connection_id":188617,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d5e88012d181e800721a8a8004900842b..."} 
[2026-09-21 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d5e88012d181e800721a8a8004900842b..."} 
[2026-09-21 14:08:50] local.INFO: Processing buffer {"connection_id":188617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d5e88012d181e800721a8a8004900842b..."} 
[2026-09-21 14:08:50] local.INFO: Packet analysis {"connection_id":188617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:08:50] local.INFO: Extracted packet for processing {"connection_id":188617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646376,"longitude_deg":75.6555392,"latitude_deg":11.9646376,"altitude":73,"angle":132,"satellites":43,"speed":13,"hex_longitude":"2d181e80","hex_latitude":"0721a8a8","is_valid_coordinates":true} 
[2026-09-21 14:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234848256001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431132423290880,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096950272,"note":"Value kept but may cause issues"} 
[2026-09-21 14:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789979877000,"timestamp_ms":1789979877000,"timestamp_seconds":1789979877,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d5e88"} 
[2026-09-21 14:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 14:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:08:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:08:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234848256001,"66":14102,"105":206,"83":41984,"24":13,"16":22431132423290880,"45":1737756168096950272},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:08:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:08:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:08:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234848256001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:08:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:08:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:08:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431132423290880,"km_value":22431132423290.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:08:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096950272,"description":"Unknown IO ID 45"} 
[2026-09-21 14:08:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234848256001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1737756168096950272}} 
[2026-09-21 14:08:51] local.INFO: DEBUG: GPS processor result {"connection_id":188617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:08:51] local.INFO: GPS data processed {"connection_id":188617,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:08:51] local.INFO: Acknowledgment sent {"connection_id":188617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:09:03] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:03] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:03] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:09:09] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:09] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:09:09] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:09:10] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:10] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:10] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:10] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:09:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:09:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:09:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:09:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:09:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:09:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:09:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:09:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:09:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:09:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:09:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:09:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:09:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:09:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:09:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:09:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:09:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:09:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:09:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:09:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:09:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:09:10] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:09:10] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:09:10] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:09:16] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:16] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:16] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:09:17] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:17] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:17] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:09:18] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:18] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:18] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:09:21] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:21] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:09:21] local.INFO: IMEI packet received {"connection_id":188776,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":188776,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:09:22] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d6658012d1820400721a748004900752b..."} 
[2026-09-21 14:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d6658012d1820400721a748004900752b..."} 
[2026-09-21 14:09:22] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d6658012d1820400721a748004900752b..."} 
[2026-09-21 14:09:22] local.INFO: Packet analysis {"connection_id":188776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:22] local.INFO: Extracted packet for processing {"connection_id":188776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119646024,"longitude_deg":75.655584,"latitude_deg":11.9646024,"altitude":73,"angle":117,"satellites":43,"speed":9,"hex_longitude":"2d182040","hex_latitude":"0721a748","is_valid_coordinates":true} 
[2026-09-21 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:09:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234848512001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431162488061952,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329417728,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:09:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789979879000,"timestamp_ms":1789979879000,"timestamp_seconds":1789979879,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d6658"} 
[2026-09-21 14:09:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:09:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:09:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 14:09:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:09:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:09:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:09:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:09:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:09:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:09:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:09:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:09:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234848512001,"66":13515,"105":206,"83":41984,"24":9,"16":22431162488061952,"45":1737967274329417728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:09:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:09:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:09:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234848512001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:09:22] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:09:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:09:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431162488061952,"km_value":22431162488061.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:09:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329417728,"description":"Unknown IO ID 45"} 
[2026-09-21 14:09:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234848512001,"power":13515,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737967274329417728}} 
[2026-09-21 14:09:22] local.INFO: DEBUG: GPS processor result {"connection_id":188776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:09:22] local.INFO: GPS data processed {"connection_id":188776,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:09:22] local.INFO: Acknowledgment sent {"connection_id":188776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:09:23] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d6a40012d1821400721a6c0004900822a..."} 
[2026-09-21 14:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d6a40012d1821400721a6c0004900822a..."} 
[2026-09-21 14:09:23] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d6a40012d1821400721a6c0004900822a..."} 
[2026-09-21 14:09:23] local.INFO: Packet analysis {"connection_id":188776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:23] local.INFO: Extracted packet for processing {"connection_id":188776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:23] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119645888,"longitude_deg":75.6556096,"latitude_deg":11.9645888,"altitude":73,"angle":130,"satellites":42,"speed":8,"hex_longitude":"2d182140","hex_latitude":"0721a6c0","is_valid_coordinates":true} 
[2026-09-21 14:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:09:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234849024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22431175372963840,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538571264,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:09:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789979880000,"timestamp_ms":1789979880000,"timestamp_seconds":1789979880,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d6a40"} 
[2026-09-21 14:09:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:09:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:09:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-21 14:09:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:09:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:09:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:09:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:09:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:09:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:09:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:09:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:09:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234849024001,"66":14135,"105":206,"83":41984,"24":8,"16":22431175372963840,"45":1738459855538571264},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 14:09:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:09:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:09:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234849024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:09:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 14:09:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:09:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22431175372963840,"km_value":22431175372963.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:09:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538571264,"description":"Unknown IO ID 45"} 
[2026-09-21 14:09:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234849024001,"power":14135,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1738459855538571264}} 
[2026-09-21 14:09:23] local.INFO: DEBUG: GPS processor result {"connection_id":188776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:09:23] local.INFO: GPS data processed {"connection_id":188776,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:09:23] local.INFO: Acknowledgment sent {"connection_id":188776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:09:41] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:41] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:09:41] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:41] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:09:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:09:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:09:41] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:09:41] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:09:54] local.INFO: TCP Data received {"connection_id":188776,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31e50b8012d18c4c007214e30004500a82d..."} 
[2026-09-21 14:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188776,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31e50b8012d18c4c007214e30004500a82d..."} 
[2026-09-21 14:09:54] local.INFO: Processing buffer {"connection_id":188776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31e50b8012d18c4c007214e30004500a82d..."} 
[2026-09-21 14:09:54] local.INFO: Packet analysis {"connection_id":188776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31e"} 
[2026-09-21 14:09:54] local.INFO: Extracted packet for processing {"connection_id":188776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31e"} 
[2026-09-21 14:09:54] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623216,"longitude_deg":75.6597952,"latitude_deg":11.9623216,"altitude":69,"angle":168,"satellites":45,"speed":42,"hex_longitude":"2d18c4c0","hex_latitude":"07214e30","is_valid_coordinates":true} 
[2026-09-21 14:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:09:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234862592001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22433571964715008,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1780681102040905728,"note":"Value kept but may cause issues"} 
[2026-09-21 14:09:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:09:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789979939000,"timestamp_ms":1789979939000,"timestamp_seconds":1789979939,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31e50b8"} 
[2026-09-21 14:09:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:09:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:09:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 14:09:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:09:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:09:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:09:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:09:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:09:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188776,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:09:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:09:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:09:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:09:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234862592001,"66":14352,"103":206,"83":41984,"24":42,"16":22433571964715008,"45":1780681102040905728},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:09:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:09:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:09:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234862592001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:09:54] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:09:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:09:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22433571964715008,"km_value":22433571964715.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:09:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1780681102040905728,"description":"Unknown IO ID 45"} 
[2026-09-21 14:09:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234862592001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1780681102040905728}} 
[2026-09-21 14:09:54] local.INFO: DEBUG: GPS processor result {"connection_id":188776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:09:54] local.INFO: GPS data processed {"connection_id":188776,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:09:54] local.INFO: Acknowledgment sent {"connection_id":188776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:10:08] local.INFO: TCP Data received {"connection_id":190068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:08] local.INFO: Processing buffer {"connection_id":190068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:08] local.INFO: IMEI packet received {"connection_id":190068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":190068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:10:10] local.INFO: TCP Data received {"connection_id":191390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:10] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:10] local.INFO: IMEI packet received {"connection_id":191390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":191390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:10:13] local.INFO: TCP Data received {"connection_id":191390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:13] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:13] local.INFO: IMEI packet received {"connection_id":191390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":191390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:10:13] local.INFO: TCP Data received {"connection_id":190068,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:13] local.INFO: Processing buffer {"connection_id":190068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:10:13] local.INFO: IMEI packet received {"connection_id":190068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":190068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:10:14] local.INFO: TCP Data received {"connection_id":190068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:14] local.INFO: Processing buffer {"connection_id":190068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:14] local.INFO: Packet analysis {"connection_id":190068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:10:14] local.INFO: Extracted packet for processing {"connection_id":190068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:10:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:10:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:10:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:10:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:10:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:10: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-09-21 14:10:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:10:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:10:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:10:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:10:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:10:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:10:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:10:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:10:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:10:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:10:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:10:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:10:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:10:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:10:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:10:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:10:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:10:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:10:14] local.INFO: DEBUG: GPS processor result {"connection_id":190068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:10:14] local.INFO: GPS data processed {"connection_id":190068,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:10:14] local.INFO: Acknowledgment sent {"connection_id":190068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:10:16] local.INFO: TCP Data received {"connection_id":191390,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:16] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:10:16] local.INFO: IMEI packet received {"connection_id":191390,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":191390,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:10:17] local.INFO: TCP Data received {"connection_id":191390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31e6440012d18c880072139d8004300992c..."} 
[2026-09-21 14:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31e6440012d18c880072139d8004300992c..."} 
[2026-09-21 14:10:17] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31e6440012d18c880072139d8004300992c..."} 
[2026-09-21 14:10:17] local.INFO: Packet analysis {"connection_id":191390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31e"} 
[2026-09-21 14:10:17] local.INFO: Extracted packet for processing {"connection_id":191390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31e"} 
[2026-09-21 14:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756598912,"raw_latitude":119618008,"longitude_deg":75.6598912,"latitude_deg":11.9618008,"altitude":67,"angle":153,"satellites":44,"speed":41,"hex_longitude":"2d18c880","hex_latitude":"072139d8","is_valid_coordinates":true} 
[2026-09-21 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234864384001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22433829662752768,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201635328,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789979944000,"timestamp_ms":1789979944000,"timestamp_seconds":1789979944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31e6440"} 
[2026-09-21 14:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:10: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-09-21 14:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733142528,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":24,"raw_value":7313853635356000333,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3273521864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":178,"raw_value":2952790016,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503941920849920,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635347714730602,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5476641033972678912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":6,"raw_value":2147560728,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2566966634,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":79,"raw_value":2993225728,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Large IO value detected {"io_id":112,"raw_value":84750825494618497,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:17] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":21392489810241024,"corrected_to":0} 
[2026-09-21 14:10:17] local.INFO: IO Element Parsed {"io_data_count":47,"io_data_keys":[0,103,83,24,241,157,16,179,160,53,45,64,102,73,44,10,66,178,41,128,111,74,106,33,192,1,240,163,227,195,4,113,205,36,6,146,72,239,55,2,79,7,76,38,206,112,200],"length":628,"final_offset":758,"validated_count":47,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":200,"original":21392489810241024,"validated":0}]} 
[2026-09-21 14:10:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4972158899846774784,"timestamp_seconds":4972158899846775.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234864384001,"66":14363,"103":206,"83":41984,"24":41,"16":22433829662752768,"45":1784762489201635328},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234864384001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:10:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22433829662752768,"km_value":22433829662752.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201635328,"description":"Unknown IO ID 45"} 
[2026-09-21 14:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234864384001,"power":14363,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1784762489201635328}} 
[2026-09-21 14:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":191390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:10:17] local.INFO: GPS data processed {"connection_id":191390,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:10:17] local.INFO: Acknowledgment sent {"connection_id":191390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:10:19] local.INFO: TCP Data received {"connection_id":190068,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:19] local.INFO: Processing buffer {"connection_id":190068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:10:19] local.INFO: Packet analysis {"connection_id":190068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:10:19] local.INFO: Extracted packet for processing {"connection_id":190068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:10:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:10:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:10:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:10:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:10:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:10:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:10:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:10:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:10:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:10:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:10:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:10:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:10:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:10:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:10:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:10:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:10:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:10:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:10:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:10:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:10:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:10:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:10:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:10:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:10:19] local.INFO: DEBUG: GPS processor result {"connection_id":190068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:10:19] local.INFO: GPS data processed {"connection_id":190068,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:10:19] local.INFO: Acknowledgment sent {"connection_id":190068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:10:47] local.INFO: TCP Data received {"connection_id":191391,"ip":"216.226.76.20","data_length":241,"data_hex":"16030100ec010000e80303ab9cf495351bda2602293ac528699f824ac153bbe3..."} 
[2026-09-21 14:10:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191391,"packet_length":241,"packet_hex":"16030100ec010000e80303ab9cf495351bda2602293ac528699f824ac153bbe3..."} 
[2026-09-21 14:10:47] local.INFO: Processing buffer {"connection_id":191391,"buffer_length":241,"buffer_hex":"16030100ec010000e80303ab9cf495351bda2602293ac528699f824ac153bbe3..."} 
[2026-09-21 14:10:47] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":191391,"buffer_length":241,"first_bytes_hex":"16030100ec010000e80303ab9cf49535"} 
[2026-09-21 14:10:48] local.INFO: TCP Data received {"connection_id":191390,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31f5670012d198a800720b4100033003e2c..."} 
[2026-09-21 14:10:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191390,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31f5670012d198a800720b4100033003e2c..."} 
[2026-09-21 14:10:48] local.INFO: Processing buffer {"connection_id":191390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31f5670012d198a800720b4100033003e2c..."} 
[2026-09-21 14:10:48] local.INFO: Packet analysis {"connection_id":191390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31f"} 
[2026-09-21 14:10:48] local.INFO: Extracted packet for processing {"connection_id":191390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31f"} 
[2026-09-21 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":756648576,"raw_latitude":119583760,"longitude_deg":75.6648576,"latitude_deg":11.958376,"altitude":51,"angle":62,"satellites":44,"speed":19,"hex_longitude":"2d198a80","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-09-21 14:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:10:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234878976001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22437158262407168,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831416966580813824,"note":"Value kept but may cause issues"} 
[2026-09-21 14:10:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:10:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789980006000,"timestamp_ms":1789980006000,"timestamp_seconds":1789980006,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31f5670"} 
[2026-09-21 14:10:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:10:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:10:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 14:10:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:10:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:10:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:10:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:10:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:10:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:10:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191390,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:10:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:10:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:10:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:10:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234878976001,"66":14048,"103":206,"83":41984,"24":19,"16":22437158262407168,"45":1831416966580813824},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:10:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:10:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:10:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234878976001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:10:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:10:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:10:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22437158262407168,"km_value":22437158262407.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:10:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831416966580813824,"description":"Unknown IO ID 45"} 
[2026-09-21 14:10:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234878976001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":19,"odometer":null,"unknown_45":1831416966580813824}} 
[2026-09-21 14:10:48] local.INFO: DEBUG: GPS processor result {"connection_id":191390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:10:48] local.INFO: GPS data processed {"connection_id":191390,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:10:48] local.INFO: Acknowledgment sent {"connection_id":191390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:11:03] local.INFO: TCP Data received {"connection_id":190070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:03] local.INFO: Processing buffer {"connection_id":190070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:03] local.INFO: IMEI packet received {"connection_id":190070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":190070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:11:08] local.INFO: TCP Data received {"connection_id":190070,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:08] local.INFO: Processing buffer {"connection_id":190070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:11:08] local.INFO: IMEI packet received {"connection_id":190070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":190070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:11:10] local.INFO: TCP Data received {"connection_id":190070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:10] local.INFO: Processing buffer {"connection_id":190070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:10] local.INFO: Packet analysis {"connection_id":190070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:11:10] local.INFO: Extracted packet for processing {"connection_id":190070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:11:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:11:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:11:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:11:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:11:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:11:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:11:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:11:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:11:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:11:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:11:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:11:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:11:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:11:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:11:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:11:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:11:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:11:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:11:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:11:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:11:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:11:10] local.INFO: DEBUG: GPS processor result {"connection_id":190070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:11:10] local.INFO: GPS data processed {"connection_id":190070,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:11:10] local.INFO: Acknowledgment sent {"connection_id":190070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:11:11] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:11] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:11] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:11:12] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:11:12] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:12] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:11:15] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:15] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:11:15] local.INFO: IMEI packet received {"connection_id":191392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":191392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:11:16] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31f5a58012d198bc00720b540003300282b..."} 
[2026-09-21 14:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31f5a58012d198bc00720b540003300282b..."} 
[2026-09-21 14:11:16] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31f5a58012d198bc00720b540003300282b..."} 
[2026-09-21 14:11:16] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31f"} 
[2026-09-21 14:11:16] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31f"} 
[2026-09-21 14:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756648896,"raw_latitude":119584064,"longitude_deg":75.6648896,"latitude_deg":11.9584064,"altitude":51,"angle":40,"satellites":43,"speed":15,"hex_longitude":"2d198bc0","hex_latitude":"0720b540","is_valid_coordinates":true} 
[2026-09-21 14:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234881536001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22437179737243648,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840424165836066816,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789980007000,"timestamp_ms":1789980007000,"timestamp_seconds":1789980007,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31f5a58"} 
[2026-09-21 14:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:11:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 14:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234881536001,"66":14048,"103":206,"83":41984,"24":15,"16":22437179737243648,"45":1840424165836066816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234881536001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:11:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:11:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22437179737243648,"km_value":22437179737243.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840424165836066816,"description":"Unknown IO ID 45"} 
[2026-09-21 14:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234881536001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1840424165836066816}} 
[2026-09-21 14:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:11:16] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:11:16] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:11:42] local.INFO: TCP Data received {"connection_id":190070,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:42] local.INFO: Processing buffer {"connection_id":190070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:11:42] local.INFO: Packet analysis {"connection_id":190070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:11:42] local.INFO: Extracted packet for processing {"connection_id":190070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:11:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:11:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:11:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:11:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:11: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-09-21 14: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-09-21 14:11:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:11:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:11:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:11:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:11:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:11:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:11:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:11:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:11:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:11:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:11:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:11:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:11:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:11:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:11:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:11:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:11:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:11:42] local.INFO: DEBUG: GPS processor result {"connection_id":190070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:11:42] local.INFO: GPS data processed {"connection_id":190070,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:11:42] local.INFO: Acknowledgment sent {"connection_id":190070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:11:45] local.INFO: TCP Data received {"connection_id":188618,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:11:45] local.INFO: Processing buffer {"connection_id":188618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:11:45] local.INFO: IMEI packet received {"connection_id":188618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":188618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:11:47] local.INFO: TCP Data received {"connection_id":191392,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3203130012d1990000720e898003e00882f..."} 
[2026-09-21 14:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3203130012d1990000720e898003e00882f..."} 
[2026-09-21 14:11:47] local.INFO: Processing buffer {"connection_id":191392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3203130012d1990000720e898003e00882f..."} 
[2026-09-21 14:11:47] local.INFO: Packet analysis {"connection_id":191392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c320"} 
[2026-09-21 14:11:47] local.INFO: Extracted packet for processing {"connection_id":191392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c320"} 
[2026-09-21 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756649984,"raw_latitude":119597208,"longitude_deg":75.6649984,"latitude_deg":11.9597208,"altitude":62,"angle":136,"satellites":47,"speed":0,"hex_longitude":"2d199000","hex_latitude":"0720e898","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234890496001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22437927061553152,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841901909467303936,"note":"Value kept but may cause issues"} 
[2026-09-21 14:11:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789980062000,"timestamp_ms":1789980062000,"timestamp_seconds":1789980062,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3203130"} 
[2026-09-21 14:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-21 14:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234890496001,"66":14048,"103":206,"83":41984,"24":0,"16":22437927061553152,"45":1841901909467303936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234890496001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:11:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:11:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22437927061553152,"km_value":22437927061553.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841901909467303936,"description":"Unknown IO ID 45"} 
[2026-09-21 14:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234890496001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1841901909467303936}} 
[2026-09-21 14:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":191392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:11:47] local.INFO: GPS data processed {"connection_id":191392,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:11:47] local.INFO: Acknowledgment sent {"connection_id":191392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:12:03] local.INFO: TCP Data received {"connection_id":188777,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:03] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:03] local.INFO: IMEI packet received {"connection_id":188777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":188777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:12:08] local.INFO: TCP Data received {"connection_id":188777,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:08] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:12:08] local.INFO: IMEI packet received {"connection_id":188777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":188777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:12:09] local.INFO: TCP Data received {"connection_id":188777,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:09] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:09] local.INFO: Packet analysis {"connection_id":188777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:12:09] local.INFO: Extracted packet for processing {"connection_id":188777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:12: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-09-21 14:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:12:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":188777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:12:09] local.INFO: GPS data processed {"connection_id":188777,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:12:09] local.INFO: Acknowledgment sent {"connection_id":188777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:12:13] local.INFO: TCP Data received {"connection_id":188619,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:13] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:13] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:12:15] local.INFO: TCP Data received {"connection_id":188620,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:12:15] local.INFO: Processing buffer {"connection_id":188620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:12:15] local.INFO: IMEI packet received {"connection_id":188620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":188620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:12:18] local.INFO: TCP Data received {"connection_id":188619,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:18] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:12:18] local.INFO: IMEI packet received {"connection_id":188619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:12:19] local.INFO: TCP Data received {"connection_id":188619,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32048a0012d1990000720e848004100bb2e..."} 
[2026-09-21 14:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32048a0012d1990000720e848004100bb2e..."} 
[2026-09-21 14:12:19] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32048a0012d1990000720e848004100bb2e..."} 
[2026-09-21 14:12:19] local.INFO: Packet analysis {"connection_id":188619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c320"} 
[2026-09-21 14:12:19] local.INFO: Extracted packet for processing {"connection_id":188619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c320"} 
[2026-09-21 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":756649984,"raw_latitude":119597128,"longitude_deg":75.6649984,"latitude_deg":11.9597128,"altitude":65,"angle":187,"satellites":46,"speed":5,"hex_longitude":"2d199000","hex_latitude":"0720e848","is_valid_coordinates":true} 
[2026-09-21 14:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:12:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234895872001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22437931356520448,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841972278211418112,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:12:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980068000,"timestamp_ms":1789980068000,"timestamp_seconds":1789980068,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32048a0"} 
[2026-09-21 14:12:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:12:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:12:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 14:12:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:12:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:12:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:12:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:12:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:12:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:12:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:12:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:12:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:12:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:12:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234895872001,"66":14352,"103":206,"83":41984,"24":5,"16":22437931356520448,"45":1841972278211418112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:12:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:12:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:12:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234895872001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:12:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:12:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:12:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22437931356520448,"km_value":22437931356520.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:12:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841972278211418112,"description":"Unknown IO ID 45"} 
[2026-09-21 14:12:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234895872001,"power":14352,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1841972278211418112}} 
[2026-09-21 14:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":188619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:12:19] local.INFO: GPS data processed {"connection_id":188619,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:12:19] local.INFO: Acknowledgment sent {"connection_id":188619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:12:41] local.INFO: TCP Data received {"connection_id":188777,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:41] local.INFO: Processing buffer {"connection_id":188777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:12:41] local.INFO: Packet analysis {"connection_id":188777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:12:41] local.INFO: Extracted packet for processing {"connection_id":188777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12: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-09-21 14:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:12:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":188777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:12:41] local.INFO: GPS data processed {"connection_id":188777,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:12:41] local.INFO: Acknowledgment sent {"connection_id":188777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:12:49] local.INFO: TCP Data received {"connection_id":188619,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32136e8012d19ad8007209130002f00ca2c..."} 
[2026-09-21 14:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32136e8012d19ad8007209130002f00ca2c..."} 
[2026-09-21 14:12:49] local.INFO: Processing buffer {"connection_id":188619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32136e8012d19ad8007209130002f00ca2c..."} 
[2026-09-21 14:12:49] local.INFO: Packet analysis {"connection_id":188619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:12:49] local.INFO: Extracted packet for processing {"connection_id":188619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756657536,"raw_latitude":119574832,"longitude_deg":75.6657536,"latitude_deg":11.9574832,"altitude":47,"angle":202,"satellites":44,"speed":36,"hex_longitude":"2d19ad80","hex_latitude":"07209130","is_valid_coordinates":true} 
[2026-09-21 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234911488001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22439619278667776,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853583120995991552,"note":"Value kept but may cause issues"} 
[2026-09-21 14:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980129000,"timestamp_ms":1789980129000,"timestamp_seconds":1789980129,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32136e8"} 
[2026-09-21 14:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 14:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234911488001,"66":13222,"103":206,"83":41984,"24":36,"16":22439619278667776,"45":1853583120995991552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234911488001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:12:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22439619278667776,"km_value":22439619278667.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853583120995991552,"description":"Unknown IO ID 45"} 
[2026-09-21 14:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234911488001,"power":13222,"unknown_103":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1853583120995991552}} 
[2026-09-21 14:12:50] local.INFO: DEBUG: GPS processor result {"connection_id":188619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:12:50] local.INFO: GPS data processed {"connection_id":188619,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:12:50] local.INFO: Acknowledgment sent {"connection_id":188619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:13:03] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:03] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:03] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:13:08] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:08] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:13:08] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:13:10] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:13:10] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c31d52d0012d34c04006aa41300006000c2c..."} 
[2026-09-21 14:13:10] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:13:10] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c31d"} 
[2026-09-21 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234770688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789979874000,"timestamp_ms":1789979874000,"timestamp_seconds":1789979874,"priority":1,"record_length":96,"hex_timestamp":"000001a0c31d52d0"} 
[2026-09-21 14:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":205,"data_length":795,"current_offset":136} 
[2026-09-21 14:13: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-09-21 14: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-09-21 14:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234770688001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234770688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:13:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:13:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234770688001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:13:10] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:13:10] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:13:13] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:13] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:13] local.INFO: IMEI packet received {"connection_id":190071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":190071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:13:18] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:18] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:13:18] local.INFO: IMEI packet received {"connection_id":190071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:13:18] local.INFO: IMEI acknowledgment sent {"connection_id":190071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:13:19] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3213ad0012d19acc007208dc0002e00bd2c..."} 
[2026-09-21 14:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3213ad0012d19acc007208dc0002e00bd2c..."} 
[2026-09-21 14:13:19] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3213ad0012d19acc007208dc0002e00bd2c..."} 
[2026-09-21 14:13:19] local.INFO: Packet analysis {"connection_id":190071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:19] local.INFO: Extracted packet for processing {"connection_id":190071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":756657344,"raw_latitude":119573952,"longitude_deg":75.6657344,"latitude_deg":11.9573952,"altitude":46,"angle":189,"satellites":44,"speed":34,"hex_longitude":"2d19acc0","hex_latitude":"07208dc0","is_valid_coordinates":true} 
[2026-09-21 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:13:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234913024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22439662228340736,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850275790018654208,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:13:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980130000,"timestamp_ms":1789980130000,"timestamp_seconds":1789980130,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3213ad0"} 
[2026-09-21 14:13:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:13:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:13:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-09-21 14:13:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:13:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:13:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:13:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:13:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:13:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:13:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:13:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:13:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:13:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:13:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234913024001,"66":13135,"103":206,"83":41984,"24":34,"16":22439662228340736,"45":1850275790018654208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:13:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:13:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:13:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234913024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:13:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:13:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:13:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22439662228340736,"km_value":22439662228340.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:13:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850275790018654208,"description":"Unknown IO ID 45"} 
[2026-09-21 14:13:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234913024001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1850275790018654208}} 
[2026-09-21 14:13:19] local.INFO: DEBUG: GPS processor result {"connection_id":190071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:13:19] local.INFO: GPS data processed {"connection_id":190071,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:13:19] local.INFO: Acknowledgment sent {"connection_id":190071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:13:41] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:13:41] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:13:41] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:41] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13: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-09-21 14:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:13: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-09-21 14:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:13:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:13:41] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:13:41] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:13:50] local.INFO: TCP Data received {"connection_id":190071,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3213eb8012d19ad4007208a08002e00b02c..."} 
[2026-09-21 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3213eb8012d19ad4007208a08002e00b02c..."} 
[2026-09-21 14:13:50] local.INFO: Processing buffer {"connection_id":190071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3213eb8012d19ad4007208a08002e00b02c..."} 
[2026-09-21 14:13:50] local.INFO: Packet analysis {"connection_id":190071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:50] local.INFO: Extracted packet for processing {"connection_id":190071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119573000,"longitude_deg":75.6657472,"latitude_deg":11.9573,"altitude":46,"angle":176,"satellites":44,"speed":35,"hex_longitude":"2d19ad40","hex_latitude":"07208a08","is_valid_coordinates":true} 
[2026-09-21 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:13:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234913280001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22439709472980992,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850064683785895936,"note":"Value kept but may cause issues"} 
[2026-09-21 14:13:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:13:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789980131000,"timestamp_ms":1789980131000,"timestamp_seconds":1789980131,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3213eb8"} 
[2026-09-21 14:13:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:13:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:13:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 14:13:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:13:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:13:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:13:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:13:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:13:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:13:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:13:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:13:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:13:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:13:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234913280001,"66":13135,"103":206,"83":41984,"24":35,"16":22439709472980992,"45":1850064683785895936},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:13:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:13:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:13:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234913280001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:13:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:13:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:13:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22439709472980992,"km_value":22439709472980.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:13:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850064683785895936,"description":"Unknown IO ID 45"} 
[2026-09-21 14:13:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234913280001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1850064683785895936}} 
[2026-09-21 14:13:50] local.INFO: DEBUG: GPS processor result {"connection_id":190071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:13:50] local.INFO: GPS data processed {"connection_id":190071,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:13:50] local.INFO: Acknowledgment sent {"connection_id":190071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:14:08] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:08] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:08] local.INFO: IMEI packet received {"connection_id":191393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:14:12] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:12] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:12] local.INFO: IMEI packet received {"connection_id":188621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":188621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:14:13] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:13] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:14:13] local.INFO: IMEI packet received {"connection_id":191393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":191393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:14:14] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:14] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:14] local.INFO: Packet analysis {"connection_id":191393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:14] local.INFO: Extracted packet for processing {"connection_id":191393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":191393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:14:14] local.INFO: GPS data processed {"connection_id":191393,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:14:14] local.INFO: Acknowledgment sent {"connection_id":191393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:14:18] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:18] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:14:18] local.INFO: IMEI packet received {"connection_id":188621,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":188621,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:14:19] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3214a70012d19b08007207d08002d00a42c..."} 
[2026-09-21 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3214a70012d19b08007207d08002d00a42c..."} 
[2026-09-21 14:14:19] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3214a70012d19b08007207d08002d00a42c..."} 
[2026-09-21 14:14:19] local.INFO: Packet analysis {"connection_id":188621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:19] local.INFO: Extracted packet for processing {"connection_id":188621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119569672,"longitude_deg":75.6658304,"latitude_deg":11.9569672,"altitude":45,"angle":164,"satellites":44,"speed":47,"hex_longitude":"2d19b080","hex_latitude":"07207d08","is_valid_coordinates":true} 
[2026-09-21 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234913536001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22439876976705536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421274007552,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980134000,"timestamp_ms":1789980134000,"timestamp_seconds":1789980134,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3214a70"} 
[2026-09-21 14:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 14:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234913536001,"66":12548,"103":206,"83":41984,"24":47,"16":22439876976705536,"45":1850205421274007552},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234913536001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22439876976705536,"km_value":22439876976705.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421274007552,"description":"Unknown IO ID 45"} 
[2026-09-21 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234913536001,"power":12548,"unknown_103":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1850205421274007552}} 
[2026-09-21 14:14:19] local.INFO: TCP Data received {"connection_id":191393,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:19] local.INFO: Processing buffer {"connection_id":191393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:14:19] local.INFO: Packet analysis {"connection_id":191393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:19] local.INFO: Extracted packet for processing {"connection_id":191393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":191393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:14:19] local.INFO: GPS data processed {"connection_id":191393,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:14:19] local.INFO: Acknowledgment sent {"connection_id":191393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":188621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:14:19] local.INFO: GPS data processed {"connection_id":188621,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:14:19] local.INFO: Acknowledgment sent {"connection_id":188621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:14:50] local.INFO: TCP Data received {"connection_id":188621,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32169b0012d19bb8007205970002a00a92c..."} 
[2026-09-21 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32169b0012d19bb8007205970002a00a92c..."} 
[2026-09-21 14:14:50] local.INFO: Processing buffer {"connection_id":188621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32169b0012d19bb8007205970002a00a92c..."} 
[2026-09-21 14:14:50] local.INFO: Packet analysis {"connection_id":188621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:50] local.INFO: Extracted packet for processing {"connection_id":188621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756661120,"raw_latitude":119560560,"longitude_deg":75.666112,"latitude_deg":11.956056,"altitude":42,"angle":169,"satellites":44,"speed":44,"hex_longitude":"2d19bb80","hex_latitude":"07205970","is_valid_coordinates":true} 
[2026-09-21 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234914304001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22440336538206208,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214947465216,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789980142000,"timestamp_ms":1789980142000,"timestamp_seconds":1789980142,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32169b0"} 
[2026-09-21 14:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":184,"raw_value":3070230528,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3273725864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184226914509,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2688548914,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":27,"raw_value":2415996185,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":186,"raw_value":3221692578,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3094937600,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":23,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:14:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,103,83,24,241,157,16,184,160,62,45,64,138,46,44,10,66,58,192,141,54,128,1,240,166,227,195,32,4,113,205,27,186,239,51,2,79,7,50,23,120],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 14:14:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242772240595353600,"timestamp_seconds":3242772240595353.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188621,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:14:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234914304001,"66":13091,"103":206,"83":41984,"24":44,"16":22440336538206208,"45":1851120214947465216},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234914304001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:14:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22440336538206208,"km_value":22440336538206.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214947465216,"description":"Unknown IO ID 45"} 
[2026-09-21 14:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234914304001,"power":13091,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1851120214947465216}} 
[2026-09-21 14:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":188621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:14:50] local.INFO: GPS data processed {"connection_id":188621,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:14:50] local.INFO: Acknowledgment sent {"connection_id":188621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:15:03] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:03] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:03] local.INFO: IMEI packet received {"connection_id":190073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":190073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:15:08] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:08] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:15:08] local.INFO: IMEI packet received {"connection_id":190073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":190073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:15:09] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:09] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:09] local.INFO: Packet analysis {"connection_id":190073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:09] local.INFO: Extracted packet for processing {"connection_id":190073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 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-09-21 14:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 14:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":190073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:15:09] local.INFO: GPS data processed {"connection_id":190073,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:15:09] local.INFO: Acknowledgment sent {"connection_id":190073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:15:12] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:12] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:12] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:15:14] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:14] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:14] local.INFO: Packet analysis {"connection_id":190073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:14] local.INFO: Extracted packet for processing {"connection_id":190073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":190073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:15:14] local.INFO: GPS data processed {"connection_id":190073,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:15:14] local.INFO: Acknowledgment sent {"connection_id":190073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:15:18] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:18] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:15:18] local.INFO: IMEI packet received {"connection_id":188623,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":188623,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:15:19] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:19] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:19] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:19] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:19] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119551288,"longitude_deg":75.6662464,"latitude_deg":11.9551288,"altitude":45,"angle":156,"satellites":43,"speed":43,"hex_longitude":"2d19c0c0","hex_latitude":"07203538","is_valid_coordinates":true} 
[2026-09-21 14:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234916352001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22440796099706880,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854216439688949760,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980151000,"timestamp_ms":1789980151000,"timestamp_seconds":1789980151,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3218cd8"} 
[2026-09-21 14:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234916352001,"66":13135,"103":206,"83":41984,"24":43,"16":22440796099706880,"45":1854216439688949760},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234916352001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:15:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:15:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22440796099706880,"km_value":22440796099706.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854216439688949760,"description":"Unknown IO ID 45"} 
[2026-09-21 14:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234916352001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1854216439688949760}} 
[2026-09-21 14:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:15:19] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:15:19] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:15:45] local.INFO: TCP Data received {"connection_id":190073,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:45] local.INFO: Processing buffer {"connection_id":190073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:15:45] local.INFO: Packet analysis {"connection_id":190073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:45] local.INFO: Extracted packet for processing {"connection_id":190073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:45] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:15:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:15:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:15:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":190073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:15:45] local.INFO: GPS data processed {"connection_id":190073,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:15:45] local.INFO: Acknowledgment sent {"connection_id":190073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:15:50] local.INFO: TCP Data received {"connection_id":188623,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188623,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:50] local.INFO: Processing buffer {"connection_id":188623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3218cd8012d19c0c007203538002d009c2b..."} 
[2026-09-21 14:15:50] local.INFO: Packet analysis {"connection_id":188623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:50] local.INFO: Extracted packet for processing {"connection_id":188623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756662464,"raw_latitude":119551288,"longitude_deg":75.6662464,"latitude_deg":11.9551288,"altitude":45,"angle":156,"satellites":43,"speed":43,"hex_longitude":"2d19c0c0","hex_latitude":"07203538","is_valid_coordinates":true} 
[2026-09-21 14:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234918656001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22440796099706880,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855694183314307072,"note":"Value kept but may cause issues"} 
[2026-09-21 14:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789980151000,"timestamp_ms":1789980151000,"timestamp_seconds":1789980151,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3218cd8"} 
[2026-09-21 14:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 14:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188623,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234918656001,"66":13135,"103":206,"83":41984,"24":43,"16":22440796099706880,"45":1855694183314307072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 14:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234918656001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:15:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 14:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22440796099706880,"km_value":22440796099706.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855694183314307072,"description":"Unknown IO ID 45"} 
[2026-09-21 14:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234918656001,"power":13135,"unknown_103":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1855694183314307072}} 
[2026-09-21 14:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":188623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:15:50] local.INFO: GPS data processed {"connection_id":188623,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:15:50] local.INFO: Acknowledgment sent {"connection_id":188623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:16:12] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:12] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:12] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:16:18] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:18] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:16:18] local.INFO: IMEI packet received {"connection_id":191394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":191394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:16:19] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32424e8012d19cf4007201690002f00a22d..."} 
[2026-09-21 14:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32424e8012d19cf4007201690002f00a22d..."} 
[2026-09-21 14:16:19] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32424e8012d19cf4007201690002f00a22d..."} 
[2026-09-21 14:16:19] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:16:19] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756666176,"raw_latitude":119543440,"longitude_deg":75.6666176,"latitude_deg":11.954344,"altitude":47,"angle":162,"satellites":45,"speed":5,"hex_longitude":"2d19cf40","hex_latitude":"07201690","is_valid_coordinates":true} 
[2026-09-21 14:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234959360001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22441225596436480,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859564464242182144,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980321000,"timestamp_ms":1789980321000,"timestamp_seconds":1789980321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32424e8"} 
[2026-09-21 14:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:16:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 14:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234959360001,"66":14265,"101":206,"83":41984,"24":5,"16":22441225596436480,"45":1859564464242182144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 14:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234959360001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:16:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 14:16:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22441225596436480,"km_value":22441225596436.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859564464242182144,"description":"Unknown IO ID 45"} 
[2026-09-21 14:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234959360001,"power":14265,"unknown_101":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1859564464242182144}} 
[2026-09-21 14:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:16:19] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:16:19] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:16:33] local.INFO: TCP Data received {"connection_id":190076,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:33] local.INFO: Processing buffer {"connection_id":190076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:33] local.INFO: IMEI packet received {"connection_id":190076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:16:33] local.INFO: IMEI acknowledgment sent {"connection_id":190076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:16:38] local.INFO: TCP Data received {"connection_id":190076,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:38] local.INFO: Processing buffer {"connection_id":190076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:16:38] local.INFO: IMEI packet received {"connection_id":190076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:16:38] local.INFO: IMEI acknowledgment sent {"connection_id":190076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:16:39] local.INFO: TCP Data received {"connection_id":190076,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:16:39] local.INFO: Processing buffer {"connection_id":190076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:16:39] local.INFO: Packet analysis {"connection_id":190076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:16:39] local.INFO: Extracted packet for processing {"connection_id":190076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:16: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-09-21 14:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:16: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-09-21 14:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":190076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:16:39] local.INFO: GPS data processed {"connection_id":190076,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:16:39] local.INFO: Acknowledgment sent {"connection_id":190076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:16:49] local.INFO: TCP Data received {"connection_id":191394,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c324dc80012d19a340071ff1a0003600ff2d..."} 
[2026-09-21 14:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191394,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c324dc80012d19a340071ff1a0003600ff2d..."} 
[2026-09-21 14:16:49] local.INFO: Processing buffer {"connection_id":191394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c324dc80012d19a340071ff1a0003600ff2d..."} 
[2026-09-21 14:16:49] local.INFO: Packet analysis {"connection_id":191394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:16:49] local.INFO: Extracted packet for processing {"connection_id":191394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756654912,"raw_latitude":119533984,"longitude_deg":75.6654912,"latitude_deg":11.9533984,"altitude":54,"angle":255,"satellites":45,"speed":14,"hex_longitude":"2d19a340","hex_latitude":"071ff1a0","is_valid_coordinates":true} 
[2026-09-21 14:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234973952001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442372352704512,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961997312,"note":"Value kept but may cause issues"} 
[2026-09-21 14:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980368000,"timestamp_ms":1789980368000,"timestamp_seconds":1789980368,"priority":1,"record_length":96,"hex_timestamp":"000001a0c324dc80"} 
[2026-09-21 14:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 14:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234973952001,"66":12863,"101":206,"83":41984,"24":14,"16":22442372352704512,"45":1847812883961997312},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 14:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234973952001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:16:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 14:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442372352704512,"km_value":22442372352704.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961997312,"description":"Unknown IO ID 45"} 
[2026-09-21 14:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234973952001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847812883961997312}} 
[2026-09-21 14:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":191394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:16:50] local.INFO: GPS data processed {"connection_id":191394,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:16:50] local.INFO: Acknowledgment sent {"connection_id":191394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:17:03] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:03] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:03] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:17:08] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:08] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:17:08] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:17:10] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:10] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:10] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:17:10] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:17:10] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:17: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-09-21 14:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:17:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:17:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:17:10] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:17:10] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:17:17] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: IMEI packet received {"connection_id":188624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:17:17] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:17] local.INFO: IMEI packet received {"connection_id":188624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:17:23] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:23] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:17:23] local.INFO: IMEI packet received {"connection_id":188624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":188624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:17:24] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c324e068012d19a200071ff0f0003700f22d..."} 
[2026-09-21 14:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c324e068012d19a200071ff0f0003700f22d..."} 
[2026-09-21 14:17:24] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c324e068012d19a200071ff0f0003700f22d..."} 
[2026-09-21 14:17:24] local.INFO: Packet analysis {"connection_id":188624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:17:24] local.INFO: Extracted packet for processing {"connection_id":188624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:17:24] local.INFO: GPS Element Parsed {"raw_longitude":756654592,"raw_latitude":119533808,"longitude_deg":75.6654592,"latitude_deg":11.9533808,"altitude":55,"angle":242,"satellites":45,"speed":14,"hex_longitude":"2d19a200","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-21 14:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:17:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234974208001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442389532573696,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847390671496912896,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17: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-09-21 14:17:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789980369000,"timestamp_ms":1789980369000,"timestamp_seconds":1789980369,"priority":1,"record_length":96,"hex_timestamp":"000001a0c324e068"} 
[2026-09-21 14:17:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:17:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:17:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 14:17:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:17:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:17:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:17:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:17:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:17:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:17:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:17:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:17:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:17:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:17:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234974208001,"66":12863,"101":206,"83":41984,"24":14,"16":22442389532573696,"45":1847390671496912896},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 14:17:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:17:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:17:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234974208001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:17:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 14:17:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:17:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442389532573696,"km_value":22442389532573.695,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:17:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847390671496912896,"description":"Unknown IO ID 45"} 
[2026-09-21 14:17:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234974208001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847390671496912896}} 
[2026-09-21 14:17:24] local.INFO: DEBUG: GPS processor result {"connection_id":188624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:17:24] local.INFO: GPS data processed {"connection_id":188624,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:17:24] local.INFO: Acknowledgment sent {"connection_id":188624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:17:40] local.INFO: TCP Data received {"connection_id":191395,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:17:40] local.INFO: Processing buffer {"connection_id":191395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:17:40] local.INFO: IMEI packet received {"connection_id":191395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":191395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:17:42] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:42] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:17:42] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:17:42] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 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-09-21 14:17:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:17: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-09-21 14:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:17:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:17:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:17:42] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:17:42] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:17:55] local.INFO: TCP Data received {"connection_id":188624,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c324e838012d199f00071ff008003701062c..."} 
[2026-09-21 14:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c324e838012d199f00071ff008003701062c..."} 
[2026-09-21 14:17:55] local.INFO: Processing buffer {"connection_id":188624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c324e838012d199f00071ff008003701062c..."} 
[2026-09-21 14:17:55] local.INFO: Packet analysis {"connection_id":188624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:17:55] local.INFO: Extracted packet for processing {"connection_id":188624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756653824,"raw_latitude":119533576,"longitude_deg":75.6653824,"latitude_deg":11.9533576,"altitude":55,"angle":262,"satellites":44,"speed":16,"hex_longitude":"2d199f00","hex_latitude":"071ff008","is_valid_coordinates":true} 
[2026-09-21 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234974464001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442428187279360,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847038827775979520,"note":"Value kept but may cause issues"} 
[2026-09-21 14:17:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789980371000,"timestamp_ms":1789980371000,"timestamp_seconds":1789980371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c324e838"} 
[2026-09-21 14:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:17:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 14:17:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234974464001,"66":13091,"101":206,"83":41984,"24":16,"16":22442428187279360,"45":1847038827775979520},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 14:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234974464001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:17:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 14:17:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442428187279360,"km_value":22442428187279.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847038827775979520,"description":"Unknown IO ID 45"} 
[2026-09-21 14:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234974464001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1847038827775979520}} 
[2026-09-21 14:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":188624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:17:55] local.INFO: GPS data processed {"connection_id":188624,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:17:55] local.INFO: Acknowledgment sent {"connection_id":188624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:18:03] local.INFO: TCP Data received {"connection_id":190077,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:03] local.INFO: Processing buffer {"connection_id":190077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:03] local.INFO: IMEI packet received {"connection_id":190077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":190077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:18:08] local.INFO: TCP Data received {"connection_id":190077,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:08] local.INFO: Processing buffer {"connection_id":190077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:18:08] local.INFO: IMEI packet received {"connection_id":190077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":190077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:18:09] local.INFO: TCP Data received {"connection_id":190077,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:18:09] local.INFO: Processing buffer {"connection_id":190077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c321ea98012d34c04006aa41300004000c2a..."} 
[2026-09-21 14:18:09] local.INFO: Packet analysis {"connection_id":190077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:18:09] local.INFO: Extracted packet for processing {"connection_id":190077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c321"} 
[2026-09-21 14:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758431808,"raw_latitude":111821104,"longitude_deg":75.8431808,"latitude_deg":11.1821104,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c040","hex_latitude":"06aa4130","is_valid_coordinates":true} 
[2026-09-21 14:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234847744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980175000,"timestamp_ms":1789980175000,"timestamp_seconds":1789980175,"priority":1,"record_length":96,"hex_timestamp":"000001a0c321ea98"} 
[2026-09-21 14:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21248,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:18: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-09-21 14:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:18: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-09-21 14:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234847744001,"66":25560,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234847744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234847744001,"power":25560,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":190077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:18:09] local.INFO: GPS data processed {"connection_id":190077,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:18:09] local.INFO: Acknowledgment sent {"connection_id":190077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:18:13] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:13] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:13] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:18:15] local.INFO: TCP Data received {"connection_id":191396,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:18:15] local.INFO: Processing buffer {"connection_id":191396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:18:15] local.INFO: IMEI packet received {"connection_id":191396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":191396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:18:18] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:18] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:18:18] local.INFO: IMEI packet received {"connection_id":188625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:18:19] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c324f008012d199bc0071ff020003801142b..."} 
[2026-09-21 14:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c324f008012d199bc0071ff020003801142b..."} 
[2026-09-21 14:18:19] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c324f008012d199bc0071ff020003801142b..."} 
[2026-09-21 14:18:19] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:18:19] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c324"} 
[2026-09-21 14:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533600,"longitude_deg":75.6652992,"latitude_deg":11.95336,"altitude":56,"angle":276,"satellites":43,"speed":18,"hex_longitude":"2d199bc0","hex_latitude":"071ff020","is_valid_coordinates":true} 
[2026-09-21 14:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234974976001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442466841985024,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845788160,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980373000,"timestamp_ms":1789980373000,"timestamp_seconds":1789980373,"priority":1,"record_length":96,"hex_timestamp":"000001a0c324f008"} 
[2026-09-21 14:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234974976001,"66":13091,"101":206,"83":41984,"24":18,"16":22442466841985024,"45":1846194402845788160},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 14:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234974976001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:18:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 14:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442466841985024,"km_value":22442466841985.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845788160,"description":"Unknown IO ID 45"} 
[2026-09-21 14:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234974976001,"power":13091,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1846194402845788160}} 
[2026-09-21 14:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:18:19] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:18:19] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:18:40] local.INFO: TCP Data received {"connection_id":190077,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190077,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:18:40] local.INFO: Processing buffer {"connection_id":190077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:18:40] local.INFO: Packet analysis {"connection_id":190077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:18:40] local.INFO: Extracted packet for processing {"connection_id":190077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:18: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-09-21 14: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-09-21 14:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":190077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:18:40] local.INFO: GPS data processed {"connection_id":190077,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:18:40] local.INFO: Acknowledgment sent {"connection_id":190077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:18:49] local.INFO: TCP Data received {"connection_id":188625,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3251b00012d198600071ff040003b00ff2d..."} 
[2026-09-21 14:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3251b00012d198600071ff040003b00ff2d..."} 
[2026-09-21 14:18:49] local.INFO: Processing buffer {"connection_id":188625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3251b00012d198600071ff040003b00ff2d..."} 
[2026-09-21 14:18:49] local.INFO: Packet analysis {"connection_id":188625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:18:49] local.INFO: Extracted packet for processing {"connection_id":188625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756647424,"raw_latitude":119533632,"longitude_deg":75.6647424,"latitude_deg":11.9533632,"altitude":59,"angle":255,"satellites":45,"speed":23,"hex_longitude":"2d198600","hex_latitude":"071ff040","is_valid_coordinates":true} 
[2026-09-21 14:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234975488001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442733129957376,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171484672,"note":"Value kept but may cause issues"} 
[2026-09-21 14:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980384000,"timestamp_ms":1789980384000,"timestamp_seconds":1789980384,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3251b00"} 
[2026-09-21 14:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234975488001,"66":13135,"102":206,"83":41984,"24":23,"16":22442733129957376,"45":1845279609171484672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234975488001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442733129957376,"km_value":22442733129957.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171484672,"description":"Unknown IO ID 45"} 
[2026-09-21 14:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234975488001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1845279609171484672}} 
[2026-09-21 14:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":188625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:18:50] local.INFO: GPS data processed {"connection_id":188625,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:18:50] local.INFO: Acknowledgment sent {"connection_id":188625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:19:03] local.INFO: TCP Data received {"connection_id":191397,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:03] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:03] local.INFO: IMEI packet received {"connection_id":191397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":191397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:19:08] local.INFO: TCP Data received {"connection_id":191397,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:08] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:19:08] local.INFO: IMEI packet received {"connection_id":191397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":191397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:19:09] local.INFO: TCP Data received {"connection_id":191397,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:09] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:09] local.INFO: Packet analysis {"connection_id":191397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:19:09] local.INFO: Extracted packet for processing {"connection_id":191397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:19: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-09-21 14:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:19: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-09-21 14:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":191397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:19:09] local.INFO: GPS data processed {"connection_id":191397,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:19:09] local.INFO: Acknowledgment sent {"connection_id":191397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:19:13] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:13] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:13] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:19:18] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:18] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:19:18] local.INFO: IMEI packet received {"connection_id":188626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":188626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:19:19] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3251ee8012d198400071fef78003a00f42d..."} 
[2026-09-21 14:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3251ee8012d198400071fef78003a00f42d..."} 
[2026-09-21 14:19:19] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3251ee8012d198400071fef78003a00f42d..."} 
[2026-09-21 14:19:19] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:19:19] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":756646912,"raw_latitude":119533432,"longitude_deg":75.6646912,"latitude_deg":11.9533432,"altitude":58,"angle":244,"satellites":45,"speed":23,"hex_longitude":"2d198400","hex_latitude":"071fef78","is_valid_coordinates":true} 
[2026-09-21 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:19:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234978304001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442758899761152,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839157528428036096,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:19:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980385000,"timestamp_ms":1789980385000,"timestamp_seconds":1789980385,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3251ee8"} 
[2026-09-21 14:19:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:19:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:19:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 14:19:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:19:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:19:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:19:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:19:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:19:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:19:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:19:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:19:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:19:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:19:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234978304001,"66":13135,"102":206,"83":41984,"24":23,"16":22442758899761152,"45":1839157528428036096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:19:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:19:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:19:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234978304001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:19:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:19:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:19:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442758899761152,"km_value":22442758899761.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:19:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839157528428036096,"description":"Unknown IO ID 45"} 
[2026-09-21 14:19:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234978304001,"power":13135,"unknown_102":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1839157528428036096}} 
[2026-09-21 14:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:19:19] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:19:19] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:19:40] local.INFO: TCP Data received {"connection_id":191397,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191397,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:40] local.INFO: Processing buffer {"connection_id":191397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:19:40] local.INFO: Packet analysis {"connection_id":191397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:19:40] local.INFO: Extracted packet for processing {"connection_id":191397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:19: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-09-21 14:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":191397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:19:40] local.INFO: GPS data processed {"connection_id":191397,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:19:40] local.INFO: Acknowledgment sent {"connection_id":191397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:19:49] local.INFO: TCP Data received {"connection_id":188626,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3252e88012d197bc0071feb50003901012e..."} 
[2026-09-21 14:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3252e88012d197bc0071feb50003901012e..."} 
[2026-09-21 14:19:49] local.INFO: Processing buffer {"connection_id":188626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3252e88012d197bc0071feb50003901012e..."} 
[2026-09-21 14:19:49] local.INFO: Packet analysis {"connection_id":188626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:19:49] local.INFO: Extracted packet for processing {"connection_id":188626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756644800,"raw_latitude":119532368,"longitude_deg":75.66448,"latitude_deg":11.9532368,"altitude":57,"angle":257,"satellites":46,"speed":21,"hex_longitude":"2d197bc0","hex_latitude":"071feb50","is_valid_coordinates":true} 
[2026-09-21 14:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234978560001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442870568910848,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838594578474563584,"note":"Value kept but may cause issues"} 
[2026-09-21 14:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980389000,"timestamp_ms":1789980389000,"timestamp_seconds":1789980389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3252e88"} 
[2026-09-21 14:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 14:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234978560001,"66":13080,"102":206,"83":41984,"24":21,"16":22442870568910848,"45":1838594578474563584},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234978560001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442870568910848,"km_value":22442870568910.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838594578474563584,"description":"Unknown IO ID 45"} 
[2026-09-21 14:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234978560001,"power":13080,"unknown_102":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1838594578474563584}} 
[2026-09-21 14:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":188626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876606,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:19:49] local.INFO: GPS data processed {"connection_id":188626,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:19:49] local.INFO: Acknowledgment sent {"connection_id":188626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:20:03] local.INFO: TCP Data received {"connection_id":190079,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:03] local.INFO: Processing buffer {"connection_id":190079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:03] local.INFO: IMEI packet received {"connection_id":190079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":190079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:20:08] local.INFO: TCP Data received {"connection_id":190079,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:08] local.INFO: Processing buffer {"connection_id":190079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:20:08] local.INFO: IMEI packet received {"connection_id":190079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":190079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:20:09] local.INFO: TCP Data received {"connection_id":190079,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:09] local.INFO: Processing buffer {"connection_id":190079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:09] local.INFO: Packet analysis {"connection_id":190079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:20:09] local.INFO: Extracted packet for processing {"connection_id":190079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 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-09-21 14:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":216,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14: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-09-21 14:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":190079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:20:09] local.INFO: GPS data processed {"connection_id":190079,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:20:09] local.INFO: Acknowledgment sent {"connection_id":190079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:20:13] local.INFO: TCP Data received {"connection_id":190080,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:13] local.INFO: Processing buffer {"connection_id":190080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:13] local.INFO: IMEI packet received {"connection_id":190080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":190080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:20:18] local.INFO: TCP Data received {"connection_id":190080,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:18] local.INFO: Processing buffer {"connection_id":190080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:20:18] local.INFO: IMEI packet received {"connection_id":190080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":190080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:20:18] local.INFO: TCP Data received {"connection_id":190080,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3253a40012d197580071feae8003a01142d..."} 
[2026-09-21 14:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3253a40012d197580071feae8003a01142d..."} 
[2026-09-21 14:20:18] local.INFO: Processing buffer {"connection_id":190080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3253a40012d197580071feae8003a01142d..."} 
[2026-09-21 14:20:18] local.INFO: Packet analysis {"connection_id":190080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:20:18] local.INFO: Extracted packet for processing {"connection_id":190080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756643200,"raw_latitude":119532264,"longitude_deg":75.66432,"latitude_deg":11.9532264,"altitude":58,"angle":276,"satellites":45,"speed":20,"hex_longitude":"2d197580","hex_latitude":"071feae8","is_valid_coordinates":true} 
[2026-09-21 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234979584001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22442947878322176,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1836272409916428288,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980392000,"timestamp_ms":1789980392000,"timestamp_seconds":1789980392,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3253a40"} 
[2026-09-21 14:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 14:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234979584001,"66":13091,"102":206,"83":41984,"24":20,"16":22442947878322176,"45":1836272409916428288},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234979584001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:20:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22442947878322176,"km_value":22442947878322.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1836272409916428288,"description":"Unknown IO ID 45"} 
[2026-09-21 14:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234979584001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":20,"odometer":null,"unknown_45":1836272409916428288}} 
[2026-09-21 14:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":190080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:20:19] local.INFO: GPS data processed {"connection_id":190080,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:20:19] local.INFO: Acknowledgment sent {"connection_id":190080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:20:40] local.INFO: TCP Data received {"connection_id":190079,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190079,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:40] local.INFO: Processing buffer {"connection_id":190079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:20:40] local.INFO: Packet analysis {"connection_id":190079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:20:40] local.INFO: Extracted packet for processing {"connection_id":190079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:20: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-09-21 14:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":190079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:20:40] local.INFO: GPS data processed {"connection_id":190079,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:20:40] local.INFO: Acknowledgment sent {"connection_id":190079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:20:49] local.INFO: TCP Data received {"connection_id":190080,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3255598012d196b80071febf8003901052b..."} 
[2026-09-21 14:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190080,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3255598012d196b80071febf8003901052b..."} 
[2026-09-21 14:20:49] local.INFO: Processing buffer {"connection_id":190080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3255598012d196b80071febf8003901052b..."} 
[2026-09-21 14:20:49] local.INFO: Packet analysis {"connection_id":190080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:20:49] local.INFO: Extracted packet for processing {"connection_id":190080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756640640,"raw_latitude":119532536,"longitude_deg":75.664064,"latitude_deg":11.9532536,"altitude":57,"angle":261,"satellites":43,"speed":9,"hex_longitude":"2d196b80","hex_latitude":"071febf8","is_valid_coordinates":true} 
[2026-09-21 14:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234980352001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443072432373760,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834513191311960064,"note":"Value kept but may cause issues"} 
[2026-09-21 14:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980399000,"timestamp_ms":1789980399000,"timestamp_seconds":1789980399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3255598"} 
[2026-09-21 14:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234980352001,"66":13091,"102":206,"83":41984,"24":9,"16":22443072432373760,"45":1834513191311960064},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234980352001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:20:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443072432373760,"km_value":22443072432373.76,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834513191311960064,"description":"Unknown IO ID 45"} 
[2026-09-21 14:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234980352001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1834513191311960064}} 
[2026-09-21 14:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":190080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:20:49] local.INFO: GPS data processed {"connection_id":190080,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:20:49] local.INFO: Acknowledgment sent {"connection_id":190080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:21:03] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:03] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:03] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:21:03] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:21:08] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:08] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:21:08] local.INFO: IMEI packet received {"connection_id":188627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:21:09] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:09] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:09] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:21:09] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:21: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-09-21 14:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:21:09] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:21:09] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:21:13] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:13] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:13] local.INFO: IMEI packet received {"connection_id":190081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":190081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:21:18] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:18] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:21:18] local.INFO: IMEI packet received {"connection_id":190081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":190081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:21:18] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c325a7a0012d196940071fec20003b010d26..."} 
[2026-09-21 14:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c325a7a0012d196940071fec20003b010d26..."} 
[2026-09-21 14:21:18] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c325a7a0012d196940071fec20003b010d26..."} 
[2026-09-21 14:21:18] local.INFO: Packet analysis {"connection_id":190081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:21:18] local.INFO: Extracted packet for processing {"connection_id":190081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":38,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234982144001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831698441544923136,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980420000,"timestamp_ms":1789980420000,"timestamp_seconds":1789980420,"priority":1,"record_length":96,"hex_timestamp":"000001a0c325a7a0"} 
[2026-09-21 14:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234982144001,"66":13091,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831698441544923136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234982144001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831698441544923136,"description":"Unknown IO ID 45"} 
[2026-09-21 14:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234982144001,"power":13091,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831698441544923136}} 
[2026-09-21 14:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":190081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:21:19] local.INFO: GPS data processed {"connection_id":190081,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:21:19] local.INFO: Acknowledgment sent {"connection_id":190081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:21:42] local.INFO: TCP Data received {"connection_id":188627,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188627,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:42] local.INFO: Processing buffer {"connection_id":188627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:21:42] local.INFO: Packet analysis {"connection_id":188627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:21:42] local.INFO: Extracted packet for processing {"connection_id":188627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:21:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21: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-09-21 14:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:21:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:21:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:21: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-09-21 14:21:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:21: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-09-21 14:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:21:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:21:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:21:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:21:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":188627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:21:42] local.INFO: GPS data processed {"connection_id":188627,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:21:42] local.INFO: Acknowledgment sent {"connection_id":188627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:21:49] local.INFO: TCP Data received {"connection_id":190081,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c325f9a8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c325f9a8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:21:49] local.INFO: Processing buffer {"connection_id":190081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c325f9a8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:21:49] local.INFO: Packet analysis {"connection_id":190081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:21:49] local.INFO: Extracted packet for processing {"connection_id":190081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c325"} 
[2026-09-21 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234987520001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980441000,"timestamp_ms":1789980441000,"timestamp_seconds":1789980441,"priority":1,"record_length":96,"hex_timestamp":"000001a0c325f9a8"} 
[2026-09-21 14:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 14:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234987520001,"66":13015,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234987520001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234987520001,"power":13015,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":190081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:21:49] local.INFO: GPS data processed {"connection_id":190081,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:21:49] local.INFO: Acknowledgment sent {"connection_id":190081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:22:03] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:03] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:03] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:22:08] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:08] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:22:08] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:22:09] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:09] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:09] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:09] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 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-09-21 14:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:22: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-09-21 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-09-21 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-09-21 14:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:22: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-09-21 14:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:22:09] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:22:09] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:22:13] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:13] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:13] local.INFO: IMEI packet received {"connection_id":191399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":191399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:22:18] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:18] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:22:18] local.INFO: IMEI packet received {"connection_id":191399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":191399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:22:18] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3264bb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3264bb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:22:18] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3264bb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:22:18] local.INFO: Packet analysis {"connection_id":191399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:18] local.INFO: Extracted packet for processing {"connection_id":191399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234992896001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980462000,"timestamp_ms":1789980462000,"timestamp_seconds":1789980462,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3264bb0"} 
[2026-09-21 14:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 14:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234992896001,"66":12863,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234992896001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234992896001,"power":12863,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":191399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:22:19] local.INFO: GPS data processed {"connection_id":191399,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:22:19] local.INFO: Acknowledgment sent {"connection_id":191399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:22:40] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:40] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:22:40] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:40] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:22: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-09-21 14:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:22:40] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:22:40] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:22:49] local.INFO: TCP Data received {"connection_id":191399,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3269db8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3269db8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:22:49] local.INFO: Processing buffer {"connection_id":191399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3269db8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:22:49] local.INFO: Packet analysis {"connection_id":191399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:49] local.INFO: Extracted packet for processing {"connection_id":191399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234998272001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980483000,"timestamp_ms":1789980483000,"timestamp_seconds":1789980483,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3269db8"} 
[2026-09-21 14:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 14:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234998272001,"66":13004,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234998272001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234998272001,"power":13004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":191399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:22:49] local.INFO: GPS data processed {"connection_id":191399,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:22:49] local.INFO: Acknowledgment sent {"connection_id":191399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:23:03] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:03] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:03] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:23:08] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:08] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:23:08] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:23:09] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:23:09] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3268260012d34bf0006aa40900002000c2b..."} 
[2026-09-21 14:23:09] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:23:09] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758431488,"raw_latitude":111820944,"longitude_deg":75.8431488,"latitude_deg":11.1820944,"altitude":2,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34bf00","hex_latitude":"06aa4090","is_valid_coordinates":true} 
[2026-09-21 14:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801108482871078912,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980476000,"timestamp_ms":1789980476000,"timestamp_seconds":1789980476,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3268260"} 
[2026-09-21 14:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:23:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924800001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801108482871078912},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801108482871078912,"description":"Unknown IO ID 45"} 
[2026-09-21 14:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924800001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801108482871078912}} 
[2026-09-21 14:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:23:09] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:23:09] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:23:12] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:12] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:12] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:23:13] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:13] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:13] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:23:18] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:18] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:23:18] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:23:18] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32a2410012d196940071fec20003b010d2c..."} 
[2026-09-21 14:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32a2410012d196940071fec20003b010d2c..."} 
[2026-09-21 14:23:18] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32a2410012d196940071fec20003b010d2c..."} 
[2026-09-21 14:23:18] local.INFO: Packet analysis {"connection_id":188786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:23:18] local.INFO: Extracted packet for processing {"connection_id":188786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235057408001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980714000,"timestamp_ms":1789980714000,"timestamp_seconds":1789980714,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32a2410"} 
[2026-09-21 14:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 14:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235057408001,"66":12722,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235057408001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235057408001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":188786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:23:19] local.INFO: GPS data processed {"connection_id":188786,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:23:19] local.INFO: Acknowledgment sent {"connection_id":188786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:23:40] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:23:40] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:23:40] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:23:40] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:23:40] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:23:40] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:23:45] local.INFO: TCP Data received {"connection_id":190082,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190082,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:23:45] local.INFO: Processing buffer {"connection_id":190082,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:23:45] local.INFO: IMEI packet received {"connection_id":190082,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":190082,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:23:49] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32a7618012d196940071fec20003b010d2b..."} 
[2026-09-21 14:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32a7618012d196940071fec20003b010d2b..."} 
[2026-09-21 14:23:49] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32a7618012d196940071fec20003b010d2b..."} 
[2026-09-21 14:23:49] local.INFO: Packet analysis {"connection_id":188786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:23:49] local.INFO: Extracted packet for processing {"connection_id":188786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235062784001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980735000,"timestamp_ms":1789980735000,"timestamp_seconds":1789980735,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32a7618"} 
[2026-09-21 14:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 14:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235062784001,"66":12776,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235062784001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235062784001,"power":12776,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":188786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:23:49] local.INFO: GPS data processed {"connection_id":188786,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:23:49] local.INFO: Acknowledgment sent {"connection_id":188786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:24:08] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:08] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:08] local.INFO: IMEI packet received {"connection_id":188628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":188628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:24:12] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:12] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:12] local.INFO: IMEI packet received {"connection_id":188629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":188629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:24:13] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:13] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:24:13] local.INFO: IMEI packet received {"connection_id":188628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":188628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:24:14] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:14] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:14] local.INFO: Packet analysis {"connection_id":188628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:14] local.INFO: Extracted packet for processing {"connection_id":188628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:24:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:24:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:24:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:24:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:24:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 14:24:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:24:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:24:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:24:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:24:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:24:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:24:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:24:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:24:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:24:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:24:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:24:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:24:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:24:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:24:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:24:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:24:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:24:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:24:14] local.INFO: DEBUG: GPS processor result {"connection_id":188628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:24:14] local.INFO: GPS data processed {"connection_id":188628,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:24:14] local.INFO: Acknowledgment sent {"connection_id":188628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:24:15] local.INFO: TCP Data received {"connection_id":190083,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:24:15] local.INFO: Processing buffer {"connection_id":190083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:24:15] local.INFO: IMEI packet received {"connection_id":190083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":190083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:24:17] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: IMEI packet received {"connection_id":188629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:24:17] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:24:17] local.INFO: IMEI packet received {"connection_id":188629,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":188629,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:24:18] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32ac820012d196940071fec20003b010d2b..."} 
[2026-09-21 14:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32ac820012d196940071fec20003b010d2b..."} 
[2026-09-21 14:24:18] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32ac820012d196940071fec20003b010d2b..."} 
[2026-09-21 14:24:18] local.INFO: Packet analysis {"connection_id":188629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:24:18] local.INFO: Extracted packet for processing {"connection_id":188629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32a"} 
[2026-09-21 14:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235068160001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980756000,"timestamp_ms":1789980756000,"timestamp_seconds":1789980756,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32ac820"} 
[2026-09-21 14:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 14:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235068160001,"66":12711,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235068160001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235068160001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":188629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:24:18] local.INFO: GPS data processed {"connection_id":188629,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:24:18] local.INFO: Acknowledgment sent {"connection_id":188629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:24:23] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:23] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:23] local.INFO: Packet analysis {"connection_id":188629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:23] local.INFO: Extracted packet for processing {"connection_id":188629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235073536001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 14:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235073536001,"66":12722,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235073536001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:24:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235073536001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":188629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:24:23] local.INFO: GPS data processed {"connection_id":188629,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:24:23] local.INFO: Acknowledgment sent {"connection_id":188629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:24:45] local.INFO: TCP Data received {"connection_id":188628,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188628,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:45] local.INFO: Processing buffer {"connection_id":188628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:24:45] local.INFO: Packet analysis {"connection_id":188628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:45] local.INFO: Extracted packet for processing {"connection_id":188628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:24:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24: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-09-21 14:24:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:24:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:24:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:24:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:24:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:24:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:24:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:24:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:24:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:24:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:24:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:24:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:24:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:24:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:24:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:24:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:24:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:24:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:24:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:24:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:24:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:24:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:24:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:24:45] local.INFO: DEBUG: GPS processor result {"connection_id":188628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:24:45] local.INFO: GPS data processed {"connection_id":188628,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:24:45] local.INFO: Acknowledgment sent {"connection_id":188628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:24:54] local.INFO: TCP Data received {"connection_id":188629,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b6c30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188629,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b6c30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:54] local.INFO: Processing buffer {"connection_id":188629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b6c30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:24:54] local.INFO: Packet analysis {"connection_id":188629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:54] local.INFO: Extracted packet for processing {"connection_id":188629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:24:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:24:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:24:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789980798000,"timestamp_ms":1789980798000,"timestamp_seconds":1789980798,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b6c30"} 
[2026-09-21 14:24:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:24:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:24:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 14:24:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:24:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:24:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:24:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:24:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:24:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188629,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:24:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:24:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:24:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:24:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":12722,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:24:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:24:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:24:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:24:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:24:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:24:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:24:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:24:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:24:54] local.INFO: DEBUG: GPS processor result {"connection_id":188629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:24:54] local.INFO: GPS data processed {"connection_id":188629,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:24:54] local.INFO: Acknowledgment sent {"connection_id":188629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:25:03] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:03] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:03] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:25:08] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:08] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:25:08] local.INFO: IMEI packet received {"connection_id":191400,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":191400,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:25:09] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:09] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:09] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:09] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:25:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:25:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:25:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:25:09] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:25:09] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:25:18] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:18] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:18] local.INFO: IMEI packet received {"connection_id":190084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":190084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:25:20] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:20] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:25:20] local.INFO: IMEI packet received {"connection_id":190084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":190084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:25:20] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32bbe38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32bbe38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:25:20] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32bbe38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:25:20] local.INFO: Packet analysis {"connection_id":190084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:20] local.INFO: Extracted packet for processing {"connection_id":190084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:25:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235084288001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:25:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789980819000,"timestamp_ms":1789980819000,"timestamp_seconds":1789980819,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32bbe38"} 
[2026-09-21 14:25:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:25:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:25:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 14:25:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:25:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:25:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:25:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:25:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:25:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:25:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:25:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:25:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235084288001,"66":12722,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:25:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:25:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:25:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235084288001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:25:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:25:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:25:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:25:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:25:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235084288001,"power":12722,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:25:21] local.INFO: DEBUG: GPS processor result {"connection_id":190084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:25:21] local.INFO: GPS data processed {"connection_id":190084,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:25:21] local.INFO: Acknowledgment sent {"connection_id":190084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:25:23] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32c1040012d196940071fec20003b010d2c..."} 
[2026-09-21 14:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32c1040012d196940071fec20003b010d2c..."} 
[2026-09-21 14:25:23] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32c1040012d196940071fec20003b010d2c..."} 
[2026-09-21 14:25:23] local.INFO: Packet analysis {"connection_id":190084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:25:23] local.INFO: Extracted packet for processing {"connection_id":190084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235089664001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789980840000,"timestamp_ms":1789980840000,"timestamp_seconds":1789980840,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32c1040"} 
[2026-09-21 14:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 14:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235089664001,"66":12711,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235089664001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235089664001,"power":12711,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":190084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:25:23] local.INFO: GPS data processed {"connection_id":190084,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:25:23] local.INFO: Acknowledgment sent {"connection_id":190084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:25:41] local.INFO: TCP Data received {"connection_id":191400,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:41] local.INFO: Processing buffer {"connection_id":191400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:25:41] local.INFO: Packet analysis {"connection_id":191400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:41] local.INFO: Extracted packet for processing {"connection_id":191400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25: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-09-21 14:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:25: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-09-21 14:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191400,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:25:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":191400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:25:41] local.INFO: GPS data processed {"connection_id":191400,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:25:41] local.INFO: Acknowledgment sent {"connection_id":191400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:25:54] local.INFO: TCP Data received {"connection_id":190084,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32c6248012d196940071fec20003b010d29..."} 
[2026-09-21 14:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190084,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32c6248012d196940071fec20003b010d29..."} 
[2026-09-21 14:25:54] local.INFO: Processing buffer {"connection_id":190084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32c6248012d196940071fec20003b010d29..."} 
[2026-09-21 14:25:54] local.INFO: Packet analysis {"connection_id":190084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:25:54] local.INFO: Extracted packet for processing {"connection_id":190084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235095040001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789980861000,"timestamp_ms":1789980861000,"timestamp_seconds":1789980861,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32c6248"} 
[2026-09-21 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-09-21 14:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 14:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 14:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235095040001,"66":12689,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235095040001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235095040001,"power":12689,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":190084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:25:54] local.INFO: GPS data processed {"connection_id":190084,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:25:54] local.INFO: Acknowledgment sent {"connection_id":190084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:26:02] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:02] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:02] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:26:08] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:08] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:26:08] local.INFO: IMEI packet received {"connection_id":188630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":188630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:26:09] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:09] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:09] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:26:09] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:26: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-09-21 14:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:26:09] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:26:09] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:26:13] local.INFO: TCP Data received {"connection_id":191401,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:13] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:13] local.INFO: IMEI packet received {"connection_id":191401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":191401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:26:18] local.INFO: TCP Data received {"connection_id":191401,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:18] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:26:18] local.INFO: IMEI packet received {"connection_id":191401,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":191401,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:26:19] local.INFO: TCP Data received {"connection_id":191401,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32cb450012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32cb450012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:19] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32cb450012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:19] local.INFO: Packet analysis {"connection_id":191401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:26:19] local.INFO: Extracted packet for processing {"connection_id":191401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32c"} 
[2026-09-21 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235100416001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980882000,"timestamp_ms":1789980882000,"timestamp_seconds":1789980882,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32cb450"} 
[2026-09-21 14:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 14:26:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235100416001,"66":12613,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235100416001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:26:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:26:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:26:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235100416001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":191401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:26:19] local.INFO: GPS data processed {"connection_id":191401,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:26:19] local.INFO: Acknowledgment sent {"connection_id":191401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:26:41] local.INFO: TCP Data received {"connection_id":188630,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:41] local.INFO: Processing buffer {"connection_id":188630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:26:41] local.INFO: Packet analysis {"connection_id":188630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:26:41] local.INFO: Extracted packet for processing {"connection_id":188630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:26:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26: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-09-21 14:26:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:26:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:26:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:26:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:26: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-09-21 14:26:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:26:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:26:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:26:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:26:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:26:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:26: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-09-21 14:26:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:26:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:26:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:26:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:26:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:26:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:26:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:26:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:26:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:26:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:26:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:26:41] local.INFO: DEBUG: GPS processor result {"connection_id":188630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:26:41] local.INFO: GPS data processed {"connection_id":188630,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:26:41] local.INFO: Acknowledgment sent {"connection_id":188630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:26:53] local.INFO: TCP Data received {"connection_id":191401,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32d0658012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191401,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32d0658012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:53] local.INFO: Processing buffer {"connection_id":191401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32d0658012d196940071fec20003b010d2c..."} 
[2026-09-21 14:26:53] local.INFO: Packet analysis {"connection_id":191401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:26:53] local.INFO: Extracted packet for processing {"connection_id":191401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235105792001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:26:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789980903000,"timestamp_ms":1789980903000,"timestamp_seconds":1789980903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32d0658"} 
[2026-09-21 14:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 14:26:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:26:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191401,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:26:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235105792001,"66":12667,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235105792001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:26:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235105792001,"power":12667,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:26:53] local.INFO: DEBUG: GPS processor result {"connection_id":191401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:26:53] local.INFO: GPS data processed {"connection_id":191401,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:26:53] local.INFO: Acknowledgment sent {"connection_id":191401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:27:03] local.INFO: TCP Data received {"connection_id":190086,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:03] local.INFO: Processing buffer {"connection_id":190086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:03] local.INFO: IMEI packet received {"connection_id":190086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":190086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:27:08] local.INFO: TCP Data received {"connection_id":190086,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:08] local.INFO: Processing buffer {"connection_id":190086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:27:08] local.INFO: IMEI packet received {"connection_id":190086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":190086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:27:09] local.INFO: TCP Data received {"connection_id":190086,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:09] local.INFO: Processing buffer {"connection_id":190086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:09] local.INFO: Packet analysis {"connection_id":190086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:27:09] local.INFO: Extracted packet for processing {"connection_id":190086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 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-09-21 14:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:27: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-09-21 14:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":190086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:27:09] local.INFO: GPS data processed {"connection_id":190086,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:27:09] local.INFO: Acknowledgment sent {"connection_id":190086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:27:13] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:13] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:13] local.INFO: IMEI packet received {"connection_id":188787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:27:18] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:18] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:27:18] local.INFO: IMEI packet received {"connection_id":188787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":188787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:27:19] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32d5860012d196940071fec20003b010d2a..."} 
[2026-09-21 14:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32d5860012d196940071fec20003b010d2a..."} 
[2026-09-21 14:27:19] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32d5860012d196940071fec20003b010d2a..."} 
[2026-09-21 14:27:19] local.INFO: Packet analysis {"connection_id":188787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:27:19] local.INFO: Extracted packet for processing {"connection_id":188787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235111168001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789980924000,"timestamp_ms":1789980924000,"timestamp_seconds":1789980924,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32d5860"} 
[2026-09-21 14:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 14:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:27:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235111168001,"66":12645,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235111168001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:27:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235111168001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":188787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:27:19] local.INFO: GPS data processed {"connection_id":188787,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:27:19] local.INFO: Acknowledgment sent {"connection_id":188787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:27:40] local.INFO: TCP Data received {"connection_id":190086,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190086,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:40] local.INFO: Processing buffer {"connection_id":190086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:27:40] local.INFO: Packet analysis {"connection_id":190086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:27:40] local.INFO: Extracted packet for processing {"connection_id":190086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":190086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:27:40] local.INFO: GPS data processed {"connection_id":190086,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:27:40] local.INFO: Acknowledgment sent {"connection_id":190086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:27:50] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32daa68012d196940071fec20003b010d2b..."} 
[2026-09-21 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32daa68012d196940071fec20003b010d2b..."} 
[2026-09-21 14:27:50] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32daa68012d196940071fec20003b010d2b..."} 
[2026-09-21 14:27:50] local.INFO: Packet analysis {"connection_id":188787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:27:50] local.INFO: Extracted packet for processing {"connection_id":188787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235116544001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789980945000,"timestamp_ms":1789980945000,"timestamp_seconds":1789980945,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32daa68"} 
[2026-09-21 14:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 14:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:27:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235116544001,"66":12645,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235116544001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:27:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235116544001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":188787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:27:50] local.INFO: GPS data processed {"connection_id":188787,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:27:50] local.INFO: Acknowledgment sent {"connection_id":188787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:28:02] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:02] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:02] local.INFO: IMEI packet received {"connection_id":188788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:28:09] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:09] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:28:09] local.INFO: IMEI packet received {"connection_id":188788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":188788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:28:11] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:28:11] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32b1a28012d34c14006aa40600006000c2c..."} 
[2026-09-21 14:28:11] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:28:11] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32b"} 
[2026-09-21 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235001856001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3800756639150149632,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789980777000,"timestamp_ms":1789980777000,"timestamp_seconds":1789980777,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32b1a28"} 
[2026-09-21 14:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:28: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-09-21 14:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235001856001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3800756639150149632},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235001856001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3800756639150149632,"description":"Unknown IO ID 45"} 
[2026-09-21 14:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235001856001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3800756639150149632}} 
[2026-09-21 14:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:28:11] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:28:11] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:28:13] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:13] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:13] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:28:18] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:18] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:28:18] local.INFO: IMEI packet received {"connection_id":188631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":188631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:28:18] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32dfc70012d196940071fec20003b010d2b..."} 
[2026-09-21 14:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32dfc70012d196940071fec20003b010d2b..."} 
[2026-09-21 14:28:18] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32dfc70012d196940071fec20003b010d2b..."} 
[2026-09-21 14:28:18] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:28:18] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32d"} 
[2026-09-21 14:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235121920001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789980966000,"timestamp_ms":1789980966000,"timestamp_seconds":1789980966,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32dfc70"} 
[2026-09-21 14:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 14:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235121920001,"66":12645,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235121920001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235121920001,"power":12645,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:28:19] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:28:19] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:28:43] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:28:43] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:28:43] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:28:43] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:28:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:28:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:28: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-09-21 14:28:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:28:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:28:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:28:43] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:28:43] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:28:49] local.INFO: TCP Data received {"connection_id":188631,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32e4e78012d196940071fec20003b010d2a..."} 
[2026-09-21 14:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32e4e78012d196940071fec20003b010d2a..."} 
[2026-09-21 14:28:49] local.INFO: Processing buffer {"connection_id":188631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32e4e78012d196940071fec20003b010d2a..."} 
[2026-09-21 14:28:49] local.INFO: Packet analysis {"connection_id":188631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:28:49] local.INFO: Extracted packet for processing {"connection_id":188631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235127296001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789980987000,"timestamp_ms":1789980987000,"timestamp_seconds":1789980987,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32e4e78"} 
[2026-09-21 14:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 14:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235127296001,"66":12613,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235127296001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235127296001,"power":12613,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":188631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:28:49] local.INFO: GPS data processed {"connection_id":188631,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:28:49] local.INFO: Acknowledgment sent {"connection_id":188631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:29:08] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:08] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:08] local.INFO: IMEI packet received {"connection_id":191404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":191404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:29:10] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:10] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:10] local.INFO: IMEI packet received {"connection_id":188789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":188789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:29:13] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:13] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:29:13] local.INFO: IMEI packet received {"connection_id":191404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":191404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:29:13] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:13] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:13] local.INFO: IMEI packet received {"connection_id":188789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:29:14] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:14] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:14] local.INFO: Packet analysis {"connection_id":191404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:29:14] local.INFO: Extracted packet for processing {"connection_id":191404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:29:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:29:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:29: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-09-21 14:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:29:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:29:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":191404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:29:14] local.INFO: GPS data processed {"connection_id":191404,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:29:14] local.INFO: Acknowledgment sent {"connection_id":191404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:29:18] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:18] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:29:18] local.INFO: IMEI packet received {"connection_id":188789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:29:18] local.INFO: TCP Data received {"connection_id":191404,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191404,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:18] local.INFO: Processing buffer {"connection_id":191404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:29:18] local.INFO: Packet analysis {"connection_id":191404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:29:18] local.INFO: Extracted packet for processing {"connection_id":191404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":191404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:29:18] local.INFO: GPS data processed {"connection_id":191404,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:29:18] local.INFO: Acknowledgment sent {"connection_id":191404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:29:18] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32ea080012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32ea080012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:18] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32ea080012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:18] local.INFO: Packet analysis {"connection_id":188789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:29:18] local.INFO: Extracted packet for processing {"connection_id":188789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235132672001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981008000,"timestamp_ms":1789981008000,"timestamp_seconds":1789981008,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32ea080"} 
[2026-09-21 14:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 14:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235132672001,"66":12591,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235132672001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235132672001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":188789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:29:19] local.INFO: GPS data processed {"connection_id":188789,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:29:19] local.INFO: Acknowledgment sent {"connection_id":188789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:29:30] local.INFO: TCP Data received {"connection_id":190087,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:29:30] local.INFO: Processing buffer {"connection_id":190087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:29:30] local.INFO: IMEI packet received {"connection_id":190087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:29:30] local.INFO: IMEI acknowledgment sent {"connection_id":190087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:29:49] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32ef288012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32ef288012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:49] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32ef288012d196940071fec20003b010d2b..."} 
[2026-09-21 14:29:49] local.INFO: Packet analysis {"connection_id":188789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:29:49] local.INFO: Extracted packet for processing {"connection_id":188789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32e"} 
[2026-09-21 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235138048001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981029000,"timestamp_ms":1789981029000,"timestamp_seconds":1789981029,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32ef288"} 
[2026-09-21 14:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 14:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235138048001,"66":12602,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235138048001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235138048001,"power":12602,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":188789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:29:49] local.INFO: GPS data processed {"connection_id":188789,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:29:49] local.INFO: Acknowledgment sent {"connection_id":188789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:30:03] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:03] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:03] local.INFO: IMEI packet received {"connection_id":188633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:30:03] local.INFO: IMEI acknowledgment sent {"connection_id":188633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:30:08] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:08] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:30:08] local.INFO: IMEI packet received {"connection_id":188633,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188633,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:30:09] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:09] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:09] local.INFO: Packet analysis {"connection_id":188633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:09] local.INFO: Extracted packet for processing {"connection_id":188633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 14:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:30: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-09-21 14:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":188633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:30:09] local.INFO: GPS data processed {"connection_id":188633,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:30:09] local.INFO: Acknowledgment sent {"connection_id":188633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:30:13] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:13] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:13] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:30:13] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:30:14] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:14] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:14] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:30:15] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:15] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:15] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:30:18] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:18] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:30:18] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:30:19] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32f4490012d196940071fec20003b010d2a..."} 
[2026-09-21 14:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32f4490012d196940071fec20003b010d2a..."} 
[2026-09-21 14:30:19] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32f4490012d196940071fec20003b010d2a..."} 
[2026-09-21 14:30:19] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:19] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:30:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235143424001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:30:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981050000,"timestamp_ms":1789981050000,"timestamp_seconds":1789981050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32f4490"} 
[2026-09-21 14:30:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:30:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:30:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-21 14:30:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:30:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:30:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:30:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:30:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:30:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:30:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:30:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:30:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:30:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:30:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235143424001,"66":12580,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:30:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:30:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:30:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235143424001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:30:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:30:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:30:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:30:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:30:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235143424001,"power":12580,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:30:19] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:30:19] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:30:20] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:20] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:30:20] local.INFO: IMEI packet received {"connection_id":191405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 14:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":191405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:30:21] local.INFO: TCP Data received {"connection_id":191405,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3267e78012b882a000b7c72b0001f00d215..."} 
[2026-09-21 14:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3267e78012b882a000b7c72b0001f00d215..."} 
[2026-09-21 14:30:21] local.INFO: Processing buffer {"connection_id":191405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3267e78012b882a000b7c72b0001f00d215..."} 
[2026-09-21 14:30:21] local.INFO: Packet analysis {"connection_id":191405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:30:21] local.INFO: Extracted packet for processing {"connection_id":191405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c326"} 
[2026-09-21 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":730343936,"raw_latitude":192705200,"longitude_deg":73.0343936,"latitude_deg":19.27052,"altitude":31,"angle":210,"satellites":21,"speed":0,"hex_longitude":"2b882a00","hex_latitude":"0b7c72b0","is_valid_coordinates":true} 
[2026-09-21 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458234924544001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3600548393648128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:21] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8635089286196973568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789980475000,"timestamp_ms":1789980475000,"timestamp_seconds":1789980475,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3267e78"} 
[2026-09-21 14:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:30:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22528,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":210,"data_length":795,"current_offset":136} 
[2026-09-21 14:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2588,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 14:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 14:30:21] 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-09-21 14:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 14:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 14:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458234924544001,"66":25810,"27":206,"234":55296,"24":0,"16":3600548393648128,"43":-8635089286196973568},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 14:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 14:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 14:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458234924544001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:30:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 14:30:21] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 14:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3600548393648128,"km_value":3600548393648.128,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:30:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8635089286196973568,"description":"Unknown IO ID 43"} 
[2026-09-21 14:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458234924544001,"power":25810,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8635089286196973568}} 
[2026-09-21 14:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":191405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:30:21] local.INFO: GPS data processed {"connection_id":191405,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:30:21] local.INFO: Acknowledgment sent {"connection_id":191405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:30:40] local.INFO: TCP Data received {"connection_id":188633,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188633,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:40] local.INFO: Processing buffer {"connection_id":188633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:30:40] local.INFO: Packet analysis {"connection_id":188633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:40] local.INFO: Extracted packet for processing {"connection_id":188633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:30: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-09-21 14:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188633,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":188633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:30:40] local.INFO: GPS data processed {"connection_id":188633,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:30:40] local.INFO: Acknowledgment sent {"connection_id":188633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:30:50] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32f9698012d196940071fec20003b010d2d..."} 
[2026-09-21 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32f9698012d196940071fec20003b010d2d..."} 
[2026-09-21 14:30:50] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32f9698012d196940071fec20003b010d2d..."} 
[2026-09-21 14:30:50] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:50] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:30:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235148800001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:30:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:30:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789981071000,"timestamp_ms":1789981071000,"timestamp_seconds":1789981071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32f9698"} 
[2026-09-21 14:30:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:30:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:30:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 14:30:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:30:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:30:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:30:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:30:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:30:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:30:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:30:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:30:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:30:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:30:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235148800001,"66":12591,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:30:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:30:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:30:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235148800001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:30:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:30:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:30:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:30:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:30:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235148800001,"power":12591,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:30:50] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:30:50] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:31:03] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:03] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:03] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:31:05] local.INFO: TCP Data received {"connection_id":188634,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188634,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:31:05] local.INFO: Processing buffer {"connection_id":188634,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:31:05] local.INFO: IMEI packet received {"connection_id":188634,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":188634,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:31:08] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:08] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:31:08] local.INFO: IMEI packet received {"connection_id":190088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":190088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:31:09] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:09] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:09] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:09] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:31: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-09-21 14: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-09-21 14:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:31: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-09-21 14:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:31:09] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:31:09] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:31:12] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:12] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:12] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:31:17] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:17] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:31:17] local.INFO: IMEI packet received {"connection_id":188635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":188635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:31:18] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fe8a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fe8a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:31:18] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fe8a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:31:18] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:18] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235154176001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981092000,"timestamp_ms":1789981092000,"timestamp_seconds":1789981092,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fe8a0"} 
[2026-09-21 14:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 14:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235154176001,"66":12526,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235154176001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235154176001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876655,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:31:18] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:31:18] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:31:19] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3303aa8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3303aa8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:31:19] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3303aa8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:31:19] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:31:19] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235159552001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981113000,"timestamp_ms":1789981113000,"timestamp_seconds":1789981113,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3303aa8"} 
[2026-09-21 14:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235159552001,"66":12037,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235159552001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:31:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235159552001,"power":12037,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:31:19] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:31:19] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:31:40] local.INFO: TCP Data received {"connection_id":190088,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:40] local.INFO: Processing buffer {"connection_id":190088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:31:40] local.INFO: Packet analysis {"connection_id":190088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:40] local.INFO: Extracted packet for processing {"connection_id":190088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:31: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-09-21 14: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-09-21 14:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":190088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:31:40] local.INFO: GPS data processed {"connection_id":190088,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:31:40] local.INFO: Acknowledgment sent {"connection_id":190088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:31:49] local.INFO: TCP Data received {"connection_id":188635,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3308cb0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3308cb0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:31:49] local.INFO: Processing buffer {"connection_id":188635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3308cb0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:31:49] local.INFO: Packet analysis {"connection_id":188635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:31:49] local.INFO: Extracted packet for processing {"connection_id":188635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235164928001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981134000,"timestamp_ms":1789981134000,"timestamp_seconds":1789981134,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3308cb0"} 
[2026-09-21 14:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":187,"raw_value":3774873600,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3274591864,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3961520187,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675622618342359064,"corrected_to":0} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182173875044608,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3152084992,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2300248695041494314,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194964224,"note":"Value kept but may cause issues"} 
[2026-09-21 14:31:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,102,83,24,241,157,16,187,160,232,45,64,236,59,43,10,66,150,68,1,240,36,227,195,31,4,113,205,105,32,239,49,2,79,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":8675622618342359064,"validated":0}]} 
[2026-09-21 14:31:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251693997254246400,"timestamp_seconds":4251693997254246.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 14:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235164928001,"66":12526,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235164928001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235164928001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":188635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:31:50] local.INFO: GPS data processed {"connection_id":188635,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:31:50] local.INFO: Acknowledgment sent {"connection_id":188635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:32:03] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:03] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:03] local.INFO: IMEI packet received {"connection_id":188791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":188791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:32:08] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:08] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:32:08] local.INFO: IMEI packet received {"connection_id":188791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":188791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:32:09] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:09] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:09] local.INFO: Packet analysis {"connection_id":188791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:32:09] local.INFO: Extracted packet for processing {"connection_id":188791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 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-09-21 14:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":188791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:32:09] local.INFO: GPS data processed {"connection_id":188791,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:32:09] local.INFO: Acknowledgment sent {"connection_id":188791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:32:12] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:12] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:12] local.INFO: IMEI packet received {"connection_id":190089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":190089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:32:18] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:18] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:32:18] local.INFO: IMEI packet received {"connection_id":190089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":190089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:32:18] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c330deb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c330deb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:32:18] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c330deb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:32:18] local.INFO: Packet analysis {"connection_id":190089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:32:18] local.INFO: Extracted packet for processing {"connection_id":190089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c330"} 
[2026-09-21 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235170304001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981155000,"timestamp_ms":1789981155000,"timestamp_seconds":1789981155,"priority":1,"record_length":96,"hex_timestamp":"000001a0c330deb8"} 
[2026-09-21 14:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235170304001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235170304001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235170304001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:32:19] local.INFO: DEBUG: GPS processor result {"connection_id":190089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:32:19] local.INFO: GPS data processed {"connection_id":190089,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:32:19] local.INFO: Acknowledgment sent {"connection_id":190089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:32:40] local.INFO: TCP Data received {"connection_id":188791,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:40] local.INFO: Processing buffer {"connection_id":188791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:32:40] local.INFO: Packet analysis {"connection_id":188791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:32:40] local.INFO: Extracted packet for processing {"connection_id":188791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 14:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:32: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-09-21 14:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":188791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:32:40] local.INFO: GPS data processed {"connection_id":188791,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:32:40] local.INFO: Acknowledgment sent {"connection_id":188791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:32:49] local.INFO: TCP Data received {"connection_id":190089,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33130c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33130c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:32:49] local.INFO: Processing buffer {"connection_id":190089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33130c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:32:49] local.INFO: Packet analysis {"connection_id":190089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:32:49] local.INFO: Extracted packet for processing {"connection_id":190089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235175680001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981176000,"timestamp_ms":1789981176000,"timestamp_seconds":1789981176,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33130c0"} 
[2026-09-21 14:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235175680001,"66":12526,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235175680001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235175680001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":190089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:32:49] local.INFO: GPS data processed {"connection_id":190089,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:32:49] local.INFO: Acknowledgment sent {"connection_id":190089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:33:03] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:03] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:03] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:33:03] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:33:08] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:08] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:33:08] local.INFO: IMEI packet received {"connection_id":191406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":191406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:33:09] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:33:09] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c32fb1f0012d34c14006aa40600002000c2c..."} 
[2026-09-21 14:33:09] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:33:09] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c32f"} 
[2026-09-21 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235078912001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981078000,"timestamp_ms":1789981078000,"timestamp_seconds":1789981078,"priority":1,"record_length":96,"hex_timestamp":"000001a0c32fb1f0"} 
[2026-09-21 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-09-21 14:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235078912001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235078912001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235078912001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:33:09] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:33:09] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:33:12] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:12] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:12] local.INFO: IMEI packet received {"connection_id":191407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":191407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:33:18] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:18] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:33:18] local.INFO: IMEI packet received {"connection_id":191407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:33:18] local.INFO: IMEI acknowledgment sent {"connection_id":191407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:33:19] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33182c8012d196940071fec20003b010d29..."} 
[2026-09-21 14:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33182c8012d196940071fec20003b010d29..."} 
[2026-09-21 14:33:19] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33182c8012d196940071fec20003b010d29..."} 
[2026-09-21 14:33:19] local.INFO: Packet analysis {"connection_id":191407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:33:19] local.INFO: Extracted packet for processing {"connection_id":191407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235181056001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981197000,"timestamp_ms":1789981197000,"timestamp_seconds":1789981197,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33182c8"} 
[2026-09-21 14:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:33:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:33:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235181056001,"66":12526,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235181056001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:33:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:33:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235181056001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":191407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:33:19] local.INFO: GPS data processed {"connection_id":191407,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:33:19] local.INFO: Acknowledgment sent {"connection_id":191407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:33:41] local.INFO: TCP Data received {"connection_id":191406,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191406,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:33:41] local.INFO: Processing buffer {"connection_id":191406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:33:41] local.INFO: Packet analysis {"connection_id":191406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:33:41] local.INFO: Extracted packet for processing {"connection_id":191406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:33: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-09-21 14:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":191406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:33:41] local.INFO: GPS data processed {"connection_id":191406,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:33:41] local.INFO: Acknowledgment sent {"connection_id":191406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:33:49] local.INFO: TCP Data received {"connection_id":191407,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c331d4d0012d196940071fec20003b010d27..."} 
[2026-09-21 14:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191407,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c331d4d0012d196940071fec20003b010d27..."} 
[2026-09-21 14:33:49] local.INFO: Processing buffer {"connection_id":191407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c331d4d0012d196940071fec20003b010d27..."} 
[2026-09-21 14:33:49] local.INFO: Packet analysis {"connection_id":191407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:33:49] local.INFO: Extracted packet for processing {"connection_id":191407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c331"} 
[2026-09-21 14:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235186432001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981218000,"timestamp_ms":1789981218000,"timestamp_seconds":1789981218,"priority":1,"record_length":96,"hex_timestamp":"000001a0c331d4d0"} 
[2026-09-21 14:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235186432001,"66":12537,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235186432001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235186432001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":191407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:33:49] local.INFO: GPS data processed {"connection_id":191407,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:33:49] local.INFO: Acknowledgment sent {"connection_id":191407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:34:08] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:08] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:08] local.INFO: IMEI packet received {"connection_id":190091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":190091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:34:13] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:13] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:34:13] local.INFO: IMEI packet received {"connection_id":190091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":190091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:34:14] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:14] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:14] local.INFO: Packet analysis {"connection_id":190091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:34:14] local.INFO: Extracted packet for processing {"connection_id":190091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:34: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-09-21 14:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:34:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":190091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:34:14] local.INFO: GPS data processed {"connection_id":190091,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:34:14] local.INFO: Acknowledgment sent {"connection_id":190091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:34:18] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:18] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:18] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:34:23] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:23] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:34:23] local.INFO: IMEI packet received {"connection_id":190092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":190092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:34:24] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33226d8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33226d8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:24] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33226d8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:24] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:24] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235191808001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789981239000,"timestamp_ms":1789981239000,"timestamp_seconds":1789981239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33226d8"} 
[2026-09-21 14:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235191808001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235191808001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:34:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235191808001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876668,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:34:24] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:34:24] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:34:26] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33278e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33278e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:34:26] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33278e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:34:26] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:26] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235197184001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789981260000,"timestamp_ms":1789981260000,"timestamp_seconds":1789981260,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33278e0"} 
[2026-09-21 14:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:34:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:34:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235197184001,"66":12537,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:34:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:34:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:34:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235197184001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:34:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:34:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:34:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:34:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:34:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235197184001,"power":12537,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:34:26] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:34:26] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:34:46] local.INFO: TCP Data received {"connection_id":190091,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:46] local.INFO: Processing buffer {"connection_id":190091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:34:46] local.INFO: Packet analysis {"connection_id":190091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:34:46] local.INFO: Extracted packet for processing {"connection_id":190091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:34:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:34:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:34:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:34:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:34:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:34:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":190091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:34:46] local.INFO: GPS data processed {"connection_id":190091,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:34:46] local.INFO: Acknowledgment sent {"connection_id":190091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:34:57] local.INFO: TCP Data received {"connection_id":190092,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c332cae8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c332cae8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:57] local.INFO: Processing buffer {"connection_id":190092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c332cae8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:34:57] local.INFO: Packet analysis {"connection_id":190092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:57] local.INFO: Extracted packet for processing {"connection_id":190092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c332"} 
[2026-09-21 14:34:57] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235202560001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:34: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-09-21 14:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789981281000,"timestamp_ms":1789981281000,"timestamp_seconds":1789981281,"priority":1,"record_length":96,"hex_timestamp":"000001a0c332cae8"} 
[2026-09-21 14:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:34: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-09-21 14: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 14:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":190092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":190092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235202560001,"66":12515,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235202560001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:34:57] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:34:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235202560001,"power":12515,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":190092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:34:57] local.INFO: GPS data processed {"connection_id":190092,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:34:57] local.INFO: Acknowledgment sent {"connection_id":190092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:35:03] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:03] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:03] local.INFO: IMEI packet received {"connection_id":188793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":188793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:35:09] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:09] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:35:09] local.INFO: IMEI packet received {"connection_id":188793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:35:10] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:10] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:10] local.INFO: Packet analysis {"connection_id":188793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:35:10] local.INFO: Extracted packet for processing {"connection_id":188793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:35:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:35:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:35:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":188793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:35:10] local.INFO: GPS data processed {"connection_id":188793,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:35:10] local.INFO: Acknowledgment sent {"connection_id":188793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:35:13] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:13] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:13] local.INFO: IMEI packet received {"connection_id":190093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":190093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:35:18] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:18] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:35:18] local.INFO: IMEI packet received {"connection_id":190093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":190093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:35:18] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3331cf0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3331cf0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:35:18] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3331cf0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:35:18] local.INFO: Packet analysis {"connection_id":190093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:18] local.INFO: Extracted packet for processing {"connection_id":190093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235207936001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981302000,"timestamp_ms":1789981302000,"timestamp_seconds":1789981302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3331cf0"} 
[2026-09-21 14:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 14:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235207936001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235207936001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235207936001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":190093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:35:19] local.INFO: GPS data processed {"connection_id":190093,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:35:19] local.INFO: Acknowledgment sent {"connection_id":190093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:35:23] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3336ef8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3336ef8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:35:23] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3336ef8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:35:23] local.INFO: Packet analysis {"connection_id":190093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:23] local.INFO: Extracted packet for processing {"connection_id":190093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235213312001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789981323000,"timestamp_ms":1789981323000,"timestamp_seconds":1789981323,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3336ef8"} 
[2026-09-21 14:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235213312001,"66":12526,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235213312001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:35:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235213312001,"power":12526,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":190093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:35:23] local.INFO: GPS data processed {"connection_id":190093,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:35:23] local.INFO: Acknowledgment sent {"connection_id":190093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:35:42] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:42] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:35:42] local.INFO: Packet analysis {"connection_id":188793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:35:42] local.INFO: Extracted packet for processing {"connection_id":188793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:35:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35: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-09-21 14:35:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:35:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:35:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:35:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:35: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-09-21 14:35:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:35:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:35:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:35:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:35:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:35:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:35: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-09-21 14:35:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:35:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:35:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:35:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:35:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:35:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:35:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:35:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:35:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:35:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:35:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:35:42] local.INFO: DEBUG: GPS processor result {"connection_id":188793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:35:42] local.INFO: GPS data processed {"connection_id":188793,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:35:42] local.INFO: Acknowledgment sent {"connection_id":188793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:35:54] local.INFO: TCP Data received {"connection_id":190093,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c333c100012d196940071fec20003b010d29..."} 
[2026-09-21 14:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c333c100012d196940071fec20003b010d29..."} 
[2026-09-21 14:35:54] local.INFO: Processing buffer {"connection_id":190093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c333c100012d196940071fec20003b010d29..."} 
[2026-09-21 14:35:54] local.INFO: Packet analysis {"connection_id":190093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:54] local.INFO: Extracted packet for processing {"connection_id":190093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c333"} 
[2026-09-21 14:35:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235218688001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789981344000,"timestamp_ms":1789981344000,"timestamp_seconds":1789981344,"priority":1,"record_length":96,"hex_timestamp":"000001a0c333c100"} 
[2026-09-21 14:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:35: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-09-21 14:35:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 14:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:35:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235218688001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235218688001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:35:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:35:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235218688001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":190093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:35:54] local.INFO: GPS data processed {"connection_id":190093,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:35:54] local.INFO: Acknowledgment sent {"connection_id":190093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:36:03] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:03] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:03] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:36:08] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:08] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:36:08] local.INFO: IMEI packet received {"connection_id":191410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":191410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:36:09] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:09] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:09] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:09] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:36:09] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:36:09] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:36:10] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:10] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:10] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:36:13] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:13] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:13] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:36:18] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:18] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:36:18] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:36:18] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3341308012d196940071fec20003b010d2a..."} 
[2026-09-21 14:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3341308012d196940071fec20003b010d2a..."} 
[2026-09-21 14:36:18] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3341308012d196940071fec20003b010d2a..."} 
[2026-09-21 14:36:18] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:18] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235224064001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981365000,"timestamp_ms":1789981365000,"timestamp_seconds":1789981365,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3341308"} 
[2026-09-21 14:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235224064001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235224064001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:36:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235224064001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:36:19] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:36:19] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:36:25] local.INFO: TCP Data received {"connection_id":190094,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190094,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:36:25] local.INFO: Processing buffer {"connection_id":190094,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:36:25] local.INFO: IMEI packet received {"connection_id":190094,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:36:25] local.INFO: IMEI acknowledgment sent {"connection_id":190094,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:36:40] local.INFO: TCP Data received {"connection_id":191410,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191410,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:40] local.INFO: Processing buffer {"connection_id":191410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:36:40] local.INFO: Packet analysis {"connection_id":191410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:40] local.INFO: Extracted packet for processing {"connection_id":191410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:36: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-09-21 14:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":191410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:36:40] local.INFO: GPS data processed {"connection_id":191410,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:36:40] local.INFO: Acknowledgment sent {"connection_id":191410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:36:49] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3346510012d196940071fec20003b010d2b..."} 
[2026-09-21 14:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3346510012d196940071fec20003b010d2b..."} 
[2026-09-21 14:36:49] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3346510012d196940071fec20003b010d2b..."} 
[2026-09-21 14:36:49] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:49] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235229440001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981386000,"timestamp_ms":1789981386000,"timestamp_seconds":1789981386,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3346510"} 
[2026-09-21 14:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235229440001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235229440001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:36:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235229440001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:36:49] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:36:49] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:37:03] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:03] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:03] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:37:03] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:37:08] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:08] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:37:08] local.INFO: IMEI packet received {"connection_id":190095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":190095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:37:09] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:09] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:09] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:09] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 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-09-21 14:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:37: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-09-21 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-09-21 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-09-21 14:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:37: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-09-21 14:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 14:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:37:09] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:37:09] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:37:13] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: IMEI packet received {"connection_id":191411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":191411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:37:13] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:13] local.INFO: IMEI packet received {"connection_id":191411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":191411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:37:18] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:18] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:37:18] local.INFO: IMEI packet received {"connection_id":191411,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":191411,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:37:19] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c334b718012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c334b718012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:19] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c334b718012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:19] local.INFO: Packet analysis {"connection_id":191411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:19] local.INFO: Extracted packet for processing {"connection_id":191411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235234816001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981407000,"timestamp_ms":1789981407000,"timestamp_seconds":1789981407,"priority":1,"record_length":96,"hex_timestamp":"000001a0c334b718"} 
[2026-09-21 14:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235234816001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235234816001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:37:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:37:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235234816001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":191411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:37:19] local.INFO: GPS data processed {"connection_id":191411,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:37:19] local.INFO: Acknowledgment sent {"connection_id":191411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:37:40] local.INFO: TCP Data received {"connection_id":190095,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:40] local.INFO: Processing buffer {"connection_id":190095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:37:40] local.INFO: Packet analysis {"connection_id":190095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:40] local.INFO: Extracted packet for processing {"connection_id":190095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 14:37: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-09-21 14: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-09-21 14:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 14:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":190095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:37:40] local.INFO: GPS data processed {"connection_id":190095,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:37:40] local.INFO: Acknowledgment sent {"connection_id":190095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:37:50] local.INFO: TCP Data received {"connection_id":191411,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3350920012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3350920012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:50] local.INFO: Processing buffer {"connection_id":191411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3350920012d196940071fec20003b010d2c..."} 
[2026-09-21 14:37:50] local.INFO: Packet analysis {"connection_id":191411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:37:50] local.INFO: Extracted packet for processing {"connection_id":191411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:37:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235240192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:37:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:37:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789981428000,"timestamp_ms":1789981428000,"timestamp_seconds":1789981428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3350920"} 
[2026-09-21 14:37:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:37:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:37:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:37:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:37:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191411,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:37:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:37:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:37:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235240192001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:37:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:37:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:37:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235240192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:37:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:37:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:37:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:37:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:37:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235240192001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":191411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:37:50] local.INFO: GPS data processed {"connection_id":191411,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:37:50] local.INFO: Acknowledgment sent {"connection_id":191411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:38:03] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:03] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:03] local.INFO: IMEI packet received {"connection_id":188637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:38:03] local.INFO: IMEI acknowledgment sent {"connection_id":188637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:38:08] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:08] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:38:08] local.INFO: IMEI packet received {"connection_id":188637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":188637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:38:09] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:38:09] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33449b8012d34c14006aa40600007000c2c..."} 
[2026-09-21 14:38:09] local.INFO: Packet analysis {"connection_id":188637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:38:09] local.INFO: Extracted packet for processing {"connection_id":188637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c334"} 
[2026-09-21 14:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235155968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981379000,"timestamp_ms":1789981379000,"timestamp_seconds":1789981379,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33449b8"} 
[2026-09-21 14:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:38: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-09-21 14:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235155968001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235155968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235155968001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":188637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:38:09] local.INFO: GPS data processed {"connection_id":188637,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:38:09] local.INFO: Acknowledgment sent {"connection_id":188637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:38:13] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:13] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:13] local.INFO: IMEI packet received {"connection_id":188638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":188638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:38:16] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:16] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:38:16] local.INFO: IMEI packet received {"connection_id":188638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":188638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:38:17] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3355b28012d196940071fec20003b010d29..."} 
[2026-09-21 14:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3355b28012d196940071fec20003b010d29..."} 
[2026-09-21 14:38:17] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3355b28012d196940071fec20003b010d29..."} 
[2026-09-21 14:38:17] local.INFO: Packet analysis {"connection_id":188638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:38:17] local.INFO: Extracted packet for processing {"connection_id":188638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235245568001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789981449000,"timestamp_ms":1789981449000,"timestamp_seconds":1789981449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3355b28"} 
[2026-09-21 14:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235245568001,"66":12504,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235245568001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:38:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235245568001,"power":12504,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":188638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:38:17] local.INFO: GPS data processed {"connection_id":188638,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:38:17] local.INFO: Acknowledgment sent {"connection_id":188638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:38:40] local.INFO: TCP Data received {"connection_id":188637,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:38:40] local.INFO: Processing buffer {"connection_id":188637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:38:40] local.INFO: Packet analysis {"connection_id":188637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:38:40] local.INFO: Extracted packet for processing {"connection_id":188637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":188637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:38:40] local.INFO: GPS data processed {"connection_id":188637,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:38:40] local.INFO: Acknowledgment sent {"connection_id":188637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:38:48] local.INFO: TCP Data received {"connection_id":188638,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c335ad30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188638,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c335ad30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:38:48] local.INFO: Processing buffer {"connection_id":188638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c335ad30012d196940071fec20003b010d2c..."} 
[2026-09-21 14:38:48] local.INFO: Packet analysis {"connection_id":188638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:38:48] local.INFO: Extracted packet for processing {"connection_id":188638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235250944001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:38:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789981470000,"timestamp_ms":1789981470000,"timestamp_seconds":1789981470,"priority":1,"record_length":96,"hex_timestamp":"000001a0c335ad30"} 
[2026-09-21 14:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:38: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-09-21 14:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 14:38:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235250944001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235250944001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:38:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:38:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235250944001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":188638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:38:48] local.INFO: GPS data processed {"connection_id":188638,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:38:48] local.INFO: Acknowledgment sent {"connection_id":188638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:39:08] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:08] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:08] local.INFO: IMEI packet received {"connection_id":190096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":190096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:39:13] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:13] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:13] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:39:13] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:13] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:39:13] local.INFO: IMEI packet received {"connection_id":190096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":190096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:39:14] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:14] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:14] local.INFO: Packet analysis {"connection_id":190096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:39:14] local.INFO: Extracted packet for processing {"connection_id":190096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":190096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:39:14] local.INFO: GPS data processed {"connection_id":190096,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:39:14] local.INFO: Acknowledgment sent {"connection_id":190096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:39:18] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:18] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:39:18] local.INFO: IMEI packet received {"connection_id":191412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":191412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:39:18] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c335ff38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c335ff38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:39:18] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c335ff38012d196940071fec20003b010d2b..."} 
[2026-09-21 14:39:18] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:39:18] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c335"} 
[2026-09-21 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235256320001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981491000,"timestamp_ms":1789981491000,"timestamp_seconds":1789981491,"priority":1,"record_length":96,"hex_timestamp":"000001a0c335ff38"} 
[2026-09-21 14:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235256320001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235256320001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235256320001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:39:19] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:39:19] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:39:19] local.INFO: TCP Data received {"connection_id":190096,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:19] local.INFO: Processing buffer {"connection_id":190096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:39:19] local.INFO: Packet analysis {"connection_id":190096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:39:19] local.INFO: Extracted packet for processing {"connection_id":190096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:39:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:39:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:39:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:39:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:39:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:39:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:39:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:39:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:39:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:39:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:39:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:39:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:39:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:39:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:39:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:39:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:39:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:39:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:39:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:39:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:39:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:39:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:39:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:39:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:39:19] local.INFO: DEBUG: GPS processor result {"connection_id":190096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:39:19] local.INFO: GPS data processed {"connection_id":190096,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:39:19] local.INFO: Acknowledgment sent {"connection_id":190096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:39:49] local.INFO: TCP Data received {"connection_id":191412,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3365140012d196940071fec20003b010d2c..."} 
[2026-09-21 14:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3365140012d196940071fec20003b010d2c..."} 
[2026-09-21 14:39:49] local.INFO: Processing buffer {"connection_id":191412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3365140012d196940071fec20003b010d2c..."} 
[2026-09-21 14:39:49] local.INFO: Packet analysis {"connection_id":191412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c336"} 
[2026-09-21 14:39:49] local.INFO: Extracted packet for processing {"connection_id":191412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c336"} 
[2026-09-21 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235261696001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981512000,"timestamp_ms":1789981512000,"timestamp_seconds":1789981512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3365140"} 
[2026-09-21 14:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235261696001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235261696001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235261696001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":191412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:39:49] local.INFO: GPS data processed {"connection_id":191412,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:39:49] local.INFO: Acknowledgment sent {"connection_id":191412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:40:03] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:03] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:03] local.INFO: IMEI packet received {"connection_id":188639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":188639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:40:08] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:08] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:40:08] local.INFO: IMEI packet received {"connection_id":188639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:40:09] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:09] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:09] local.INFO: Packet analysis {"connection_id":188639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:40:09] local.INFO: Extracted packet for processing {"connection_id":188639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 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-09-21 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:40: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-09-21 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-09-21 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-09-21 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:40: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-09-21 14:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:40:09] local.INFO: GPS data processed {"connection_id":188639,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:40:09] local.INFO: Acknowledgment sent {"connection_id":188639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:40:12] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:12] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:12] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:40:18] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:18] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:40:18] local.INFO: IMEI packet received {"connection_id":191413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":191413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:40:18] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c336a348012d196940071fec20003b010d2c..."} 
[2026-09-21 14:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c336a348012d196940071fec20003b010d2c..."} 
[2026-09-21 14:40:18] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c336a348012d196940071fec20003b010d2c..."} 
[2026-09-21 14:40:18] local.INFO: Packet analysis {"connection_id":191413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c336"} 
[2026-09-21 14:40:18] local.INFO: Extracted packet for processing {"connection_id":191413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c336"} 
[2026-09-21 14:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235267072001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981533000,"timestamp_ms":1789981533000,"timestamp_seconds":1789981533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c336a348"} 
[2026-09-21 14:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235267072001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235267072001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235267072001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:40:19] local.INFO: DEBUG: GPS processor result {"connection_id":191413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:40:19] local.INFO: GPS data processed {"connection_id":191413,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:40:19] local.INFO: Acknowledgment sent {"connection_id":191413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:40:41] local.INFO: TCP Data received {"connection_id":188639,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:41] local.INFO: Processing buffer {"connection_id":188639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:40:41] local.INFO: Packet analysis {"connection_id":188639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:40:41] local.INFO: Extracted packet for processing {"connection_id":188639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:40:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:40: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-09-21 14:40:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14: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-09-21 14:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":188639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:40:41] local.INFO: GPS data processed {"connection_id":188639,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:40:41] local.INFO: Acknowledgment sent {"connection_id":188639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:40:49] local.INFO: TCP Data received {"connection_id":191413,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33a29a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33a29a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:40:49] local.INFO: Processing buffer {"connection_id":191413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33a29a0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:40:49] local.INFO: Packet analysis {"connection_id":191413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:40:49] local.INFO: Extracted packet for processing {"connection_id":191413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235326208001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981764000,"timestamp_ms":1789981764000,"timestamp_seconds":1789981764,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33a29a0"} 
[2026-09-21 14:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235326208001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235326208001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235326208001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":191413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:40:49] local.INFO: GPS data processed {"connection_id":191413,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:40:49] local.INFO: Acknowledgment sent {"connection_id":191413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:41:02] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:02] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:02] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:41:08] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:08] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:41:08] local.INFO: IMEI packet received {"connection_id":191414,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":191414,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:41:09] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:09] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:09] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:41:09] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:41: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-09-21 14:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:41: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-09-21 14:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:41:09] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:41:09] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:41:12] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:12] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:12] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:41:18] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:18] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:41:18] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:41:18] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:41:18] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33a7ba8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33a7ba8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:41:18] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33a7ba8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:41:18] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:41:18] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235331584001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981785000,"timestamp_ms":1789981785000,"timestamp_seconds":1789981785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33a7ba8"} 
[2026-09-21 14:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235331584001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235331584001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:41:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235331584001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:41:19] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:41:19] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:41:19] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:41:41] local.INFO: TCP Data received {"connection_id":191414,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191414,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:41] local.INFO: Processing buffer {"connection_id":191414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:41:41] local.INFO: Packet analysis {"connection_id":191414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:41:41] local.INFO: Extracted packet for processing {"connection_id":191414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:41:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:41:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:41:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:41:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:41: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-09-21 14: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-09-21 14:41:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:41:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:41:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:41:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:41:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191414,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14: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-09-21 14:41:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:41:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:41:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:41:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:41:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:41:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:41:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:41:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:41:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:41:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:41:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:41:41] local.INFO: DEBUG: GPS processor result {"connection_id":191414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:41:41] local.INFO: GPS data processed {"connection_id":191414,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:41:41] local.INFO: Acknowledgment sent {"connection_id":191414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:41:49] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33acdb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33acdb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:41:49] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33acdb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:41:49] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:41:49] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33a"} 
[2026-09-21 14:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235336960001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981806000,"timestamp_ms":1789981806000,"timestamp_seconds":1789981806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33acdb0"} 
[2026-09-21 14:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235336960001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235336960001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235336960001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:41:49] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:41:49] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:42:03] local.INFO: TCP Data received {"connection_id":190099,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:03] local.INFO: Processing buffer {"connection_id":190099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:03] local.INFO: IMEI packet received {"connection_id":190099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:42:03] local.INFO: IMEI acknowledgment sent {"connection_id":190099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:42:08] local.INFO: TCP Data received {"connection_id":190099,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:08] local.INFO: Processing buffer {"connection_id":190099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:42:08] local.INFO: IMEI packet received {"connection_id":190099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":190099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:42:09] local.INFO: TCP Data received {"connection_id":190099,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:09] local.INFO: Processing buffer {"connection_id":190099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:09] local.INFO: Packet analysis {"connection_id":190099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:42:09] local.INFO: Extracted packet for processing {"connection_id":190099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:42: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-09-21 14:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:42: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-09-21 14:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":190099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:42:09] local.INFO: GPS data processed {"connection_id":190099,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:42:09] local.INFO: Acknowledgment sent {"connection_id":190099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:42:12] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:12] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:12] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:42:15] local.INFO: TCP Data received {"connection_id":190100,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190100,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:42:15] local.INFO: Processing buffer {"connection_id":190100,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:42:15] local.INFO: IMEI packet received {"connection_id":190100,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":190100,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:42:18] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:18] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:42:18] local.INFO: IMEI packet received {"connection_id":190101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":190101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:42:18] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33b1fb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33b1fb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:42:18] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33b1fb8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:42:18] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:42:18] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235342336001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981827000,"timestamp_ms":1789981827000,"timestamp_seconds":1789981827,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33b1fb8"} 
[2026-09-21 14:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235342336001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235342336001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:42:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235342336001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:42:19] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:42:19] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:42:40] local.INFO: TCP Data received {"connection_id":190099,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:40] local.INFO: Processing buffer {"connection_id":190099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:42:40] local.INFO: Packet analysis {"connection_id":190099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:42:40] local.INFO: Extracted packet for processing {"connection_id":190099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":190099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:42:40] local.INFO: GPS data processed {"connection_id":190099,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:42:40] local.INFO: Acknowledgment sent {"connection_id":190099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:42:49] local.INFO: TCP Data received {"connection_id":190101,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33b71c0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190101,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33b71c0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:42:49] local.INFO: Processing buffer {"connection_id":190101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33b71c0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:42:49] local.INFO: Packet analysis {"connection_id":190101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:42:49] local.INFO: Extracted packet for processing {"connection_id":190101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235347712001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981848000,"timestamp_ms":1789981848000,"timestamp_seconds":1789981848,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33b71c0"} 
[2026-09-21 14:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235347712001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235347712001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:42:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235347712001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":190101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:42:49] local.INFO: GPS data processed {"connection_id":190101,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:42:49] local.INFO: Acknowledgment sent {"connection_id":190101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:43:03] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:03] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:03] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:43:08] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:08] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:43:08] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:43:09] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:43:09] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c338e180012d34c14006aa40600009000c2a..."} 
[2026-09-21 14:43:09] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:43:09] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c338"} 
[2026-09-21 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235233024001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981680000,"timestamp_ms":1789981680000,"timestamp_seconds":1789981680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c338e180"} 
[2026-09-21 14:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:43:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235233024001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235233024001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235233024001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:43:09] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:43:09] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:43:18] local.INFO: TCP Data received {"connection_id":188640,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:18] local.INFO: Processing buffer {"connection_id":188640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:18] local.INFO: IMEI packet received {"connection_id":188640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":188640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:43:23] local.INFO: TCP Data received {"connection_id":188640,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:23] local.INFO: Processing buffer {"connection_id":188640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:43:23] local.INFO: IMEI packet received {"connection_id":188640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":188640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:43:23] local.INFO: TCP Data received {"connection_id":188640,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33bc3c8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33bc3c8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:43:23] local.INFO: Processing buffer {"connection_id":188640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33bc3c8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:43:23] local.INFO: Packet analysis {"connection_id":188640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:43:23] local.INFO: Extracted packet for processing {"connection_id":188640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33b"} 
[2026-09-21 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235353088001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789981869000,"timestamp_ms":1789981869000,"timestamp_seconds":1789981869,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33bc3c8"} 
[2026-09-21 14:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235353088001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235353088001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:43:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235353088001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":188640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:43:24] local.INFO: GPS data processed {"connection_id":188640,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:43:24] local.INFO: Acknowledgment sent {"connection_id":188640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:43:40] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:43:40] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:43:40] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:43:40] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:43:40] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:43:40] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:43:54] local.INFO: TCP Data received {"connection_id":188640,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33c15d0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33c15d0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:43:54] local.INFO: Processing buffer {"connection_id":188640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33c15d0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:43:54] local.INFO: Packet analysis {"connection_id":188640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:43:54] local.INFO: Extracted packet for processing {"connection_id":188640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235358464001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789981890000,"timestamp_ms":1789981890000,"timestamp_seconds":1789981890,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33c15d0"} 
[2026-09-21 14:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:43: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-09-21 14:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235358464001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235358464001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:43:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:43:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235358464001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":188640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:43:54] local.INFO: GPS data processed {"connection_id":188640,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:43:54] local.INFO: Acknowledgment sent {"connection_id":188640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:44:08] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:08] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:08] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:44:13] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:44:13] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:13] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:44:13] local.INFO: IMEI packet received {"connection_id":191415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":191415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:44:13] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:13] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:44:14] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:14] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:14] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:44:14] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:44:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:44:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:44:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:44:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:44:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:44:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:44:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:44:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:44:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:44:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:44:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:44:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:44:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:44: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-09-21 14:44:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:44:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:44:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:44:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:44:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:44:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:44:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:44:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:44:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:44:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:44:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:44:14] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:44:14] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:44:14] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:44:18] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:18] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:44:18] local.INFO: IMEI packet received {"connection_id":188641,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":188641,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:44:18] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33c67d8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33c67d8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:18] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33c67d8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:18] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:44:18] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235363840001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981911000,"timestamp_ms":1789981911000,"timestamp_seconds":1789981911,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33c67d8"} 
[2026-09-21 14:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235363840001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235363840001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235363840001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:44:19] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:44:19] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:44:45] local.INFO: TCP Data received {"connection_id":191415,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:45] local.INFO: Processing buffer {"connection_id":191415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:44:45] local.INFO: Packet analysis {"connection_id":191415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:44:45] local.INFO: Extracted packet for processing {"connection_id":191415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44: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-09-21 14:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:44:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":191415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:44:45] local.INFO: GPS data processed {"connection_id":191415,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:44:45] local.INFO: Acknowledgment sent {"connection_id":191415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:44:49] local.INFO: TCP Data received {"connection_id":188641,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33cb9e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33cb9e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:49] local.INFO: Processing buffer {"connection_id":188641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33cb9e0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:44:49] local.INFO: Packet analysis {"connection_id":188641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:44:49] local.INFO: Extracted packet for processing {"connection_id":188641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33c"} 
[2026-09-21 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235369216001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981932000,"timestamp_ms":1789981932000,"timestamp_seconds":1789981932,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33cb9e0"} 
[2026-09-21 14:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188641,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235369216001,"66":11906,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235369216001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235369216001,"power":11906,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":188641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:44:49] local.INFO: GPS data processed {"connection_id":188641,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:44:49] local.INFO: Acknowledgment sent {"connection_id":188641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:45:03] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:03] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:03] local.INFO: IMEI packet received {"connection_id":188642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":188642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:45:08] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:08] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:45:08] local.INFO: IMEI packet received {"connection_id":188642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:45:09] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:09] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:09] local.INFO: Packet analysis {"connection_id":188642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:09] local.INFO: Extracted packet for processing {"connection_id":188642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:45: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-09-21 14:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":188642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:45:09] local.INFO: GPS data processed {"connection_id":188642,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:45:09] local.INFO: Acknowledgment sent {"connection_id":188642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:45:13] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:13] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:13] local.INFO: IMEI packet received {"connection_id":191416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":191416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:45:17] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:17] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:45:17] local.INFO: IMEI packet received {"connection_id":191416,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":191416,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:45:18] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d0be8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d0be8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:45:18] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d0be8012d196940071fec20003b010d2c..."} 
[2026-09-21 14:45:18] local.INFO: Packet analysis {"connection_id":191416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:18] local.INFO: Extracted packet for processing {"connection_id":191416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235374592001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789981953000,"timestamp_ms":1789981953000,"timestamp_seconds":1789981953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d0be8"} 
[2026-09-21 14:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-09-21 14:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1598,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235374592001,"66":12004,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235374592001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:45:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235374592001,"power":12004,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":191416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:45:18] local.INFO: GPS data processed {"connection_id":191416,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:45:18] local.INFO: Acknowledgment sent {"connection_id":191416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:45:40] local.INFO: TCP Data received {"connection_id":188642,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:40] local.INFO: Processing buffer {"connection_id":188642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:45:40] local.INFO: Packet analysis {"connection_id":188642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:40] local.INFO: Extracted packet for processing {"connection_id":188642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:45: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-09-21 14:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:45:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":188642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:45:40] local.INFO: GPS data processed {"connection_id":188642,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:45:40] local.INFO: Acknowledgment sent {"connection_id":188642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:45:49] local.INFO: TCP Data received {"connection_id":191416,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d5df0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191416,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d5df0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:45:49] local.INFO: Processing buffer {"connection_id":191416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d5df0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:45:49] local.INFO: Packet analysis {"connection_id":191416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:49] local.INFO: Extracted packet for processing {"connection_id":191416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235379968001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789981974000,"timestamp_ms":1789981974000,"timestamp_seconds":1789981974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d5df0"} 
[2026-09-21 14:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 14:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2480,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191416,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235379968001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235379968001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235379968001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":191416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:45:49] local.INFO: GPS data processed {"connection_id":191416,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:45:49] local.INFO: Acknowledgment sent {"connection_id":191416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:46:03] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:03] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:03] local.INFO: IMEI packet received {"connection_id":188799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:46:03] local.INFO: IMEI acknowledgment sent {"connection_id":188799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:46:08] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:08] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:46:08] local.INFO: IMEI packet received {"connection_id":188799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:46:09] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:09] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:09] local.INFO: Packet analysis {"connection_id":188799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:09] local.INFO: Extracted packet for processing {"connection_id":188799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 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-09-21 14:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":188799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:46:09] local.INFO: GPS data processed {"connection_id":188799,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:46:09] local.INFO: Acknowledgment sent {"connection_id":188799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:46:13] local.INFO: TCP Data received {"connection_id":188643,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:13] local.INFO: Processing buffer {"connection_id":188643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:13] local.INFO: IMEI packet received {"connection_id":188643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:46:18] local.INFO: TCP Data received {"connection_id":188643,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188643,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:18] local.INFO: Processing buffer {"connection_id":188643,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:46:18] local.INFO: IMEI packet received {"connection_id":188643,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":188643,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:46:19] local.INFO: TCP Data received {"connection_id":188643,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33daff8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:46:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33daff8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:46:19] local.INFO: Processing buffer {"connection_id":188643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33daff8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:46:19] local.INFO: Packet analysis {"connection_id":188643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:19] local.INFO: Extracted packet for processing {"connection_id":188643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:46:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235385344001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:46:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789981995000,"timestamp_ms":1789981995000,"timestamp_seconds":1789981995,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33daff8"} 
[2026-09-21 14:46:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:46:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:46:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 14:46:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:46:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:46:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:46:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:46:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:46:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:46:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:46:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:46:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:46:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:46:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235385344001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:46:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:46:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:46:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235385344001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:46:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:46:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:46:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:46:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:46:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235385344001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:46:19] local.INFO: DEBUG: GPS processor result {"connection_id":188643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:46:19] local.INFO: GPS data processed {"connection_id":188643,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:46:19] local.INFO: Acknowledgment sent {"connection_id":188643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:46:40] local.INFO: TCP Data received {"connection_id":188799,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188799,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:40] local.INFO: Processing buffer {"connection_id":188799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:46:40] local.INFO: Packet analysis {"connection_id":188799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:40] local.INFO: Extracted packet for processing {"connection_id":188799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":188799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:46:40] local.INFO: GPS data processed {"connection_id":188799,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:46:40] local.INFO: Acknowledgment sent {"connection_id":188799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:46:50] local.INFO: TCP Data received {"connection_id":188643,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33e0200012d196940071fec20003b010d2b..."} 
[2026-09-21 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33e0200012d196940071fec20003b010d2b..."} 
[2026-09-21 14:46:50] local.INFO: Processing buffer {"connection_id":188643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33e0200012d196940071fec20003b010d2b..."} 
[2026-09-21 14:46:50] local.INFO: Packet analysis {"connection_id":188643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:46:50] local.INFO: Extracted packet for processing {"connection_id":188643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235390720001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789982016000,"timestamp_ms":1789982016000,"timestamp_seconds":1789982016,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33e0200"} 
[2026-09-21 14:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 14:46:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:46:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188643,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:46:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235390720001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235390720001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:46:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235390720001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":188643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:46:50] local.INFO: GPS data processed {"connection_id":188643,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:46:50] local.INFO: Acknowledgment sent {"connection_id":188643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:47:03] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:03] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:03] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:47:08] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:08] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:47:08] local.INFO: IMEI packet received {"connection_id":190106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":190106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:47:09] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:09] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:09] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:47:09] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14: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-09-21 14:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 14:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:47:09] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:47:09] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:47:13] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:13] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:13] local.INFO: IMEI packet received {"connection_id":190107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:47:13] local.INFO: IMEI acknowledgment sent {"connection_id":190107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:47:18] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:18] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:47:18] local.INFO: IMEI packet received {"connection_id":190107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":190107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:47:18] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33e5408012d196940071fec20003b010d2e..."} 
[2026-09-21 14:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33e5408012d196940071fec20003b010d2e..."} 
[2026-09-21 14:47:18] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33e5408012d196940071fec20003b010d2e..."} 
[2026-09-21 14:47:18] local.INFO: Packet analysis {"connection_id":190107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:47:18] local.INFO: Extracted packet for processing {"connection_id":190107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235396096001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982037000,"timestamp_ms":1789982037000,"timestamp_seconds":1789982037,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33e5408"} 
[2026-09-21 14:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 14:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235396096001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235396096001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235396096001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":190107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:47:19] local.INFO: GPS data processed {"connection_id":190107,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:47:19] local.INFO: Acknowledgment sent {"connection_id":190107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:47:40] local.INFO: TCP Data received {"connection_id":190108,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190108,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:47:40] local.INFO: Processing buffer {"connection_id":190108,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:47:40] local.INFO: IMEI packet received {"connection_id":190108,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":190108,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:47:41] local.INFO: TCP Data received {"connection_id":190106,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:41] local.INFO: Processing buffer {"connection_id":190106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:47:41] local.INFO: Packet analysis {"connection_id":190106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:47:41] local.INFO: Extracted packet for processing {"connection_id":190106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47: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-09-21 14:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:47: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-09-21 14:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 14:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":190106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:47:41] local.INFO: GPS data processed {"connection_id":190106,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:47:41] local.INFO: Acknowledgment sent {"connection_id":190106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:47:49] local.INFO: TCP Data received {"connection_id":190107,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33ea610012d196940071fec20003b010d2b..."} 
[2026-09-21 14:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33ea610012d196940071fec20003b010d2b..."} 
[2026-09-21 14:47:49] local.INFO: Processing buffer {"connection_id":190107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33ea610012d196940071fec20003b010d2b..."} 
[2026-09-21 14:47:49] local.INFO: Packet analysis {"connection_id":190107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:47:49] local.INFO: Extracted packet for processing {"connection_id":190107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235401472001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982058000,"timestamp_ms":1789982058000,"timestamp_seconds":1789982058,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33ea610"} 
[2026-09-21 14:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235401472001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235401472001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235401472001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":190107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:47:49] local.INFO: GPS data processed {"connection_id":190107,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:47:49] local.INFO: Acknowledgment sent {"connection_id":190107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:48:03] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:03] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:03] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:48:08] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:08] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:48:08] local.INFO: IMEI packet received {"connection_id":188644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":188644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:48:09] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:09] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:09] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:48:09] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14: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-09-21 14:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:48:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:48:09] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:48:09] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:48:13] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:13] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:13] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:48:15] local.INFO: TCP Data received {"connection_id":188800,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188800,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:48:15] local.INFO: Processing buffer {"connection_id":188800,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:48:15] local.INFO: IMEI packet received {"connection_id":188800,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":188800,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:48:18] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:18] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:48:18] local.INFO: IMEI packet received {"connection_id":188645,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":188645,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:48:18] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33ef818012d196940071fec20003b010d2b..."} 
[2026-09-21 14:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33ef818012d196940071fec20003b010d2b..."} 
[2026-09-21 14:48:18] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33ef818012d196940071fec20003b010d2b..."} 
[2026-09-21 14:48:18] local.INFO: Packet analysis {"connection_id":188645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:48:18] local.INFO: Extracted packet for processing {"connection_id":188645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33e"} 
[2026-09-21 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235406848001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982079000,"timestamp_ms":1789982079000,"timestamp_seconds":1789982079,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33ef818"} 
[2026-09-21 14:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235406848001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235406848001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235406848001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":188645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:48:19] local.INFO: GPS data processed {"connection_id":188645,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:48:19] local.INFO: Acknowledgment sent {"connection_id":188645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:48:41] local.INFO: TCP Data received {"connection_id":188644,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:41] local.INFO: Processing buffer {"connection_id":188644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33d7948012d34c14006aa40600006000c2a..."} 
[2026-09-21 14:48:41] local.INFO: Packet analysis {"connection_id":188644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:48:41] local.INFO: Extracted packet for processing {"connection_id":188644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33d"} 
[2026-09-21 14:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235310080001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789981981000,"timestamp_ms":1789981981000,"timestamp_seconds":1789981981,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33d7948"} 
[2026-09-21 14:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:48: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-09-21 14: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-09-21 14:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235310080001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235310080001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235310080001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":188644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:48:41] local.INFO: GPS data processed {"connection_id":188644,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:48:41] local.INFO: Acknowledgment sent {"connection_id":188644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:48:49] local.INFO: TCP Data received {"connection_id":188645,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33f4a20012d196940071fec20003b010d2c..."} 
[2026-09-21 14:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33f4a20012d196940071fec20003b010d2c..."} 
[2026-09-21 14:48:49] local.INFO: Processing buffer {"connection_id":188645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33f4a20012d196940071fec20003b010d2c..."} 
[2026-09-21 14:48:49] local.INFO: Packet analysis {"connection_id":188645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:48:49] local.INFO: Extracted packet for processing {"connection_id":188645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235412224001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982100000,"timestamp_ms":1789982100000,"timestamp_seconds":1789982100,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33f4a20"} 
[2026-09-21 14:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188645,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235412224001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235412224001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235412224001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":188645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:48:49] local.INFO: GPS data processed {"connection_id":188645,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:48:49] local.INFO: Acknowledgment sent {"connection_id":188645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:49:08] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:08] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:08] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:49:12] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:12] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:12] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:49:13] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:13] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:49:13] local.INFO: IMEI packet received {"connection_id":188801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":188801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:49:14] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:14] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:14] local.INFO: Packet analysis {"connection_id":188801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:49:14] local.INFO: Extracted packet for processing {"connection_id":188801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":188801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:49:14] local.INFO: GPS data processed {"connection_id":188801,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:49:14] local.INFO: Acknowledgment sent {"connection_id":188801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:49:18] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:18] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:49:18] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:49:19] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33f9c28012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33f9c28012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:19] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33f9c28012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:19] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:49:19] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235417600001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789982121000,"timestamp_ms":1789982121000,"timestamp_seconds":1789982121,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33f9c28"} 
[2026-09-21 14:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235417600001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235417600001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235417600001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:49:19] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:49:19] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:49:19] local.INFO: TCP Data received {"connection_id":188801,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:19] local.INFO: Processing buffer {"connection_id":188801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:49:19] local.INFO: Packet analysis {"connection_id":188801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:49:19] local.INFO: Extracted packet for processing {"connection_id":188801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:49:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:49:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:49:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:49:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:49:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:49:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:49:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:49:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:49:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:49:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:49:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:49:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:49:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:49:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:49:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:49:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:49:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":188801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:49:19] local.INFO: GPS data processed {"connection_id":188801,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:49:19] local.INFO: Acknowledgment sent {"connection_id":188801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:49:49] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c33fee30012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c33fee30012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:49] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c33fee30012d196940071fec20003b010d2b..."} 
[2026-09-21 14:49:49] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:49:49] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c33f"} 
[2026-09-21 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235422976001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982142000,"timestamp_ms":1789982142000,"timestamp_seconds":1789982142,"priority":1,"record_length":96,"hex_timestamp":"000001a0c33fee30"} 
[2026-09-21 14:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 14:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235422976001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235422976001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235422976001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:49:50] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:49:50] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:50:02] local.INFO: TCP Data received {"connection_id":188646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:02] local.INFO: Processing buffer {"connection_id":188646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:02] local.INFO: IMEI packet received {"connection_id":188646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":188646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:50:08] local.INFO: TCP Data received {"connection_id":188646,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:08] local.INFO: Processing buffer {"connection_id":188646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:50:08] local.INFO: IMEI packet received {"connection_id":188646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:50:09] local.INFO: TCP Data received {"connection_id":188646,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:09] local.INFO: Processing buffer {"connection_id":188646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:09] local.INFO: Packet analysis {"connection_id":188646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:50:09] local.INFO: Extracted packet for processing {"connection_id":188646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:50: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-09-21 14:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":188646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:50:09] local.INFO: GPS data processed {"connection_id":188646,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:50:09] local.INFO: Acknowledgment sent {"connection_id":188646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:50:18] local.INFO: TCP Data received {"connection_id":190109,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:18] local.INFO: Processing buffer {"connection_id":190109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:18] local.INFO: IMEI packet received {"connection_id":190109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":190109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:50:23] local.INFO: TCP Data received {"connection_id":190109,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:23] local.INFO: Processing buffer {"connection_id":190109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:50:23] local.INFO: IMEI packet received {"connection_id":190109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":190109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:50:24] local.INFO: TCP Data received {"connection_id":190109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3404038012d196940071fec20003b010d2a..."} 
[2026-09-21 14:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3404038012d196940071fec20003b010d2a..."} 
[2026-09-21 14:50:24] local.INFO: Processing buffer {"connection_id":190109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3404038012d196940071fec20003b010d2a..."} 
[2026-09-21 14:50:24] local.INFO: Packet analysis {"connection_id":190109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:50:24] local.INFO: Extracted packet for processing {"connection_id":190109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235428352001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789982163000,"timestamp_ms":1789982163000,"timestamp_seconds":1789982163,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3404038"} 
[2026-09-21 14:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 14:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235428352001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235428352001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:50:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235428352001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":190109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:50:24] local.INFO: GPS data processed {"connection_id":190109,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:50:24] local.INFO: Acknowledgment sent {"connection_id":190109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:50:28] local.INFO: TCP Data received {"connection_id":190109,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3409240012d196940071fec20003b010d2b..."} 
[2026-09-21 14:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3409240012d196940071fec20003b010d2b..."} 
[2026-09-21 14:50:28] local.INFO: Processing buffer {"connection_id":190109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3409240012d196940071fec20003b010d2b..."} 
[2026-09-21 14:50:28] local.INFO: Packet analysis {"connection_id":190109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:50:28] local.INFO: Extracted packet for processing {"connection_id":190109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235433728001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789982184000,"timestamp_ms":1789982184000,"timestamp_seconds":1789982184,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3409240"} 
[2026-09-21 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-09-21 14:50: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-09-21 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 14:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235433728001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235433728001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:50:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:50:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235433728001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":190109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:50:28] local.INFO: GPS data processed {"connection_id":190109,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:50:28] local.INFO: Acknowledgment sent {"connection_id":190109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:50:40] local.INFO: TCP Data received {"connection_id":188646,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188646,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:40] local.INFO: Processing buffer {"connection_id":188646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:50:40] local.INFO: Packet analysis {"connection_id":188646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:50:40] local.INFO: Extracted packet for processing {"connection_id":188646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":188646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:50:40] local.INFO: GPS data processed {"connection_id":188646,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:50:40] local.INFO: Acknowledgment sent {"connection_id":188646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:51:04] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:04] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:04] local.INFO: IMEI packet received {"connection_id":188647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":188647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:51:08] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:08] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:51:08] local.INFO: IMEI packet received {"connection_id":188647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":188647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:51:09] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:09] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:09] local.INFO: Packet analysis {"connection_id":188647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:51:09] local.INFO: Extracted packet for processing {"connection_id":188647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 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-09-21 14:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:51: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-09-21 14:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":188647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:51:09] local.INFO: GPS data processed {"connection_id":188647,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:51:09] local.INFO: Acknowledgment sent {"connection_id":188647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:51:13] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:51:13] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:51:13] local.INFO: IMEI packet received {"connection_id":191417,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":191417,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:51:14] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c340e448012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c340e448012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:14] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c340e448012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:14] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:51:14] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c340"} 
[2026-09-21 14:51:14] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235439104001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789982205000,"timestamp_ms":1789982205000,"timestamp_seconds":1789982205,"priority":1,"record_length":96,"hex_timestamp":"000001a0c340e448"} 
[2026-09-21 14:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:51:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235439104001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235439104001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:51:14] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:51:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235439104001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:51:14] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:51:14] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:51:40] local.INFO: TCP Data received {"connection_id":188647,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:40] local.INFO: Processing buffer {"connection_id":188647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:51:40] local.INFO: Packet analysis {"connection_id":188647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:51:40] local.INFO: Extracted packet for processing {"connection_id":188647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:51: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-09-21 14:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":188647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:51:40] local.INFO: GPS data processed {"connection_id":188647,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:51:40] local.INFO: Acknowledgment sent {"connection_id":188647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:51:45] local.INFO: TCP Data received {"connection_id":191417,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3413650012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3413650012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:45] local.INFO: Processing buffer {"connection_id":191417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3413650012d196940071fec20003b010d2b..."} 
[2026-09-21 14:51:45] local.INFO: Packet analysis {"connection_id":191417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c341"} 
[2026-09-21 14:51:45] local.INFO: Extracted packet for processing {"connection_id":191417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c341"} 
[2026-09-21 14:51:45] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235444480001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789982226000,"timestamp_ms":1789982226000,"timestamp_seconds":1789982226,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3413650"} 
[2026-09-21 14:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:51:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:51:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:51:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:51:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191417,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235444480001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235444480001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:51:45] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:51:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:51:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235444480001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":191417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876740,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:51:45] local.INFO: GPS data processed {"connection_id":191417,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:51:45] local.INFO: Acknowledgment sent {"connection_id":191417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:52:02] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:02] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:02] local.INFO: IMEI packet received {"connection_id":190111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":190111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:52:08] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:08] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:52:08] local.INFO: IMEI packet received {"connection_id":190111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":190111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:52:09] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:09] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:09] local.INFO: Packet analysis {"connection_id":190111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:52:09] local.INFO: Extracted packet for processing {"connection_id":190111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 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-09-21 14:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 14: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-09-21 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-09-21 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-09-21 14:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":190111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:52:09] local.INFO: GPS data processed {"connection_id":190111,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:52:09] local.INFO: Acknowledgment sent {"connection_id":190111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:52:13] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:13] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:13] local.INFO: IMEI packet received {"connection_id":188649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":188649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:52:17] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:17] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:52:17] local.INFO: IMEI packet received {"connection_id":188649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":188649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:52:18] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c344bca8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c344bca8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:52:18] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c344bca8012d196940071fec20003b010d2a..."} 
[2026-09-21 14:52:18] local.INFO: Packet analysis {"connection_id":188649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c344"} 
[2026-09-21 14:52:18] local.INFO: Extracted packet for processing {"connection_id":188649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c344"} 
[2026-09-21 14:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235503616001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982457000,"timestamp_ms":1789982457000,"timestamp_seconds":1789982457,"priority":1,"record_length":96,"hex_timestamp":"000001a0c344bca8"} 
[2026-09-21 14:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-09-21 14:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235503616001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235503616001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235503616001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":188649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:52:18] local.INFO: GPS data processed {"connection_id":188649,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:52:18] local.INFO: Acknowledgment sent {"connection_id":188649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:52:40] local.INFO: TCP Data received {"connection_id":190111,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:40] local.INFO: Processing buffer {"connection_id":190111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:52:40] local.INFO: Packet analysis {"connection_id":190111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:52:40] local.INFO: Extracted packet for processing {"connection_id":190111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.55","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.55","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":190111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:52:40] local.INFO: GPS data processed {"connection_id":190111,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:52:40] local.INFO: Acknowledgment sent {"connection_id":190111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:52:49] local.INFO: TCP Data received {"connection_id":188649,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3450eb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3450eb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:52:49] local.INFO: Processing buffer {"connection_id":188649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3450eb0012d196940071fec20003b010d2b..."} 
[2026-09-21 14:52:49] local.INFO: Packet analysis {"connection_id":188649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:52:49] local.INFO: Extracted packet for processing {"connection_id":188649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235508992001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982478000,"timestamp_ms":1789982478000,"timestamp_seconds":1789982478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3450eb0"} 
[2026-09-21 14:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 14:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235508992001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235508992001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:52:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235508992001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":188649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:52:49] local.INFO: GPS data processed {"connection_id":188649,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:52:49] local.INFO: Acknowledgment sent {"connection_id":188649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:53:03] local.INFO: TCP Data received {"connection_id":190112,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:03] local.INFO: Processing buffer {"connection_id":190112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:03] local.INFO: IMEI packet received {"connection_id":190112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":190112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:53:09] local.INFO: TCP Data received {"connection_id":190112,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:09] local.INFO: Processing buffer {"connection_id":190112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:53:09] local.INFO: IMEI packet received {"connection_id":190112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:53:09] local.INFO: IMEI acknowledgment sent {"connection_id":190112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:53:12] local.INFO: TCP Data received {"connection_id":190112,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:53:12] local.INFO: Processing buffer {"connection_id":190112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3421110012d34c14006aa40600005000c2b..."} 
[2026-09-21 14:53:12] local.INFO: Packet analysis {"connection_id":190112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:53:12] local.INFO: Extracted packet for processing {"connection_id":190112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c342"} 
[2026-09-21 14:53:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235387136001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789982282000,"timestamp_ms":1789982282000,"timestamp_seconds":1789982282,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3421110"} 
[2026-09-21 14:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:53:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":190112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":190112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":190112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:53: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-09-21 14:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235387136001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235387136001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:53:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:53:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235387136001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":190112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:53:12] local.INFO: GPS data processed {"connection_id":190112,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:53:12] local.INFO: Acknowledgment sent {"connection_id":190112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:53:13] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:13] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:13] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:53:13] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:53:18] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:18] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:53:18] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:53:18] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34560b8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34560b8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:53:18] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34560b8012d196940071fec20003b010d2b..."} 
[2026-09-21 14:53:18] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:53:18] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235514368001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982499000,"timestamp_ms":1789982499000,"timestamp_seconds":1789982499,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34560b8"} 
[2026-09-21 14:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235514368001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235514368001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235514368001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:53:19] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:53:19] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:53:19] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:53:40] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:53:40] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:53:40] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:53:40] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:53:43] local.INFO: TCP Data received {"connection_id":190112,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:53:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190112,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:53:43] local.INFO: Processing buffer {"connection_id":190112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:53:43] local.INFO: Packet analysis {"connection_id":190112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:53:43] local.INFO: Extracted packet for processing {"connection_id":190112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:53:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:53:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:53:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:53:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:53:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:53:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:53: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-09-21 14:53:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:53:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:53:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:53:43] local.INFO: Teltonika packet parsed successfully {"connection_id":190112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:53:43] local.INFO: Passing IMEI to GPS processor {"connection_id":190112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:53:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":190112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:53: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-09-21 14:53:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:53:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:53:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:53:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:53:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:53:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:53:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:53:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:53:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:53:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:53:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:53:43] local.INFO: DEBUG: GPS processor result {"connection_id":190112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:53:43] local.INFO: GPS data processed {"connection_id":190112,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:53:43] local.INFO: Acknowledgment sent {"connection_id":190112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:53:49] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c345b2c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c345b2c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:53:49] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c345b2c0012d196940071fec20003b010d2c..."} 
[2026-09-21 14:53:49] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:53:49] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c345"} 
[2026-09-21 14:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235519744001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982520000,"timestamp_ms":1789982520000,"timestamp_seconds":1789982520,"priority":1,"record_length":96,"hex_timestamp":"000001a0c345b2c0"} 
[2026-09-21 14:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235519744001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235519744001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235519744001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:53:49] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:53:49] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:54:08] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:08] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:08] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:54:13] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:13] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:13] local.INFO: IMEI packet received {"connection_id":188650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":188650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:54:13] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:13] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:54:13] local.INFO: IMEI packet received {"connection_id":190113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":190113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:54:14] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:14] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:14] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:14] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:54:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:54: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-09-21 14:54:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:54:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:54:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:54:14] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:54:14] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:54:15] local.INFO: TCP Data received {"connection_id":190114,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190114,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:54:15] local.INFO: Processing buffer {"connection_id":190114,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:54:15] local.INFO: IMEI packet received {"connection_id":190114,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":190114,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:54:18] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:18] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:54:18] local.INFO: IMEI packet received {"connection_id":188650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:54:18] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34604c8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34604c8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:54:18] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34604c8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:54:18] local.INFO: Packet analysis {"connection_id":188650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:18] local.INFO: Extracted packet for processing {"connection_id":188650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235525120001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982541000,"timestamp_ms":1789982541000,"timestamp_seconds":1789982541,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34604c8"} 
[2026-09-21 14:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235525120001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235525120001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235525120001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":188650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:54:19] local.INFO: GPS data processed {"connection_id":188650,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:54:19] local.INFO: Acknowledgment sent {"connection_id":188650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:54:19] local.INFO: TCP Data received {"connection_id":190113,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:19] local.INFO: Processing buffer {"connection_id":190113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:54:19] local.INFO: Packet analysis {"connection_id":190113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:19] local.INFO: Extracted packet for processing {"connection_id":190113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:54:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:54:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:54:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:54:19] local.INFO: DEBUG: GPS processor result {"connection_id":190113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:54:19] local.INFO: GPS data processed {"connection_id":190113,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:54:19] local.INFO: Acknowledgment sent {"connection_id":190113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:54:49] local.INFO: TCP Data received {"connection_id":188650,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34656d0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188650,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34656d0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:54:49] local.INFO: Processing buffer {"connection_id":188650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34656d0012d196940071fec20003b010d2a..."} 
[2026-09-21 14:54:49] local.INFO: Packet analysis {"connection_id":188650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:49] local.INFO: Extracted packet for processing {"connection_id":188650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235530496001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982562000,"timestamp_ms":1789982562000,"timestamp_seconds":1789982562,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34656d0"} 
[2026-09-21 14:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235530496001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235530496001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235530496001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":188650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:54:49] local.INFO: GPS data processed {"connection_id":188650,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:54:49] local.INFO: Acknowledgment sent {"connection_id":188650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:55:03] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:03] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:03] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:55:08] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:08] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:55:08] local.INFO: IMEI packet received {"connection_id":191418,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191418,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:55:09] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:09] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:09] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:09] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 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-09-21 14:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 14:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:55:09] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:55:09] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:55:13] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:13] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:13] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:55:18] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:18] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:55:18] local.INFO: IMEI packet received {"connection_id":191419,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":191419,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:55:18] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:55:18] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:55:18] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:18] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235535872001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 14:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235535872001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235535872001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235535872001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:55:19] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:55:19] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:55:41] local.INFO: TCP Data received {"connection_id":191418,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191418,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:41] local.INFO: Processing buffer {"connection_id":191418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:55:41] local.INFO: Packet analysis {"connection_id":191418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:41] local.INFO: Extracted packet for processing {"connection_id":191418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:55: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-09-21 14: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-09-21 14:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191418,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:55: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-09-21 14:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":191418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:55:41] local.INFO: GPS data processed {"connection_id":191418,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:55:41] local.INFO: Acknowledgment sent {"connection_id":191418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:55:49] local.INFO: TCP Data received {"connection_id":191419,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346fae0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346fae0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:55:49] local.INFO: Processing buffer {"connection_id":191419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346fae0012d196940071fec20003b010d2d..."} 
[2026-09-21 14:55:49] local.INFO: Packet analysis {"connection_id":191419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:49] local.INFO: Extracted packet for processing {"connection_id":191419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982604000,"timestamp_ms":1789982604000,"timestamp_seconds":1789982604,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346fae0"} 
[2026-09-21 14:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191419,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":191419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:55:49] local.INFO: GPS data processed {"connection_id":191419,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:55:49] local.INFO: Acknowledgment sent {"connection_id":191419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:56:02] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:02] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:02] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:56:08] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:08] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:56:08] local.INFO: IMEI packet received {"connection_id":188651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:56:09] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:09] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:09] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:56:09] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:56:09] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:56:09] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:56:12] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:12] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:12] local.INFO: IMEI packet received {"connection_id":190115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":190115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:56:18] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:18] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:56:18] local.INFO: IMEI packet received {"connection_id":190115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":190115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:56:18] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3474ce8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3474ce8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:56:18] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3474ce8012d196940071fec20003b010d2d..."} 
[2026-09-21 14:56:18] local.INFO: Packet analysis {"connection_id":190115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:56:18] local.INFO: Extracted packet for processing {"connection_id":190115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235546624001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982625000,"timestamp_ms":1789982625000,"timestamp_seconds":1789982625,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3474ce8"} 
[2026-09-21 14:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235546624001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235546624001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235546624001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":190115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:56:19] local.INFO: GPS data processed {"connection_id":190115,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:56:19] local.INFO: Acknowledgment sent {"connection_id":190115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:56:40] local.INFO: TCP Data received {"connection_id":188651,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:40] local.INFO: Processing buffer {"connection_id":188651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:56:40] local.INFO: Packet analysis {"connection_id":188651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:56:40] local.INFO: Extracted packet for processing {"connection_id":188651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":188651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:56:40] local.INFO: GPS data processed {"connection_id":188651,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:56:40] local.INFO: Acknowledgment sent {"connection_id":188651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:56:49] local.INFO: TCP Data received {"connection_id":190115,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3479ef0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3479ef0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:56:49] local.INFO: Processing buffer {"connection_id":190115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3479ef0012d196940071fec20003b010d2e..."} 
[2026-09-21 14:56:49] local.INFO: Packet analysis {"connection_id":190115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:56:49] local.INFO: Extracted packet for processing {"connection_id":190115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235552000001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982646000,"timestamp_ms":1789982646000,"timestamp_seconds":1789982646,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3479ef0"} 
[2026-09-21 14:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235552000001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235552000001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235552000001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":190115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:56:49] local.INFO: GPS data processed {"connection_id":190115,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:56:49] local.INFO: Acknowledgment sent {"connection_id":190115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:57:03] local.INFO: TCP Data received {"connection_id":190117,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:03] local.INFO: Processing buffer {"connection_id":190117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:03] local.INFO: IMEI packet received {"connection_id":190117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:57:03] local.INFO: IMEI acknowledgment sent {"connection_id":190117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:57:08] local.INFO: TCP Data received {"connection_id":190117,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:08] local.INFO: Processing buffer {"connection_id":190117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:57:08] local.INFO: IMEI packet received {"connection_id":190117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":190117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:57:09] local.INFO: TCP Data received {"connection_id":190117,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:09] local.INFO: Processing buffer {"connection_id":190117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:09] local.INFO: Packet analysis {"connection_id":190117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:57:09] local.INFO: Extracted packet for processing {"connection_id":190117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 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-09-21 14:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 14:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":190117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:57:09] local.INFO: GPS data processed {"connection_id":190117,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:57:09] local.INFO: Acknowledgment sent {"connection_id":190117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:57:12] local.INFO: TCP Data received {"connection_id":190118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:12] local.INFO: Processing buffer {"connection_id":190118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:12] local.INFO: IMEI packet received {"connection_id":190118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":190118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:57:18] local.INFO: TCP Data received {"connection_id":190118,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:18] local.INFO: Processing buffer {"connection_id":190118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:57:18] local.INFO: IMEI packet received {"connection_id":190118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":190118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:57:18] local.INFO: TCP Data received {"connection_id":190118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c347f0f8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c347f0f8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:57:18] local.INFO: Processing buffer {"connection_id":190118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c347f0f8012d196940071fec20003b010d2e..."} 
[2026-09-21 14:57:18] local.INFO: Packet analysis {"connection_id":190118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:57:18] local.INFO: Extracted packet for processing {"connection_id":190118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c347"} 
[2026-09-21 14:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235557376001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982667000,"timestamp_ms":1789982667000,"timestamp_seconds":1789982667,"priority":1,"record_length":96,"hex_timestamp":"000001a0c347f0f8"} 
[2026-09-21 14:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235557376001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235557376001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235557376001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":190118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:57:19] local.INFO: GPS data processed {"connection_id":190118,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:57:19] local.INFO: Acknowledgment sent {"connection_id":190118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:57:40] local.INFO: TCP Data received {"connection_id":190117,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:40] local.INFO: Processing buffer {"connection_id":190117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:57:40] local.INFO: Packet analysis {"connection_id":190117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:57:40] local.INFO: Extracted packet for processing {"connection_id":190117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":190117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:57:40] local.INFO: GPS data processed {"connection_id":190117,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:57:40] local.INFO: Acknowledgment sent {"connection_id":190117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:57:49] local.INFO: TCP Data received {"connection_id":190118,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3484300012d196940071fec20003b010d2b..."} 
[2026-09-21 14:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190118,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3484300012d196940071fec20003b010d2b..."} 
[2026-09-21 14:57:49] local.INFO: Processing buffer {"connection_id":190118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3484300012d196940071fec20003b010d2b..."} 
[2026-09-21 14:57:49] local.INFO: Packet analysis {"connection_id":190118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:57:49] local.INFO: Extracted packet for processing {"connection_id":190118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235562752001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982688000,"timestamp_ms":1789982688000,"timestamp_seconds":1789982688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3484300"} 
[2026-09-21 14:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235562752001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235562752001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:57:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235562752001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":190118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:57:49] local.INFO: GPS data processed {"connection_id":190118,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:57:49] local.INFO: Acknowledgment sent {"connection_id":190118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:58:02] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:03] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:03] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:58:03] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:58:08] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:08] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:58:08] local.INFO: IMEI packet received {"connection_id":188652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:58:09] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:09] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:09] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:58:09] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 14:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 14:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 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-09-21 14:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 14:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:58: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-09-21 14:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:58:09] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:58:09] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:58:12] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:12] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:12] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:58:13] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:13] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:13] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:58:17] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:17] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:58:17] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:58:18] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3489508012d196940071fec20003b010d2c..."} 
[2026-09-21 14:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3489508012d196940071fec20003b010d2c..."} 
[2026-09-21 14:58:18] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3489508012d196940071fec20003b010d2c..."} 
[2026-09-21 14:58:18] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:58:18] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235568128001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982709000,"timestamp_ms":1789982709000,"timestamp_seconds":1789982709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3489508"} 
[2026-09-21 14:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235568128001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235568128001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235568128001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:58:18] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:58:18] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:58:40] local.INFO: TCP Data received {"connection_id":188652,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:40] local.INFO: Processing buffer {"connection_id":188652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c346a8d8012d34c14006aa40600004000c2e..."} 
[2026-09-21 14:58:40] local.INFO: Packet analysis {"connection_id":188652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:58:40] local.INFO: Extracted packet for processing {"connection_id":188652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c346"} 
[2026-09-21 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235464192001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982583000,"timestamp_ms":1789982583000,"timestamp_seconds":1789982583,"priority":1,"record_length":96,"hex_timestamp":"000001a0c346a8d8"} 
[2026-09-21 14:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 14:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235464192001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235464192001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235464192001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":188652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:58:40] local.INFO: GPS data processed {"connection_id":188652,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:58:40] local.INFO: Acknowledgment sent {"connection_id":188652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:58:49] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c348e710012d196940071fec20003b010d2d..."} 
[2026-09-21 14:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c348e710012d196940071fec20003b010d2d..."} 
[2026-09-21 14:58:49] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c348e710012d196940071fec20003b010d2d..."} 
[2026-09-21 14:58:49] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:58:49] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c348"} 
[2026-09-21 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235573504001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982730000,"timestamp_ms":1789982730000,"timestamp_seconds":1789982730,"priority":1,"record_length":96,"hex_timestamp":"000001a0c348e710"} 
[2026-09-21 14:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 14:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235573504001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235573504001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235573504001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:58:49] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:58:49] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:59:08] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:08] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:08] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 14:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:59:13] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:13] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 14:59:13] local.INFO: IMEI packet received {"connection_id":191421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 14:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":191421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:59:14] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:14] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:14] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 14:59:14] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 14:59:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:59:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:59:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 14:59:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:59:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:59:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:59:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:59:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:59:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:59:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:59:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14: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-09-21 14:59:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:59:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:59:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:59:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:59:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:59:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:59:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:59:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:59:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:59:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:59:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:59:14] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:59:14] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:59:14] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:59:17] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: IMEI packet received {"connection_id":188810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 14:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":188810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:59:17] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:17] local.INFO: IMEI packet received {"connection_id":188810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":188810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:59:23] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:23] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 14:59:23] local.INFO: IMEI packet received {"connection_id":188810,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 14:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":188810,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 14:59:23] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3493918012d196940071fec20003b010d2c..."} 
[2026-09-21 14:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3493918012d196940071fec20003b010d2c..."} 
[2026-09-21 14:59:23] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3493918012d196940071fec20003b010d2c..."} 
[2026-09-21 14:59:23] local.INFO: Packet analysis {"connection_id":188810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 14:59:23] local.INFO: Extracted packet for processing {"connection_id":188810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 14:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235578880001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789982751000,"timestamp_ms":1789982751000,"timestamp_seconds":1789982751,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3493918"} 
[2026-09-21 14:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235578880001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235578880001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:59:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235578880001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":188810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:59:24] local.INFO: GPS data processed {"connection_id":188810,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:59:24] local.INFO: Acknowledgment sent {"connection_id":188810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:59:28] local.INFO: TCP Data received {"connection_id":188810,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3498b20012d196940071fec20003b010d2d..."} 
[2026-09-21 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3498b20012d196940071fec20003b010d2d..."} 
[2026-09-21 14:59:28] local.INFO: Processing buffer {"connection_id":188810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3498b20012d196940071fec20003b010d2d..."} 
[2026-09-21 14:59:28] local.INFO: Packet analysis {"connection_id":188810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 14:59:28] local.INFO: Extracted packet for processing {"connection_id":188810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 14:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235584256001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 14:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789982772000,"timestamp_ms":1789982772000,"timestamp_seconds":1789982772,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3498b20"} 
[2026-09-21 14:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 14: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 14:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 14: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-09-21 14:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188810,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 14:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 14:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 14:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 14:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235584256001,"66":12265,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 14:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 14:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 14:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235584256001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:59:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 14:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 14:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 14:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235584256001,"power":12265,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 14:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":188810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876771,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:59:28] local.INFO: GPS data processed {"connection_id":188810,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:59:28] local.INFO: Acknowledgment sent {"connection_id":188810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 14:59:30] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:59:30] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 14:59:30] local.INFO: IMEI packet received {"connection_id":188809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 14:59:30] local.INFO: IMEI acknowledgment sent {"connection_id":188809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 14:59:45] local.INFO: TCP Data received {"connection_id":191421,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191421,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:45] local.INFO: Processing buffer {"connection_id":191421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 14:59:45] local.INFO: Packet analysis {"connection_id":191421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 14:59:45] local.INFO: Extracted packet for processing {"connection_id":191421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 14:59:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 14:59:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 14:59:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 14:59:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 14: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-09-21 14:59:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 14:59:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 14:59:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 14: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-09-21 14: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-09-21 14:59:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 14:59:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 14:59:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 14:59:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 14:59:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:59:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 14:59: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-09-21 14:59:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 14:59:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 14:59:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 14:59:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 14:59:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 14:59:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 14:59:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 14:59:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 14:59:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 14:59:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 14:59:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 14:59:45] local.INFO: DEBUG: GPS processor result {"connection_id":191421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 14:59:45] local.INFO: GPS data processed {"connection_id":191421,"processed":1,"errors":0,"total":1} 
[2026-09-21 14:59:45] local.INFO: Acknowledgment sent {"connection_id":191421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:00:03] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:03] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:03] local.INFO: IMEI packet received {"connection_id":188653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":188653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:00:08] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:08] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:00:08] local.INFO: IMEI packet received {"connection_id":188653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:00:09] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:09] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:09] local.INFO: Packet analysis {"connection_id":188653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:00:09] local.INFO: Extracted packet for processing {"connection_id":188653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 15:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:00:09] local.INFO: GPS data processed {"connection_id":188653,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:00:09] local.INFO: Acknowledgment sent {"connection_id":188653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:00:13] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:13] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:13] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:00:15] local.INFO: TCP Data received {"connection_id":190120,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:00:15] local.INFO: Processing buffer {"connection_id":190120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:00:15] local.INFO: IMEI packet received {"connection_id":190120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":190120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:00:18] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:18] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:00:18] local.INFO: IMEI packet received {"connection_id":191422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":191422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:00:18] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c349dd28012d196940071fec20003b010d2b..."} 
[2026-09-21 15:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c349dd28012d196940071fec20003b010d2b..."} 
[2026-09-21 15:00:18] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c349dd28012d196940071fec20003b010d2b..."} 
[2026-09-21 15:00:18] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 15:00:18] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c349"} 
[2026-09-21 15:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235589632001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982793000,"timestamp_ms":1789982793000,"timestamp_seconds":1789982793,"priority":1,"record_length":96,"hex_timestamp":"000001a0c349dd28"} 
[2026-09-21 15:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 15:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235589632001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235589632001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235589632001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:00:19] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:00:19] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:00:41] local.INFO: TCP Data received {"connection_id":188653,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:41] local.INFO: Processing buffer {"connection_id":188653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:00:41] local.INFO: Packet analysis {"connection_id":188653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:00:41] local.INFO: Extracted packet for processing {"connection_id":188653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 15:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:00: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-09-21 15:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":188653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:00:41] local.INFO: GPS data processed {"connection_id":188653,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:00:41] local.INFO: Acknowledgment sent {"connection_id":188653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:00:49] local.INFO: TCP Data received {"connection_id":191422,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34a2f30012d196940071fec20003b010d2e..."} 
[2026-09-21 15:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34a2f30012d196940071fec20003b010d2e..."} 
[2026-09-21 15:00:49] local.INFO: Processing buffer {"connection_id":191422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34a2f30012d196940071fec20003b010d2e..."} 
[2026-09-21 15:00:49] local.INFO: Packet analysis {"connection_id":191422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:00:49] local.INFO: Extracted packet for processing {"connection_id":191422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235595008001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982814000,"timestamp_ms":1789982814000,"timestamp_seconds":1789982814,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34a2f30"} 
[2026-09-21 15:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235595008001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235595008001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235595008001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":191422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:00:49] local.INFO: GPS data processed {"connection_id":191422,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:00:49] local.INFO: Acknowledgment sent {"connection_id":191422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:01:02] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:02] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:02] local.INFO: IMEI packet received {"connection_id":188654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":188654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:01:08] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:08] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:01:08] local.INFO: IMEI packet received {"connection_id":188654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:01:09] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:09] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:09] local.INFO: Packet analysis {"connection_id":188654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:01:09] local.INFO: Extracted packet for processing {"connection_id":188654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 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-09-21 15:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:01: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-09-21 15:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":188654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:01:09] local.INFO: GPS data processed {"connection_id":188654,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:01:09] local.INFO: Acknowledgment sent {"connection_id":188654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:01:13] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:13] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:13] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:01:13] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:01:18] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:18] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:01:18] local.INFO: IMEI packet received {"connection_id":191423,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":191423,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:01:18] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34a8138012d196940071fec20003b010d2d..."} 
[2026-09-21 15:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34a8138012d196940071fec20003b010d2d..."} 
[2026-09-21 15:01:18] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34a8138012d196940071fec20003b010d2d..."} 
[2026-09-21 15:01:18] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:01:18] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235600384001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982835000,"timestamp_ms":1789982835000,"timestamp_seconds":1789982835,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34a8138"} 
[2026-09-21 15:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235600384001,"66":11678,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235600384001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:01:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235600384001,"power":11678,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:01:19] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:01:19] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:01:40] local.INFO: TCP Data received {"connection_id":188654,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188654,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:40] local.INFO: Processing buffer {"connection_id":188654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:01:40] local.INFO: Packet analysis {"connection_id":188654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:01:40] local.INFO: Extracted packet for processing {"connection_id":188654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 15:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":188654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:01:40] local.INFO: GPS data processed {"connection_id":188654,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:01:40] local.INFO: Acknowledgment sent {"connection_id":188654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:01:49] local.INFO: TCP Data received {"connection_id":191423,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34ad340012d196940071fec20003b010d2e..."} 
[2026-09-21 15:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34ad340012d196940071fec20003b010d2e..."} 
[2026-09-21 15:01:49] local.INFO: Processing buffer {"connection_id":191423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34ad340012d196940071fec20003b010d2e..."} 
[2026-09-21 15:01:49] local.INFO: Packet analysis {"connection_id":191423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:01:49] local.INFO: Extracted packet for processing {"connection_id":191423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34a"} 
[2026-09-21 15:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235605760001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982856000,"timestamp_ms":1789982856000,"timestamp_seconds":1789982856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34ad340"} 
[2026-09-21 15:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-09-21 15:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1845,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191423,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235605760001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235605760001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:01:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235605760001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":191423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:01:49] local.INFO: GPS data processed {"connection_id":191423,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:01:49] local.INFO: Acknowledgment sent {"connection_id":191423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:02:02] local.INFO: TCP Data received {"connection_id":190121,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:02] local.INFO: Processing buffer {"connection_id":190121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:02] local.INFO: IMEI packet received {"connection_id":190121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":190121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:02:08] local.INFO: TCP Data received {"connection_id":190121,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190121,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:08] local.INFO: Processing buffer {"connection_id":190121,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:02:08] local.INFO: IMEI packet received {"connection_id":190121,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":190121,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:02:09] local.INFO: TCP Data received {"connection_id":190121,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:09] local.INFO: Processing buffer {"connection_id":190121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:09] local.INFO: Packet analysis {"connection_id":190121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:09] local.INFO: Extracted packet for processing {"connection_id":190121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 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-09-21 15:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:02: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-09-21 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-09-21 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-09-21 15:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:02: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-09-21 15:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:02:09] local.INFO: GPS data processed {"connection_id":190121,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:02:09] local.INFO: Acknowledgment sent {"connection_id":190121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:02:13] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:13] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:13] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:02:13] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:02:18] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:18] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:02:18] local.INFO: IMEI packet received {"connection_id":191425,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":191425,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:02:18] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b2548012d196940071fec20003b010d2b..."} 
[2026-09-21 15:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b2548012d196940071fec20003b010d2b..."} 
[2026-09-21 15:02:18] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b2548012d196940071fec20003b010d2b..."} 
[2026-09-21 15:02:18] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:18] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235611136001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982877000,"timestamp_ms":1789982877000,"timestamp_seconds":1789982877,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b2548"} 
[2026-09-21 15:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235611136001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235611136001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235611136001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:02:19] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:02:19] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:02:19] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:02:42] local.INFO: TCP Data received {"connection_id":190121,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:42] local.INFO: Processing buffer {"connection_id":190121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:02:42] local.INFO: Packet analysis {"connection_id":190121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:42] local.INFO: Extracted packet for processing {"connection_id":190121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02: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-09-21 15:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 15:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:02:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:02: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-09-21 15:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190121,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:02: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-09-21 15:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:02:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:02:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:02:42] local.INFO: DEBUG: GPS processor result {"connection_id":190121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:02:42] local.INFO: GPS data processed {"connection_id":190121,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:02:42] local.INFO: Acknowledgment sent {"connection_id":190121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:02:49] local.INFO: TCP Data received {"connection_id":191425,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b7750012d196940071fec20003b010d2c..."} 
[2026-09-21 15:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b7750012d196940071fec20003b010d2c..."} 
[2026-09-21 15:02:49] local.INFO: Processing buffer {"connection_id":191425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b7750012d196940071fec20003b010d2c..."} 
[2026-09-21 15:02:49] local.INFO: Packet analysis {"connection_id":191425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:49] local.INFO: Extracted packet for processing {"connection_id":191425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235616512001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982898000,"timestamp_ms":1789982898000,"timestamp_seconds":1789982898,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b7750"} 
[2026-09-21 15:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191425,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235616512001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235616512001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235616512001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":191425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:02:50] local.INFO: GPS data processed {"connection_id":191425,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:02:50] local.INFO: Acknowledgment sent {"connection_id":191425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:03:08] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:08] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:08] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:03:13] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:13] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:13] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:03:13] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:13] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:03:13] local.INFO: IMEI packet received {"connection_id":191427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":191427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:03:14] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:03:14] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34b40a0012d34c14006aa40600005000c2d..."} 
[2026-09-21 15:03:14] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:03:14] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:03:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235541248001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:03:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789982884000,"timestamp_ms":1789982884000,"timestamp_seconds":1789982884,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34b40a0"} 
[2026-09-21 15:03:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:03:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:03:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:03:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:03:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:03:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:03:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:03:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:03:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:03:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:03: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-09-21 15:03:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:03:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:03:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235541248001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:03:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:03:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:03:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235541248001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:03:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:03:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:03:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:03:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:03:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235541248001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:03:14] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:03:14] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:03:14] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:03:18] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:18] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:03:18] local.INFO: IMEI packet received {"connection_id":190122,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":190122,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:03:18] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34bc958012d196940071fec20003b010d2d..."} 
[2026-09-21 15:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34bc958012d196940071fec20003b010d2d..."} 
[2026-09-21 15:03:18] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34bc958012d196940071fec20003b010d2d..."} 
[2026-09-21 15:03:18] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:03:18] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34b"} 
[2026-09-21 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235621888001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789982919000,"timestamp_ms":1789982919000,"timestamp_seconds":1789982919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34bc958"} 
[2026-09-21 15:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235621888001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235621888001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235621888001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:03:19] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:03:19] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:03:19] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:03:45] local.INFO: TCP Data received {"connection_id":191427,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:03:45] local.INFO: Processing buffer {"connection_id":191427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:03:45] local.INFO: Packet analysis {"connection_id":191427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:03:45] local.INFO: Extracted packet for processing {"connection_id":191427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:03:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03: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-09-21 15:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:03:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:03: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-09-21 15:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:03:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:03:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":191427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:03:45] local.INFO: GPS data processed {"connection_id":191427,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:03:45] local.INFO: Acknowledgment sent {"connection_id":191427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:03:49] local.INFO: TCP Data received {"connection_id":190122,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34c1b60012d196940071fec20003b010d2c..."} 
[2026-09-21 15:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190122,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34c1b60012d196940071fec20003b010d2c..."} 
[2026-09-21 15:03:49] local.INFO: Processing buffer {"connection_id":190122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34c1b60012d196940071fec20003b010d2c..."} 
[2026-09-21 15:03:49] local.INFO: Packet analysis {"connection_id":190122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34c"} 
[2026-09-21 15:03:49] local.INFO: Extracted packet for processing {"connection_id":190122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34c"} 
[2026-09-21 15:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235627264001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789982940000,"timestamp_ms":1789982940000,"timestamp_seconds":1789982940,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34c1b60"} 
[2026-09-21 15:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190122,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235627264001,"66":12461,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235627264001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235627264001,"power":12461,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":190122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:03:49] local.INFO: GPS data processed {"connection_id":190122,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:03:49] local.INFO: Acknowledgment sent {"connection_id":190122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:04:03] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:03] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:03] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:04:08] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:08] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:04:08] local.INFO: IMEI packet received {"connection_id":191428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":191428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:04:09] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:09] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:09] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:09] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:04: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-09-21 15:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:04:09] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:04:09] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:04:10] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:10] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:10] local.INFO: IMEI packet received {"connection_id":188655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":188655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:04:13] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:13] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:13] local.INFO: IMEI packet received {"connection_id":188655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:04:18] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:18] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:04:18] local.INFO: IMEI packet received {"connection_id":188655,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188655,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:04:18] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fa1b8012d196940071fec20003b010d2e..."} 
[2026-09-21 15:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fa1b8012d196940071fec20003b010d2e..."} 
[2026-09-21 15:04:18] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fa1b8012d196940071fec20003b010d2e..."} 
[2026-09-21 15:04:18] local.INFO: Packet analysis {"connection_id":188655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:18] local.INFO: Extracted packet for processing {"connection_id":188655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235686400001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983171000,"timestamp_ms":1789983171000,"timestamp_seconds":1789983171,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fa1b8"} 
[2026-09-21 15:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235686400001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235686400001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235686400001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:04:19] local.INFO: GPS data processed {"connection_id":188655,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:04:19] local.INFO: Acknowledgment sent {"connection_id":188655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:04:40] local.INFO: TCP Data received {"connection_id":191428,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:40] local.INFO: Processing buffer {"connection_id":191428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:04:40] local.INFO: Packet analysis {"connection_id":191428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:40] local.INFO: Extracted packet for processing {"connection_id":191428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":191428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:04:40] local.INFO: GPS data processed {"connection_id":191428,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:04:40] local.INFO: Acknowledgment sent {"connection_id":191428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:04:49] local.INFO: TCP Data received {"connection_id":188655,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34ff3c0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188655,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34ff3c0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:04:49] local.INFO: Processing buffer {"connection_id":188655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34ff3c0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:04:49] local.INFO: Packet analysis {"connection_id":188655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:49] local.INFO: Extracted packet for processing {"connection_id":188655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235691776001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983192000,"timestamp_ms":1789983192000,"timestamp_seconds":1789983192,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34ff3c0"} 
[2026-09-21 15:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188655,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235691776001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235691776001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235691776001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":188655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:04:50] local.INFO: GPS data processed {"connection_id":188655,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:04:50] local.INFO: Acknowledgment sent {"connection_id":188655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:05:02] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:02] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:02] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:05:08] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:08] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:05:08] local.INFO: IMEI packet received {"connection_id":190123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":190123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:05:09] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:09] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:09] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:05:09] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:05:09] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:05:09] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:05:12] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:12] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:12] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:05:13] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:13] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:13] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:05:18] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:18] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:05:18] local.INFO: IMEI packet received {"connection_id":191430,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":191430,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:05:18] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35045c8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35045c8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:05:18] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35045c8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:05:18] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:05:18] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235697152001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983213000,"timestamp_ms":1789983213000,"timestamp_seconds":1789983213,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35045c8"} 
[2026-09-21 15:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235697152001,"66":11754,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235697152001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235697152001,"power":11754,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:05:19] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:05:19] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:05:40] local.INFO: TCP Data received {"connection_id":190123,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190123,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:40] local.INFO: Processing buffer {"connection_id":190123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:05:40] local.INFO: Packet analysis {"connection_id":190123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:05:40] local.INFO: Extracted packet for processing {"connection_id":190123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":190123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:05:40] local.INFO: GPS data processed {"connection_id":190123,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:05:40] local.INFO: Acknowledgment sent {"connection_id":190123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:05:45] local.INFO: TCP Data received {"connection_id":188812,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188812,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:05:45] local.INFO: Processing buffer {"connection_id":188812,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:05:45] local.INFO: IMEI packet received {"connection_id":188812,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":188812,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:05:50] local.INFO: TCP Data received {"connection_id":191430,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35097d0012d196940071fec20003b010d24..."} 
[2026-09-21 15:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191430,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35097d0012d196940071fec20003b010d24..."} 
[2026-09-21 15:05:50] local.INFO: Processing buffer {"connection_id":191430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35097d0012d196940071fec20003b010d24..."} 
[2026-09-21 15:05:50] local.INFO: Packet analysis {"connection_id":191430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:05:50] local.INFO: Extracted packet for processing {"connection_id":191430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":36,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:05:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235702528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:05:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:05:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789983234000,"timestamp_ms":1789983234000,"timestamp_seconds":1789983234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35097d0"} 
[2026-09-21 15:05:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:05:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:05:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-09-21 15:05:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2529,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:05:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:05:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:05:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:05:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:05:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:05:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191430,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:05:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:05:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:05:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:05:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235702528001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:05:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:05:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:05:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235702528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:05:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:05:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:05:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:05:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:05:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235702528001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:05:50] local.INFO: DEBUG: GPS processor result {"connection_id":191430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:05:50] local.INFO: GPS data processed {"connection_id":191430,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:05:50] local.INFO: Acknowledgment sent {"connection_id":191430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:06:03] local.INFO: TCP Data received {"connection_id":188656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:03] local.INFO: Processing buffer {"connection_id":188656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:03] local.INFO: IMEI packet received {"connection_id":188656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:06:03] local.INFO: IMEI acknowledgment sent {"connection_id":188656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:06:08] local.INFO: TCP Data received {"connection_id":188656,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:08] local.INFO: Processing buffer {"connection_id":188656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:06:08] local.INFO: IMEI packet received {"connection_id":188656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:06:09] local.INFO: TCP Data received {"connection_id":188656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:09] local.INFO: Processing buffer {"connection_id":188656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:09] local.INFO: Packet analysis {"connection_id":188656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:06:09] local.INFO: Extracted packet for processing {"connection_id":188656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 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-09-21 15:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":188656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:06:09] local.INFO: GPS data processed {"connection_id":188656,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:06:09] local.INFO: Acknowledgment sent {"connection_id":188656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:06:12] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:12] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:12] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:06:15] local.INFO: TCP Data received {"connection_id":188657,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:06:15] local.INFO: Processing buffer {"connection_id":188657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:06:15] local.INFO: IMEI packet received {"connection_id":188657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":188657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:06:17] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:06:17] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:06:17] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:06:18] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c350e9d8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c350e9d8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:06:18] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c350e9d8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:06:18] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:06:18] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c350"} 
[2026-09-21 15:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235707904001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983255000,"timestamp_ms":1789983255000,"timestamp_seconds":1789983255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c350e9d8"} 
[2026-09-21 15:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235707904001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235707904001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:06:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235707904001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:06:18] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:06:18] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:06:23] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3513be0012d196940071fec20003b010d2e..."} 
[2026-09-21 15:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3513be0012d196940071fec20003b010d2e..."} 
[2026-09-21 15:06:23] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3513be0012d196940071fec20003b010d2e..."} 
[2026-09-21 15:06:23] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:06:23] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":46,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235713280001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789983276000,"timestamp_ms":1789983276000,"timestamp_seconds":1789983276,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3513be0"} 
[2026-09-21 15:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235713280001,"66":11254,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235713280001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:06:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235713280001,"power":11254,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876799,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:06:23] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:06:23] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:06:40] local.INFO: TCP Data received {"connection_id":188656,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:40] local.INFO: Processing buffer {"connection_id":188656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:06:40] local.INFO: Packet analysis {"connection_id":188656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:06:40] local.INFO: Extracted packet for processing {"connection_id":188656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":188656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:06:40] local.INFO: GPS data processed {"connection_id":188656,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:06:40] local.INFO: Acknowledgment sent {"connection_id":188656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:06:54] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3518de8012d196940071fec20003b010d2a..."} 
[2026-09-21 15:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3518de8012d196940071fec20003b010d2a..."} 
[2026-09-21 15:06:54] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3518de8012d196940071fec20003b010d2a..."} 
[2026-09-21 15:06:54] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:06:54] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235718656001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789983297000,"timestamp_ms":1789983297000,"timestamp_seconds":1789983297,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3518de8"} 
[2026-09-21 15:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":43,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 15:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2627,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:06:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235718656001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235718656001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:06:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235718656001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:06:54] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:06:54] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:07:08] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:08] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:08] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:07:14] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:14] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:07:14] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:07:15] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:15] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:15] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:07:15] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:07:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:07:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07: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-09-21 15:07:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:07:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:07:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:07:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:07: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-09-21 15:07:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:07:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:07:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:07:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:07:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:07:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:07:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:07:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:07:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:07:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:07:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:07:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:07:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:07:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:07:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:07:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:07:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:07:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:07:15] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:07:15] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:07:15] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:07:18] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:18] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:18] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:07:19] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:19] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:07:19] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:07:19] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:07:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:07:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:07:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:07:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:07:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:07:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:07:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:07:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:07:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:07:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:07:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:07:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:07:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:07:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:07:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:07:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:07:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:07:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:07:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:07:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:07:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:07:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:07:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:07:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:07:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:07:19] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:07:19] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:07:19] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:07:19] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:19] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:07:19] local.INFO: IMEI packet received {"connection_id":191431,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":191431,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:07:20] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c351dff0012d196940071fec20003b010d28..."} 
[2026-09-21 15:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c351dff0012d196940071fec20003b010d28..."} 
[2026-09-21 15:07:20] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c351dff0012d196940071fec20003b010d28..."} 
[2026-09-21 15:07:20] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:07:20] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c351"} 
[2026-09-21 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235724032001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789983318000,"timestamp_ms":1789983318000,"timestamp_seconds":1789983318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c351dff0"} 
[2026-09-21 15:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235724032001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235724032001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:07:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:07:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235724032001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:07:20] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:07:20] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:07:23] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35231f8012d196940071fec20003b010d29..."} 
[2026-09-21 15:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35231f8012d196940071fec20003b010d29..."} 
[2026-09-21 15:07:23] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35231f8012d196940071fec20003b010d29..."} 
[2026-09-21 15:07:23] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:07:23] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235729408001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789983339000,"timestamp_ms":1789983339000,"timestamp_seconds":1789983339,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35231f8"} 
[2026-09-21 15:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:07:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:07:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:07:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:07:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235729408001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235729408001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:07:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235729408001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:07:23] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:07:23] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:07:54] local.INFO: TCP Data received {"connection_id":191431,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3528400012d196940071fec20003b010d2a..."} 
[2026-09-21 15:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3528400012d196940071fec20003b010d2a..."} 
[2026-09-21 15:07:54] local.INFO: Processing buffer {"connection_id":191431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3528400012d196940071fec20003b010d2a..."} 
[2026-09-21 15:07:54] local.INFO: Packet analysis {"connection_id":191431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:07:54] local.INFO: Extracted packet for processing {"connection_id":191431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235734784001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789983360000,"timestamp_ms":1789983360000,"timestamp_seconds":1789983360,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3528400"} 
[2026-09-21 15:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191431,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:07:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235734784001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235734784001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:07:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235734784001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":191431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:07:54] local.INFO: GPS data processed {"connection_id":191431,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:07:54] local.INFO: Acknowledgment sent {"connection_id":191431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:08:02] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:02] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:02] local.INFO: IMEI packet received {"connection_id":188658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":188658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:08:08] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:08] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:08:08] local.INFO: IMEI packet received {"connection_id":188658,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188658,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:08:09] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:09] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:09] local.INFO: Packet analysis {"connection_id":188658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:08:09] local.INFO: Extracted packet for processing {"connection_id":188658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 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-09-21 15:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":188658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:08:09] local.INFO: GPS data processed {"connection_id":188658,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:08:09] local.INFO: Acknowledgment sent {"connection_id":188658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:08:13] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:13] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:13] local.INFO: IMEI packet received {"connection_id":188659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":188659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:08:18] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:18] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:08:18] local.INFO: IMEI packet received {"connection_id":188659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":188659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:08:18] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c352d608012d196940071fec20003b010d2c..."} 
[2026-09-21 15:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c352d608012d196940071fec20003b010d2c..."} 
[2026-09-21 15:08:18] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c352d608012d196940071fec20003b010d2c..."} 
[2026-09-21 15:08:18] local.INFO: Packet analysis {"connection_id":188659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:08:18] local.INFO: Extracted packet for processing {"connection_id":188659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c352"} 
[2026-09-21 15:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235740160001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983381000,"timestamp_ms":1789983381000,"timestamp_seconds":1789983381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c352d608"} 
[2026-09-21 15:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235740160001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235740160001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235740160001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":188659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:08:19] local.INFO: GPS data processed {"connection_id":188659,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:08:19] local.INFO: Acknowledgment sent {"connection_id":188659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:08:23] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3532810012d196940071fec20003b010d29..."} 
[2026-09-21 15:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3532810012d196940071fec20003b010d29..."} 
[2026-09-21 15:08:23] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3532810012d196940071fec20003b010d29..."} 
[2026-09-21 15:08:23] local.INFO: Packet analysis {"connection_id":188659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:08:23] local.INFO: Extracted packet for processing {"connection_id":188659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235745536001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789983402000,"timestamp_ms":1789983402000,"timestamp_seconds":1789983402,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3532810"} 
[2026-09-21 15:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235745536001,"66":12298,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235745536001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:08:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235745536001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":188659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:08:23] local.INFO: GPS data processed {"connection_id":188659,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:08:23] local.INFO: Acknowledgment sent {"connection_id":188659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:08:40] local.INFO: TCP Data received {"connection_id":188658,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:40] local.INFO: Processing buffer {"connection_id":188658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c34fd868012d34c14006aa40600007000c2c..."} 
[2026-09-21 15:08:40] local.INFO: Packet analysis {"connection_id":188658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:08:40] local.INFO: Extracted packet for processing {"connection_id":188658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c34f"} 
[2026-09-21 15:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235618304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983185000,"timestamp_ms":1789983185000,"timestamp_seconds":1789983185,"priority":1,"record_length":96,"hex_timestamp":"000001a0c34fd868"} 
[2026-09-21 15:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188658,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235618304001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235618304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235618304001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":188658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:08:40] local.INFO: GPS data processed {"connection_id":188658,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:08:40] local.INFO: Acknowledgment sent {"connection_id":188658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:08:54] local.INFO: TCP Data received {"connection_id":188659,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3537a18012d196940071fec20003b010d2d..."} 
[2026-09-21 15:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3537a18012d196940071fec20003b010d2d..."} 
[2026-09-21 15:08:54] local.INFO: Processing buffer {"connection_id":188659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3537a18012d196940071fec20003b010d2d..."} 
[2026-09-21 15:08:54] local.INFO: Packet analysis {"connection_id":188659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:08:54] local.INFO: Extracted packet for processing {"connection_id":188659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235750912001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789983423000,"timestamp_ms":1789983423000,"timestamp_seconds":1789983423,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3537a18"} 
[2026-09-21 15:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185679,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-2233785415175766015,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-4372738124234811031,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513388504730501389,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":59,"raw_value":75767346270044160,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832594,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3167720270389969102,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3961520187,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":141,"raw_value":3892391193,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3152084992,"note":"Value kept but may cause issues"} 
[2026-09-21 15:08:54] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,187,160,214,45,64,236,59,44,10,66,132,42,49,1,240,151,227,195,31,4,113,205,141,105,32,239,48,2,79,7],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-21 15:08:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251693992959279104,"timestamp_seconds":4251693992959279.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:08:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235750912001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235750912001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:08:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235750912001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":188659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:08:54] local.INFO: GPS data processed {"connection_id":188659,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:08:54] local.INFO: Acknowledgment sent {"connection_id":188659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:09:03] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:03] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:03] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:09:08] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:08] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:09:08] local.INFO: IMEI packet received {"connection_id":190124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":190124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:09:09] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:09] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:09] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:09] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15: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-09-21 15:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:09:09] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:09:09] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:09:13] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:13] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:13] local.INFO: IMEI packet received {"connection_id":188661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":188661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:09:18] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:18] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:09:18] local.INFO: IMEI packet received {"connection_id":188661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:09:18] local.INFO: IMEI acknowledgment sent {"connection_id":188661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:09:18] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c353cc20012d196940071fec20003b010d2a..."} 
[2026-09-21 15:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c353cc20012d196940071fec20003b010d2a..."} 
[2026-09-21 15:09:18] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c353cc20012d196940071fec20003b010d2a..."} 
[2026-09-21 15:09:18] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:09:18] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c353"} 
[2026-09-21 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235756288001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983444000,"timestamp_ms":1789983444000,"timestamp_seconds":1789983444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c353cc20"} 
[2026-09-21 15:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235756288001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235756288001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235756288001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:09:18] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:09:18] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:09:40] local.INFO: TCP Data received {"connection_id":190124,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:40] local.INFO: Processing buffer {"connection_id":190124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:09:40] local.INFO: Packet analysis {"connection_id":190124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:40] local.INFO: Extracted packet for processing {"connection_id":190124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":190124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:09:40] local.INFO: GPS data processed {"connection_id":190124,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:09:40] local.INFO: Acknowledgment sent {"connection_id":190124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:09:49] local.INFO: TCP Data received {"connection_id":188661,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3541e28012d196940071fec20003b010d29..."} 
[2026-09-21 15:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188661,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3541e28012d196940071fec20003b010d29..."} 
[2026-09-21 15:09:49] local.INFO: Processing buffer {"connection_id":188661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3541e28012d196940071fec20003b010d29..."} 
[2026-09-21 15:09:49] local.INFO: Packet analysis {"connection_id":188661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:49] local.INFO: Extracted packet for processing {"connection_id":188661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235761664001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983465000,"timestamp_ms":1789983465000,"timestamp_seconds":1789983465,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3541e28"} 
[2026-09-21 15:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235761664001,"66":12135,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235761664001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235761664001,"power":12135,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":188661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876815,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:09:49] local.INFO: GPS data processed {"connection_id":188661,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:09:49] local.INFO: Acknowledgment sent {"connection_id":188661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:10:02] local.INFO: TCP Data received {"connection_id":190125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:02] local.INFO: Processing buffer {"connection_id":190125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:02] local.INFO: IMEI packet received {"connection_id":190125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":190125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:10:08] local.INFO: TCP Data received {"connection_id":190125,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:08] local.INFO: Processing buffer {"connection_id":190125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:10:08] local.INFO: IMEI packet received {"connection_id":190125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":190125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:10:09] local.INFO: TCP Data received {"connection_id":190125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:09] local.INFO: Processing buffer {"connection_id":190125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:09] local.INFO: Packet analysis {"connection_id":190125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:09] local.INFO: Extracted packet for processing {"connection_id":190125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 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-09-21 15:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:10: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-09-21 15:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":190125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:10:09] local.INFO: GPS data processed {"connection_id":190125,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:10:09] local.INFO: Acknowledgment sent {"connection_id":190125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:10:13] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:13] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:13] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:10:17] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:17] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:10:17] local.INFO: IMEI packet received {"connection_id":188663,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188663,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:10:18] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d196940071fec20003b010d2b..."} 
[2026-09-21 15:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d196940071fec20003b010d2b..."} 
[2026-09-21 15:10:18] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d196940071fec20003b010d2b..."} 
[2026-09-21 15:10:18] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:18] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235767040001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-09-21 15:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1360,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235767040001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235767040001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:10:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235767040001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:10:18] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:10:18] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:10:40] local.INFO: TCP Data received {"connection_id":190125,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190125,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:40] local.INFO: Processing buffer {"connection_id":190125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:10:40] local.INFO: Packet analysis {"connection_id":190125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:40] local.INFO: Extracted packet for processing {"connection_id":190125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:10: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-09-21 15:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":190125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:10:40] local.INFO: GPS data processed {"connection_id":190125,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:10:40] local.INFO: Acknowledgment sent {"connection_id":190125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:10:49] local.INFO: TCP Data received {"connection_id":188663,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c354c238012d196940071fec20003b010d29..."} 
[2026-09-21 15:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188663,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c354c238012d196940071fec20003b010d29..."} 
[2026-09-21 15:10:49] local.INFO: Processing buffer {"connection_id":188663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c354c238012d196940071fec20003b010d29..."} 
[2026-09-21 15:10:49] local.INFO: Packet analysis {"connection_id":188663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:49] local.INFO: Extracted packet for processing {"connection_id":188663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983507000,"timestamp_ms":1789983507000,"timestamp_seconds":1789983507,"priority":1,"record_length":96,"hex_timestamp":"000001a0c354c238"} 
[2026-09-21 15:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188663,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:10:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":188663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:10:49] local.INFO: GPS data processed {"connection_id":188663,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:10:49] local.INFO: Acknowledgment sent {"connection_id":188663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:11:03] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:03] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:03] local.INFO: IMEI packet received {"connection_id":188816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":188816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:11:08] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:08] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:11:08] local.INFO: IMEI packet received {"connection_id":188816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":188816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:11:09] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:09] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:09] local.INFO: Packet analysis {"connection_id":188816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:11:09] local.INFO: Extracted packet for processing {"connection_id":188816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:11:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:11: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-09-21 15:11:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:11: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-09-21 15:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":188816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:11:09] local.INFO: GPS data processed {"connection_id":188816,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:11:09] local.INFO: Acknowledgment sent {"connection_id":188816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:11:18] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:18] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:18] local.INFO: IMEI packet received {"connection_id":190126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:11:18] local.INFO: IMEI acknowledgment sent {"connection_id":190126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:11:23] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:23] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:11:23] local.INFO: IMEI packet received {"connection_id":190126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":190126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:11:23] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3551440012d196940071fec20003b010d2d..."} 
[2026-09-21 15:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3551440012d196940071fec20003b010d2d..."} 
[2026-09-21 15:11:23] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3551440012d196940071fec20003b010d2d..."} 
[2026-09-21 15:11:23] local.INFO: Packet analysis {"connection_id":190126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:11:23] local.INFO: Extracted packet for processing {"connection_id":190126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235777792001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789983528000,"timestamp_ms":1789983528000,"timestamp_seconds":1789983528,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3551440"} 
[2026-09-21 15:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:11:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235777792001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235777792001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:11:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235777792001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:11:24] local.INFO: DEBUG: GPS processor result {"connection_id":190126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:11:24] local.INFO: GPS data processed {"connection_id":190126,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:11:24] local.INFO: Acknowledgment sent {"connection_id":190126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:11:41] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:41] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:11:41] local.INFO: Packet analysis {"connection_id":188816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:11:41] local.INFO: Extracted packet for processing {"connection_id":188816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:11: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-09-21 15:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:11: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-09-21 15:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":188816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:11:41] local.INFO: GPS data processed {"connection_id":188816,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:11:41] local.INFO: Acknowledgment sent {"connection_id":188816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:11:45] local.INFO: TCP Data received {"connection_id":188817,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:11:45] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:11:45] local.INFO: IMEI packet received {"connection_id":188817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":188817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:11:54] local.INFO: TCP Data received {"connection_id":190126,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3556648012d196940071fec20003b010d2b..."} 
[2026-09-21 15:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3556648012d196940071fec20003b010d2b..."} 
[2026-09-21 15:11:54] local.INFO: Processing buffer {"connection_id":190126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3556648012d196940071fec20003b010d2b..."} 
[2026-09-21 15:11:54] local.INFO: Packet analysis {"connection_id":190126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:11:54] local.INFO: Extracted packet for processing {"connection_id":190126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235783168001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789983549000,"timestamp_ms":1789983549000,"timestamp_seconds":1789983549,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3556648"} 
[2026-09-21 15:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:11:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:11:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235783168001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235783168001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:11:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:11:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235783168001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":190126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876823,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:11:54] local.INFO: GPS data processed {"connection_id":190126,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:11:54] local.INFO: Acknowledgment sent {"connection_id":190126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:12:02] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:02] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:02] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:12:09] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:09] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:12:09] local.INFO: IMEI packet received {"connection_id":190127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:12:09] local.INFO: IMEI acknowledgment sent {"connection_id":190127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:12:10] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:10] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:10] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:12:10] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:12: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-09-21 15: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-09-21 15:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:12:10] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:12:10] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:12:13] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:12:13] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:13] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:12:18] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:18] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:12:18] local.INFO: IMEI packet received {"connection_id":188664,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":188664,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:12:18] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c355b850012d196940071fec20003b010d29..."} 
[2026-09-21 15:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c355b850012d196940071fec20003b010d29..."} 
[2026-09-21 15:12:18] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c355b850012d196940071fec20003b010d29..."} 
[2026-09-21 15:12:18] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:12:18] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c355"} 
[2026-09-21 15:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235788544001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983570000,"timestamp_ms":1789983570000,"timestamp_seconds":1789983570,"priority":1,"record_length":96,"hex_timestamp":"000001a0c355b850"} 
[2026-09-21 15:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235788544001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235788544001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235788544001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:12:19] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:12:19] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:12:19] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:12:20] local.INFO: TCP Data received {"connection_id":188665,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188665,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:12:20] local.INFO: Processing buffer {"connection_id":188665,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:12:20] local.INFO: IMEI packet received {"connection_id":188665,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":188665,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:12:41] local.INFO: TCP Data received {"connection_id":190127,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:41] local.INFO: Processing buffer {"connection_id":190127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:12:41] local.INFO: Packet analysis {"connection_id":190127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:12:41] local.INFO: Extracted packet for processing {"connection_id":190127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12: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-09-21 15:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:12: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-09-21 15:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:12: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-09-21 15:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":190127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:12:41] local.INFO: GPS data processed {"connection_id":190127,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:12:41] local.INFO: Acknowledgment sent {"connection_id":190127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:12:49] local.INFO: TCP Data received {"connection_id":188664,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3560670012d196940071fec20003b010d2b..."} 
[2026-09-21 15:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3560670012d196940071fec20003b010d2b..."} 
[2026-09-21 15:12:49] local.INFO: Processing buffer {"connection_id":188664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3560670012d196940071fec20003b010d2b..."} 
[2026-09-21 15:12:49] local.INFO: Packet analysis {"connection_id":188664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:12:49] local.INFO: Extracted packet for processing {"connection_id":188664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235793920001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983590000,"timestamp_ms":1789983590000,"timestamp_seconds":1789983590,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3560670"} 
[2026-09-21 15:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188664,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235793920001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235793920001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:12:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235793920001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":188664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:12:49] local.INFO: GPS data processed {"connection_id":188664,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:12:49] local.INFO: Acknowledgment sent {"connection_id":188664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:13:08] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:08] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:08] local.INFO: IMEI packet received {"connection_id":188666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:13:13] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:13] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:13] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:13:13] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:13] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:13:13] local.INFO: IMEI packet received {"connection_id":188666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:13:13] local.INFO: IMEI acknowledgment sent {"connection_id":188666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:13:14] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:14] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:14] local.INFO: Packet analysis {"connection_id":188666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:13:14] local.INFO: Extracted packet for processing {"connection_id":188666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:13: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-09-21 15:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":188666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:13:14] local.INFO: GPS data processed {"connection_id":188666,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:13:14] local.INFO: Acknowledgment sent {"connection_id":188666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:13:17] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:17] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:13:17] local.INFO: IMEI packet received {"connection_id":191433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":191433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:13:17] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3565c60012d196940071fec20003b010d29..."} 
[2026-09-21 15:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3565c60012d196940071fec20003b010d29..."} 
[2026-09-21 15:13:17] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3565c60012d196940071fec20003b010d29..."} 
[2026-09-21 15:13:17] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:13:17] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235799040001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789983612000,"timestamp_ms":1789983612000,"timestamp_seconds":1789983612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3565c60"} 
[2026-09-21 15:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235799040001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235799040001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235799040001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:13:18] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:13:18] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:13:18] local.INFO: TCP Data received {"connection_id":188666,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:18] local.INFO: Processing buffer {"connection_id":188666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3547030012d34c14006aa40600008000c2a..."} 
[2026-09-21 15:13:18] local.INFO: Packet analysis {"connection_id":188666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:13:18] local.INFO: Extracted packet for processing {"connection_id":188666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c354"} 
[2026-09-21 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235695360001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983486000,"timestamp_ms":1789983486000,"timestamp_seconds":1789983486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3547030"} 
[2026-09-21 15:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235695360001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235695360001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235695360001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":188666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:13:18] local.INFO: GPS data processed {"connection_id":188666,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:13:18] local.INFO: Acknowledgment sent {"connection_id":188666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:13:48] local.INFO: TCP Data received {"connection_id":191433,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c356ae68012d196940071fec20003b010d2b..."} 
[2026-09-21 15:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c356ae68012d196940071fec20003b010d2b..."} 
[2026-09-21 15:13:48] local.INFO: Processing buffer {"connection_id":191433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c356ae68012d196940071fec20003b010d2b..."} 
[2026-09-21 15:13:48] local.INFO: Packet analysis {"connection_id":191433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:13:48] local.INFO: Extracted packet for processing {"connection_id":191433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c356"} 
[2026-09-21 15:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235804672001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789983633000,"timestamp_ms":1789983633000,"timestamp_seconds":1789983633,"priority":1,"record_length":96,"hex_timestamp":"000001a0c356ae68"} 
[2026-09-21 15:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235804672001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235804672001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:13:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235804672001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":191433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876831,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:13:49] local.INFO: GPS data processed {"connection_id":191433,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:13:49] local.INFO: Acknowledgment sent {"connection_id":191433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:14:02] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:02] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:02] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:14:08] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:08] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:14:08] local.INFO: IMEI packet received {"connection_id":191435,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191435,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:14:09] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:09] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:09] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:14:09] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 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-09-21 15:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:14:09] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:14:09] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:14:13] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:13] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:13] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:14:18] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:18] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:14:18] local.INFO: IMEI packet received {"connection_id":190128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":190128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:14:18] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3570070012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3570070012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:18] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3570070012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:18] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:14:18] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235810048001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983654000,"timestamp_ms":1789983654000,"timestamp_seconds":1789983654,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3570070"} 
[2026-09-21 15:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235810048001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235810048001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235810048001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:14:19] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:14:19] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:14:40] local.INFO: TCP Data received {"connection_id":191435,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:40] local.INFO: Processing buffer {"connection_id":191435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:14:40] local.INFO: Packet analysis {"connection_id":191435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:14:40] local.INFO: Extracted packet for processing {"connection_id":191435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191435,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":191435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:14:40] local.INFO: GPS data processed {"connection_id":191435,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:14:40] local.INFO: Acknowledgment sent {"connection_id":191435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:14:49] local.INFO: TCP Data received {"connection_id":190128,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3575278012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3575278012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:49] local.INFO: Processing buffer {"connection_id":190128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3575278012d196940071fec20003b010d2b..."} 
[2026-09-21 15:14:49] local.INFO: Packet analysis {"connection_id":190128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:14:49] local.INFO: Extracted packet for processing {"connection_id":190128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235815424001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983675000,"timestamp_ms":1789983675000,"timestamp_seconds":1789983675,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3575278"} 
[2026-09-21 15:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235815424001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235815424001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235815424001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":190128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876835,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:14:49] local.INFO: GPS data processed {"connection_id":190128,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:14:49] local.INFO: Acknowledgment sent {"connection_id":190128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:15:03] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:03] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:03] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:15:08] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:08] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:15:08] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:15:09] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:09] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:09] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:15:09] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:15: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-09-21 15: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-09-21 15:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:15:09] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:15:09] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:15:13] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:13] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:13] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:15:18] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:18] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:15:18] local.INFO: IMEI packet received {"connection_id":191436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":191436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:15:18] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c357a480012d196940071fec20003b010d2a..."} 
[2026-09-21 15:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c357a480012d196940071fec20003b010d2a..."} 
[2026-09-21 15:15:18] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c357a480012d196940071fec20003b010d2a..."} 
[2026-09-21 15:15:18] local.INFO: Packet analysis {"connection_id":191436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:15:18] local.INFO: Extracted packet for processing {"connection_id":191436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235820800001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983696000,"timestamp_ms":1789983696000,"timestamp_seconds":1789983696,"priority":1,"record_length":96,"hex_timestamp":"000001a0c357a480"} 
[2026-09-21 15:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235820800001,"66":11961,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235820800001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235820800001,"power":11961,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":191436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:15:18] local.INFO: GPS data processed {"connection_id":191436,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:15:18] local.INFO: Acknowledgment sent {"connection_id":191436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:15:40] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:40] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:15:40] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:15:40] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:15:40] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:15:40] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:15:49] local.INFO: TCP Data received {"connection_id":191436,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c357f688012d196940071fec20003b010d2b..."} 
[2026-09-21 15:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191436,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c357f688012d196940071fec20003b010d2b..."} 
[2026-09-21 15:15:49] local.INFO: Processing buffer {"connection_id":191436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c357f688012d196940071fec20003b010d2b..."} 
[2026-09-21 15:15:49] local.INFO: Packet analysis {"connection_id":191436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:15:49] local.INFO: Extracted packet for processing {"connection_id":191436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c357"} 
[2026-09-21 15:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235826176001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983717000,"timestamp_ms":1789983717000,"timestamp_seconds":1789983717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c357f688"} 
[2026-09-21 15:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 15:15:49] 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-09-21 15:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235826176001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235826176001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:15:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235826176001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":191436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:15:49] local.INFO: GPS data processed {"connection_id":191436,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:15:49] local.INFO: Acknowledgment sent {"connection_id":191436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:16:03] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:03] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:03] local.INFO: IMEI packet received {"connection_id":190129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:16:03] local.INFO: IMEI acknowledgment sent {"connection_id":190129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:16:08] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:08] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:16:08] local.INFO: IMEI packet received {"connection_id":190129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":190129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:16:09] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:09] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:09] local.INFO: Packet analysis {"connection_id":190129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:16:09] local.INFO: Extracted packet for processing {"connection_id":190129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 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-09-21 15:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":190129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:16:09] local.INFO: GPS data processed {"connection_id":190129,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:16:09] local.INFO: Acknowledgment sent {"connection_id":190129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:16:13] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:13] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:13] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:16:13] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:16:18] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:18] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:16:18] local.INFO: IMEI packet received {"connection_id":191438,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":191438,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:16:18] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3584890012d196940071fec20003b010d2d..."} 
[2026-09-21 15:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3584890012d196940071fec20003b010d2d..."} 
[2026-09-21 15:16:18] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3584890012d196940071fec20003b010d2d..."} 
[2026-09-21 15:16:18] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:16:18] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235831552001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983738000,"timestamp_ms":1789983738000,"timestamp_seconds":1789983738,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3584890"} 
[2026-09-21 15:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235831552001,"66":12439,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235831552001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235831552001,"power":12439,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876841,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:16:19] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:16:19] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:16:40] local.INFO: TCP Data received {"connection_id":190129,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:40] local.INFO: Processing buffer {"connection_id":190129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:16:40] local.INFO: Packet analysis {"connection_id":190129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:16:40] local.INFO: Extracted packet for processing {"connection_id":190129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":190129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:16:40] local.INFO: GPS data processed {"connection_id":190129,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:16:40] local.INFO: Acknowledgment sent {"connection_id":190129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:16:49] local.INFO: TCP Data received {"connection_id":191438,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3589a98012d196940071fec20003b010d2c..."} 
[2026-09-21 15:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191438,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3589a98012d196940071fec20003b010d2c..."} 
[2026-09-21 15:16:49] local.INFO: Processing buffer {"connection_id":191438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3589a98012d196940071fec20003b010d2c..."} 
[2026-09-21 15:16:49] local.INFO: Packet analysis {"connection_id":191438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:16:49] local.INFO: Extracted packet for processing {"connection_id":191438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235836928001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983759000,"timestamp_ms":1789983759000,"timestamp_seconds":1789983759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3589a98"} 
[2026-09-21 15:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191438,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235836928001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235836928001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235836928001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":191438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:16:49] local.INFO: GPS data processed {"connection_id":191438,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:16:49] local.INFO: Acknowledgment sent {"connection_id":191438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:17:02] local.INFO: TCP Data received {"connection_id":188820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:02] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:02] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:17:08] local.INFO: TCP Data received {"connection_id":188820,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:08] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:17:08] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:17:09] local.INFO: TCP Data received {"connection_id":188820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:09] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:09] local.INFO: Packet analysis {"connection_id":188820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:09] local.INFO: Extracted packet for processing {"connection_id":188820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 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-09-21 15:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:17: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-09-21 15:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":188820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:17:09] local.INFO: GPS data processed {"connection_id":188820,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:17:09] local.INFO: Acknowledgment sent {"connection_id":188820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:17:12] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:12] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:12] local.INFO: IMEI packet received {"connection_id":190130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":190130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:17:18] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:18] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:17:18] local.INFO: IMEI packet received {"connection_id":190130,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":190130,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:17:18] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c358eca0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c358eca0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:17:18] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c358eca0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:17:18] local.INFO: Packet analysis {"connection_id":190130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:17:18] local.INFO: Extracted packet for processing {"connection_id":190130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c358"} 
[2026-09-21 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235842304001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789983780000,"timestamp_ms":1789983780000,"timestamp_seconds":1789983780,"priority":1,"record_length":96,"hex_timestamp":"000001a0c358eca0"} 
[2026-09-21 15:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235842304001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235842304001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235842304001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":190130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:17:19] local.INFO: GPS data processed {"connection_id":190130,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:17:19] local.INFO: Acknowledgment sent {"connection_id":190130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:17:40] local.INFO: TCP Data received {"connection_id":188667,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:17:40] local.INFO: Processing buffer {"connection_id":188667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:17:40] local.INFO: IMEI packet received {"connection_id":188667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":188667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:17:40] local.INFO: TCP Data received {"connection_id":188820,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:40] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:17:40] local.INFO: Packet analysis {"connection_id":188820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:40] local.INFO: Extracted packet for processing {"connection_id":188820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":188820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:17:40] local.INFO: GPS data processed {"connection_id":188820,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:17:40] local.INFO: Acknowledgment sent {"connection_id":188820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:17:49] local.INFO: TCP Data received {"connection_id":190130,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3593ea8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3593ea8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:17:49] local.INFO: Processing buffer {"connection_id":190130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3593ea8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:17:49] local.INFO: Packet analysis {"connection_id":190130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:49] local.INFO: Extracted packet for processing {"connection_id":190130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235847680001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789983801000,"timestamp_ms":1789983801000,"timestamp_seconds":1789983801,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3593ea8"} 
[2026-09-21 15:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190130,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235847680001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235847680001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:17:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235847680001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":190130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876847,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:17:49] local.INFO: GPS data processed {"connection_id":190130,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:17:49] local.INFO: Acknowledgment sent {"connection_id":190130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:18:08] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:08] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:08] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:18:13] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:13] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:18:13] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:18:14] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:14] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:14] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:14] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:18:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:18:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:18:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:18:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:18: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-09-21 15: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-09-21 15:18:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:18:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:18:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:18:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:18:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:18: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-09-21 15:18:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:18:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:18:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:18:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:18:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:18:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:18:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:18:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:18:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:18:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:18:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:18:14] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:18:14] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:18:14] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:18:15] local.INFO: TCP Data received {"connection_id":188668,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:18:15] local.INFO: Processing buffer {"connection_id":188668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:18:15] local.INFO: IMEI packet received {"connection_id":188668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":188668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:18:18] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:18] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:18] local.INFO: IMEI packet received {"connection_id":190131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":190131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:18:23] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:23] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:18:23] local.INFO: IMEI packet received {"connection_id":190131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:18:23] local.INFO: IMEI acknowledgment sent {"connection_id":190131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:18:23] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35990b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35990b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:18:23] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35990b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:18:23] local.INFO: Packet analysis {"connection_id":190131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:23] local.INFO: Extracted packet for processing {"connection_id":190131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235853056001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789983822000,"timestamp_ms":1789983822000,"timestamp_seconds":1789983822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35990b0"} 
[2026-09-21 15:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235853056001,"66":12341,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235853056001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:18:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235853056001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":190131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:18:23] local.INFO: GPS data processed {"connection_id":190131,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:18:23] local.INFO: Acknowledgment sent {"connection_id":190131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:18:45] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:45] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35907f8012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:18:45] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:45] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c359"} 
[2026-09-21 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235772416001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18: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-09-21 15:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789983787000,"timestamp_ms":1789983787000,"timestamp_seconds":1789983787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35907f8"} 
[2026-09-21 15:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:18:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235772416001,"66":25538,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235772416001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:18:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:18:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235772416001,"power":25538,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:18:45] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:18:45] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:18:54] local.INFO: TCP Data received {"connection_id":190131,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d1708012d196940071fec20003b010d2c..."} 
[2026-09-21 15:18:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d1708012d196940071fec20003b010d2c..."} 
[2026-09-21 15:18:54] local.INFO: Processing buffer {"connection_id":190131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d1708012d196940071fec20003b010d2c..."} 
[2026-09-21 15:18:54] local.INFO: Packet analysis {"connection_id":190131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:18:54] local.INFO: Extracted packet for processing {"connection_id":190131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:18:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:18:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235912192001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:18:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:18:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789984053000,"timestamp_ms":1789984053000,"timestamp_seconds":1789984053,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d1708"} 
[2026-09-21 15:18:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:18:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-21 15:18:54] 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-09-21 15:18:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:18:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:18:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:18:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:18:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:18:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190131,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:18:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:18:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:18:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:18:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235912192001,"66":11830,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:18:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:18:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:18:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235912192001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:18:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:18:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:18:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:18:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:18:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235912192001,"power":11830,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:18:54] local.INFO: DEBUG: GPS processor result {"connection_id":190131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:18:54] local.INFO: GPS data processed {"connection_id":190131,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:18:54] local.INFO: Acknowledgment sent {"connection_id":190131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:19:02] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:02] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:02] local.INFO: IMEI packet received {"connection_id":188669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":188669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:19:08] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:08] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:19:08] local.INFO: IMEI packet received {"connection_id":188669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":188669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:19:09] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:09] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:09] local.INFO: Packet analysis {"connection_id":188669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:09] local.INFO: Extracted packet for processing {"connection_id":188669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 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-09-21 15:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:19: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-09-21 15:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":188669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876852,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:19:10] local.INFO: GPS data processed {"connection_id":188669,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:19:10] local.INFO: Acknowledgment sent {"connection_id":188669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:19:13] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:19:13] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:13] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:19:18] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:18] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:19:18] local.INFO: IMEI packet received {"connection_id":190132,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":190132,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:19:18] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d6910012d196940071fec20003b010d2b..."} 
[2026-09-21 15:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d6910012d196940071fec20003b010d2b..."} 
[2026-09-21 15:19:18] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d6910012d196940071fec20003b010d2b..."} 
[2026-09-21 15:19:18] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:18] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235917568001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984074000,"timestamp_ms":1789984074000,"timestamp_seconds":1789984074,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d6910"} 
[2026-09-21 15:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":54,"data_length":795,"current_offset":136} 
[2026-09-21 15:19:18] 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-09-21 15:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235917568001,"66":12363,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235917568001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235917568001,"power":12363,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:19:19] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:19:19] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:19:19] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:19:41] local.INFO: TCP Data received {"connection_id":188669,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:41] local.INFO: Processing buffer {"connection_id":188669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:19:41] local.INFO: Packet analysis {"connection_id":188669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:41] local.INFO: Extracted packet for processing {"connection_id":188669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19: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-09-21 15:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:19: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-09-21 15:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:19: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-09-21 15:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":188669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:19:41] local.INFO: GPS data processed {"connection_id":188669,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:19:41] local.INFO: Acknowledgment sent {"connection_id":188669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:19:49] local.INFO: TCP Data received {"connection_id":190132,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35dbb18012d196940071fec20003b010d2c..."} 
[2026-09-21 15:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35dbb18012d196940071fec20003b010d2c..."} 
[2026-09-21 15:19:49] local.INFO: Processing buffer {"connection_id":190132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35dbb18012d196940071fec20003b010d2c..."} 
[2026-09-21 15:19:49] local.INFO: Packet analysis {"connection_id":190132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:49] local.INFO: Extracted packet for processing {"connection_id":190132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235922944001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984095000,"timestamp_ms":1789984095000,"timestamp_seconds":1789984095,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35dbb18"} 
[2026-09-21 15:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 15:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1113,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190132,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235922944001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235922944001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235922944001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":190132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876855,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:19:49] local.INFO: GPS data processed {"connection_id":190132,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:19:49] local.INFO: Acknowledgment sent {"connection_id":190132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:20:02] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:02] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:02] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:20:08] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:08] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:20:08] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:20:09] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:09] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:09] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:20:09] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:20: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-09-21 15:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:20:09] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876856,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:20:09] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:20:09] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:20:13] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:13] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:13] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:20:13] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:20:17] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:17] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:20:17] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:20:17] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35e0938012d196940071fec20003b010d2a..."} 
[2026-09-21 15:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35e0938012d196940071fec20003b010d2a..."} 
[2026-09-21 15:20:17] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35e0938012d196940071fec20003b010d2a..."} 
[2026-09-21 15:20:17] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:20:17] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235928320001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789984115000,"timestamp_ms":1789984115000,"timestamp_seconds":1789984115,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35e0938"} 
[2026-09-21 15:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235928320001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235928320001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235928320001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:20:18] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:20:18] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:20:40] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:40] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:20:40] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:20:40] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:20: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-09-21 15:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:20:40] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:20:40] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:20:49] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35e5b40012d196940071fec20003b010d27..."} 
[2026-09-21 15:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35e5b40012d196940071fec20003b010d27..."} 
[2026-09-21 15:20:49] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35e5b40012d196940071fec20003b010d27..."} 
[2026-09-21 15:20:49] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:20:49] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":39,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235933440001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984136000,"timestamp_ms":1789984136000,"timestamp_seconds":1789984136,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35e5b40"} 
[2026-09-21 15:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235933440001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235933440001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:20:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235933440001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:20:49] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:20:49] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:21:02] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:02] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:02] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:21:08] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:08] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:21:08] local.INFO: IMEI packet received {"connection_id":188670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:21:09] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:09] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:09] local.INFO: Packet analysis {"connection_id":188670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:21:09] local.INFO: Extracted packet for processing {"connection_id":188670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 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-09-21 15:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:21: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-09-21 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-09-21 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-09-21 15:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:21: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-09-21 15:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":188670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:21:09] local.INFO: GPS data processed {"connection_id":188670,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:21:09] local.INFO: Acknowledgment sent {"connection_id":188670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:21:13] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:13] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:13] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:21:13] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:21:18] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:18] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:21:18] local.INFO: IMEI packet received {"connection_id":191441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:21:18] local.INFO: IMEI acknowledgment sent {"connection_id":191441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:21:18] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35ead48012d196940071fec20003b010d2a..."} 
[2026-09-21 15:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35ead48012d196940071fec20003b010d2a..."} 
[2026-09-21 15:21:18] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35ead48012d196940071fec20003b010d2a..."} 
[2026-09-21 15:21:18] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:21:18] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235938816001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984157000,"timestamp_ms":1789984157000,"timestamp_seconds":1789984157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35ead48"} 
[2026-09-21 15:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235938816001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235938816001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235938816001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:21:19] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:21:19] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:21:19] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:21:41] local.INFO: TCP Data received {"connection_id":188670,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:41] local.INFO: Processing buffer {"connection_id":188670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:21:41] local.INFO: Packet analysis {"connection_id":188670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:21:41] local.INFO: Extracted packet for processing {"connection_id":188670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21: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-09-21 15:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:21: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-09-21 15:21: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-09-21 15:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:21: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-09-21 15:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:21:41] local.INFO: GPS data processed {"connection_id":188670,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:21:41] local.INFO: Acknowledgment sent {"connection_id":188670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:21:49] local.INFO: TCP Data received {"connection_id":191441,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35eff50012d196940071fec20003b010d28..."} 
[2026-09-21 15:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35eff50012d196940071fec20003b010d28..."} 
[2026-09-21 15:21:49] local.INFO: Processing buffer {"connection_id":191441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35eff50012d196940071fec20003b010d28..."} 
[2026-09-21 15:21:49] local.INFO: Packet analysis {"connection_id":191441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:21:49] local.INFO: Extracted packet for processing {"connection_id":191441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35e"} 
[2026-09-21 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235944192001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984178000,"timestamp_ms":1789984178000,"timestamp_seconds":1789984178,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35eff50"} 
[2026-09-21 15:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235944192001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235944192001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235944192001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":191441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:21:49] local.INFO: GPS data processed {"connection_id":191441,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:21:49] local.INFO: Acknowledgment sent {"connection_id":191441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:22:02] local.INFO: TCP Data received {"connection_id":188824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:02] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:02] local.INFO: IMEI packet received {"connection_id":188824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":188824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:22:08] local.INFO: TCP Data received {"connection_id":188824,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:08] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:22:08] local.INFO: IMEI packet received {"connection_id":188824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:22:09] local.INFO: TCP Data received {"connection_id":188824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:09] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:09] local.INFO: Packet analysis {"connection_id":188824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:22:09] local.INFO: Extracted packet for processing {"connection_id":188824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:22:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:22:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:22:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:22:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:22:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:22:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:22:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:22:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:22:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:22:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:22:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:22:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:22:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:22:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:22:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:22:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:22:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:22:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:22:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:22:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:22:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:22:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:22:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:22:09] local.INFO: DEBUG: GPS processor result {"connection_id":188824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:22:09] local.INFO: GPS data processed {"connection_id":188824,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:22:09] local.INFO: Acknowledgment sent {"connection_id":188824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:22:13] local.INFO: TCP Data received {"connection_id":188825,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:13] local.INFO: Processing buffer {"connection_id":188825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:13] local.INFO: IMEI packet received {"connection_id":188825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":188825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:22:18] local.INFO: TCP Data received {"connection_id":188825,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:18] local.INFO: Processing buffer {"connection_id":188825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:22:18] local.INFO: IMEI packet received {"connection_id":188825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:22:18] local.INFO: IMEI acknowledgment sent {"connection_id":188825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:22:19] local.INFO: TCP Data received {"connection_id":188825,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35f5158012d196940071fec20003b010d2b..."} 
[2026-09-21 15:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35f5158012d196940071fec20003b010d2b..."} 
[2026-09-21 15:22:19] local.INFO: Processing buffer {"connection_id":188825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35f5158012d196940071fec20003b010d2b..."} 
[2026-09-21 15:22:19] local.INFO: Packet analysis {"connection_id":188825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:22:19] local.INFO: Extracted packet for processing {"connection_id":188825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:22:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235949568001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:22:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789984199000,"timestamp_ms":1789984199000,"timestamp_seconds":1789984199,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35f5158"} 
[2026-09-21 15:22:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:22:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:22:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:22:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:22:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:22:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:22:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:22:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:22:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:22:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:22:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:22:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:22:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:22:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235949568001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:22:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:22:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:22:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235949568001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:22:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:22:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:22:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:22:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:22:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235949568001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:22:19] local.INFO: DEBUG: GPS processor result {"connection_id":188825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:22:19] local.INFO: GPS data processed {"connection_id":188825,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:22:19] local.INFO: Acknowledgment sent {"connection_id":188825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:22:40] local.INFO: TCP Data received {"connection_id":188824,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188824,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:40] local.INFO: Processing buffer {"connection_id":188824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:22:40] local.INFO: Packet analysis {"connection_id":188824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:22:40] local.INFO: Extracted packet for processing {"connection_id":188824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:22: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-09-21 15:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":188824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:22:40] local.INFO: GPS data processed {"connection_id":188824,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:22:40] local.INFO: Acknowledgment sent {"connection_id":188824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:22:49] local.INFO: TCP Data received {"connection_id":188825,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35fa748012d196940071fec20003b010d28..."} 
[2026-09-21 15:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188825,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35fa748012d196940071fec20003b010d28..."} 
[2026-09-21 15:22:49] local.INFO: Processing buffer {"connection_id":188825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35fa748012d196940071fec20003b010d28..."} 
[2026-09-21 15:22:49] local.INFO: Packet analysis {"connection_id":188825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:22:49] local.INFO: Extracted packet for processing {"connection_id":188825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235954944001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984221000,"timestamp_ms":1789984221000,"timestamp_seconds":1789984221,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35fa748"} 
[2026-09-21 15:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235954944001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235954944001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235954944001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":188825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876867,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:22:49] local.INFO: GPS data processed {"connection_id":188825,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:22:49] local.INFO: Acknowledgment sent {"connection_id":188825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:23:08] local.INFO: TCP Data received {"connection_id":190135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:08] local.INFO: Processing buffer {"connection_id":190135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:08] local.INFO: IMEI packet received {"connection_id":190135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":190135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:23:12] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:12] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:12] local.INFO: IMEI packet received {"connection_id":190136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":190136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:23:13] local.INFO: TCP Data received {"connection_id":190135,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:13] local.INFO: Processing buffer {"connection_id":190135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:23:13] local.INFO: IMEI packet received {"connection_id":190135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":190135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:23:14] local.INFO: TCP Data received {"connection_id":190135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:14] local.INFO: Processing buffer {"connection_id":190135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:14] local.INFO: Packet analysis {"connection_id":190135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:23:14] local.INFO: Extracted packet for processing {"connection_id":190135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:23:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:23:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:23:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:23:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:23:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:23:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:23: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-09-21 15:23:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:23:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:23:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:23:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:23:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:23:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:23: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-09-21 15:23:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:23:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:23:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:23:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:23:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:23:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:23:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:23:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:23:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:23:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:23:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:23:14] local.INFO: DEBUG: GPS processor result {"connection_id":190135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:23:14] local.INFO: GPS data processed {"connection_id":190135,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:23:14] local.INFO: Acknowledgment sent {"connection_id":190135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:23:18] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:18] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:23:18] local.INFO: IMEI packet received {"connection_id":190136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":190136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:23:18] local.INFO: TCP Data received {"connection_id":190135,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:18] local.INFO: Processing buffer {"connection_id":190135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35d9fc0012d34c14006aa40600008000c2d..."} 
[2026-09-21 15:23:18] local.INFO: Packet analysis {"connection_id":190135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:23:18] local.INFO: Extracted packet for processing {"connection_id":190135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35d"} 
[2026-09-21 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235849472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984088000,"timestamp_ms":1789984088000,"timestamp_seconds":1789984088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35d9fc0"} 
[2026-09-21 15:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-09-21 15:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235849472001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235849472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235849472001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":190135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:23:18] local.INFO: GPS data processed {"connection_id":190135,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:23:18] local.INFO: Acknowledgment sent {"connection_id":190135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:23:18] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c35ff950012d196940071fec20003b010d28..."} 
[2026-09-21 15:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c35ff950012d196940071fec20003b010d28..."} 
[2026-09-21 15:23:18] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c35ff950012d196940071fec20003b010d28..."} 
[2026-09-21 15:23:18] local.INFO: Packet analysis {"connection_id":190136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:23:18] local.INFO: Extracted packet for processing {"connection_id":190136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c35f"} 
[2026-09-21 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":40,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235960576001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984242000,"timestamp_ms":1789984242000,"timestamp_seconds":1789984242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c35ff950"} 
[2026-09-21 15:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235960576001,"66":12374,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235960576001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235960576001,"power":12374,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":190136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:23:18] local.INFO: GPS data processed {"connection_id":190136,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:23:18] local.INFO: Acknowledgment sent {"connection_id":190136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:23:45] local.INFO: TCP Data received {"connection_id":190137,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190137,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:23:45] local.INFO: Processing buffer {"connection_id":190137,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:23:45] local.INFO: IMEI packet received {"connection_id":190137,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":190137,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:23:49] local.INFO: TCP Data received {"connection_id":190136,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3604b58012d196940071fec20003b010d2a..."} 
[2026-09-21 15:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3604b58012d196940071fec20003b010d2a..."} 
[2026-09-21 15:23:49] local.INFO: Processing buffer {"connection_id":190136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3604b58012d196940071fec20003b010d2a..."} 
[2026-09-21 15:23:49] local.INFO: Packet analysis {"connection_id":190136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:23:49] local.INFO: Extracted packet for processing {"connection_id":190136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235965952001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984263000,"timestamp_ms":1789984263000,"timestamp_seconds":1789984263,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3604b58"} 
[2026-09-21 15:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 15:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235965952001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235965952001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235965952001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":190136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:23:49] local.INFO: GPS data processed {"connection_id":190136,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:23:49] local.INFO: Acknowledgment sent {"connection_id":190136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:24:03] local.INFO: TCP Data received {"connection_id":190138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:03] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:03] local.INFO: IMEI packet received {"connection_id":190138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:24:03] local.INFO: IMEI acknowledgment sent {"connection_id":190138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:24:08] local.INFO: TCP Data received {"connection_id":190138,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:08] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:24:08] local.INFO: IMEI packet received {"connection_id":190138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":190138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:24:09] local.INFO: TCP Data received {"connection_id":190138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:09] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:09] local.INFO: Packet analysis {"connection_id":190138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:24:09] local.INFO: Extracted packet for processing {"connection_id":190138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:24: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-09-21 15:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:24: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-09-21 15:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":190138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:24:09] local.INFO: GPS data processed {"connection_id":190138,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:24:09] local.INFO: Acknowledgment sent {"connection_id":190138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:24:12] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:12] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:12] local.INFO: IMEI packet received {"connection_id":190139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":190139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:24:15] local.INFO: TCP Data received {"connection_id":188671,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:24:15] local.INFO: Processing buffer {"connection_id":188671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:24:15] local.INFO: IMEI packet received {"connection_id":188671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":188671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:24:18] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:18] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:24:18] local.INFO: IMEI packet received {"connection_id":190139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":190139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:24:19] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3609d60012d196940071fec20003b010d2b..."} 
[2026-09-21 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3609d60012d196940071fec20003b010d2b..."} 
[2026-09-21 15:24:19] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3609d60012d196940071fec20003b010d2b..."} 
[2026-09-21 15:24:19] local.INFO: Packet analysis {"connection_id":190139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:24:19] local.INFO: Extracted packet for processing {"connection_id":190139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:24:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235971328001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:24:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789984284000,"timestamp_ms":1789984284000,"timestamp_seconds":1789984284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3609d60"} 
[2026-09-21 15:24:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:24:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:24:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:24:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:24:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:24:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:24:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:24:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:24:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:24:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:24:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:24:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:24:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:24:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235971328001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:24:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:24:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:24:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235971328001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:24:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:24:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:24:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:24:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:24:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235971328001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:24:19] local.INFO: DEBUG: GPS processor result {"connection_id":190139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:24:19] local.INFO: GPS data processed {"connection_id":190139,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:24:19] local.INFO: Acknowledgment sent {"connection_id":190139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:24:41] local.INFO: TCP Data received {"connection_id":190138,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:41] local.INFO: Processing buffer {"connection_id":190138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:24:41] local.INFO: Packet analysis {"connection_id":190138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:24:41] local.INFO: Extracted packet for processing {"connection_id":190138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:24:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:24:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:24:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:24:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:24:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:24:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:24:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:24:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:24:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:24:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:24:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:24: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-09-21 15:24:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:24:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:24:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:24:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:24:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:24:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:24:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:24:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:24:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:24:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:24:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:24:41] local.INFO: DEBUG: GPS processor result {"connection_id":190138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:24:41] local.INFO: GPS data processed {"connection_id":190138,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:24:41] local.INFO: Acknowledgment sent {"connection_id":190138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:24:50] local.INFO: TCP Data received {"connection_id":190139,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c360ef68012d196940071fec20003b010d29..."} 
[2026-09-21 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190139,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c360ef68012d196940071fec20003b010d29..."} 
[2026-09-21 15:24:50] local.INFO: Processing buffer {"connection_id":190139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c360ef68012d196940071fec20003b010d29..."} 
[2026-09-21 15:24:50] local.INFO: Packet analysis {"connection_id":190139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:24:50] local.INFO: Extracted packet for processing {"connection_id":190139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c360"} 
[2026-09-21 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:24:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235976704001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:24:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:24:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789984305000,"timestamp_ms":1789984305000,"timestamp_seconds":1789984305,"priority":1,"record_length":96,"hex_timestamp":"000001a0c360ef68"} 
[2026-09-21 15:24:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:24:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:24:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:24:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:24:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:24:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:24:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:24:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:24:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:24:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:24:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:24:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:24:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:24:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235976704001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:24:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:24:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:24:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235976704001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:24:50] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:24:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:24:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:24:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:24:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235976704001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:24:50] local.INFO: DEBUG: GPS processor result {"connection_id":190139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876875,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:24:50] local.INFO: GPS data processed {"connection_id":190139,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:24:50] local.INFO: Acknowledgment sent {"connection_id":190139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:25:02] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:02] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:02] local.INFO: IMEI packet received {"connection_id":188672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":188672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:25:08] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:08] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:25:08] local.INFO: IMEI packet received {"connection_id":188672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":188672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:25:09] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:09] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:09] local.INFO: Packet analysis {"connection_id":188672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:25:09] local.INFO: Extracted packet for processing {"connection_id":188672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:25:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:25:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 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-09-21 15:25:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:25: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-09-21 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-09-21 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-09-21 15:25:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:25:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:25:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:25:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:25: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-09-21 15:25:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:25:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:25:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:25:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:25:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:25:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:25:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:25:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:25:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:25:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:25:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:25:09] local.INFO: DEBUG: GPS processor result {"connection_id":188672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:25:09] local.INFO: GPS data processed {"connection_id":188672,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:25:09] local.INFO: Acknowledgment sent {"connection_id":188672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:25:18] local.INFO: TCP Data received {"connection_id":188828,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:18] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:18] local.INFO: IMEI packet received {"connection_id":188828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":188828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:25:23] local.INFO: TCP Data received {"connection_id":188828,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:23] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:25:23] local.INFO: IMEI packet received {"connection_id":188828,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:25:23] local.INFO: IMEI acknowledgment sent {"connection_id":188828,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:25:23] local.INFO: TCP Data received {"connection_id":188828,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3614170012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3614170012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:23] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3614170012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:23] local.INFO: Packet analysis {"connection_id":188828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:25:23] local.INFO: Extracted packet for processing {"connection_id":188828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235982080001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789984326000,"timestamp_ms":1789984326000,"timestamp_seconds":1789984326,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3614170"} 
[2026-09-21 15:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235982080001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235982080001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235982080001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:25:24] local.INFO: DEBUG: GPS processor result {"connection_id":188828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:25:24] local.INFO: GPS data processed {"connection_id":188828,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:25:24] local.INFO: Acknowledgment sent {"connection_id":188828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:25:41] local.INFO: TCP Data received {"connection_id":188672,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:41] local.INFO: Processing buffer {"connection_id":188672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:25:41] local.INFO: Packet analysis {"connection_id":188672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:25:41] local.INFO: Extracted packet for processing {"connection_id":188672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25: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-09-21 15:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:25:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:25: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-09-21 15:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":188672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:25:41] local.INFO: GPS data processed {"connection_id":188672,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:25:41] local.INFO: Acknowledgment sent {"connection_id":188672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:25:54] local.INFO: TCP Data received {"connection_id":188828,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3619378012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188828,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3619378012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:54] local.INFO: Processing buffer {"connection_id":188828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3619378012d196940071fec20003b010d2a..."} 
[2026-09-21 15:25:54] local.INFO: Packet analysis {"connection_id":188828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:25:54] local.INFO: Extracted packet for processing {"connection_id":188828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235987456001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789984347000,"timestamp_ms":1789984347000,"timestamp_seconds":1789984347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3619378"} 
[2026-09-21 15:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:25:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188828,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:25:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235987456001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235987456001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:25:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:25:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235987456001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":188828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:25:54] local.INFO: GPS data processed {"connection_id":188828,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:25:54] local.INFO: Acknowledgment sent {"connection_id":188828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:26:02] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:02] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:02] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:26:08] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:08] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:26:08] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:26:09] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:09] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:09] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:09] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 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-09-21 15:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:26: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-09-21 15:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:26:09] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:26:09] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:26:13] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:26:13] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:13] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:26:18] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:18] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:26:18] local.INFO: IMEI packet received {"connection_id":190140,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":190140,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:26:18] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c361e580012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c361e580012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:18] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c361e580012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:18] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:26:18] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c361"} 
[2026-09-21 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235992832001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984368000,"timestamp_ms":1789984368000,"timestamp_seconds":1789984368,"priority":1,"record_length":96,"hex_timestamp":"000001a0c361e580"} 
[2026-09-21 15:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235992832001,"66":12428,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235992832001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235992832001,"power":12428,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:26:19] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:26:19] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:26:40] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:40] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:26:40] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:40] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:26:40] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:26:40] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:26:49] local.INFO: TCP Data received {"connection_id":190140,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36233a0012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36233a0012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:49] local.INFO: Processing buffer {"connection_id":190140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36233a0012d196940071fec20003b010d2c..."} 
[2026-09-21 15:26:49] local.INFO: Packet analysis {"connection_id":190140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:49] local.INFO: Extracted packet for processing {"connection_id":190140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235998208001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984388000,"timestamp_ms":1789984388000,"timestamp_seconds":1789984388,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36233a0"} 
[2026-09-21 15:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 15:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190140,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235998208001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235998208001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:26:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235998208001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":190140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:26:49] local.INFO: GPS data processed {"connection_id":190140,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:26:49] local.INFO: Acknowledgment sent {"connection_id":190140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:27:02] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:02] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:02] local.INFO: IMEI packet received {"connection_id":190141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":190141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:27:08] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:08] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:27:08] local.INFO: IMEI packet received {"connection_id":190141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":190141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:27:09] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:09] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:09] local.INFO: Packet analysis {"connection_id":190141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:09] local.INFO: Extracted packet for processing {"connection_id":190141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 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-09-21 15:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:27: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-09-21 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-09-21 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-09-21 15:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:27: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-09-21 15:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":190141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:27:09] local.INFO: GPS data processed {"connection_id":190141,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:27:09] local.INFO: Acknowledgment sent {"connection_id":190141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:27:13] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:13] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:13] local.INFO: IMEI packet received {"connection_id":188674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:27:17] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:17] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:27:17] local.INFO: IMEI packet received {"connection_id":188674,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":188674,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:27:17] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36285a8012d196940071fec20003b010d2b..."} 
[2026-09-21 15:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36285a8012d196940071fec20003b010d2b..."} 
[2026-09-21 15:27:17] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36285a8012d196940071fec20003b010d2b..."} 
[2026-09-21 15:27:17] local.INFO: Packet analysis {"connection_id":188674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:17] local.INFO: Extracted packet for processing {"connection_id":188674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003328001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789984409000,"timestamp_ms":1789984409000,"timestamp_seconds":1789984409,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36285a8"} 
[2026-09-21 15:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003328001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003328001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:27:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:27:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003328001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":188674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:27:18] local.INFO: GPS data processed {"connection_id":188674,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:27:18] local.INFO: Acknowledgment sent {"connection_id":188674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:27:40] local.INFO: TCP Data received {"connection_id":190141,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:40] local.INFO: Processing buffer {"connection_id":190141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:27:40] local.INFO: Packet analysis {"connection_id":190141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:40] local.INFO: Extracted packet for processing {"connection_id":190141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":190141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:27:40] local.INFO: GPS data processed {"connection_id":190141,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:27:40] local.INFO: Acknowledgment sent {"connection_id":190141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:27:49] local.INFO: TCP Data received {"connection_id":188674,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c362d7b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188674,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c362d7b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:27:49] local.INFO: Processing buffer {"connection_id":188674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c362d7b0012d196940071fec20003b010d2d..."} 
[2026-09-21 15:27:49] local.INFO: Packet analysis {"connection_id":188674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:49] local.INFO: Extracted packet for processing {"connection_id":188674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236008704001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984430000,"timestamp_ms":1789984430000,"timestamp_seconds":1789984430,"priority":1,"record_length":96,"hex_timestamp":"000001a0c362d7b0"} 
[2026-09-21 15:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188674,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236008704001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236008704001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236008704001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":188674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:27:49] local.INFO: GPS data processed {"connection_id":188674,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:27:49] local.INFO: Acknowledgment sent {"connection_id":188674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:28:02] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:02] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:02] local.INFO: IMEI packet received {"connection_id":188676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:28:08] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:08] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:28:08] local.INFO: IMEI packet received {"connection_id":188676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:28:09] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:09] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:09] local.INFO: Packet analysis {"connection_id":188676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:28:09] local.INFO: Extracted packet for processing {"connection_id":188676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:28: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-09-21 15: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-09-21 15:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":188676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:28:09] local.INFO: GPS data processed {"connection_id":188676,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:28:09] local.INFO: Acknowledgment sent {"connection_id":188676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:28:13] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:13] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:13] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:28:18] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:18] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:28:18] local.INFO: IMEI packet received {"connection_id":191442,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:28:18] local.INFO: IMEI acknowledgment sent {"connection_id":191442,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:28:18] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3632da0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3632da0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:28:18] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3632da0012d196940071fec20003b010d2b..."} 
[2026-09-21 15:28:18] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:28:18] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236014080001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984452000,"timestamp_ms":1789984452000,"timestamp_seconds":1789984452,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3632da0"} 
[2026-09-21 15:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236014080001,"66":12341,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236014080001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236014080001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:28:19] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:28:19] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:28:19] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:28:40] local.INFO: TCP Data received {"connection_id":188676,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:40] local.INFO: Processing buffer {"connection_id":188676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3623788012d34c14006aa4060000b000c2d..."} 
[2026-09-21 15:28:40] local.INFO: Packet analysis {"connection_id":188676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:28:40] local.INFO: Extracted packet for processing {"connection_id":188676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c362"} 
[2026-09-21 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458235926528001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984389000,"timestamp_ms":1789984389000,"timestamp_seconds":1789984389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3623788"} 
[2026-09-21 15:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458235926528001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458235926528001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458235926528001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":188676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:28:40] local.INFO: GPS data processed {"connection_id":188676,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:28:40] local.INFO: Acknowledgment sent {"connection_id":188676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:28:49] local.INFO: TCP Data received {"connection_id":191442,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3637bc0012d196940071fec20003b010d2a..."} 
[2026-09-21 15:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191442,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3637bc0012d196940071fec20003b010d2a..."} 
[2026-09-21 15:28:49] local.INFO: Processing buffer {"connection_id":191442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3637bc0012d196940071fec20003b010d2a..."} 
[2026-09-21 15:28:49] local.INFO: Packet analysis {"connection_id":191442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:28:49] local.INFO: Extracted packet for processing {"connection_id":191442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236019712001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984472000,"timestamp_ms":1789984472000,"timestamp_seconds":1789984472,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3637bc0"} 
[2026-09-21 15:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 15:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191442,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236019712001,"66":12298,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236019712001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236019712001,"power":12298,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":191442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:28:49] local.INFO: GPS data processed {"connection_id":191442,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:28:49] local.INFO: Acknowledgment sent {"connection_id":191442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:29:08] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:08] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:08] local.INFO: IMEI packet received {"connection_id":190142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":190142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:29:13] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:13] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:13] local.INFO: IMEI packet received {"connection_id":188830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:29:13] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:13] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:29:13] local.INFO: IMEI packet received {"connection_id":190142,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":190142,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:29:15] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:15] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:15] local.INFO: Packet analysis {"connection_id":190142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:29:15] local.INFO: Extracted packet for processing {"connection_id":190142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:29:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29: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-09-21 15:29:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:29:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:29:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:29:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:29: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-09-21 15:29:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:29:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:29:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:29:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:29:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:29:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:29: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-09-21 15:29:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:29:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:29:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:29:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:29:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:29:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:29:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:29:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:29:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:29:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:29:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:29:15] local.INFO: DEBUG: GPS processor result {"connection_id":190142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:29:15] local.INFO: GPS data processed {"connection_id":190142,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:29:15] local.INFO: Acknowledgment sent {"connection_id":190142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:29:18] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:18] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:29:18] local.INFO: IMEI packet received {"connection_id":188830,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":188830,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:29:18] local.INFO: TCP Data received {"connection_id":190142,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:18] local.INFO: Processing buffer {"connection_id":190142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:29:18] local.INFO: Packet analysis {"connection_id":190142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:29:18] local.INFO: Extracted packet for processing {"connection_id":190142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190142,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":190142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:29:18] local.INFO: GPS data processed {"connection_id":190142,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:29:18] local.INFO: Acknowledgment sent {"connection_id":190142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:29:18] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c363cdc8012d196940071fec20003b010d2d..."} 
[2026-09-21 15:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c363cdc8012d196940071fec20003b010d2d..."} 
[2026-09-21 15:29:18] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c363cdc8012d196940071fec20003b010d2d..."} 
[2026-09-21 15:29:18] local.INFO: Packet analysis {"connection_id":188830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:29:18] local.INFO: Extracted packet for processing {"connection_id":188830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c363"} 
[2026-09-21 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236024832001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984493000,"timestamp_ms":1789984493000,"timestamp_seconds":1789984493,"priority":1,"record_length":96,"hex_timestamp":"000001a0c363cdc8"} 
[2026-09-21 15:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185679,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":187,"raw_value":-2233785415175766015,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-4368138214260795031,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513388504730501389,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":59,"raw_value":75762948223533056,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3486068469049721038,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3961520187,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019950798,"corrected_to":0} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":229,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3152084992,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,102,83,24,241,157,16,187,160,45,64,236,59,43,10,66,215,133,1,240,118,227,195,31,4,113,205,229,105,32,44,239,48,2,79,7,42],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019950798,"validated":0}]} 
[2026-09-21 15:29:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251693997254246400,"timestamp_seconds":4251693997254246.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236024832001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236024832001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236024832001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:29:19] local.INFO: DEBUG: GPS processor result {"connection_id":188830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876894,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:29:19] local.INFO: GPS data processed {"connection_id":188830,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:29:19] local.INFO: Acknowledgment sent {"connection_id":188830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:29:40] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:29:40] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:29:40] local.INFO: IMEI packet received {"connection_id":188831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:29:40] local.INFO: IMEI acknowledgment sent {"connection_id":188831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:29:49] local.INFO: TCP Data received {"connection_id":188830,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36423b8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188830,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36423b8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:29:49] local.INFO: Processing buffer {"connection_id":188830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36423b8012d196940071fec20003b010d2c..."} 
[2026-09-21 15:29:49] local.INFO: Packet analysis {"connection_id":188830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c364"} 
[2026-09-21 15:29:49] local.INFO: Extracted packet for processing {"connection_id":188830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c364"} 
[2026-09-21 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236030208001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984515000,"timestamp_ms":1789984515000,"timestamp_seconds":1789984515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36423b8"} 
[2026-09-21 15:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188830,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236030208001,"66":12341,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236030208001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236030208001,"power":12341,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":188830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:29:49] local.INFO: GPS data processed {"connection_id":188830,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:29:49] local.INFO: Acknowledgment sent {"connection_id":188830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:30:02] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:02] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:02] local.INFO: IMEI packet received {"connection_id":188832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":188832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:30:08] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:08] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:30:08] local.INFO: IMEI packet received {"connection_id":188832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":188832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:30:10] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:10] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:10] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:30:10] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:30:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15:30:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:30: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-09-21 15:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:30:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:30:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:30:10] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:30:10] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:30:12] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:12] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:12] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:30:15] local.INFO: TCP Data received {"connection_id":188677,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:30:15] local.INFO: Processing buffer {"connection_id":188677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:30:15] local.INFO: IMEI packet received {"connection_id":188677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":188677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:30:18] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:18] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:30:18] local.INFO: IMEI packet received {"connection_id":191444,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":191444,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:30:18] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36475c0012d196940071fec20003b010d25..."} 
[2026-09-21 15:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36475c0012d196940071fec20003b010d25..."} 
[2026-09-21 15:30:18] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36475c0012d196940071fec20003b010d25..."} 
[2026-09-21 15:30:18] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c364"} 
[2026-09-21 15:30:18] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c364"} 
[2026-09-21 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":37,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236035840001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984536000,"timestamp_ms":1789984536000,"timestamp_seconds":1789984536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36475c0"} 
[2026-09-21 15:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 15:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236035840001,"66":11895,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236035840001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236035840001,"power":11895,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:30:18] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:30:18] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:30:41] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:41] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:30:41] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:30:41] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:30:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:30:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:30:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30: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-09-21 15:30:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:30:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:30:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:30: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-09-21 15:30: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-09-21 15:30:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:30:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:30:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:30:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:30:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:30:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:30: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-09-21 15:30:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:30:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:30:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:30:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:30:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:30:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:30:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:30:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:30:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:30:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:30:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:30:41] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:30:41] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:30:41] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:30:49] local.INFO: TCP Data received {"connection_id":191444,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c367f830012d196940071fec20003b010d2c..."} 
[2026-09-21 15:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191444,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c367f830012d196940071fec20003b010d2c..."} 
[2026-09-21 15:30:49] local.INFO: Processing buffer {"connection_id":191444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c367f830012d196940071fec20003b010d2c..."} 
[2026-09-21 15:30:49] local.INFO: Packet analysis {"connection_id":191444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c367"} 
[2026-09-21 15:30:49] local.INFO: Extracted packet for processing {"connection_id":191444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c367"} 
[2026-09-21 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":44,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236094720001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984766000,"timestamp_ms":1789984766000,"timestamp_seconds":1789984766,"priority":1,"record_length":96,"hex_timestamp":"000001a0c367f830"} 
[2026-09-21 15:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191444,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236094720001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236094720001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:30:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236094720001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":191444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:30:49] local.INFO: GPS data processed {"connection_id":191444,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:30:49] local.INFO: Acknowledgment sent {"connection_id":191444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:31:03] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:03] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:03] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:31:08] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:08] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:31:08] local.INFO: IMEI packet received {"connection_id":190143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":190143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:31:09] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:09] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:09] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:31:09] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 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-09-21 15:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:31:09] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:31:09] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:31:12] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:12] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:12] local.INFO: IMEI packet received {"connection_id":190144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":190144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:31:18] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:18] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:31:18] local.INFO: IMEI packet received {"connection_id":190144,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:31:18] local.INFO: IMEI acknowledgment sent {"connection_id":190144,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:31:19] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3684a38012d196940071fec20003b010d2d..."} 
[2026-09-21 15:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3684a38012d196940071fec20003b010d2d..."} 
[2026-09-21 15:31:19] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3684a38012d196940071fec20003b010d2d..."} 
[2026-09-21 15:31:19] local.INFO: Packet analysis {"connection_id":190144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:31:19] local.INFO: Extracted packet for processing {"connection_id":190144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":45,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236100096001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789984787000,"timestamp_ms":1789984787000,"timestamp_seconds":1789984787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3684a38"} 
[2026-09-21 15:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236100096001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236100096001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:31:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:31:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236100096001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":190144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:31:19] local.INFO: GPS data processed {"connection_id":190144,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:31:19] local.INFO: Acknowledgment sent {"connection_id":190144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:31:40] local.INFO: TCP Data received {"connection_id":190143,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:40] local.INFO: Processing buffer {"connection_id":190143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:31:40] local.INFO: Packet analysis {"connection_id":190143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:31:40] local.INFO: Extracted packet for processing {"connection_id":190143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":190143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:31:40] local.INFO: GPS data processed {"connection_id":190143,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:31:40] local.INFO: Acknowledgment sent {"connection_id":190143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:31:49] local.INFO: TCP Data received {"connection_id":190144,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c368a028012d196940071fec20003b010d29..."} 
[2026-09-21 15:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190144,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c368a028012d196940071fec20003b010d29..."} 
[2026-09-21 15:31:49] local.INFO: Processing buffer {"connection_id":190144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c368a028012d196940071fec20003b010d29..."} 
[2026-09-21 15:31:49] local.INFO: Packet analysis {"connection_id":190144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:31:49] local.INFO: Extracted packet for processing {"connection_id":190144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236105472001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984809000,"timestamp_ms":1789984809000,"timestamp_seconds":1789984809,"priority":1,"record_length":96,"hex_timestamp":"000001a0c368a028"} 
[2026-09-21 15:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190144,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236105472001,"66":12406,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236105472001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236105472001,"power":12406,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:31:50] local.INFO: DEBUG: GPS processor result {"connection_id":190144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:31:50] local.INFO: GPS data processed {"connection_id":190144,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:31:50] local.INFO: Acknowledgment sent {"connection_id":190144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:32:03] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:03] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:03] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:32:03] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:32:08] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:08] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:32:08] local.INFO: IMEI packet received {"connection_id":191445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":191445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:32:09] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:09] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:09] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:32:09] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 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-09-21 15:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15: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-09-21 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-09-21 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-09-21 15:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:32: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-09-21 15:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:32:09] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:32:09] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:32:12] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:12] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:12] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:32:18] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:18] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:32:18] local.INFO: IMEI packet received {"connection_id":188679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:32:18] local.INFO: IMEI acknowledgment sent {"connection_id":188679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:32:18] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c368f230012d196940071fec20003b010d2b..."} 
[2026-09-21 15:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c368f230012d196940071fec20003b010d2b..."} 
[2026-09-21 15:32:18] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c368f230012d196940071fec20003b010d2b..."} 
[2026-09-21 15:32:18] local.INFO: Packet analysis {"connection_id":188679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:32:18] local.INFO: Extracted packet for processing {"connection_id":188679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c368"} 
[2026-09-21 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":43,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236111104001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984830000,"timestamp_ms":1789984830000,"timestamp_seconds":1789984830,"priority":1,"record_length":96,"hex_timestamp":"000001a0c368f230"} 
[2026-09-21 15:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236111104001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236111104001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236111104001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":188679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:32:18] local.INFO: GPS data processed {"connection_id":188679,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:32:18] local.INFO: Acknowledgment sent {"connection_id":188679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:32:40] local.INFO: TCP Data received {"connection_id":191445,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:40] local.INFO: Processing buffer {"connection_id":191445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:32:40] local.INFO: Packet analysis {"connection_id":191445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:32:40] local.INFO: Extracted packet for processing {"connection_id":191445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":191445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:32:40] local.INFO: GPS data processed {"connection_id":191445,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:32:40] local.INFO: Acknowledgment sent {"connection_id":191445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:32:49] local.INFO: TCP Data received {"connection_id":188679,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3694438012d196940071fec20003b010d2a..."} 
[2026-09-21 15:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3694438012d196940071fec20003b010d2a..."} 
[2026-09-21 15:32:49] local.INFO: Processing buffer {"connection_id":188679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3694438012d196940071fec20003b010d2a..."} 
[2026-09-21 15:32:49] local.INFO: Packet analysis {"connection_id":188679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c369"} 
[2026-09-21 15:32:49] local.INFO: Extracted packet for processing {"connection_id":188679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c369"} 
[2026-09-21 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":42,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236116480001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984851000,"timestamp_ms":1789984851000,"timestamp_seconds":1789984851,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3694438"} 
[2026-09-21 15:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236116480001,"66":12385,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236116480001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236116480001,"power":12385,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":188679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:32:49] local.INFO: GPS data processed {"connection_id":188679,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:32:49] local.INFO: Acknowledgment sent {"connection_id":188679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:33:02] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:02] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:02] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:33:08] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:08] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:33:08] local.INFO: IMEI packet received {"connection_id":190146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":190146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:33:09] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:09] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:09] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:33:09] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:33: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-09-21 15:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:33:09] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:33:09] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:33:12] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:12] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:12] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:33:16] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:33:16] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:16] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:33:17] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:17] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:33:17] local.INFO: IMEI packet received {"connection_id":190147,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":190147,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:33:18] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3699640012d196940071fec20003b010d29..."} 
[2026-09-21 15:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3699640012d196940071fec20003b010d29..."} 
[2026-09-21 15:33:18] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3699640012d196940071fec20003b010d29..."} 
[2026-09-21 15:33:18] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c369"} 
[2026-09-21 15:33:18] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c369"} 
[2026-09-21 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756640064,"raw_latitude":119532576,"longitude_deg":75.6640064,"latitude_deg":11.9532576,"altitude":59,"angle":269,"satellites":41,"speed":0,"hex_longitude":"2d196940","hex_latitude":"071fec20","is_valid_coordinates":true} 
[2026-09-21 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236121856001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443098202177536,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831065122847334400,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789984872000,"timestamp_ms":1789984872000,"timestamp_seconds":1789984872,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3699640"} 
[2026-09-21 15:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 15:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236121856001,"66":12232,"102":206,"83":41984,"24":0,"16":22443098202177536,"45":1831065122847334400},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 15:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236121856001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 15:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443098202177536,"km_value":22443098202177.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831065122847334400,"description":"Unknown IO ID 45"} 
[2026-09-21 15:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236121856001,"power":12232,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1831065122847334400}} 
[2026-09-21 15:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:33:18] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:33:18] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:33:41] local.INFO: TCP Data received {"connection_id":190146,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:41] local.INFO: Processing buffer {"connection_id":190146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c366cf50012d34c14006aa40600005000c2c..."} 
[2026-09-21 15:33:41] local.INFO: Packet analysis {"connection_id":190146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:33:41] local.INFO: Extracted packet for processing {"connection_id":190146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c366"} 
[2026-09-21 15:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236003584001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789984690000,"timestamp_ms":1789984690000,"timestamp_seconds":1789984690,"priority":1,"record_length":96,"hex_timestamp":"000001a0c366cf50"} 
[2026-09-21 15:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20736,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:33: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-09-21 15:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:33: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-09-21 15:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236003584001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236003584001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236003584001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":190146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:33:41] local.INFO: GPS data processed {"connection_id":190146,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:33:41] local.INFO: Acknowledgment sent {"connection_id":190146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:33:49] local.INFO: TCP Data received {"connection_id":190147,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b24b0012d198280071fefd0003e003e2a..."} 
[2026-09-21 15:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190147,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b24b0012d198280071fefd0003e003e2a..."} 
[2026-09-21 15:33:49] local.INFO: Processing buffer {"connection_id":190147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b24b0012d198280071fefd0003e003e2a..."} 
[2026-09-21 15:33:49] local.INFO: Packet analysis {"connection_id":190147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:33:49] local.INFO: Extracted packet for processing {"connection_id":190147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756646528,"raw_latitude":119533520,"longitude_deg":75.6646528,"latitude_deg":11.953352,"altitude":62,"angle":62,"satellites":42,"speed":16,"hex_longitude":"2d198280","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-09-21 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236152832001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22443510519037952,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837398309823453184,"note":"Value kept but may cause issues"} 
[2026-09-21 15:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789984974000,"timestamp_ms":1789984974000,"timestamp_seconds":1789984974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b24b0"} 
[2026-09-21 15:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 15:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190147,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236152832001,"66":14113,"101":206,"83":41984,"24":16,"16":22443510519037952,"45":1837398309823453184},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 15:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236152832001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:33:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 15:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22443510519037952,"km_value":22443510519037.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837398309823453184,"description":"Unknown IO ID 45"} 
[2026-09-21 15:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236152832001,"power":14113,"unknown_101":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1837398309823453184}} 
[2026-09-21 15:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":190147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:33:49] local.INFO: GPS data processed {"connection_id":190147,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:33:49] local.INFO: Acknowledgment sent {"connection_id":190147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:34:08] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:08] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:08] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:34:13] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:13] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:34:13] local.INFO: IMEI packet received {"connection_id":188681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":188681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:34:14] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:14] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:14] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:14] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:34:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:34:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:34:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:34:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:34:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:34: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-09-21 15:34:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:34:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:34:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:34:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:34:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:34:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:34: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-09-21 15:34:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:34:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:34:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:34:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:34:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:34:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:34:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:34:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:34:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:34:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:34:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:34:14] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:34:14] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:34:14] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:34:18] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:34:18] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:18] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:34:18] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:34:19] local.INFO: TCP Data received {"connection_id":188681,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188681,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:19] local.INFO: Processing buffer {"connection_id":188681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:34:19] local.INFO: Packet analysis {"connection_id":188681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:19] local.INFO: Extracted packet for processing {"connection_id":188681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:34:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:34:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:34:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:34:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:34:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":188681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:34:19] local.INFO: GPS data processed {"connection_id":188681,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:34:19] local.INFO: Acknowledgment sent {"connection_id":188681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:34:23] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:23] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:34:23] local.INFO: IMEI packet received {"connection_id":191446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":191446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:34:24] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36bb538012d19cb00071ff3a8002c002828..."} 
[2026-09-21 15:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36bb538012d19cb00071ff3a8002c002828..."} 
[2026-09-21 15:34:24] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36bb538012d19cb00071ff3a8002c002828..."} 
[2026-09-21 15:34:24] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:24] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:24] local.INFO: GPS Element Parsed {"raw_longitude":756665088,"raw_latitude":119534504,"longitude_deg":75.6665088,"latitude_deg":11.9534504,"altitude":44,"angle":40,"satellites":40,"speed":18,"hex_longitude":"2d19cb00","hex_latitude":"071ff3a8","is_valid_coordinates":true} 
[2026-09-21 15:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236162560001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22444416757137408,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858157089356142592,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34: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-09-21 15:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789985011000,"timestamp_ms":1789985011000,"timestamp_seconds":1789985011,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36bb538"} 
[2026-09-21 15:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:34:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:34:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 15:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:34:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236162560001,"66":14135,"101":206,"83":41984,"24":18,"16":22444416757137408,"45":1858157089356142592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 15:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236162560001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:34:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 15:34:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22444416757137408,"km_value":22444416757137.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858157089356142592,"description":"Unknown IO ID 45"} 
[2026-09-21 15:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236162560001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858157089356142592}} 
[2026-09-21 15:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:34:24] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:34:24] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:34:25] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36bb920012d19cc00071ff548002c001629..."} 
[2026-09-21 15:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36bb920012d19cc00071ff548002c001629..."} 
[2026-09-21 15:34:25] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36bb920012d19cc00071ff548002c001629..."} 
[2026-09-21 15:34:25] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:25] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756665344,"raw_latitude":119534920,"longitude_deg":75.6665344,"latitude_deg":11.953492,"altitude":44,"angle":22,"satellites":41,"speed":18,"hex_longitude":"2d19cc00","hex_latitude":"071ff548","is_valid_coordinates":true} 
[2026-09-21 15:34:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236162816001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22444438231973888,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858579301821294592,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789985012000,"timestamp_ms":1789985012000,"timestamp_seconds":1789985012,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36bb920"} 
[2026-09-21 15:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 15:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:34:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236162816001,"66":14135,"101":206,"83":41984,"24":18,"16":22444438231973888,"45":1858579301821294592},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 15:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236162816001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:34:25] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 15:34:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22444438231973888,"km_value":22444438231973.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858579301821294592,"description":"Unknown IO ID 45"} 
[2026-09-21 15:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236162816001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1858579301821294592}} 
[2026-09-21 15:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:34:25] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:34:25] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:34:56] local.INFO: TCP Data received {"connection_id":191446,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36bc0f0012d19cdc0071ff898002c002729..."} 
[2026-09-21 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36bc0f0012d19cdc0071ff898002c002729..."} 
[2026-09-21 15:34:56] local.INFO: Processing buffer {"connection_id":191446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36bc0f0012d19cdc0071ff898002c002729..."} 
[2026-09-21 15:34:56] local.INFO: Packet analysis {"connection_id":191446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:56] local.INFO: Extracted packet for processing {"connection_id":191446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119535768,"longitude_deg":75.6665792,"latitude_deg":11.9535768,"altitude":44,"angle":39,"satellites":41,"speed":17,"hex_longitude":"2d19cdc0","hex_latitude":"071ff898","is_valid_coordinates":true} 
[2026-09-21 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236163072001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22444485476614144,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776798111744,"note":"Value kept but may cause issues"} 
[2026-09-21 15:34: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-09-21 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789985014000,"timestamp_ms":1789985014000,"timestamp_seconds":1789985014,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36bc0f0"} 
[2026-09-21 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 15:34: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-09-21 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":191446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":191446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236163072001,"66":14135,"101":206,"83":41984,"24":17,"16":22444485476614144,"45":1858860776798111744},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236163072001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:34:56] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 15:34:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22444485476614144,"km_value":22444485476614.145,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776798111744,"description":"Unknown IO ID 45"} 
[2026-09-21 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236163072001,"power":14135,"unknown_101":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1858860776798111744}} 
[2026-09-21 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":191446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876916,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:34:56] local.INFO: GPS data processed {"connection_id":191446,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:34:56] local.INFO: Acknowledgment sent {"connection_id":191446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:35:03] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:03] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:03] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:35:08] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:08] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:35:08] local.INFO: IMEI packet received {"connection_id":188682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":188682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:35:09] local.INFO: TCP Data received {"connection_id":188682,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:35:09] local.INFO: Processing buffer {"connection_id":188682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:35:09] local.INFO: Packet analysis {"connection_id":188682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:35:09] local.INFO: Extracted packet for processing {"connection_id":188682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 15:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":188682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:35:09] local.INFO: GPS data processed {"connection_id":188682,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:35:09] local.INFO: Acknowledgment sent {"connection_id":188682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:35:10] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:10] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:10] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:35:13] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:35:13] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:13] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:35:16] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:16] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:35:16] local.INFO: IMEI packet received {"connection_id":191447,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":191447,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:35:17] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36c4d90012d19bc0007204298002801612a..."} 
[2026-09-21 15:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36c4d90012d19bc0007204298002801612a..."} 
[2026-09-21 15:35:17] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36c4d90012d19bc0007204298002801612a..."} 
[2026-09-21 15:35:17] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36c"} 
[2026-09-21 15:35:17] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36c"} 
[2026-09-21 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119554712,"longitude_deg":75.6661248,"latitude_deg":11.9554712,"altitude":40,"angle":353,"satellites":42,"speed":32,"hex_longitude":"2d19bc00","hex_latitude":"07204298","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236172288001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22445653707718656,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652152098816,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789985050000,"timestamp_ms":1789985050000,"timestamp_seconds":1789985050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36c4d90"} 
[2026-09-21 15:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-21 15:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236172288001,"66":14233,"103":206,"83":41984,"24":32,"16":22445653707718656,"45":1854638652152098816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 15:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236172288001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:35:17] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 15:35:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22445653707718656,"km_value":22445653707718.656,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652152098816,"description":"Unknown IO ID 45"} 
[2026-09-21 15:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236172288001,"power":14233,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1854638652152098816}} 
[2026-09-21 15:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:35:17] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:35:17] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:35:35] local.INFO: TCP Data received {"connection_id":190148,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:35:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190148,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:35:35] local.INFO: Processing buffer {"connection_id":190148,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:35:35] local.INFO: IMEI packet received {"connection_id":190148,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:35:35] local.INFO: IMEI acknowledgment sent {"connection_id":190148,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:35:47] local.INFO: TCP Data received {"connection_id":191447,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:35:47] local.INFO: Processing buffer {"connection_id":191447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:35:47] local.INFO: Packet analysis {"connection_id":191447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:35:47] local.INFO: Extracted packet for processing {"connection_id":191447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":756635264,"raw_latitude":119581488,"longitude_deg":75.6635264,"latitude_deg":11.9581488,"altitude":48,"angle":269,"satellites":41,"speed":44,"hex_longitude":"2d195680","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-09-21 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236185344001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22448277932736512,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1835639091231772672,"note":"Value kept but may cause issues"} 
[2026-09-21 15:35:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789985107000,"timestamp_ms":1789985107000,"timestamp_seconds":1789985107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36d2c38"} 
[2026-09-21 15:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:35:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:35:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-09-21 15:35:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:35:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191447,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:35:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236185344001,"66":14265,"103":206,"83":41984,"24":44,"16":22448277932736512,"45":1835639091231772672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 15:35:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:35:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:35:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236185344001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:35:47] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 15:35:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:35:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22448277932736512,"km_value":22448277932736.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:35:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1835639091231772672,"description":"Unknown IO ID 45"} 
[2026-09-21 15:35:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236185344001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1835639091231772672}} 
[2026-09-21 15:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":191447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:35:48] local.INFO: GPS data processed {"connection_id":191447,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:35:48] local.INFO: Acknowledgment sent {"connection_id":191447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:36:02] local.INFO: TCP Data received {"connection_id":188683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:02] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:02] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:36:08] local.INFO: TCP Data received {"connection_id":188683,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:08] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:36:08] local.INFO: IMEI packet received {"connection_id":188683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:36:09] local.INFO: TCP Data received {"connection_id":188683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:09] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:09] local.INFO: Packet analysis {"connection_id":188683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:36:09] local.INFO: Extracted packet for processing {"connection_id":188683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 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-09-21 15:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:36: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-09-21 15:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":188683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:36:09] local.INFO: GPS data processed {"connection_id":188683,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:36:09] local.INFO: Acknowledgment sent {"connection_id":188683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:36:10] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:10] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:10] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:36:13] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:36:13] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:13] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:36:15] local.INFO: TCP Data received {"connection_id":188684,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188684,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:36:15] local.INFO: Processing buffer {"connection_id":188684,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:36:15] local.INFO: IMEI packet received {"connection_id":188684,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188684,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:36:17] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:17] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:36:17] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:36:19] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:36:19] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36d2c38012d1956800720ab300030010d29..."} 
[2026-09-21 15:36:19] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:36:19] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:36:19] local.INFO: GPS Element Parsed {"raw_longitude":756635264,"raw_latitude":119581488,"longitude_deg":75.6635264,"latitude_deg":11.9581488,"altitude":48,"angle":269,"satellites":41,"speed":44,"hex_longitude":"2d195680","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-09-21 15:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:36:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236187392001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22448277932736512,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1825787467046531072,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:36:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789985107000,"timestamp_ms":1789985107000,"timestamp_seconds":1789985107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36d2c38"} 
[2026-09-21 15:36:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:36:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:36:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 15:36:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:36:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:36:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:36:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:36:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:36:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:36:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:36:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:36:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:36:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:36:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236187392001,"66":14265,"103":206,"83":41984,"24":44,"16":22448277932736512,"45":1825787467046531072},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 15:36:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:36:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:36:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236187392001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:36:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 15:36:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:36:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22448277932736512,"km_value":22448277932736.51,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:36:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1825787467046531072,"description":"Unknown IO ID 45"} 
[2026-09-21 15:36:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236187392001,"power":14265,"unknown_103":206,"unknown_83":41984,"ignition":44,"odometer":null,"unknown_45":1825787467046531072}} 
[2026-09-21 15:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:36:19] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:36:19] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:36:40] local.INFO: TCP Data received {"connection_id":188683,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:40] local.INFO: Processing buffer {"connection_id":188683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:36:40] local.INFO: Packet analysis {"connection_id":188683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:36:40] local.INFO: Extracted packet for processing {"connection_id":188683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":188683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:36:40] local.INFO: GPS data processed {"connection_id":188683,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:36:40] local.INFO: Acknowledgment sent {"connection_id":188683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:36:50] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36deba0012d1943c00720f3900033002a28..."} 
[2026-09-21 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36deba0012d1943c00720f3900033002a28..."} 
[2026-09-21 15:36:50] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36deba0012d1943c00720f3900033002a28..."} 
[2026-09-21 15:36:50] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:36:50] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36d"} 
[2026-09-21 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756630464,"raw_latitude":119600016,"longitude_deg":75.6630464,"latitude_deg":11.9600016,"altitude":51,"angle":42,"satellites":40,"speed":12,"hex_longitude":"2d1943c0","hex_latitude":"0720f390","is_valid_coordinates":true} 
[2026-09-21 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236199424001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22449476228612096,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820017230028564480,"note":"Value kept but may cause issues"} 
[2026-09-21 15:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789985156000,"timestamp_ms":1789985156000,"timestamp_seconds":1789985156,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36deba0"} 
[2026-09-21 15:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-21 15:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:36:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236199424001,"66":14243,"103":206,"83":41984,"24":12,"16":22449476228612096,"45":1820017230028564480},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 15:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236199424001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:36:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 15:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22449476228612096,"km_value":22449476228612.098,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820017230028564480,"description":"Unknown IO ID 45"} 
[2026-09-21 15:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236199424001,"power":14243,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1820017230028564480}} 
[2026-09-21 15:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:36:50] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:36:50] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:37:02] local.INFO: TCP Data received {"connection_id":188835,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:02] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:02] local.INFO: IMEI packet received {"connection_id":188835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:37:08] local.INFO: TCP Data received {"connection_id":188835,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:08] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:37:08] local.INFO: IMEI packet received {"connection_id":188835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:37:09] local.INFO: TCP Data received {"connection_id":188835,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:09] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:09] local.INFO: Packet analysis {"connection_id":188835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:37:09] local.INFO: Extracted packet for processing {"connection_id":188835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:37: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-09-21 15:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:37: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-09-21 15:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":188835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:37:09] local.INFO: GPS data processed {"connection_id":188835,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:37:09] local.INFO: Acknowledgment sent {"connection_id":188835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:37:11] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:11] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:11] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:37:12] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:12] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:12] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:37:13] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:37:13] local.INFO: TCP Data received {"connection_id":190149,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: Processing buffer {"connection_id":190149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:37:13] local.INFO: IMEI packet received {"connection_id":190149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":190149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:37:40] local.INFO: TCP Data received {"connection_id":188835,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188835,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:40] local.INFO: Processing buffer {"connection_id":188835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:37:40] local.INFO: Packet analysis {"connection_id":188835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:37:40] local.INFO: Extracted packet for processing {"connection_id":188835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":188835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:37:40] local.INFO: GPS data processed {"connection_id":188835,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:37:40] local.INFO: Acknowledgment sent {"connection_id":188835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:38:02] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:02] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:02] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:38:08] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:08] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:38:08] local.INFO: IMEI packet received {"connection_id":191448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":191448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:38:09] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:09] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:09] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:38:09] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:38: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-09-21 15: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-09-21 15:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:38: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-09-21 15:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:38:09] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:38:09] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:38:40] local.INFO: TCP Data received {"connection_id":191448,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:40] local.INFO: Processing buffer {"connection_id":191448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36b6718012d34c14006aa4060000a000c2a..."} 
[2026-09-21 15:38:40] local.INFO: Packet analysis {"connection_id":191448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:38:40] local.INFO: Extracted packet for processing {"connection_id":191448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36b"} 
[2026-09-21 15:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236080640001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789984991000,"timestamp_ms":1789984991000,"timestamp_seconds":1789984991,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36b6718"} 
[2026-09-21 15:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236080640001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236080640001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236080640001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":191448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:38:40] local.INFO: GPS data processed {"connection_id":191448,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:38:40] local.INFO: Acknowledgment sent {"connection_id":191448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:39:02] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:02] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:02] local.INFO: IMEI packet received {"connection_id":190152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:39:07] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:07] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:39:07] local.INFO: IMEI packet received {"connection_id":190152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:39:09] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:09] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:09] local.INFO: Packet analysis {"connection_id":190152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:39:09] local.INFO: Extracted packet for processing {"connection_id":190152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 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-09-21 15:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:39: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-09-21 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-09-21 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-09-21 15:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:39:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":190152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:39:09] local.INFO: GPS data processed {"connection_id":190152,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:39:09] local.INFO: Acknowledgment sent {"connection_id":190152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:39:40] local.INFO: TCP Data received {"connection_id":190152,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190152,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:40] local.INFO: Processing buffer {"connection_id":190152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:39:40] local.INFO: Packet analysis {"connection_id":190152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:39:40] local.INFO: Extracted packet for processing {"connection_id":190152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":190152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:39:40] local.INFO: GPS data processed {"connection_id":190152,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:39:40] local.INFO: Acknowledgment sent {"connection_id":190152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:40:03] local.INFO: TCP Data received {"connection_id":190153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:03] local.INFO: Processing buffer {"connection_id":190153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:03] local.INFO: IMEI packet received {"connection_id":190153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:40:03] local.INFO: IMEI acknowledgment sent {"connection_id":190153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:40:08] local.INFO: TCP Data received {"connection_id":190153,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:08] local.INFO: Processing buffer {"connection_id":190153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:40:08] local.INFO: IMEI packet received {"connection_id":190153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":190153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:40:09] local.INFO: TCP Data received {"connection_id":190153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:09] local.INFO: Processing buffer {"connection_id":190153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:09] local.INFO: Packet analysis {"connection_id":190153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:40:09] local.INFO: Extracted packet for processing {"connection_id":190153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 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-09-21 15:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:40: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-09-21 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-09-21 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-09-21 15:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:40: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-09-21 15:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":190153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:40:09] local.INFO: GPS data processed {"connection_id":190153,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:40:09] local.INFO: Acknowledgment sent {"connection_id":190153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:40:41] local.INFO: TCP Data received {"connection_id":190153,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:41] local.INFO: Processing buffer {"connection_id":190153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:40:41] local.INFO: Packet analysis {"connection_id":190153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:40:41] local.INFO: Extracted packet for processing {"connection_id":190153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:40:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:40:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:40:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:40:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:40:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:40:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:40: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-09-21 15: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-09-21 15:40:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:40:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:40:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:40:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:40:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:40:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:40:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:40:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:40:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:40:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:40:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:40:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:40:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:40:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:40:41] local.INFO: DEBUG: GPS processor result {"connection_id":190153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:40:41] local.INFO: GPS data processed {"connection_id":190153,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:40:41] local.INFO: Acknowledgment sent {"connection_id":190153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:41:03] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:03] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:03] local.INFO: IMEI packet received {"connection_id":190154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":190154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:41:08] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:08] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:41:08] local.INFO: IMEI packet received {"connection_id":190154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":190154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:41:09] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:09] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:09] local.INFO: Packet analysis {"connection_id":190154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:41:09] local.INFO: Extracted packet for processing {"connection_id":190154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 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-09-21 15:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:41: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-09-21 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-09-21 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-09-21 15:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:41:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:41:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:41:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:41:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:41:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:41:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:41:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:41:09] local.INFO: DEBUG: GPS processor result {"connection_id":190154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:41:09] local.INFO: GPS data processed {"connection_id":190154,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:41:09] local.INFO: Acknowledgment sent {"connection_id":190154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:41:40] local.INFO: TCP Data received {"connection_id":190155,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:41:40] local.INFO: Processing buffer {"connection_id":190155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:41:40] local.INFO: IMEI packet received {"connection_id":190155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":190155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:41:40] local.INFO: TCP Data received {"connection_id":190154,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:40] local.INFO: Processing buffer {"connection_id":190154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:41:40] local.INFO: Packet analysis {"connection_id":190154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:41:40] local.INFO: Extracted packet for processing {"connection_id":190154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":190154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:41:40] local.INFO: GPS data processed {"connection_id":190154,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:41:40] local.INFO: Acknowledgment sent {"connection_id":190154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:42:02] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:02] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:02] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:42:08] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:08] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:42:08] local.INFO: IMEI packet received {"connection_id":188688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":188688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:42:09] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:09] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:09] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:42:09] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 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-09-21 15:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:42: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-09-21 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-09-21 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-09-21 15:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:42:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:42:09] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:42:09] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:42:16] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:42:16] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:42:16] local.INFO: IMEI packet received {"connection_id":188839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":188839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:42:18] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:42:18] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:42:18] local.INFO: IMEI packet received {"connection_id":188838,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":188838,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:42:18] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3727b98012d1853000721f6a00052003429..."} 
[2026-09-21 15:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3727b98012d1853000721f6a00052003429..."} 
[2026-09-21 15:42:18] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3727b98012d1853000721f6a00052003429..."} 
[2026-09-21 15:42:18] local.INFO: Packet analysis {"connection_id":188838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c372"} 
[2026-09-21 15:42:18] local.INFO: Extracted packet for processing {"connection_id":188838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c372"} 
[2026-09-21 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756568832,"raw_latitude":119666336,"longitude_deg":75.6568832,"latitude_deg":11.9666336,"altitude":82,"angle":52,"satellites":41,"speed":24,"hex_longitude":"2d185300","hex_latitude":"0721f6a0","is_valid_coordinates":true} 
[2026-09-21 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236274944001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22455570787205120,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749648485867212800,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985455000,"timestamp_ms":1789985455000,"timestamp_seconds":1789985455,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3727b98"} 
[2026-09-21 15:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 15:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236274944001,"66":13939,"105":206,"83":41984,"24":24,"16":22455570787205120,"45":1749648485867212800},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236274944001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:42:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22455570787205120,"km_value":22455570787205.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749648485867212800,"description":"Unknown IO ID 45"} 
[2026-09-21 15:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236274944001,"power":13939,"unknown_105":206,"unknown_83":41984,"ignition":24,"odometer":null,"unknown_45":1749648485867212800}} 
[2026-09-21 15:42:19] local.INFO: DEBUG: GPS processor result {"connection_id":188838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:42:19] local.INFO: GPS data processed {"connection_id":188838,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:42:19] local.INFO: Acknowledgment sent {"connection_id":188838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:42:40] local.INFO: TCP Data received {"connection_id":188688,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:40] local.INFO: Processing buffer {"connection_id":188688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:42:40] local.INFO: Packet analysis {"connection_id":188688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:42:40] local.INFO: Extracted packet for processing {"connection_id":188688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":188688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:42:40] local.INFO: GPS data processed {"connection_id":188688,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:42:40] local.INFO: Acknowledgment sent {"connection_id":188688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:42:50] local.INFO: TCP Data received {"connection_id":188838,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3738d08012d18724007220920005700e629..."} 
[2026-09-21 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188838,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3738d08012d18724007220920005700e629..."} 
[2026-09-21 15:42:50] local.INFO: Processing buffer {"connection_id":188838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3738d08012d18724007220920005700e629..."} 
[2026-09-21 15:42:50] local.INFO: Packet analysis {"connection_id":188838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:42:50] local.INFO: Extracted packet for processing {"connection_id":188838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":756576832,"raw_latitude":119671072,"longitude_deg":75.6576832,"latitude_deg":11.9671072,"altitude":87,"angle":230,"satellites":41,"speed":4,"hex_longitude":"2d187240","hex_latitude":"07220920","is_valid_coordinates":true} 
[2026-09-21 15:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236293632001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456150607790080,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761822278612051968,"note":"Value kept but may cause issues"} 
[2026-09-21 15:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789985525000,"timestamp_ms":1789985525000,"timestamp_seconds":1789985525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3738d08"} 
[2026-09-21 15:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:42:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 15:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188838,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:42:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236293632001,"66":13156,"105":206,"83":41984,"24":4,"16":22456150607790080,"45":1761822278612051968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:42:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:42:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:42:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236293632001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:42:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:42:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:42:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456150607790080,"km_value":22456150607790.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:42:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761822278612051968,"description":"Unknown IO ID 45"} 
[2026-09-21 15:42:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236293632001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1761822278612051968}} 
[2026-09-21 15:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":188838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:42:50] local.INFO: GPS data processed {"connection_id":188838,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:42:50] local.INFO: Acknowledgment sent {"connection_id":188838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:43:03] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:03] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:03] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:43:03] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:43:08] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:08] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:43:08] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:43:08] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:08] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:08] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:43:08] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:43:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:43:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:43:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:43:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:43:08] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:43:08] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:43:13] local.INFO: TCP Data received {"connection_id":190156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:13] local.INFO: Processing buffer {"connection_id":190156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:13] local.INFO: IMEI packet received {"connection_id":190156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":190156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:43:18] local.INFO: TCP Data received {"connection_id":190156,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:18] local.INFO: Processing buffer {"connection_id":190156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:43:18] local.INFO: IMEI packet received {"connection_id":190156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":190156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:43:18] local.INFO: TCP Data received {"connection_id":190156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37394d8012d18720007220880005700d32a..."} 
[2026-09-21 15:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37394d8012d18720007220880005700d32a..."} 
[2026-09-21 15:43:18] local.INFO: Processing buffer {"connection_id":190156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37394d8012d18720007220880005700d32a..."} 
[2026-09-21 15:43:18] local.INFO: Packet analysis {"connection_id":190156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:43:18] local.INFO: Extracted packet for processing {"connection_id":190156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670912,"longitude_deg":75.6576768,"latitude_deg":11.9670912,"altitude":87,"angle":211,"satellites":42,"speed":3,"hex_longitude":"2d187200","hex_latitude":"07220880","is_valid_coordinates":true} 
[2026-09-21 15:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236294400001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456159197724672,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761540803635257344,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985527000,"timestamp_ms":1789985527000,"timestamp_seconds":1789985527,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37394d8"} 
[2026-09-21 15:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 15:43:18] 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-09-21 15:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236294400001,"66":13102,"105":206,"83":41984,"24":3,"16":22456159197724672,"45":1761540803635257344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236294400001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456159197724672,"km_value":22456159197724.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761540803635257344,"description":"Unknown IO ID 45"} 
[2026-09-21 15:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236294400001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1761540803635257344}} 
[2026-09-21 15:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":190156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:43:18] local.INFO: GPS data processed {"connection_id":190156,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:43:18] local.INFO: Acknowledgment sent {"connection_id":190156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:43:40] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:40] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c36ffee0012d34c14006aa4060000b000c2a..."} 
[2026-09-21 15:43:40] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:43:40] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c36f"} 
[2026-09-21 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236157696001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985292000,"timestamp_ms":1789985292000,"timestamp_seconds":1789985292,"priority":1,"record_length":96,"hex_timestamp":"000001a0c36ffee0"} 
[2026-09-21 15:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236157696001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236157696001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236157696001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:43:40] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:43:40] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:43:49] local.INFO: TCP Data received {"connection_id":190156,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37398c0012d1871c007220850005700ea2a..."} 
[2026-09-21 15:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37398c0012d1871c007220850005700ea2a..."} 
[2026-09-21 15:43:49] local.INFO: Processing buffer {"connection_id":190156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37398c0012d1871c007220850005700ea2a..."} 
[2026-09-21 15:43:49] local.INFO: Packet analysis {"connection_id":190156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:43:49] local.INFO: Extracted packet for processing {"connection_id":190156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756576704,"raw_latitude":119670864,"longitude_deg":75.6576704,"latitude_deg":11.9670864,"altitude":87,"angle":234,"satellites":42,"speed":1,"hex_longitude":"2d1871c0","hex_latitude":"07220850","is_valid_coordinates":true} 
[2026-09-21 15:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236294912001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456163492691968,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891038720,"note":"Value kept but may cause issues"} 
[2026-09-21 15:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789985528000,"timestamp_ms":1789985528000,"timestamp_seconds":1789985528,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37398c0"} 
[2026-09-21 15:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 15:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236294912001,"66":13102,"105":206,"83":41984,"24":1,"16":22456163492691968,"45":1761470434891038720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236294912001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:43:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456163492691968,"km_value":22456163492691.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891038720,"description":"Unknown IO ID 45"} 
[2026-09-21 15:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236294912001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1761470434891038720}} 
[2026-09-21 15:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":190156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:43:50] local.INFO: GPS data processed {"connection_id":190156,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:43:50] local.INFO: Acknowledgment sent {"connection_id":190156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:44:02] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:02] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:02] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:44:07] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:07] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:44:07] local.INFO: IMEI packet received {"connection_id":188689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":188689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:44:08] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:08] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:08] local.INFO: Packet analysis {"connection_id":188689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:08] local.INFO: Extracted packet for processing {"connection_id":188689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:44:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:44:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:44:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:44:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:44: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-09-21 15:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":188689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:44:08] local.INFO: GPS data processed {"connection_id":188689,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:44:08] local.INFO: Acknowledgment sent {"connection_id":188689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:44:10] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:10] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:10] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:44:13] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:13] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:13] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:44:18] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:18] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:44:18] local.INFO: IMEI packet received {"connection_id":191451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":191451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:44:18] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c373eac8012d18720007220868005700ea2a..."} 
[2026-09-21 15:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c373eac8012d18720007220868005700ea2a..."} 
[2026-09-21 15:44:18] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c373eac8012d18720007220868005700ea2a..."} 
[2026-09-21 15:44:18] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:44:18] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c373"} 
[2026-09-21 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236295168001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761400066146848768,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985549000,"timestamp_ms":1789985549000,"timestamp_seconds":1789985549,"priority":1,"record_length":96,"hex_timestamp":"000001a0c373eac8"} 
[2026-09-21 15:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 15:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236295168001,"66":13080,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761400066146848768},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236295168001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:44:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761400066146848768,"description":"Unknown IO ID 45"} 
[2026-09-21 15:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236295168001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761400066146848768}} 
[2026-09-21 15:44:19] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:44:19] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:44:19] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:44:40] local.INFO: TCP Data received {"connection_id":188689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:40] local.INFO: Processing buffer {"connection_id":188689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:44:40] local.INFO: Packet analysis {"connection_id":188689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:40] local.INFO: Extracted packet for processing {"connection_id":188689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":188689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:44:40] local.INFO: GPS data processed {"connection_id":188689,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:44:40] local.INFO: Acknowledgment sent {"connection_id":188689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:44:50] local.INFO: TCP Data received {"connection_id":191451,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3743cd0012d18720007220868005700ea29..."} 
[2026-09-21 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191451,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3743cd0012d18720007220868005700ea29..."} 
[2026-09-21 15:44:50] local.INFO: Processing buffer {"connection_id":191451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3743cd0012d18720007220868005700ea29..."} 
[2026-09-21 15:44:50] local.INFO: Packet analysis {"connection_id":191451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:50] local.INFO: Extracted packet for processing {"connection_id":191451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:44:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236300544001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:44:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:44:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789985570000,"timestamp_ms":1789985570000,"timestamp_seconds":1789985570,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3743cd0"} 
[2026-09-21 15:44:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:44:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:44:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 15:44:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:44:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:44:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:44:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:44:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:44:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:44:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:44:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:44:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:44:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:44:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236300544001,"66":13004,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:44:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:44:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:44:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236300544001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:44:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:44:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:44:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:44:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:44:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236300544001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:44:50] local.INFO: DEBUG: GPS processor result {"connection_id":191451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:44:50] local.INFO: GPS data processed {"connection_id":191451,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:44:50] local.INFO: Acknowledgment sent {"connection_id":191451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:45:03] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:03] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:03] local.INFO: IMEI packet received {"connection_id":188841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":188841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:45:08] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:08] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:45:08] local.INFO: IMEI packet received {"connection_id":188841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":188841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:45:09] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:09] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:09] local.INFO: Packet analysis {"connection_id":188841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:09] local.INFO: Extracted packet for processing {"connection_id":188841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:45: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-09-21 15: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-09-21 15:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":188841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:45:09] local.INFO: GPS data processed {"connection_id":188841,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:45:09] local.INFO: Acknowledgment sent {"connection_id":188841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:45:12] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:12] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:12] local.INFO: IMEI packet received {"connection_id":188690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:45:13] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:13] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:13] local.INFO: IMEI packet received {"connection_id":188690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":188690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:45:18] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:18] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:45:18] local.INFO: IMEI packet received {"connection_id":188690,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:45:18] local.INFO: IMEI acknowledgment sent {"connection_id":188690,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:45:18] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3748ed8012d18720007220868005700ea29..."} 
[2026-09-21 15:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3748ed8012d18720007220868005700ea29..."} 
[2026-09-21 15:45:18] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3748ed8012d18720007220868005700ea29..."} 
[2026-09-21 15:45:18] local.INFO: Packet analysis {"connection_id":188690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:18] local.INFO: Extracted packet for processing {"connection_id":188690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236305920001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985591000,"timestamp_ms":1789985591000,"timestamp_seconds":1789985591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3748ed8"} 
[2026-09-21 15:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-21 15:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236305920001,"66":12819,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236305920001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:45:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236305920001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":188690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:45:18] local.INFO: GPS data processed {"connection_id":188690,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:45:18] local.INFO: Acknowledgment sent {"connection_id":188690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:45:40] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:40] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:45:40] local.INFO: Packet analysis {"connection_id":188841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:40] local.INFO: Extracted packet for processing {"connection_id":188841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:45:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:45:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:45:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:45:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:45:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:45:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:45:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:45:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:45:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:45:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:45:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:45:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:45:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:45:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:45:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:45:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:45:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:45:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:45:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:45:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:45:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:45:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:45:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:45:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:45:40] local.INFO: DEBUG: GPS processor result {"connection_id":188841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:45:40] local.INFO: GPS data processed {"connection_id":188841,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:45:40] local.INFO: Acknowledgment sent {"connection_id":188841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:45:49] local.INFO: TCP Data received {"connection_id":188690,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c374e0e0012d18720007220868005700ea25..."} 
[2026-09-21 15:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188690,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c374e0e0012d18720007220868005700ea25..."} 
[2026-09-21 15:45:49] local.INFO: Processing buffer {"connection_id":188690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c374e0e0012d18720007220868005700ea25..."} 
[2026-09-21 15:45:49] local.INFO: Packet analysis {"connection_id":188690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:49] local.INFO: Extracted packet for processing {"connection_id":188690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311296001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789985612000,"timestamp_ms":1789985612000,"timestamp_seconds":1789985612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c374e0e0"} 
[2026-09-21 15:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3271557120,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3279126864,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503942280380416,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":8319723017455825856,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":51,"raw_value":5692775785908194899,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3351248896,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2453291917987854376,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195106048,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":88,"raw_value":84750852338164236,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.WARNING: Large IO value detected {"io_id":64,"raw_value":24208351889981440,"note":"Value kept but may cause issues"} 
[2026-09-21 15:45:49] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,105,83,24,241,157,16,199,160,60,45,8,87,41,10,66,234,42,152,192,1,240,46,227,195,34,4,113,205,3,141,114,32,239,51,2,79,7,5,164,187,69,88,64],"length":625,"final_offset":755,"validated_count":44,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-21 15:45:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269268143114289152,"timestamp_seconds":6269268143114289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188690,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311296001,"66":12863,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311296001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:45:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311296001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:45:50] local.INFO: DEBUG: GPS processor result {"connection_id":188690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:45:50] local.INFO: GPS data processed {"connection_id":188690,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:45:50] local.INFO: Acknowledgment sent {"connection_id":188690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:46:02] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:02] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:02] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:46:08] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:08] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:46:08] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:46:09] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:09] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:09] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:46:09] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 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-09-21 15:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:46: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-09-21 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-09-21 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-09-21 15:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:46: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-09-21 15:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:46:09] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:46:09] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:46:12] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:12] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:12] local.INFO: IMEI packet received {"connection_id":188691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":188691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:46:17] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: IMEI packet received {"connection_id":188691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":188691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:46:17] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:46:17] local.INFO: IMEI packet received {"connection_id":188691,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":188691,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:46:18] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37532e8012d18720007220868005700ea2a..."} 
[2026-09-21 15:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37532e8012d18720007220868005700ea2a..."} 
[2026-09-21 15:46:18] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37532e8012d18720007220868005700ea2a..."} 
[2026-09-21 15:46:18] local.INFO: Packet analysis {"connection_id":188691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:18] local.INFO: Extracted packet for processing {"connection_id":188691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236316672001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985633000,"timestamp_ms":1789985633000,"timestamp_seconds":1789985633,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37532e8"} 
[2026-09-21 15:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 15:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236316672001,"66":12874,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236316672001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:46:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236316672001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":188691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:46:18] local.INFO: GPS data processed {"connection_id":188691,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:46:18] local.INFO: Acknowledgment sent {"connection_id":188691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:46:23] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37584f0012d18720007220868005700ea2d..."} 
[2026-09-21 15:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37584f0012d18720007220868005700ea2d..."} 
[2026-09-21 15:46:23] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37584f0012d18720007220868005700ea2d..."} 
[2026-09-21 15:46:23] local.INFO: Packet analysis {"connection_id":188691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:23] local.INFO: Extracted packet for processing {"connection_id":188691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":45,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236322048001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789985654000,"timestamp_ms":1789985654000,"timestamp_seconds":1789985654,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37584f0"} 
[2026-09-21 15:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:46:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-21 15:46:23] 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-09-21 15:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236322048001,"66":12776,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236322048001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:46:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:46:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236322048001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":188691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:46:23] local.INFO: GPS data processed {"connection_id":188691,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:46:23] local.INFO: Acknowledgment sent {"connection_id":188691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:46:40] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:40] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:46:40] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:46:40] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:46:40] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:46:40] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:46:54] local.INFO: TCP Data received {"connection_id":188691,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c375d6f8012d18720007220868005700ea2c..."} 
[2026-09-21 15:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188691,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c375d6f8012d18720007220868005700ea2c..."} 
[2026-09-21 15:46:54] local.INFO: Processing buffer {"connection_id":188691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c375d6f8012d18720007220868005700ea2c..."} 
[2026-09-21 15:46:54] local.INFO: Packet analysis {"connection_id":188691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:54] local.INFO: Extracted packet for processing {"connection_id":188691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c375"} 
[2026-09-21 15:46:54] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236327424001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789985675000,"timestamp_ms":1789985675000,"timestamp_seconds":1789985675,"priority":1,"record_length":96,"hex_timestamp":"000001a0c375d6f8"} 
[2026-09-21 15:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:46: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-09-21 15:46:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 15:46:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:46:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188691,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236327424001,"66":12798,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236327424001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:46:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:46:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236327424001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:46:54] local.INFO: DEBUG: GPS processor result {"connection_id":188691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:46:54] local.INFO: GPS data processed {"connection_id":188691,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:46:54] local.INFO: Acknowledgment sent {"connection_id":188691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:47:02] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:02] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:02] local.INFO: IMEI packet received {"connection_id":190158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":190158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:47:08] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:08] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:47:08] local.INFO: IMEI packet received {"connection_id":190158,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":190158,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:47:08] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:08] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:08] local.INFO: Packet analysis {"connection_id":190158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:47:08] local.INFO: Extracted packet for processing {"connection_id":190158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:47: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-09-21 15:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:47:09] local.INFO: GPS data processed {"connection_id":190158,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:47:09] local.INFO: Acknowledgment sent {"connection_id":190158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:47:18] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:18] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:18] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:47:20] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:20] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:47:20] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:47:21] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3762ce8012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3762ce8012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:21] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3762ce8012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:21] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:21] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236332800001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789985697000,"timestamp_ms":1789985697000,"timestamp_seconds":1789985697,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3762ce8"} 
[2026-09-21 15:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:47:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:47:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 15:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:47:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236332800001,"66":12841,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236332800001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:47:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:47:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236332800001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:47:21] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:47:21] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:47:23] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3767ef0012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3767ef0012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:23] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3767ef0012d18720007220868005700ea2c..."} 
[2026-09-21 15:47:23] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:23] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236338432001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789985718000,"timestamp_ms":1789985718000,"timestamp_seconds":1789985718,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3767ef0"} 
[2026-09-21 15:47:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 15:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15: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-09-21 15:47:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236338432001,"66":12819,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236338432001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:47:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236338432001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:47:23] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:47:23] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:47:35] local.INFO: TCP Data received {"connection_id":190159,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190159,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:47:35] local.INFO: Processing buffer {"connection_id":190159,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:47:35] local.INFO: IMEI packet received {"connection_id":190159,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:47:35] local.INFO: IMEI acknowledgment sent {"connection_id":190159,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:47:40] local.INFO: TCP Data received {"connection_id":190158,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190158,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:40] local.INFO: Processing buffer {"connection_id":190158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:47:40] local.INFO: Packet analysis {"connection_id":190158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:47:40] local.INFO: Extracted packet for processing {"connection_id":190158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:47:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190158,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:47:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":190158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:47:40] local.INFO: GPS data processed {"connection_id":190158,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:47:40] local.INFO: Acknowledgment sent {"connection_id":190158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:47:54] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c376d0f8012d18720007220868005700ea2b..."} 
[2026-09-21 15:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c376d0f8012d18720007220868005700ea2b..."} 
[2026-09-21 15:47:54] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c376d0f8012d18720007220868005700ea2b..."} 
[2026-09-21 15:47:54] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:54] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c376"} 
[2026-09-21 15:47:54] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":43,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236343808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:47:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789985739000,"timestamp_ms":1789985739000,"timestamp_seconds":1789985739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c376d0f8"} 
[2026-09-21 15:47:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:47: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-09-21 15:47:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3279195864,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503942281297920,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":195,"raw_value":8375798110472401408,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":224,"raw_value":3758173464,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":104,"raw_value":24489328700817408,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":50,"raw_value":1369320143632518739,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3351511040,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2452324347772201513,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195064320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:47:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":84750845895713288,"corrected_to":0} 
[2026-09-21 15:47:54] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,199,160,44,45,8,87,10,66,214,132,1,240,232,227,195,34,4,113,205,224,114,104,37,239,50,2,79,7,164,196,69,200],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0},{"io_id":200,"original":84750845895713288,"validated":0}]} 
[2026-09-21 15:47:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269268155999191040,"timestamp_seconds":6269268155999191.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:47:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:47:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:47:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:47:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:47:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:47:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:47:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:47:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236343808001,"66":12798,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:47:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:47:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:47:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236343808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:47:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:47:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:47:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:47:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:47:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236343808001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:47:54] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:47:54] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:47:54] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:48:02] local.INFO: TCP Data received {"connection_id":191454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:02] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:02] local.INFO: IMEI packet received {"connection_id":191454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":191454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:48:08] local.INFO: TCP Data received {"connection_id":191454,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:08] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:48:08] local.INFO: IMEI packet received {"connection_id":191454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":191454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:48:09] local.INFO: TCP Data received {"connection_id":191454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:09] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:09] local.INFO: Packet analysis {"connection_id":191454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:48:09] local.INFO: Extracted packet for processing {"connection_id":191454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:48:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:48:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:48: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-09-21 15:48:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:48:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:48: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-09-21 15:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":191454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:48:09] local.INFO: GPS data processed {"connection_id":191454,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:48:09] local.INFO: Acknowledgment sent {"connection_id":191454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:48:13] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:13] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:13] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:48:15] local.INFO: TCP Data received {"connection_id":190160,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:48:15] local.INFO: Processing buffer {"connection_id":190160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:48:15] local.INFO: IMEI packet received {"connection_id":190160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":190160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:48:18] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:18] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:48:18] local.INFO: IMEI packet received {"connection_id":191455,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":191455,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:48:18] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3772300012d18720007220868005700ea27..."} 
[2026-09-21 15:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3772300012d18720007220868005700ea27..."} 
[2026-09-21 15:48:18] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3772300012d18720007220868005700ea27..."} 
[2026-09-21 15:48:18] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:48:18] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236349184001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985760000,"timestamp_ms":1789985760000,"timestamp_seconds":1789985760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3772300"} 
[2026-09-21 15:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 15:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236349184001,"66":12798,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236349184001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:48:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236349184001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:48:18] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:48:18] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:48:40] local.INFO: TCP Data received {"connection_id":191454,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:40] local.INFO: Processing buffer {"connection_id":191454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37496a8012d34c14006aa4060000b000c2b..."} 
[2026-09-21 15:48:40] local.INFO: Packet analysis {"connection_id":191454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:48:40] local.INFO: Extracted packet for processing {"connection_id":191454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c374"} 
[2026-09-21 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236234752001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985593000,"timestamp_ms":1789985593000,"timestamp_seconds":1789985593,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37496a8"} 
[2026-09-21 15:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 15:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236234752001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236234752001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236234752001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":191454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:48:40] local.INFO: GPS data processed {"connection_id":191454,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:48:40] local.INFO: Acknowledgment sent {"connection_id":191454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:48:49] local.INFO: TCP Data received {"connection_id":191455,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3777120012d18720007220868005700ea2a..."} 
[2026-09-21 15:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191455,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3777120012d18720007220868005700ea2a..."} 
[2026-09-21 15:48:49] local.INFO: Processing buffer {"connection_id":191455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3777120012d18720007220868005700ea2a..."} 
[2026-09-21 15:48:49] local.INFO: Packet analysis {"connection_id":191455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:48:49] local.INFO: Extracted packet for processing {"connection_id":191455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236354560001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789985780000,"timestamp_ms":1789985780000,"timestamp_seconds":1789985780,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3777120"} 
[2026-09-21 15:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 15:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191455,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236354560001,"66":12776,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236354560001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:48:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236354560001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":191455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:48:49] local.INFO: GPS data processed {"connection_id":191455,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:48:49] local.INFO: Acknowledgment sent {"connection_id":191455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:49:02] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:02] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:02] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:49:07] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:07] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:49:07] local.INFO: IMEI packet received {"connection_id":188692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":188692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:49:08] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:08] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:08] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:49:08] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:49: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-09-21 15:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:49:09] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:49:09] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:49:13] local.INFO: TCP Data received {"connection_id":190161,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:13] local.INFO: Processing buffer {"connection_id":190161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:13] local.INFO: IMEI packet received {"connection_id":190161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":190161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:49:18] local.INFO: TCP Data received {"connection_id":190161,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:18] local.INFO: Processing buffer {"connection_id":190161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:49:18] local.INFO: IMEI packet received {"connection_id":190161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:49:18] local.INFO: IMEI acknowledgment sent {"connection_id":190161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:49:18] local.INFO: TCP Data received {"connection_id":190161,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c377c710012d18720007220868005700ea24..."} 
[2026-09-21 15:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c377c710012d18720007220868005700ea24..."} 
[2026-09-21 15:49:18] local.INFO: Processing buffer {"connection_id":190161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c377c710012d18720007220868005700ea24..."} 
[2026-09-21 15:49:18] local.INFO: Packet analysis {"connection_id":190161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:49:18] local.INFO: Extracted packet for processing {"connection_id":190161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c377"} 
[2026-09-21 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":36,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236359680001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985802000,"timestamp_ms":1789985802000,"timestamp_seconds":1789985802,"priority":1,"record_length":96,"hex_timestamp":"000001a0c377c710"} 
[2026-09-21 15:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 15:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236359680001,"66":12776,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236359680001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:49:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236359680001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:49:19] local.INFO: DEBUG: GPS processor result {"connection_id":190161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:49:19] local.INFO: GPS data processed {"connection_id":190161,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:49:19] local.INFO: Acknowledgment sent {"connection_id":190161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:49:40] local.INFO: TCP Data received {"connection_id":188692,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:40] local.INFO: Processing buffer {"connection_id":188692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:49:40] local.INFO: Packet analysis {"connection_id":188692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:49:40] local.INFO: Extracted packet for processing {"connection_id":188692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:49:40] 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-09-21 15:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:49:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":188692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:49:40] local.INFO: GPS data processed {"connection_id":188692,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:49:40] local.INFO: Acknowledgment sent {"connection_id":188692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:49:50] local.INFO: TCP Data received {"connection_id":190161,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3781530012d18720007220868005700ea29..."} 
[2026-09-21 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190161,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3781530012d18720007220868005700ea29..."} 
[2026-09-21 15:49:50] local.INFO: Processing buffer {"connection_id":190161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3781530012d18720007220868005700ea29..."} 
[2026-09-21 15:49:50] local.INFO: Packet analysis {"connection_id":190161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:49:50] local.INFO: Extracted packet for processing {"connection_id":190161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236365312001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789985822000,"timestamp_ms":1789985822000,"timestamp_seconds":1789985822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3781530"} 
[2026-09-21 15:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:49:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:49:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 15:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:49:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236365312001,"66":12765,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236365312001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:49:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:49:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:49:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236365312001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":190161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:49:50] local.INFO: GPS data processed {"connection_id":190161,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:49:50] local.INFO: Acknowledgment sent {"connection_id":190161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:50:02] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:02] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:02] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:50:08] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:08] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:50:08] local.INFO: IMEI packet received {"connection_id":188693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":188693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:50:09] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:09] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:09] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:50:09] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:50: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-09-21 15:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:50: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-09-21 15:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:50:09] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:50:09] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:50:13] local.INFO: TCP Data received {"connection_id":188694,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:13] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:13] local.INFO: IMEI packet received {"connection_id":188694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":188694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:50:18] local.INFO: TCP Data received {"connection_id":188694,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:18] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:50:18] local.INFO: IMEI packet received {"connection_id":188694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:50:18] local.INFO: IMEI acknowledgment sent {"connection_id":188694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:50:18] local.INFO: TCP Data received {"connection_id":188694,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3786738012d18720007220868005700ea29..."} 
[2026-09-21 15:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3786738012d18720007220868005700ea29..."} 
[2026-09-21 15:50:18] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3786738012d18720007220868005700ea29..."} 
[2026-09-21 15:50:18] local.INFO: Packet analysis {"connection_id":188694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:50:18] local.INFO: Extracted packet for processing {"connection_id":188694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236370432001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985843000,"timestamp_ms":1789985843000,"timestamp_seconds":1789985843,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3786738"} 
[2026-09-21 15:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 15:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236370432001,"66":12743,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236370432001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:50:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236370432001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":188694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:50:18] local.INFO: GPS data processed {"connection_id":188694,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:50:18] local.INFO: Acknowledgment sent {"connection_id":188694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:50:41] local.INFO: TCP Data received {"connection_id":188693,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:41] local.INFO: Processing buffer {"connection_id":188693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:50:41] local.INFO: Packet analysis {"connection_id":188693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:50:41] local.INFO: Extracted packet for processing {"connection_id":188693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:50:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:50:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:50:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:50:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:50:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:50: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-09-21 15:50:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:50:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:50:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:50:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:50:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:50:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:50:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:50:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:50:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:50:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:50:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:50:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:50:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:50:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:50:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:50:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:50:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:50:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:50:41] local.INFO: DEBUG: GPS processor result {"connection_id":188693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:50:41] local.INFO: GPS data processed {"connection_id":188693,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:50:41] local.INFO: Acknowledgment sent {"connection_id":188693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:50:50] local.INFO: TCP Data received {"connection_id":188694,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c378b940012d18720007220868005700ea25..."} 
[2026-09-21 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c378b940012d18720007220868005700ea25..."} 
[2026-09-21 15:50:50] local.INFO: Processing buffer {"connection_id":188694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c378b940012d18720007220868005700ea25..."} 
[2026-09-21 15:50:50] local.INFO: Packet analysis {"connection_id":188694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:50:50] local.INFO: Extracted packet for processing {"connection_id":188694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c378"} 
[2026-09-21 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236375808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789985864000,"timestamp_ms":1789985864000,"timestamp_seconds":1789985864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c378b940"} 
[2026-09-21 15:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:50:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 15:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:50:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236375808001,"66":12711,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236375808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:50:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:50:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236375808001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":188694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:50:50] local.INFO: GPS data processed {"connection_id":188694,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:50:50] local.INFO: Acknowledgment sent {"connection_id":188694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:51:02] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:02] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:02] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:51:08] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:08] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:51:08] local.INFO: IMEI packet received {"connection_id":191457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":191457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:51:09] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:09] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:09] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:09] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 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-09-21 15:51:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:51: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-09-21 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-09-21 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-09-21 15:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:51:09] local.INFO: GPS data processed {"connection_id":191457,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:51:09] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:51:12] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:12] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:12] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:51:18] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:18] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:51:18] local.INFO: IMEI packet received {"connection_id":190163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":190163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:51:18] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3790b48012d18720007220868005700ea27..."} 
[2026-09-21 15:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3790b48012d18720007220868005700ea27..."} 
[2026-09-21 15:51:18] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3790b48012d18720007220868005700ea27..."} 
[2026-09-21 15:51:18] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:18] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":39,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236381184001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985885000,"timestamp_ms":1789985885000,"timestamp_seconds":1789985885,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3790b48"} 
[2026-09-21 15:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 15:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236381184001,"66":12722,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236381184001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:51:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236381184001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:51:18] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:51:18] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:51:41] local.INFO: TCP Data received {"connection_id":191457,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:41] local.INFO: Processing buffer {"connection_id":191457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:51:41] local.INFO: Packet analysis {"connection_id":191457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:41] local.INFO: Extracted packet for processing {"connection_id":191457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51: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-09-21 15:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:51: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-09-21 15:51: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-09-21 15:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":191457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:51:41] local.INFO: GPS data processed {"connection_id":191457,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:51:41] local.INFO: Acknowledgment sent {"connection_id":191457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:51:49] local.INFO: TCP Data received {"connection_id":190163,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3795d50012d18720007220868005700ea29..."} 
[2026-09-21 15:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190163,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3795d50012d18720007220868005700ea29..."} 
[2026-09-21 15:51:49] local.INFO: Processing buffer {"connection_id":190163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3795d50012d18720007220868005700ea29..."} 
[2026-09-21 15:51:49] local.INFO: Packet analysis {"connection_id":190163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:49] local.INFO: Extracted packet for processing {"connection_id":190163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236386560001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789985906000,"timestamp_ms":1789985906000,"timestamp_seconds":1789985906,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3795d50"} 
[2026-09-21 15:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 15:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236386560001,"66":12722,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236386560001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:51:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236386560001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":190163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:51:50] local.INFO: GPS data processed {"connection_id":190163,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:51:50] local.INFO: Acknowledgment sent {"connection_id":190163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:52:02] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:02] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:02] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:52:08] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:08] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:52:08] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:52:09] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:09] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:09] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:09] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:52: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-09-21 15: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-09-21 15:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:52: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-09-21 15:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:52:09] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:52:09] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:52:12] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:12] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:12] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:52:13] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:13] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:13] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:52:13] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:52:18] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:18] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:52:18] local.INFO: IMEI packet received {"connection_id":191458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:52:18] local.INFO: IMEI acknowledgment sent {"connection_id":191458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:52:18] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c379af58012d18720007220868005700ea2a..."} 
[2026-09-21 15:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c379af58012d18720007220868005700ea2a..."} 
[2026-09-21 15:52:18] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c379af58012d18720007220868005700ea2a..."} 
[2026-09-21 15:52:18] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:18] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236391936001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789985927000,"timestamp_ms":1789985927000,"timestamp_seconds":1789985927,"priority":1,"record_length":96,"hex_timestamp":"000001a0c379af58"} 
[2026-09-21 15:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 15:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236391936001,"66":12689,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236391936001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:52:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236391936001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:52:18] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:52:18] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:52:40] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:40] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:52:40] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:40] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:52: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:52:40] 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-09-21 15:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:52:40] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:52:40] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:52:49] local.INFO: TCP Data received {"connection_id":191458,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37a0160012d18720007220868005700ea26..."} 
[2026-09-21 15:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191458,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37a0160012d18720007220868005700ea26..."} 
[2026-09-21 15:52:49] local.INFO: Processing buffer {"connection_id":191458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37a0160012d18720007220868005700ea26..."} 
[2026-09-21 15:52:49] local.INFO: Packet analysis {"connection_id":191458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:52:49] local.INFO: Extracted packet for processing {"connection_id":191458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":38,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236397312001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789985948000,"timestamp_ms":1789985948000,"timestamp_seconds":1789985948,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37a0160"} 
[2026-09-21 15:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 15:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236397312001,"66":12558,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236397312001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:52:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236397312001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":191458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:52:49] local.INFO: GPS data processed {"connection_id":191458,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:52:49] local.INFO: Acknowledgment sent {"connection_id":191458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:53:02] local.INFO: TCP Data received {"connection_id":188845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:02] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:02] local.INFO: IMEI packet received {"connection_id":188845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":188845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:53:08] local.INFO: TCP Data received {"connection_id":188845,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:08] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:53:08] local.INFO: IMEI packet received {"connection_id":188845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":188845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:53:09] local.INFO: TCP Data received {"connection_id":188845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:09] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:09] local.INFO: Packet analysis {"connection_id":188845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:53:09] local.INFO: Extracted packet for processing {"connection_id":188845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:53: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-09-21 15: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-09-21 15:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:53: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-09-21 15:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":188845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:53:09] local.INFO: GPS data processed {"connection_id":188845,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:53:09] local.INFO: Acknowledgment sent {"connection_id":188845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:53:17] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:53:17] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:17] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:53:23] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:23] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:53:23] local.INFO: IMEI packet received {"connection_id":191460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:53:23] local.INFO: IMEI acknowledgment sent {"connection_id":191460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:53:23] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37a5368012d18720007220868005700ea2a..."} 
[2026-09-21 15:53:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37a5368012d18720007220868005700ea2a..."} 
[2026-09-21 15:53:23] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37a5368012d18720007220868005700ea2a..."} 
[2026-09-21 15:53:23] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:53:23] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236402688001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:53:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789985969000,"timestamp_ms":1789985969000,"timestamp_seconds":1789985969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37a5368"} 
[2026-09-21 15:53:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:53:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:53:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":199,"raw_value":3288334336,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3279426864,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249472475593050216,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3338718570,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3351511040,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:23] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,199,160,175,45,8,87,42,10,66,93,41,11,1,240,178,227,195,34,4,113,205,103,114,104,239,49,2,79,7,106,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 15:53:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6269268130229387264,"timestamp_seconds":6269268130229387.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:53:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:53:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:53:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:53:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:53:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:53:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:53:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:53:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:53:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236402688001,"66":12678,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:53:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:53:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:53:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236402688001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:53:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:53:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:53:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:53:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:53:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236402688001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:53:23] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:53:23] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:53:23] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:53:40] local.INFO: TCP Data received {"connection_id":188845,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:40] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3792e70012d34c14006aa40600009000c2b..."} 
[2026-09-21 15:53:40] local.INFO: Packet analysis {"connection_id":188845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:53:40] local.INFO: Extracted packet for processing {"connection_id":188845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c379"} 
[2026-09-21 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236311808001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789985894000,"timestamp_ms":1789985894000,"timestamp_seconds":1789985894,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3792e70"} 
[2026-09-21 15:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:53: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 15:53:40] 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-09-21 15:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236311808001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 15:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236311808001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236311808001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":188845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:53:40] local.INFO: GPS data processed {"connection_id":188845,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:53:40] local.INFO: Acknowledgment sent {"connection_id":188845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:53:45] local.INFO: TCP Data received {"connection_id":191459,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191459,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:53:45] local.INFO: Processing buffer {"connection_id":191459,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:53:45] local.INFO: IMEI packet received {"connection_id":191459,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":191459,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:53:55] local.INFO: TCP Data received {"connection_id":191460,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37aa570012d18720007220868005700ea25..."} 
[2026-09-21 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37aa570012d18720007220868005700ea25..."} 
[2026-09-21 15:53:55] local.INFO: Processing buffer {"connection_id":191460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37aa570012d18720007220868005700ea25..."} 
[2026-09-21 15:53:55] local.INFO: Packet analysis {"connection_id":191460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:53:55] local.INFO: Extracted packet for processing {"connection_id":191460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":37,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236408064001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789985990000,"timestamp_ms":1789985990000,"timestamp_seconds":1789985990,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37aa570"} 
[2026-09-21 15:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-21 15:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236408064001,"66":12667,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236408064001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:53:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:53:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236408064001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":191460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:53:55] local.INFO: GPS data processed {"connection_id":191460,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:53:55] local.INFO: Acknowledgment sent {"connection_id":191460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:54:02] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:02] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:02] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:54:08] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:08] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:54:08] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:54:09] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:09] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:09] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:54:09] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 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-09-21 15:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:54: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-09-21 15:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:54:09] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:54:09] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:54:13] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:13] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:13] local.INFO: IMEI packet received {"connection_id":188696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":188696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:54:15] local.INFO: TCP Data received {"connection_id":188697,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:54:15] local.INFO: Processing buffer {"connection_id":188697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:54:15] local.INFO: IMEI packet received {"connection_id":188697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":188697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:54:18] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:18] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:54:18] local.INFO: IMEI packet received {"connection_id":188696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":188696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:54:18] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37afb60012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37afb60012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:18] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37afb60012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:18] local.INFO: Packet analysis {"connection_id":188696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:54:18] local.INFO: Extracted packet for processing {"connection_id":188696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37a"} 
[2026-09-21 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236413440001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986012000,"timestamp_ms":1789986012000,"timestamp_seconds":1789986012,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37afb60"} 
[2026-09-21 15:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 15:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236413440001,"66":12667,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236413440001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:54:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236413440001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":188696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:54:18] local.INFO: GPS data processed {"connection_id":188696,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:54:18] local.INFO: Acknowledgment sent {"connection_id":188696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:54:41] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:41] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:54:41] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:54:41] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54: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-09-21 15:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:54: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-09-21 15:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:54: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-09-21 15:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:54:41] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:54:41] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:54:49] local.INFO: TCP Data received {"connection_id":188696,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37b4980012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37b4980012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:49] local.INFO: Processing buffer {"connection_id":188696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37b4980012d18720007220868005700ea2a..."} 
[2026-09-21 15:54:49] local.INFO: Packet analysis {"connection_id":188696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:54:49] local.INFO: Extracted packet for processing {"connection_id":188696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":42,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236419072001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986032000,"timestamp_ms":1789986032000,"timestamp_seconds":1789986032,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37b4980"} 
[2026-09-21 15:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 15:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236419072001,"66":12645,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236419072001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:54:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236419072001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:54:50] local.INFO: DEBUG: GPS processor result {"connection_id":188696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:54:50] local.INFO: GPS data processed {"connection_id":188696,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:54:50] local.INFO: Acknowledgment sent {"connection_id":188696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:55:03] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:03] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:03] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:55:08] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:08] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:55:08] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:55:09] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:09] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:09] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:55:09] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:55: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-09-21 15:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:55:09] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:55:09] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:55:13] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:13] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:13] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:55:18] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:18] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:55:18] local.INFO: IMEI packet received {"connection_id":188698,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":188698,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:55:18] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37b9b88012d18720007220868005700ea29..."} 
[2026-09-21 15:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37b9b88012d18720007220868005700ea29..."} 
[2026-09-21 15:55:18] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37b9b88012d18720007220868005700ea29..."} 
[2026-09-21 15:55:18] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:55:18] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":41,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236424192001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986053000,"timestamp_ms":1789986053000,"timestamp_seconds":1789986053,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37b9b88"} 
[2026-09-21 15:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 15:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236424192001,"66":12667,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236424192001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:55:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236424192001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876989,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:55:18] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:55:18] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:55:40] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:40] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:55:40] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:55:40] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:55: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-09-21 15:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:55:40] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:55:40] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:55:49] local.INFO: TCP Data received {"connection_id":188698,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37bed90012d18720007220868005700ea2c..."} 
[2026-09-21 15:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37bed90012d18720007220868005700ea2c..."} 
[2026-09-21 15:55:49] local.INFO: Processing buffer {"connection_id":188698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37bed90012d18720007220868005700ea2c..."} 
[2026-09-21 15:55:49] local.INFO: Packet analysis {"connection_id":188698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:55:49] local.INFO: Extracted packet for processing {"connection_id":188698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37b"} 
[2026-09-21 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756576768,"raw_latitude":119670888,"longitude_deg":75.6576768,"latitude_deg":11.9670888,"altitude":87,"angle":234,"satellites":44,"speed":0,"hex_longitude":"2d187200","hex_latitude":"07220868","is_valid_coordinates":true} 
[2026-09-21 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236429568001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456167787659264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986074000,"timestamp_ms":1789986074000,"timestamp_seconds":1789986074,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37bed90"} 
[2026-09-21 15:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 15:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188698,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236429568001,"66":12613,"105":206,"83":41984,"24":0,"16":22456167787659264,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236429568001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:55:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456167787659264,"km_value":22456167787659.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236429568001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":188698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:55:50] local.INFO: GPS data processed {"connection_id":188698,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:55:50] local.INFO: Acknowledgment sent {"connection_id":188698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:56:02] local.INFO: TCP Data received {"connection_id":188848,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:02] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:02] local.INFO: IMEI packet received {"connection_id":188848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:56:08] local.INFO: TCP Data received {"connection_id":188848,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:08] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:56:08] local.INFO: IMEI packet received {"connection_id":188848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:56:08] local.INFO: TCP Data received {"connection_id":188848,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:08] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:08] local.INFO: Packet analysis {"connection_id":188848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:56:08] local.INFO: Extracted packet for processing {"connection_id":188848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:56: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-09-21 15:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:56:09] local.INFO: GPS data processed {"connection_id":188848,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:56:09] local.INFO: Acknowledgment sent {"connection_id":188848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:56:13] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:56:13] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:13] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:56:13] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:56:18] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:18] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:56:18] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:56:18] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37fa2c8012d1871c0072206a00055009d27..."} 
[2026-09-21 15:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37fa2c8012d1871c0072206a00055009d27..."} 
[2026-09-21 15:56:18] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37fa2c8012d1871c0072206a00055009d27..."} 
[2026-09-21 15:56:18] local.INFO: Packet analysis {"connection_id":188849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37f"} 
[2026-09-21 15:56:18] local.INFO: Extracted packet for processing {"connection_id":188849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37f"} 
[2026-09-21 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756576704,"raw_latitude":119670432,"longitude_deg":75.6576704,"latitude_deg":11.9670432,"altitude":85,"angle":157,"satellites":39,"speed":5,"hex_longitude":"2d1871c0","hex_latitude":"072206a0","is_valid_coordinates":true} 
[2026-09-21 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236494336001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456189262495744,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761470434891032576,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986317000,"timestamp_ms":1789986317000,"timestamp_seconds":1789986317,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37fa2c8"} 
[2026-09-21 15:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 15:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236494336001,"66":14211,"105":206,"83":41984,"24":5,"16":22456189262495744,"45":1761470434891032576},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236494336001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:56:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456189262495744,"km_value":22456189262495.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761470434891032576,"description":"Unknown IO ID 45"} 
[2026-09-21 15:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236494336001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1761470434891032576}} 
[2026-09-21 15:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":188849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876993,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:56:19] local.INFO: GPS data processed {"connection_id":188849,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:56:19] local.INFO: Acknowledgment sent {"connection_id":188849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:56:40] local.INFO: TCP Data received {"connection_id":188848,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:40] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:56:40] local.INFO: Packet analysis {"connection_id":188848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:56:40] local.INFO: Extracted packet for processing {"connection_id":188848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":188848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:56:40] local.INFO: GPS data processed {"connection_id":188848,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:56:40] local.INFO: Acknowledgment sent {"connection_id":188848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:56:50] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37fa6b0012d1871c007220608005500b927..."} 
[2026-09-21 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37fa6b0012d1871c007220608005500b927..."} 
[2026-09-21 15:56:50] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37fa6b0012d1871c007220608005500b927..."} 
[2026-09-21 15:56:50] local.INFO: Packet analysis {"connection_id":188849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37f"} 
[2026-09-21 15:56:50] local.INFO: Extracted packet for processing {"connection_id":188849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37f"} 
[2026-09-21 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756576704,"raw_latitude":119670280,"longitude_deg":75.6576704,"latitude_deg":11.967028,"altitude":85,"angle":185,"satellites":39,"speed":6,"hex_longitude":"2d1871c0","hex_latitude":"07220608","is_valid_coordinates":true} 
[2026-09-21 15:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236497152001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22456197852430336,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761400066146738176,"note":"Value kept but may cause issues"} 
[2026-09-21 15:56:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789986318000,"timestamp_ms":1789986318000,"timestamp_seconds":1789986318,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37fa6b0"} 
[2026-09-21 15:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:56:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-21 15:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236497152001,"66":14102,"105":206,"83":41984,"24":6,"16":22456197852430336,"45":1761400066146738176},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236497152001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22456197852430336,"km_value":22456197852430.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761400066146738176,"description":"Unknown IO ID 45"} 
[2026-09-21 15:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236497152001,"power":14102,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1761400066146738176}} 
[2026-09-21 15:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":188849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:56:50] local.INFO: GPS data processed {"connection_id":188849,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:56:50] local.INFO: Acknowledgment sent {"connection_id":188849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:57:02] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:02] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:02] local.INFO: IMEI packet received {"connection_id":188701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":188701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:57:08] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:08] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:57:08] local.INFO: IMEI packet received {"connection_id":188701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":188701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:57:09] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:09] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:09] local.INFO: Packet analysis {"connection_id":188701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:57:09] local.INFO: Extracted packet for processing {"connection_id":188701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 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-09-21 15:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15: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-09-21 15:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":188701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:57:09] local.INFO: GPS data processed {"connection_id":188701,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:57:09] local.INFO: Acknowledgment sent {"connection_id":188701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:57:11] local.INFO: TCP Data received {"connection_id":190165,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:11] local.INFO: Processing buffer {"connection_id":190165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:11] local.INFO: IMEI packet received {"connection_id":190165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":190165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:57:12] local.INFO: TCP Data received {"connection_id":190165,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:12] local.INFO: Processing buffer {"connection_id":190165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:12] local.INFO: IMEI packet received {"connection_id":190165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":190165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:57:18] local.INFO: TCP Data received {"connection_id":190165,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:18] local.INFO: Processing buffer {"connection_id":190165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:57:18] local.INFO: IMEI packet received {"connection_id":190165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:57:18] local.INFO: IMEI acknowledgment sent {"connection_id":190165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:57:18] local.INFO: TCP Data received {"connection_id":190165,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c380bff0012d181f800721aa60004800c829..."} 
[2026-09-21 15:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c380bff0012d181f800721aa60004800c829..."} 
[2026-09-21 15:57:18] local.INFO: Processing buffer {"connection_id":190165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c380bff0012d181f800721aa60004800c829..."} 
[2026-09-21 15:57:18] local.INFO: Packet analysis {"connection_id":190165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:57:18] local.INFO: Extracted packet for processing {"connection_id":190165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119646816,"longitude_deg":75.6555648,"latitude_deg":11.9646816,"altitude":72,"angle":200,"satellites":41,"speed":5,"hex_longitude":"2d181f80","hex_latitude":"0721aa60","is_valid_coordinates":true} 
[2026-09-21 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236512768001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22457778400395264,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740852392841789440,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986390000,"timestamp_ms":1789986390000,"timestamp_seconds":1789986390,"priority":1,"record_length":96,"hex_timestamp":"000001a0c380bff0"} 
[2026-09-21 15:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":201,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3279930864,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3352821760,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":838860800,"corrected_to":0} 
[2026-09-21 15:57:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2147951105,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867882,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:18] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,201,160,106,45,192,215,79,44,10,66,200,59,244,82,43,51,1,240,148,227,195,34,4,113,205,112,152,41,239,55,2,7,86,3],"length":479,"final_offset":609,"validated_count":41,"validation_warnings":[{"io_id":200,"original":838860800,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 15:57:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404553937801641984,"timestamp_seconds":5404553937801642.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 15:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236512768001,"66":13102,"105":206,"83":41984,"24":5,"16":22457778400395264,"45":1740852392841789440},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236512768001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:57:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22457778400395264,"km_value":22457778400395.266,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740852392841789440,"description":"Unknown IO ID 45"} 
[2026-09-21 15:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236512768001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1740852392841789440}} 
[2026-09-21 15:57:19] local.INFO: DEBUG: GPS processor result {"connection_id":190165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:57:19] local.INFO: GPS data processed {"connection_id":190165,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:57:19] local.INFO: Acknowledgment sent {"connection_id":190165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:57:41] local.INFO: TCP Data received {"connection_id":188701,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:41] local.INFO: Processing buffer {"connection_id":188701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:57:41] local.INFO: Packet analysis {"connection_id":188701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:57:41] local.INFO: Extracted packet for processing {"connection_id":188701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15: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-09-21 15:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15: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-09-21 15: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-09-21 15: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-09-21 15:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":188701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:57:41] local.INFO: GPS data processed {"connection_id":188701,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:57:41] local.INFO: Acknowledgment sent {"connection_id":188701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:57:50] local.INFO: TCP Data received {"connection_id":190165,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c380c7c0012d181f400721a940004800bb2a..."} 
[2026-09-21 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c380c7c0012d181f400721a940004800bb2a..."} 
[2026-09-21 15:57:50] local.INFO: Processing buffer {"connection_id":190165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c380c7c0012d181f400721a940004800bb2a..."} 
[2026-09-21 15:57:50] local.INFO: Packet analysis {"connection_id":190165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:57:50] local.INFO: Extracted packet for processing {"connection_id":190165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646528,"longitude_deg":75.6555584,"latitude_deg":11.9646528,"altitude":72,"angle":187,"satellites":42,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721a940","is_valid_coordinates":true} 
[2026-09-21 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236515840001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22457795580264448,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306241024,"note":"Value kept but may cause issues"} 
[2026-09-21 15:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789986392000,"timestamp_ms":1789986392000,"timestamp_seconds":1789986392,"priority":1,"record_length":96,"hex_timestamp":"000001a0c380c7c0"} 
[2026-09-21 15:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:57:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-09-21 15:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":867,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236515840001,"66":13048,"105":206,"83":41984,"24":6,"16":22457795580264448,"45":1738248749306241024},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236515840001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:57:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22457795580264448,"km_value":22457795580264.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306241024,"description":"Unknown IO ID 45"} 
[2026-09-21 15:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236515840001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738248749306241024}} 
[2026-09-21 15:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":190165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":876999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:57:50] local.INFO: GPS data processed {"connection_id":190165,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:57:50] local.INFO: Acknowledgment sent {"connection_id":190165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:58:02] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:02] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:02] local.INFO: IMEI packet received {"connection_id":188702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":188702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:58:08] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:08] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:58:08] local.INFO: IMEI packet received {"connection_id":188702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":188702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:58:09] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:09] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:09] local.INFO: Packet analysis {"connection_id":188702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:58:09] local.INFO: Extracted packet for processing {"connection_id":188702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 15:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 15:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 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-09-21 15:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 15:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:58:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":188702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:58:09] local.INFO: GPS data processed {"connection_id":188702,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:58:09] local.INFO: Acknowledgment sent {"connection_id":188702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:58:12] local.INFO: TCP Data received {"connection_id":188851,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:12] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:12] local.INFO: IMEI packet received {"connection_id":188851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":188851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:58:18] local.INFO: TCP Data received {"connection_id":188851,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:18] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:58:18] local.INFO: IMEI packet received {"connection_id":188851,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:58:18] local.INFO: IMEI acknowledgment sent {"connection_id":188851,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:58:18] local.INFO: TCP Data received {"connection_id":188851,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c380cba8012d181f400721a8a0004800aa28..."} 
[2026-09-21 15:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c380cba8012d181f400721a8a0004800aa28..."} 
[2026-09-21 15:58:18] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c380cba8012d181f400721a8a0004800aa28..."} 
[2026-09-21 15:58:18] local.INFO: Packet analysis {"connection_id":188851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:58:18] local.INFO: Extracted packet for processing {"connection_id":188851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646368,"longitude_deg":75.6555584,"latitude_deg":11.9646368,"altitude":72,"angle":170,"satellites":40,"speed":6,"hex_longitude":"2d181f40","hex_latitude":"0721a8a0","is_valid_coordinates":true} 
[2026-09-21 15:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236516352001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22457799875231744,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561989632,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986393000,"timestamp_ms":1789986393000,"timestamp_seconds":1789986393,"priority":1,"record_length":96,"hex_timestamp":"000001a0c380cba8"} 
[2026-09-21 15:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 15:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236516352001,"66":12874,"105":206,"83":41984,"24":6,"16":22457799875231744,"45":1738178380561989632},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236516352001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:58:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22457799875231744,"km_value":22457799875231.742,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561989632,"description":"Unknown IO ID 45"} 
[2026-09-21 15:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236516352001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1738178380561989632}} 
[2026-09-21 15:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:58:18] local.INFO: GPS data processed {"connection_id":188851,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:58:18] local.INFO: Acknowledgment sent {"connection_id":188851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:58:40] local.INFO: TCP Data received {"connection_id":188702,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:40] local.INFO: Processing buffer {"connection_id":188702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c37dc638012d34c14006aa4060000a000c2c..."} 
[2026-09-21 15:58:40] local.INFO: Packet analysis {"connection_id":188702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:58:40] local.INFO: Extracted packet for processing {"connection_id":188702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c37d"} 
[2026-09-21 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236388864001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986195000,"timestamp_ms":1789986195000,"timestamp_seconds":1789986195,"priority":1,"record_length":96,"hex_timestamp":"000001a0c37dc638"} 
[2026-09-21 15:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 15:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236388864001,"66":25495,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 15:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236388864001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 15:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236388864001,"power":25495,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":188702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:58:40] local.INFO: GPS data processed {"connection_id":188702,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:58:40] local.INFO: Acknowledgment sent {"connection_id":188702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:58:50] local.INFO: TCP Data received {"connection_id":188851,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c380e318012d1820c00721a690004800862b..."} 
[2026-09-21 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188851,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c380e318012d1820c00721a690004800862b..."} 
[2026-09-21 15:58:50] local.INFO: Processing buffer {"connection_id":188851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c380e318012d1820c00721a690004800862b..."} 
[2026-09-21 15:58:50] local.INFO: Packet analysis {"connection_id":188851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:58:50] local.INFO: Extracted packet for processing {"connection_id":188851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c380"} 
[2026-09-21 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119645840,"longitude_deg":75.6555968,"latitude_deg":11.964584,"altitude":72,"angle":134,"satellites":43,"speed":7,"hex_longitude":"2d1820c0","hex_latitude":"0721a690","is_valid_coordinates":true} 
[2026-09-21 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:58:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236516608001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22457834234970112,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561948672,"note":"Value kept but may cause issues"} 
[2026-09-21 15:58:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:58:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789986399000,"timestamp_ms":1789986399000,"timestamp_seconds":1789986399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c380e318"} 
[2026-09-21 15:58:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:58:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:58:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-09-21 15:58:50] 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-09-21 15:58:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:58:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:58:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:58:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:58:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:58:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188851,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:58:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:58:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:58:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:58:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236516608001,"66":13080,"105":206,"83":41984,"24":7,"16":22457834234970112,"45":1738178380561948672},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:58:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:58:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:58:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236516608001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:58:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:58:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:58:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22457834234970112,"km_value":22457834234970.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:58:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561948672,"description":"Unknown IO ID 45"} 
[2026-09-21 15:58:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236516608001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1738178380561948672}} 
[2026-09-21 15:58:50] local.INFO: DEBUG: GPS processor result {"connection_id":188851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:58:50] local.INFO: GPS data processed {"connection_id":188851,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:58:50] local.INFO: Acknowledgment sent {"connection_id":188851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:59:02] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:02] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:02] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 15:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:59:08] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:08] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 15:59:08] local.INFO: IMEI packet received {"connection_id":190166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 15:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":190166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:59:09] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:09] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:09] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 15:59:09] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 15:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 15:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 15:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:59: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-09-21 15:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:59:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 15:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:59:09] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:59:09] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:59:12] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:12] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:12] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 15:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:59:13] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:13] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:13] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:59:13] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:59:18] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:18] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 15:59:18] local.INFO: IMEI packet received {"connection_id":191461,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 15:59:18] local.INFO: IMEI acknowledgment sent {"connection_id":191461,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 15:59:18] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3810e10012d18288007219ed0004a009228..."} 
[2026-09-21 15:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3810e10012d18288007219ed0004a009228..."} 
[2026-09-21 15:59:18] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3810e10012d18288007219ed0004a009228..."} 
[2026-09-21 15:59:18] local.INFO: Packet analysis {"connection_id":191461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c381"} 
[2026-09-21 15:59:18] local.INFO: Extracted packet for processing {"connection_id":191461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c381"} 
[2026-09-21 15:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756557952,"raw_latitude":119643856,"longitude_deg":75.6557952,"latitude_deg":11.9643856,"altitude":74,"angle":146,"satellites":40,"speed":9,"hex_longitude":"2d182880","hex_latitude":"07219ed0","is_valid_coordinates":true} 
[2026-09-21 15:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236518144001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22457971673923584,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593026879488,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986410000,"timestamp_ms":1789986410000,"timestamp_seconds":1789986410,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3810e10"} 
[2026-09-21 15:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 15:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236518144001,"66":13015,"105":206,"83":41984,"24":9,"16":22457971673923584,"45":1738600593026879488},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236518144001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:59:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22457971673923584,"km_value":22457971673923.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593026879488,"description":"Unknown IO ID 45"} 
[2026-09-21 15:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236518144001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1738600593026879488}} 
[2026-09-21 15:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":191461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:59:18] local.INFO: GPS data processed {"connection_id":191461,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:59:18] local.INFO: Acknowledgment sent {"connection_id":191461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:59:40] local.INFO: TCP Data received {"connection_id":190166,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190166,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:40] local.INFO: Processing buffer {"connection_id":190166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 15:59:40] local.INFO: Packet analysis {"connection_id":190166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 15:59:40] local.INFO: Extracted packet for processing {"connection_id":190166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 15:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 15:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 15:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 15:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 15:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 15:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 15:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 15:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 15:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 15:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 15:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 15:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 15:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 15:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":190166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:59:40] local.INFO: GPS data processed {"connection_id":190166,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:59:40] local.INFO: Acknowledgment sent {"connection_id":190166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 15:59:45] local.INFO: TCP Data received {"connection_id":191462,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:59:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:59:45] local.INFO: Processing buffer {"connection_id":191462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 15:59:45] local.INFO: IMEI packet received {"connection_id":191462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 15:59:45] local.INFO: IMEI acknowledgment sent {"connection_id":191462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 15:59:50] local.INFO: TCP Data received {"connection_id":191461,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3816018012d1829c007219c98004b009628..."} 
[2026-09-21 15:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191461,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3816018012d1829c007219c98004b009628..."} 
[2026-09-21 15:59:50] local.INFO: Processing buffer {"connection_id":191461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3816018012d1829c007219c98004b009628..."} 
[2026-09-21 15:59:50] local.INFO: Packet analysis {"connection_id":191461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c381"} 
[2026-09-21 15:59:50] local.INFO: Extracted packet for processing {"connection_id":191461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c381"} 
[2026-09-21 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756558272,"raw_latitude":119643288,"longitude_deg":75.6558272,"latitude_deg":11.9643288,"altitude":75,"angle":150,"satellites":40,"speed":0,"hex_longitude":"2d1829c0","hex_latitude":"07219c98","is_valid_coordinates":true} 
[2026-09-21 15:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 15:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236520960001,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22458006033661952,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740782024095879168,"note":"Value kept but may cause issues"} 
[2026-09-21 15:59:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 15:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789986431000,"timestamp_ms":1789986431000,"timestamp_seconds":1789986431,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3816018"} 
[2026-09-21 15:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 15:59:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 15:59:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 15:59:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 15:59:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 15:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 15:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 15:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 15:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191461,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 15:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 15:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 15:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 15:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236520960001,"66":12939,"105":206,"83":41984,"24":0,"16":22458006033661952,"45":1740782024095879168},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 15:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 15:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 15:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236520960001,"description":"Unknown IO ID 0"} 
[2026-09-21 15:59:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 15:59:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 15:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22458006033661952,"km_value":22458006033661.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 15:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740782024095879168,"description":"Unknown IO ID 45"} 
[2026-09-21 15:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236520960001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1740782024095879168}} 
[2026-09-21 15:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":191461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 15:59:50] local.INFO: GPS data processed {"connection_id":191461,"processed":1,"errors":0,"total":1} 
[2026-09-21 15:59:50] local.INFO: Acknowledgment sent {"connection_id":191461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:00:02] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:02] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:02] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:00:08] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:08] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:00:08] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:00:09] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:09] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:09] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:00:09] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 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-09-21 16:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:00:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:00:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:00:09] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:00:09] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:00:15] local.INFO: TCP Data received {"connection_id":188704,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:00:15] local.INFO: Processing buffer {"connection_id":188704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:00:15] local.INFO: IMEI packet received {"connection_id":188704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":188704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:00:18] local.INFO: TCP Data received {"connection_id":190167,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:18] local.INFO: Processing buffer {"connection_id":190167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:18] local.INFO: IMEI packet received {"connection_id":190167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:00:18] local.INFO: IMEI acknowledgment sent {"connection_id":190167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:00:24] local.INFO: TCP Data received {"connection_id":190167,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:24] local.INFO: Processing buffer {"connection_id":190167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:00:24] local.INFO: IMEI packet received {"connection_id":190167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":190167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:00:25] local.INFO: TCP Data received {"connection_id":190167,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3836b88012d186c00072181a0004c005a24..."} 
[2026-09-21 16:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3836b88012d186c00072181a0004c005a24..."} 
[2026-09-21 16:00:25] local.INFO: Processing buffer {"connection_id":190167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3836b88012d186c00072181a0004c005a24..."} 
[2026-09-21 16:00:25] local.INFO: Packet analysis {"connection_id":190167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c383"} 
[2026-09-21 16:00:25] local.INFO: Extracted packet for processing {"connection_id":190167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c383"} 
[2026-09-21 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":756575232,"raw_latitude":119636384,"longitude_deg":75.6575232,"latitude_deg":11.9636384,"altitude":76,"angle":90,"satellites":36,"speed":41,"hex_longitude":"2d186c00","hex_latitude":"072181a0","is_valid_coordinates":true} 
[2026-09-21 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236560128001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22458882206990336,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757459416464134144,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1789986565000,"timestamp_ms":1789986565000,"timestamp_seconds":1789986565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3836b88"} 
[2026-09-21 16:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:00:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:00:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":9216,"corrected_to":0} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280119864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":41,"raw_value":3221692828,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-7162974885200387072,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788855,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2198718465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3379560448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":109,"raw_value":57819369443316644,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.WARNING: Large IO value detected {"io_id":130,"raw_value":6210465179334459399,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:25] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,202,160,84,45,128,137,77,41,10,66,201,33,152,75,39,105,17,64,1,240,185,227,195,4,113,205,7,250,40,239,55,2,79,109,130],"length":527,"final_offset":657,"validated_count":42,"validation_warnings":[{"io_id":202,"original":9216,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:00:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548550357147844608,"timestamp_seconds":5548550357147845.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":190167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":190167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":190167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236560128001,"66":14265,"106":206,"83":41984,"24":41,"16":22458882206990336,"45":1757459416464134144},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236560128001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:00:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:00:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22458882206990336,"km_value":22458882206990.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:00:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757459416464134144,"description":"Unknown IO ID 45"} 
[2026-09-21 16:00:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236560128001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1757459416464134144}} 
[2026-09-21 16:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":190167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:00:25] local.INFO: GPS data processed {"connection_id":190167,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:00:25] local.INFO: Acknowledgment sent {"connection_id":190167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:00:40] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:40] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:00:40] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:00:40] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:00:40] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:00:40] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:00:56] local.INFO: TCP Data received {"connection_id":190167,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3842ed8012d18dc8007215240004300672c..."} 
[2026-09-21 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3842ed8012d18dc8007215240004300672c..."} 
[2026-09-21 16:00:56] local.INFO: Processing buffer {"connection_id":190167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3842ed8012d18dc8007215240004300672c..."} 
[2026-09-21 16:00:56] local.INFO: Packet analysis {"connection_id":190167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:00:56] local.INFO: Extracted packet for processing {"connection_id":190167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":756604032,"raw_latitude":119624256,"longitude_deg":75.6604032,"latitude_deg":11.9624256,"altitude":67,"angle":103,"satellites":44,"speed":13,"hex_longitude":"2d18dc80","hex_latitude":"07215240","is_valid_coordinates":true} 
[2026-09-21 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236573184001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22460475639857152,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791025307433725952,"note":"Value kept but may cause issues"} 
[2026-09-21 16:00: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-09-21 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1789986615000,"timestamp_ms":1789986615000,"timestamp_seconds":1789986615,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3842ed8"} 
[2026-09-21 16:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16: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-09-21 16:00:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-09-21 16:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:00:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":190167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":190167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":190167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236573184001,"66":14265,"106":206,"83":41984,"24":13,"16":22460475639857152,"45":1791025307433725952},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236573184001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:00:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:00:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22460475639857152,"km_value":22460475639857.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791025307433725952,"description":"Unknown IO ID 45"} 
[2026-09-21 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236573184001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1791025307433725952}} 
[2026-09-21 16:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":190167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:00:56] local.INFO: GPS data processed {"connection_id":190167,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:00:56] local.INFO: Acknowledgment sent {"connection_id":190167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:01:02] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:02] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:02] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:01:08] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:08] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:01:08] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:01:09] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:09] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:09] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:01:09] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:01: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-09-21 16:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:01:09] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:01:09] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:01:12] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:12] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:12] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:01:18] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:18] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:01:18] local.INFO: IMEI packet received {"connection_id":188705,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:01:18] local.INFO: IMEI acknowledgment sent {"connection_id":188705,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:01:19] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38432c0012d18dd80072151a00043007b2c..."} 
[2026-09-21 16:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38432c0012d18dd80072151a00043007b2c..."} 
[2026-09-21 16:01:19] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38432c0012d18dd80072151a00043007b2c..."} 
[2026-09-21 16:01:19] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:01:19] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756604288,"raw_latitude":119624096,"longitude_deg":75.6604288,"latitude_deg":11.9624096,"altitude":67,"angle":123,"satellites":44,"speed":14,"hex_longitude":"2d18dd80","hex_latitude":"072151a0","is_valid_coordinates":true} 
[2026-09-21 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236573440001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22460492819726336,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791447519898779648,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789986616000,"timestamp_ms":1789986616000,"timestamp_seconds":1789986616,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38432c0"} 
[2026-09-21 16:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 16:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236573440001,"66":14265,"106":206,"83":41984,"24":14,"16":22460492819726336,"45":1791447519898779648},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236573440001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22460492819726336,"km_value":22460492819726.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791447519898779648,"description":"Unknown IO ID 45"} 
[2026-09-21 16:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236573440001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1791447519898779648}} 
[2026-09-21 16:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:01:19] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:01:19] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:01:40] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:40] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:01:40] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:01:40] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:01:40] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:01:40] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:01:50] local.INFO: TCP Data received {"connection_id":188705,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c384ea58012d190d8007213bc0003f00582b..."} 
[2026-09-21 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c384ea58012d190d8007213bc0003f00582b..."} 
[2026-09-21 16:01:50] local.INFO: Processing buffer {"connection_id":188705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c384ea58012d190d8007213bc0003f00582b..."} 
[2026-09-21 16:01:50] local.INFO: Packet analysis {"connection_id":188705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:01:50] local.INFO: Extracted packet for processing {"connection_id":188705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":756616576,"raw_latitude":119618496,"longitude_deg":75.6616576,"latitude_deg":11.9618496,"altitude":63,"angle":88,"satellites":43,"speed":11,"hex_longitude":"2d190d80","hex_latitude":"07213bc0","is_valid_coordinates":true} 
[2026-09-21 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:01:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236584960001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461218669199360,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1804184262593468416,"note":"Value kept but may cause issues"} 
[2026-09-21 16:01:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:01:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789986663000,"timestamp_ms":1789986663000,"timestamp_seconds":1789986663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c384ea58"} 
[2026-09-21 16:01:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:01:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:01:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 16:01:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:01:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:01:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:01:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:01:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:01:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:01:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188705,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:01:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:01:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:01:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:01:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236584960001,"66":13993,"103":206,"83":41984,"24":11,"16":22461218669199360,"45":1804184262593468416},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:01:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:01:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:01:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236584960001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:01:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:01:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:01:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461218669199360,"km_value":22461218669199.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:01:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1804184262593468416,"description":"Unknown IO ID 45"} 
[2026-09-21 16:01:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236584960001,"power":13993,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1804184262593468416}} 
[2026-09-21 16:01:50] local.INFO: DEBUG: GPS processor result {"connection_id":188705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:01:50] local.INFO: GPS data processed {"connection_id":188705,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:01:50] local.INFO: Acknowledgment sent {"connection_id":188705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:02:02] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:02] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:02] local.INFO: IMEI packet received {"connection_id":188855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":188855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:02:08] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:08] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:02:08] local.INFO: IMEI packet received {"connection_id":188855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":188855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:02:09] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:09] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:09] local.INFO: Packet analysis {"connection_id":188855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:02:09] local.INFO: Extracted packet for processing {"connection_id":188855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 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-09-21 16:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:02: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-09-21 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-09-21 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-09-21 16:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:02: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-09-21 16:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":188855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:02:09] local.INFO: GPS data processed {"connection_id":188855,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:02:09] local.INFO: Acknowledgment sent {"connection_id":188855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:02:12] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:12] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:12] local.INFO: IMEI packet received {"connection_id":188706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:02:18] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:18] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:02:18] local.INFO: IMEI packet received {"connection_id":188706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":188706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:02:18] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c384f610012d19104007213c30003e00422a..."} 
[2026-09-21 16:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c384f610012d19104007213c30003e00422a..."} 
[2026-09-21 16:02:18] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c384f610012d19104007213c30003e00422a..."} 
[2026-09-21 16:02:18] local.INFO: Packet analysis {"connection_id":188706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:02:18] local.INFO: Extracted packet for processing {"connection_id":188706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756617280,"raw_latitude":119618608,"longitude_deg":75.661728,"latitude_deg":11.9618608,"altitude":62,"angle":66,"satellites":42,"speed":6,"hex_longitude":"2d191040","hex_latitude":"07213c30","is_valid_coordinates":true} 
[2026-09-21 16:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236585728001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461248733970432,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1805239793756127232,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986666000,"timestamp_ms":1789986666000,"timestamp_seconds":1789986666,"priority":1,"record_length":96,"hex_timestamp":"000001a0c384f610"} 
[2026-09-21 16:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 16:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236585728001,"66":14048,"103":206,"83":41984,"24":6,"16":22461248733970432,"45":1805239793756127232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236585728001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:02:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461248733970432,"km_value":22461248733970.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1805239793756127232,"description":"Unknown IO ID 45"} 
[2026-09-21 16:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236585728001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1805239793756127232}} 
[2026-09-21 16:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:02:18] local.INFO: GPS data processed {"connection_id":188706,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:02:18] local.INFO: Acknowledgment sent {"connection_id":188706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:02:40] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:40] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:02:40] local.INFO: Packet analysis {"connection_id":188855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:02:40] local.INFO: Extracted packet for processing {"connection_id":188855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:02:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":188855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:02:40] local.INFO: GPS data processed {"connection_id":188855,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:02:40] local.INFO: Acknowledgment sent {"connection_id":188855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:02:49] local.INFO: TCP Data received {"connection_id":188706,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c384f9f8012d1910c007213c90003d002d2a..."} 
[2026-09-21 16:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c384f9f8012d1910c007213c90003d002d2a..."} 
[2026-09-21 16:02:49] local.INFO: Processing buffer {"connection_id":188706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c384f9f8012d1910c007213c90003d002d2a..."} 
[2026-09-21 16:02:49] local.INFO: Packet analysis {"connection_id":188706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:02:49] local.INFO: Extracted packet for processing {"connection_id":188706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c384"} 
[2026-09-21 16:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756617408,"raw_latitude":119618704,"longitude_deg":75.6617408,"latitude_deg":11.9618704,"altitude":61,"angle":45,"satellites":42,"speed":5,"hex_longitude":"2d1910c0","hex_latitude":"07213c90","is_valid_coordinates":true} 
[2026-09-21 16:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236586496001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461257323905024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806013849942110208,"note":"Value kept but may cause issues"} 
[2026-09-21 16:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986667000,"timestamp_ms":1789986667000,"timestamp_seconds":1789986667,"priority":1,"record_length":96,"hex_timestamp":"000001a0c384f9f8"} 
[2026-09-21 16:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 16:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236586496001,"66":14026,"103":206,"83":41984,"24":5,"16":22461257323905024,"45":1806013849942110208},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236586496001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:02:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461257323905024,"km_value":22461257323905.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806013849942110208,"description":"Unknown IO ID 45"} 
[2026-09-21 16:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236586496001,"power":14026,"unknown_103":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1806013849942110208}} 
[2026-09-21 16:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":188706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:02:49] local.INFO: GPS data processed {"connection_id":188706,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:02:49] local.INFO: Acknowledgment sent {"connection_id":188706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:03:02] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:02] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:02] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:03:08] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:08] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:03:08] local.INFO: IMEI packet received {"connection_id":190168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":190168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:03:09] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:09] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:09] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:03:09] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:03: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-09-21 16:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:03:09] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:03:09] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:03:12] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:12] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:12] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:03:13] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:13] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:13] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:03:18] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:18] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:03:18] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:03:18] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3854c00012d19118007213e50003b002d26..."} 
[2026-09-21 16:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3854c00012d19118007213e50003b002d26..."} 
[2026-09-21 16:03:18] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3854c00012d19118007213e50003b002d26..."} 
[2026-09-21 16:03:18] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c385"} 
[2026-09-21 16:03:18] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c385"} 
[2026-09-21 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756617600,"raw_latitude":119619152,"longitude_deg":75.66176,"latitude_deg":11.9619152,"altitude":59,"angle":45,"satellites":38,"speed":0,"hex_longitude":"2d191180","hex_latitude":"07213e50","is_valid_coordinates":true} 
[2026-09-21 16:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236586752001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461283093708800,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806154587430490112,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986688000,"timestamp_ms":1789986688000,"timestamp_seconds":1789986688,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3854c00"} 
[2026-09-21 16:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-09-21 16:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236586752001,"66":14004,"103":206,"83":41984,"24":0,"16":22461283093708800,"45":1806154587430490112},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236586752001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:03:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461283093708800,"km_value":22461283093708.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806154587430490112,"description":"Unknown IO ID 45"} 
[2026-09-21 16:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236586752001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1806154587430490112}} 
[2026-09-21 16:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:03:18] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:03:18] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:03:41] local.INFO: TCP Data received {"connection_id":190168,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:41] local.INFO: Processing buffer {"connection_id":190168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3825e00012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:03:41] local.INFO: Packet analysis {"connection_id":190168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:03:41] local.INFO: Extracted packet for processing {"connection_id":190168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c382"} 
[2026-09-21 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236465920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789986496000,"timestamp_ms":1789986496000,"timestamp_seconds":1789986496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3825e00"} 
[2026-09-21 16:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 16:03:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236465920001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236465920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236465920001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":190168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:03:41] local.INFO: GPS data processed {"connection_id":190168,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:03:41] local.INFO: Acknowledgment sent {"connection_id":190168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:03:49] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386cad0012d18fe0007214ac80044011d2c..."} 
[2026-09-21 16:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386cad0012d18fe0007214ac80044011d2c..."} 
[2026-09-21 16:03:49] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386cad0012d18fe0007214ac80044011d2c..."} 
[2026-09-21 16:03:49] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:03:49] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756612608,"raw_latitude":119622344,"longitude_deg":75.6612608,"latitude_deg":11.9622344,"altitude":68,"angle":285,"satellites":44,"speed":12,"hex_longitude":"2d18fe00","hex_latitude":"07214ac8","is_valid_coordinates":true} 
[2026-09-21 16:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236616960001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461673935732736,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1801228775338944512,"note":"Value kept but may cause issues"} 
[2026-09-21 16:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986786000,"timestamp_ms":1789986786000,"timestamp_seconds":1789986786,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386cad0"} 
[2026-09-21 16:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 16:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236616960001,"66":14070,"103":206,"83":41984,"24":12,"16":22461673935732736,"45":1801228775338944512},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236616960001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:03:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461673935732736,"km_value":22461673935732.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1801228775338944512,"description":"Unknown IO ID 45"} 
[2026-09-21 16:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236616960001,"power":14070,"unknown_103":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1801228775338944512}} 
[2026-09-21 16:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:03:50] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:03:50] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:04:02] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:02] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:02] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:04:08] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:08] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:04:08] local.INFO: IMEI packet received {"connection_id":191463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":191463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:04:09] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:09] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:09] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:09] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 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-09-21 16:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:04: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-09-21 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-09-21 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-09-21 16:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:04: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-09-21 16:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:04:09] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:04:09] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:04:18] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:18] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:18] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:04:25] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:25] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:04:25] local.INFO: IMEI packet received {"connection_id":188708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:04:25] local.INFO: IMEI acknowledgment sent {"connection_id":188708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:04:26] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386ceb8012d18fcc007214ae0004401092c..."} 
[2026-09-21 16:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386ceb8012d18fcc007214ae0004401092c..."} 
[2026-09-21 16:04:26] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386ceb8012d18fcc007214ae0004401092c..."} 
[2026-09-21 16:04:26] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:26] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":756612288,"raw_latitude":119622368,"longitude_deg":75.6612288,"latitude_deg":11.9622368,"altitude":68,"angle":265,"satellites":44,"speed":13,"hex_longitude":"2d18fcc0","hex_latitude":"07214ae0","is_valid_coordinates":true} 
[2026-09-21 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236617216001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461691115601920,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800876931618097152,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789986787000,"timestamp_ms":1789986787000,"timestamp_seconds":1789986787,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386ceb8"} 
[2026-09-21 16:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:04:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 16:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236617216001,"66":14004,"103":206,"83":41984,"24":13,"16":22461691115601920,"45":1800876931618097152},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236617216001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:04:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:04:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461691115601920,"km_value":22461691115601.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800876931618097152,"description":"Unknown IO ID 45"} 
[2026-09-21 16:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236617216001,"power":14004,"unknown_103":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1800876931618097152}} 
[2026-09-21 16:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:04:26] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:04:26] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:04:26] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386d688012d18fa0007214b00004501172c..."} 
[2026-09-21 16:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386d688012d18fa0007214b00004501172c..."} 
[2026-09-21 16:04:27] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386d688012d18fa0007214b00004501172c..."} 
[2026-09-21 16:04:27] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:27] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756611584,"raw_latitude":119622400,"longitude_deg":75.6611584,"latitude_deg":11.96224,"altitude":69,"angle":279,"satellites":44,"speed":14,"hex_longitude":"2d18fa00","hex_latitude":"07214b00","is_valid_coordinates":true} 
[2026-09-21 16:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236617472001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22461725475340288,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800525087897214976,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789986789000,"timestamp_ms":1789986789000,"timestamp_seconds":1789986789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386d688"} 
[2026-09-21 16:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:04: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-09-21 16: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":180,"data_length":795,"current_offset":136} 
[2026-09-21 16:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236617472001,"66":14048,"103":206,"83":41984,"24":14,"16":22461725475340288,"45":1800525087897214976},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236617472001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:04:27] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22461725475340288,"km_value":22461725475340.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800525087897214976,"description":"Unknown IO ID 45"} 
[2026-09-21 16:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236617472001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1800525087897214976}} 
[2026-09-21 16:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:04:27] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:04:27] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:04:41] local.INFO: TCP Data received {"connection_id":191463,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191463,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:41] local.INFO: Processing buffer {"connection_id":191463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:04:41] local.INFO: Packet analysis {"connection_id":191463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:41] local.INFO: Extracted packet for processing {"connection_id":191463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:04:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:04:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:04:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:04:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:04:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:04:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:04: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-09-21 16: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-09-21 16:04:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:04:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:04:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:04:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:04:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:04:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:04:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:04:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:04:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:04:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:04:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:04:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:04:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:04:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:04:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:04:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:04:41] local.INFO: DEBUG: GPS processor result {"connection_id":191463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:04:41] local.INFO: GPS data processed {"connection_id":191463,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:04:41] local.INFO: Acknowledgment sent {"connection_id":191463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:04:58] local.INFO: TCP Data received {"connection_id":188708,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c387c4d0012d18a0c0072175c80048011b2b..."} 
[2026-09-21 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188708,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c387c4d0012d18a0c0072175c80048011b2b..."} 
[2026-09-21 16:04:58] local.INFO: Processing buffer {"connection_id":188708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c387c4d0012d18a0c0072175c80048011b2b..."} 
[2026-09-21 16:04:58] local.INFO: Packet analysis {"connection_id":188708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:04:58] local.INFO: Extracted packet for processing {"connection_id":188708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756588736,"raw_latitude":119633352,"longitude_deg":75.6588736,"latitude_deg":11.9633352,"altitude":72,"angle":283,"satellites":43,"speed":35,"hex_longitude":"2d18a0c0","hex_latitude":"072175c8","is_valid_coordinates":true} 
[2026-09-21 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236633088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22463039735332864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776458977391138816,"note":"Value kept but may cause issues"} 
[2026-09-21 16:04: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-09-21 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1789986850000,"timestamp_ms":1789986850000,"timestamp_seconds":1789986850,"priority":1,"record_length":96,"hex_timestamp":"000001a0c387c4d0"} 
[2026-09-21 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 16:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":188708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":188708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236633088001,"66":14080,"106":206,"83":41984,"24":35,"16":22463039735332864,"45":1776458977391138816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236633088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:04:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22463039735332864,"km_value":22463039735332.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776458977391138816,"description":"Unknown IO ID 45"} 
[2026-09-21 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236633088001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1776458977391138816}} 
[2026-09-21 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":188708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:04:58] local.INFO: GPS data processed {"connection_id":188708,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:04:58] local.INFO: Acknowledgment sent {"connection_id":188708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:05:03] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:03] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:03] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:05:08] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:08] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:05:08] local.INFO: IMEI packet received {"connection_id":191464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":191464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:05:09] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:09] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:09] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:05:09] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 16:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:05:09] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:05:09] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:05:13] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:13] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:13] local.INFO: IMEI packet received {"connection_id":188709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":188709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:05:16] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:16] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:05:16] local.INFO: IMEI packet received {"connection_id":188709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":188709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:05:17] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c387d088012d18964007217940004801272b..."} 
[2026-09-21 16:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c387d088012d18964007217940004801272b..."} 
[2026-09-21 16:05:17] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c387d088012d18964007217940004801272b..."} 
[2026-09-21 16:05:17] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:17] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756586048,"raw_latitude":119634240,"longitude_deg":75.6586048,"latitude_deg":11.963424,"altitude":72,"angle":295,"satellites":43,"speed":37,"hex_longitude":"2d189640","hex_latitude":"07217940","is_valid_coordinates":true} 
[2026-09-21 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236633600001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22463172879319040,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774629390042646528,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789986853000,"timestamp_ms":1789986853000,"timestamp_seconds":1789986853,"priority":1,"record_length":96,"hex_timestamp":"000001a0c387d088"} 
[2026-09-21 16:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280416864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 16:05:17] local.WARNING: Invalid main input voltage detected {"io_id":246,"raw_value":13462122,"corrected_to":0} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2272958465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":197,"raw_value":2147950931,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485688,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3446669312,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:17] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,206,160,189,45,64,115,72,43,10,66,205,181,192,112,44,161,1,240,246,227,195,33,4,113,9,99,197,239,55,103,2,79,7,70,13],"length":479,"final_offset":609,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":246,"original":13462122,"validated":0}]} 
[2026-09-21 16:05:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5188458117207359488,"timestamp_seconds":5188458117207359.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236633600001,"66":14407,"106":206,"83":41984,"24":37,"16":22463172879319040,"45":1774629390042646528},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236633600001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:05:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22463172879319040,"km_value":22463172879319.04,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774629390042646528,"description":"Unknown IO ID 45"} 
[2026-09-21 16:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236633600001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1774629390042646528}} 
[2026-09-21 16:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:05:17] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:05:17] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:05:18] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c387e410012d188480072180c00048011a2b..."} 
[2026-09-21 16:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c387e410012d188480072180c00048011a2b..."} 
[2026-09-21 16:05:18] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c387e410012d188480072180c00048011a2b..."} 
[2026-09-21 16:05:18] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:18] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756581504,"raw_latitude":119636160,"longitude_deg":75.6581504,"latitude_deg":11.963616,"altitude":72,"angle":282,"satellites":43,"speed":38,"hex_longitude":"2d188480","hex_latitude":"072180c0","is_valid_coordinates":true} 
[2026-09-21 16:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236634368001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22463409102520320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1771673902787411968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986858000,"timestamp_ms":1789986858000,"timestamp_seconds":1789986858,"priority":1,"record_length":96,"hex_timestamp":"000001a0c387e410"} 
[2026-09-21 16:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-09-21 16:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236634368001,"66":14048,"106":206,"83":41984,"24":38,"16":22463409102520320,"45":1771673902787411968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 16:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236634368001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:05:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 16:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22463409102520320,"km_value":22463409102520.32,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1771673902787411968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236634368001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1771673902787411968}} 
[2026-09-21 16:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:05:18] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:05:18] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:05:40] local.INFO: TCP Data received {"connection_id":191464,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:40] local.INFO: Processing buffer {"connection_id":191464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:05:40] local.INFO: Packet analysis {"connection_id":191464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:05:40] local.INFO: Extracted packet for processing {"connection_id":191464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":191464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:05:40] local.INFO: GPS data processed {"connection_id":191464,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:05:40] local.INFO: Acknowledgment sent {"connection_id":191464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:05:45] local.INFO: TCP Data received {"connection_id":191465,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:05:45] local.INFO: Processing buffer {"connection_id":191465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:05:45] local.INFO: IMEI packet received {"connection_id":191465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:05:45] local.INFO: IMEI acknowledgment sent {"connection_id":191465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:05:49] local.INFO: TCP Data received {"connection_id":188709,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c387efc8012d187880072182480049010c2c..."} 
[2026-09-21 16:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c387efc8012d187880072182480049010c2c..."} 
[2026-09-21 16:05:49] local.INFO: Processing buffer {"connection_id":188709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c387efc8012d187880072182480049010c2c..."} 
[2026-09-21 16:05:49] local.INFO: Packet analysis {"connection_id":188709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:49] local.INFO: Extracted packet for processing {"connection_id":188709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c387"} 
[2026-09-21 16:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756578432,"raw_latitude":119636552,"longitude_deg":75.6578432,"latitude_deg":11.9636552,"altitude":73,"angle":268,"satellites":44,"speed":41,"hex_longitude":"2d187880","hex_latitude":"07218248","is_valid_coordinates":true} 
[2026-09-21 16:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236635648001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22463555131408384,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766677721951289344,"note":"Value kept but may cause issues"} 
[2026-09-21 16:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986861000,"timestamp_ms":1789986861000,"timestamp_seconds":1789986861,"priority":1,"record_length":96,"hex_timestamp":"000001a0c387efc8"} 
[2026-09-21 16:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 16:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236635648001,"66":14048,"105":206,"83":41984,"24":41,"16":22463555131408384,"45":1766677721951289344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236635648001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:05:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22463555131408384,"km_value":22463555131408.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766677721951289344,"description":"Unknown IO ID 45"} 
[2026-09-21 16:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236635648001,"power":14048,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1766677721951289344}} 
[2026-09-21 16:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":188709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:05:49] local.INFO: GPS data processed {"connection_id":188709,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:05:49] local.INFO: Acknowledgment sent {"connection_id":188709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:06:02] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:02] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:02] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:06:08] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:08] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:06:08] local.INFO: IMEI packet received {"connection_id":188710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":188710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:06:09] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:09] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:09] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:06:09] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:06:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 16:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:06:09] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:06:09] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:06:13] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: IMEI packet received {"connection_id":190169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":190169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:06:13] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:13] local.INFO: IMEI packet received {"connection_id":190169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:06:13] local.INFO: IMEI acknowledgment sent {"connection_id":190169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:06:14] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:14] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:06:14] local.INFO: IMEI packet received {"connection_id":190169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":190169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:06:15] local.INFO: TCP Data received {"connection_id":190170,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:06:15] local.INFO: Processing buffer {"connection_id":190170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:06:15] local.INFO: IMEI packet received {"connection_id":190170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":190170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:06:15] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c388a760012d1820400721ac30004c001e2d..."} 
[2026-09-21 16:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c388a760012d1820400721ac30004c001e2d..."} 
[2026-09-21 16:06:15] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c388a760012d1820400721ac30004c001e2d..."} 
[2026-09-21 16:06:15] local.INFO: Packet analysis {"connection_id":190169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c388"} 
[2026-09-21 16:06:15] local.INFO: Extracted packet for processing {"connection_id":190169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c388"} 
[2026-09-21 16:06:15] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119647280,"longitude_deg":75.655584,"latitude_deg":11.964728,"altitude":76,"angle":30,"satellites":45,"speed":18,"hex_longitude":"2d182040","hex_latitude":"0721ac30","is_valid_coordinates":true} 
[2026-09-21 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:06:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236647936001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22464852211531776,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561999872,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:06:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789986908000,"timestamp_ms":1789986908000,"timestamp_seconds":1789986908,"priority":1,"record_length":96,"hex_timestamp":"000001a0c388a760"} 
[2026-09-21 16:06:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:06:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:06:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-09-21 16:06:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:06:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:06:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:06:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:06:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:06:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:06:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:06:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:06:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236647936001,"66":13080,"105":206,"83":41984,"24":18,"16":22464852211531776,"45":1738178380561999872},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:06:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:06:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:06:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236647936001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:06:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:06:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:06:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22464852211531776,"km_value":22464852211531.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:06:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561999872,"description":"Unknown IO ID 45"} 
[2026-09-21 16:06:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236647936001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1738178380561999872}} 
[2026-09-21 16:06:15] local.INFO: DEBUG: GPS processor result {"connection_id":190169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877035,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:06:15] local.INFO: GPS data processed {"connection_id":190169,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:06:15] local.INFO: Acknowledgment sent {"connection_id":190169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:06:16] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c388f968012d1824800721b3b8004b001f2a..."} 
[2026-09-21 16:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c388f968012d1824800721b3b8004b001f2a..."} 
[2026-09-21 16:06:16] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c388f968012d1824800721b3b8004b001f2a..."} 
[2026-09-21 16:06:16] local.INFO: Packet analysis {"connection_id":190169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c388"} 
[2026-09-21 16:06:16] local.INFO: Extracted packet for processing {"connection_id":190169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c388"} 
[2026-09-21 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119649208,"longitude_deg":75.6556928,"latitude_deg":11.9649208,"altitude":75,"angle":31,"satellites":42,"speed":0,"hex_longitude":"2d182480","hex_latitude":"0721b3b8","is_valid_coordinates":true} 
[2026-09-21 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236648448001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22464963880681472,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538892800,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789986929000,"timestamp_ms":1789986929000,"timestamp_seconds":1789986929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c388f968"} 
[2026-09-21 16:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:06:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:06:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 16:06:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:06:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236648448001,"66":12863,"105":206,"83":41984,"24":0,"16":22464963880681472,"45":1738459855538892800},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236648448001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:06:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:06:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22464963880681472,"km_value":22464963880681.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538892800,"description":"Unknown IO ID 45"} 
[2026-09-21 16:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236648448001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738459855538892800}} 
[2026-09-21 16:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":190169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:06:16] local.INFO: GPS data processed {"connection_id":190169,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:06:16] local.INFO: Acknowledgment sent {"connection_id":190169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:06:41] local.INFO: TCP Data received {"connection_id":188710,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188710,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:41] local.INFO: Processing buffer {"connection_id":188710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:06:41] local.INFO: Packet analysis {"connection_id":188710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:06:41] local.INFO: Extracted packet for processing {"connection_id":188710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:06: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-09-21 16:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:06: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-09-21 16:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":188710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:06:41] local.INFO: GPS data processed {"connection_id":188710,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:06:41] local.INFO: Acknowledgment sent {"connection_id":188710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:06:47] local.INFO: TCP Data received {"connection_id":190169,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38910d8012d1824400721b4d8004a01372a..."} 
[2026-09-21 16:06:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190169,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38910d8012d1824400721b4d8004a01372a..."} 
[2026-09-21 16:06:47] local.INFO: Processing buffer {"connection_id":190169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38910d8012d1824400721b4d8004a01372a..."} 
[2026-09-21 16:06:47] local.INFO: Packet analysis {"connection_id":190169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:06:47] local.INFO: Extracted packet for processing {"connection_id":190169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:06:47] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119649496,"longitude_deg":75.6556864,"latitude_deg":11.9649496,"altitude":74,"angle":311,"satellites":42,"speed":6,"hex_longitude":"2d182440","hex_latitude":"0721b4d8","is_valid_coordinates":true} 
[2026-09-21 16:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:06:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236653824001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22464976765583360,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190406656,"note":"Value kept but may cause issues"} 
[2026-09-21 16:06:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:06:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789986935000,"timestamp_ms":1789986935000,"timestamp_seconds":1789986935,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38910d8"} 
[2026-09-21 16:06:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:06:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:06:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 16:06:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:06:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:06:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:06:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:06:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:06:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:06:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:06:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:06:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:06:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236653824001,"66":12809,"105":206,"83":41984,"24":6,"16":22464976765583360,"45":1739656124190406656},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:06:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:06:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:06:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236653824001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:06:47] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:06:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:06:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22464976765583360,"km_value":22464976765583.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:06:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190406656,"description":"Unknown IO ID 45"} 
[2026-09-21 16:06:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236653824001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739656124190406656}} 
[2026-09-21 16:06:47] local.INFO: DEBUG: GPS processor result {"connection_id":190169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877038,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:06:47] local.INFO: GPS data processed {"connection_id":190169,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:06:47] local.INFO: Acknowledgment sent {"connection_id":190169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:07:02] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:02] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:02] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:07:08] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:08] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:07:08] local.INFO: IMEI packet received {"connection_id":191466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":191466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:07:08] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:08] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:08] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:07:08] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:07:09] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:07:09] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:07:13] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:13] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:13] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:07:17] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:17] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:07:17] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:07:18] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38914c0012d1823800721b508004b010b2b..."} 
[2026-09-21 16:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38914c0012d1823800721b508004b010b2b..."} 
[2026-09-21 16:07:18] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38914c0012d1823800721b508004b010b2b..."} 
[2026-09-21 16:07:18] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:07:18] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649544,"longitude_deg":75.6556672,"latitude_deg":11.9649544,"altitude":75,"angle":267,"satellites":43,"speed":6,"hex_longitude":"2d182380","hex_latitude":"0721b508","is_valid_coordinates":true} 
[2026-09-21 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236655360001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22464985355517952,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446302720,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986936000,"timestamp_ms":1789986936000,"timestamp_seconds":1789986936,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38914c0"} 
[2026-09-21 16:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280503864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-8612993544806194880,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2811756619,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":143,"raw_value":4026608920,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692838,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3482845184,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2423886578796540458,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":55,"raw_value":1585492925746302547,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:18] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,105,83,24,241,157,16,207,160,249,45,128,179,75,42,10,66,167,64,172,76,159,1,240,187,227,195,33,4,113,205,6,143,30,56,43,239,54,2,79,7,73,55,164,146],"length":535,"final_offset":665,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:07:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5332604087311925248,"timestamp_seconds":5332604087311925.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236655360001,"66":12809,"105":206,"83":41984,"24":6,"16":22464985355517952,"45":1739585755446302720},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236655360001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:07:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22464985355517952,"km_value":22464985355517.953,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446302720,"description":"Unknown IO ID 45"} 
[2026-09-21 16:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236655360001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446302720}} 
[2026-09-21 16:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:07:18] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:07:18] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:07:40] local.INFO: TCP Data received {"connection_id":191466,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191466,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:40] local.INFO: Processing buffer {"connection_id":191466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:07:40] local.INFO: Packet analysis {"connection_id":191466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:07:40] local.INFO: Extracted packet for processing {"connection_id":191466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":191466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:07:40] local.INFO: GPS data processed {"connection_id":191466,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:07:40] local.INFO: Acknowledgment sent {"connection_id":191466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:07:49] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38918a8012d1823000721b4d0004b00e42b..."} 
[2026-09-21 16:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38918a8012d1823000721b4d0004b00e42b..."} 
[2026-09-21 16:07:49] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38918a8012d1823000721b4d0004b00e42b..."} 
[2026-09-21 16:07:49] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:07:49] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649488,"longitude_deg":75.6556544,"latitude_deg":11.9649488,"altitude":75,"angle":228,"satellites":43,"speed":5,"hex_longitude":"2d182300","hex_latitude":"0721b4d0","is_valid_coordinates":true} 
[2026-09-21 16:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236655616001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22464993945452544,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213782016,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986937000,"timestamp_ms":1789986937000,"timestamp_seconds":1789986937,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38918a8"} 
[2026-09-21 16:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":432345564395340800,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":2852126720,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280506864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-8609695009922867264,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2842165323,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":151,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":30,"raw_value":3221692839,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":-6268784824387842477,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3483107328,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424229626424411179,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-21 16:07:49] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,207,160,45,64,180,74,42,10,66,249,128,179,75,167,1,240,227,195,33,4,113,205,12,151,30,152,43,239,54,2,79,7,6,164],"length":535,"final_offset":665,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:07:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404613307133198336,"timestamp_seconds":5404613307133198.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236655616001,"66":12667,"105":206,"83":41984,"24":5,"16":22464993945452544,"45":1739374649213782016},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236655616001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:07:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22464993945452544,"km_value":22464993945452.543,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213782016,"description":"Unknown IO ID 45"} 
[2026-09-21 16:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236655616001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739374649213782016}} 
[2026-09-21 16:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:07:49] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:07:49] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:08:02] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:02] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:02] local.INFO: IMEI packet received {"connection_id":190171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":190171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:08:08] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:08] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:08:08] local.INFO: IMEI packet received {"connection_id":190171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:08:09] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:09] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:09] local.INFO: Packet analysis {"connection_id":190171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:08:09] local.INFO: Extracted packet for processing {"connection_id":190171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":190171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:08:09] local.INFO: GPS data processed {"connection_id":190171,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:08:09] local.INFO: Acknowledgment sent {"connection_id":190171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:08:13] local.INFO: TCP Data received {"connection_id":188711,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:13] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:13] local.INFO: IMEI packet received {"connection_id":188711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:08:13] local.INFO: IMEI acknowledgment sent {"connection_id":188711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:08:17] local.INFO: TCP Data received {"connection_id":188711,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:17] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:08:17] local.INFO: IMEI packet received {"connection_id":188711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:08:18] local.INFO: TCP Data received {"connection_id":188711,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3896ab0012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3896ab0012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:08:18] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3896ab0012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:08:18] local.INFO: Packet analysis {"connection_id":188711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:08:18] local.INFO: Extracted packet for processing {"connection_id":188711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236655872001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725412352,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789986958000,"timestamp_ms":1789986958000,"timestamp_seconds":1789986958,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3896ab0"} 
[2026-09-21 16:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 16:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236655872001,"66":12841,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739233911725412352},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236655872001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:08:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725412352,"description":"Unknown IO ID 45"} 
[2026-09-21 16:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236655872001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725412352}} 
[2026-09-21 16:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":188711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:08:18] local.INFO: GPS data processed {"connection_id":188711,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:08:18] local.INFO: Acknowledgment sent {"connection_id":188711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:08:40] local.INFO: TCP Data received {"connection_id":190171,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190171,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:40] local.INFO: Processing buffer {"connection_id":190171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c386f5c8012d34c14006aa4060000a000c2c..."} 
[2026-09-21 16:08:40] local.INFO: Packet analysis {"connection_id":190171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:08:40] local.INFO: Extracted packet for processing {"connection_id":190171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c386"} 
[2026-09-21 16:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236542976001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789986797000,"timestamp_ms":1789986797000,"timestamp_seconds":1789986797,"priority":1,"record_length":96,"hex_timestamp":"000001a0c386f5c8"} 
[2026-09-21 16:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236542976001,"66":25473,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236542976001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236542976001,"power":25473,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":190171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:08:40] local.INFO: GPS data processed {"connection_id":190171,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:08:40] local.INFO: Acknowledgment sent {"connection_id":190171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:08:49] local.INFO: TCP Data received {"connection_id":188711,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c389bcb8012d1822400721b3a0004b00e42d..."} 
[2026-09-21 16:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c389bcb8012d1822400721b3a0004b00e42d..."} 
[2026-09-21 16:08:49] local.INFO: Processing buffer {"connection_id":188711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c389bcb8012d1822400721b3a0004b00e42d..."} 
[2026-09-21 16:08:49] local.INFO: Packet analysis {"connection_id":188711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:08:49] local.INFO: Extracted packet for processing {"connection_id":188711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c389"} 
[2026-09-21 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":45,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236661248001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789986979000,"timestamp_ms":1789986979000,"timestamp_seconds":1789986979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c389bcb8"} 
[2026-09-21 16:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 16:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236661248001,"66":12841,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236661248001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:08:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236661248001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":188711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:08:49] local.INFO: GPS data processed {"connection_id":188711,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:08:49] local.INFO: Acknowledgment sent {"connection_id":188711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:09:03] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:03] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:03] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:09:08] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:08] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:09:08] local.INFO: IMEI packet received {"connection_id":191467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":191467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:09:09] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:09] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:09] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:09:09] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 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-09-21 16:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:09: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-09-21 16:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:09:09] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:09:09] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:09:12] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:12] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:12] local.INFO: IMEI packet received {"connection_id":190172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":190172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:09:17] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:17] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:09:17] local.INFO: IMEI packet received {"connection_id":190172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":190172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:09:18] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38a0ec0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38a0ec0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:18] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38a0ec0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:18] local.INFO: Packet analysis {"connection_id":190172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:09:18] local.INFO: Extracted packet for processing {"connection_id":190172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236666624001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987000000,"timestamp_ms":1789987000000,"timestamp_seconds":1789987000,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38a0ec0"} 
[2026-09-21 16:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 16:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236666624001,"66":12841,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236666624001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:09:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236666624001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":190172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:09:18] local.INFO: GPS data processed {"connection_id":190172,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:09:18] local.INFO: Acknowledgment sent {"connection_id":190172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:09:41] local.INFO: TCP Data received {"connection_id":191467,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:41] local.INFO: Processing buffer {"connection_id":191467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:09:41] local.INFO: Packet analysis {"connection_id":191467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:09:41] local.INFO: Extracted packet for processing {"connection_id":191467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:09:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:09:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:09:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:09:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:09: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-09-21 16: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-09-21 16:09:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:09:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:09:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:09:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:09:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:09: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-09-21 16:09:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:09:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:09:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:09:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:09:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:09:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:09:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:09:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:09:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:09:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:09:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:09:41] local.INFO: DEBUG: GPS processor result {"connection_id":191467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:09:41] local.INFO: GPS data processed {"connection_id":191467,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:09:41] local.INFO: Acknowledgment sent {"connection_id":191467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:09:49] local.INFO: TCP Data received {"connection_id":190172,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38a60c8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38a60c8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:49] local.INFO: Processing buffer {"connection_id":190172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38a60c8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:09:49] local.INFO: Packet analysis {"connection_id":190172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:09:49] local.INFO: Extracted packet for processing {"connection_id":190172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236672000001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987021000,"timestamp_ms":1789987021000,"timestamp_seconds":1789987021,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38a60c8"} 
[2026-09-21 16:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 16:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236672000001,"66":12841,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236672000001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:09:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236672000001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":190172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:09:49] local.INFO: GPS data processed {"connection_id":190172,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:09:49] local.INFO: Acknowledgment sent {"connection_id":190172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:10:02] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:02] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:02] local.INFO: IMEI packet received {"connection_id":190174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":190174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:10:08] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:08] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:10:08] local.INFO: IMEI packet received {"connection_id":190174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":190174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:10:09] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:09] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:09] local.INFO: Packet analysis {"connection_id":190174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:09] local.INFO: Extracted packet for processing {"connection_id":190174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 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-09-21 16:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:10: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-09-21 16:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":190174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:10:09] local.INFO: GPS data processed {"connection_id":190174,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:10:09] local.INFO: Acknowledgment sent {"connection_id":190174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:10:12] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:12] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:12] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:10:17] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:17] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:10:17] local.INFO: IMEI packet received {"connection_id":188713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:10:18] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38ab2d0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38ab2d0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:10:18] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38ab2d0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:10:18] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:10:18] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38a"} 
[2026-09-21 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236677376001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987042000,"timestamp_ms":1789987042000,"timestamp_seconds":1789987042,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38ab2d0"} 
[2026-09-21 16:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 16:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236677376001,"66":12819,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236677376001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:10:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236677376001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:10:18] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:10:18] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:10:40] local.INFO: TCP Data received {"connection_id":190174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:40] local.INFO: Processing buffer {"connection_id":190174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:10:40] local.INFO: Packet analysis {"connection_id":190174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:40] local.INFO: Extracted packet for processing {"connection_id":190174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":190174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:10:40] local.INFO: GPS data processed {"connection_id":190174,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:10:40] local.INFO: Acknowledgment sent {"connection_id":190174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:10:49] local.INFO: TCP Data received {"connection_id":188713,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b04d8012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b04d8012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:10:49] local.INFO: Processing buffer {"connection_id":188713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b04d8012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:10:49] local.INFO: Packet analysis {"connection_id":188713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:49] local.INFO: Extracted packet for processing {"connection_id":188713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236682752001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987063000,"timestamp_ms":1789987063000,"timestamp_seconds":1789987063,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b04d8"} 
[2026-09-21 16:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2818649368,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280540864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503942415712256,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-8570112591322930112,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3013607499,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3486187520,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428803594812733226,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":50,"raw_value":648744203253239379,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":104,"raw_value":84750513035747763,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.WARNING: Large IO value detected {"io_id":184,"raw_value":21110757101928448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:10:49] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,207,160,96,45,64,179,75,43,10,66,14,188,1,240,41,227,195,33,4,113,205,35,208,239,49,2,79,7,6,50,164,201,69,104,184],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-21 16:10:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404570426179321856,"timestamp_seconds":5404570426179322.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236682752001,"66":12819,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236682752001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:10:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236682752001,"power":12819,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":188713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:10:49] local.INFO: GPS data processed {"connection_id":188713,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:10:49] local.INFO: Acknowledgment sent {"connection_id":188713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:11:03] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:03] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:03] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:11:08] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:08] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:11:08] local.INFO: IMEI packet received {"connection_id":191469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":191469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:11:09] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:09] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:09] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:09] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:11:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:11:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:11:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:11:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:11:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:11:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:11:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:11:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:11:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:11: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-09-21 16:11:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:11:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:11:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:11:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:11:09] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:11:09] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:11:17] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:17] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:17] local.INFO: IMEI packet received {"connection_id":188861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":188861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:11:22] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:22] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:11:22] local.INFO: IMEI packet received {"connection_id":188861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":188861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:11:23] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b56e0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b56e0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:23] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b56e0012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:23] local.INFO: Packet analysis {"connection_id":188861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:23] local.INFO: Extracted packet for processing {"connection_id":188861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236688128001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789987084000,"timestamp_ms":1789987084000,"timestamp_seconds":1789987084,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b56e0"} 
[2026-09-21 16:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3280541864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503942415843328,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-8569013079695154304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3013607499,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6053101786276102400,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667660726741499928,"corrected_to":0} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3486515200,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428856371387632427,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":49,"raw_value":8863309923577024083,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755420916023537,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195014400,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.WARNING: Large IO value detected {"io_id":216,"raw_value":20830484716062208,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:23] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,105,83,24,241,157,16,207,160,178,45,64,179,75,43,10,66,96,14,1,240,41,227,195,33,4,113,205,106,34,42,239,50,2,79,7,5,49,164,203,69,216],"length":625,"final_offset":755,"validated_count":42,"validation_warnings":[{"io_id":205,"original":7667660726741499928,"validated":0}]} 
[2026-09-21 16:11:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404570430474289152,"timestamp_seconds":5404570430474289.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236688128001,"66":12798,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236688128001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:11:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:11:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:11:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236688128001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":188861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:11:23] local.INFO: GPS data processed {"connection_id":188861,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:11:23] local.INFO: Acknowledgment sent {"connection_id":188861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:11:28] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38ba8e8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38ba8e8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:28] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38ba8e8012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:11:28] local.INFO: Packet analysis {"connection_id":188861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:28] local.INFO: Extracted packet for processing {"connection_id":188861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236693504001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789987105000,"timestamp_ms":1789987105000,"timestamp_seconds":1789987105,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38ba8e8"} 
[2026-09-21 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-09-21 16:11: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-09-21 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 16:11: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-09-21 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-09-21 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-09-21 16:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236693504001,"66":12798,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236693504001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:11:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236693504001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":188861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:11:28] local.INFO: GPS data processed {"connection_id":188861,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:11:28] local.INFO: Acknowledgment sent {"connection_id":188861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:11:30] local.INFO: TCP Data received {"connection_id":188862,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:11:30] local.INFO: Processing buffer {"connection_id":188862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:11:30] local.INFO: IMEI packet received {"connection_id":188862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:11:30] local.INFO: IMEI acknowledgment sent {"connection_id":188862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:11:40] local.INFO: TCP Data received {"connection_id":191469,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:40] local.INFO: Processing buffer {"connection_id":191469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:11:40] local.INFO: Packet analysis {"connection_id":191469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:40] local.INFO: Extracted packet for processing {"connection_id":191469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":191469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:11:40] local.INFO: GPS data processed {"connection_id":191469,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:11:40] local.INFO: Acknowledgment sent {"connection_id":191469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:12:02] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:02] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:02] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:12:08] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:08] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:12:08] local.INFO: IMEI packet received {"connection_id":191470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":191470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:12:09] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:09] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:09] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:09] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:12:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:12:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 16:12:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:12:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:12: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-09-21 16:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:12:09] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:12:09] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:12:13] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: IMEI packet received {"connection_id":188714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:12:13] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:13] local.INFO: IMEI packet received {"connection_id":188714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":188714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:12:17] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:17] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:12:17] local.INFO: IMEI packet received {"connection_id":188714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":188714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:12:18] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38bfaf0012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38bfaf0012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:18] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38bfaf0012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:18] local.INFO: Packet analysis {"connection_id":188714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:18] local.INFO: Extracted packet for processing {"connection_id":188714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236698880001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987126000,"timestamp_ms":1789987126000,"timestamp_seconds":1789987126,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38bfaf0"} 
[2026-09-21 16:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-09-21 16:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236698880001,"66":12776,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236698880001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:12:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236698880001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":188714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:12:18] local.INFO: GPS data processed {"connection_id":188714,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:12:18] local.INFO: Acknowledgment sent {"connection_id":188714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:12:20] local.INFO: TCP Data received {"connection_id":188715,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188715,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:12:20] local.INFO: Processing buffer {"connection_id":188715,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:12:20] local.INFO: IMEI packet received {"connection_id":188715,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":188715,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:12:23] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38c4cf8012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38c4cf8012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:12:23] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38c4cf8012d1822400721b3a0004b00e42a..."} 
[2026-09-21 16:12:23] local.INFO: Packet analysis {"connection_id":188714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:12:23] local.INFO: Extracted packet for processing {"connection_id":188714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":42,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236704256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789987147000,"timestamp_ms":1789987147000,"timestamp_seconds":1789987147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38c4cf8"} 
[2026-09-21 16:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16: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-09-21 16: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 16:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236704256001,"66":12776,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236704256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:12:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236704256001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":188714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:12:23] local.INFO: GPS data processed {"connection_id":188714,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:12:23] local.INFO: Acknowledgment sent {"connection_id":188714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:12:40] local.INFO: TCP Data received {"connection_id":191470,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:40] local.INFO: Processing buffer {"connection_id":191470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:12:40] local.INFO: Packet analysis {"connection_id":191470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:40] local.INFO: Extracted packet for processing {"connection_id":191470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":191470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:12:40] local.INFO: GPS data processed {"connection_id":191470,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:12:40] local.INFO: Acknowledgment sent {"connection_id":191470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:12:54] local.INFO: TCP Data received {"connection_id":188714,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38c9f00012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188714,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38c9f00012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:54] local.INFO: Processing buffer {"connection_id":188714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38c9f00012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:12:54] local.INFO: Packet analysis {"connection_id":188714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:12:54] local.INFO: Extracted packet for processing {"connection_id":188714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:12:54] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:12:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236709632001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:12:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:12:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789987168000,"timestamp_ms":1789987168000,"timestamp_seconds":1789987168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38c9f00"} 
[2026-09-21 16:12:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:12: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-09-21 16:12:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 16:12:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:12:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:12:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:12:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:12:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:12:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:12:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:12:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:12:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:12:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236709632001,"66":12776,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:12:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:12:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:12:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236709632001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:12:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:12:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:12:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:12:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:12:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236709632001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:12:54] local.INFO: DEBUG: GPS processor result {"connection_id":188714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:12:54] local.INFO: GPS data processed {"connection_id":188714,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:12:54] local.INFO: Acknowledgment sent {"connection_id":188714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:13:02] local.INFO: TCP Data received {"connection_id":188864,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:02] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:02] local.INFO: IMEI packet received {"connection_id":188864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":188864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:13:08] local.INFO: TCP Data received {"connection_id":188864,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:08] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:13:08] local.INFO: IMEI packet received {"connection_id":188864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":188864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:13:09] local.INFO: TCP Data received {"connection_id":188864,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:09] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:09] local.INFO: Packet analysis {"connection_id":188864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:13:09] local.INFO: Extracted packet for processing {"connection_id":188864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 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-09-21 16:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:13:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":188864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:13:09] local.INFO: GPS data processed {"connection_id":188864,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:13:09] local.INFO: Acknowledgment sent {"connection_id":188864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:13:12] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:12] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:12] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:13:16] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:16] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:13:16] local.INFO: IMEI packet received {"connection_id":188716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":188716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:13:16] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38cf108012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38cf108012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:16] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38cf108012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:16] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:13:16] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38c"} 
[2026-09-21 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236715008001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789987189000,"timestamp_ms":1789987189000,"timestamp_seconds":1789987189,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38cf108"} 
[2026-09-21 16:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:13:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:13:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 16:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:13:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236715008001,"66":12722,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236715008001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236715008001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:13:16] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:13:16] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:13:40] local.INFO: TCP Data received {"connection_id":188864,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188864,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:40] local.INFO: Processing buffer {"connection_id":188864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38b8d90012d34c14006aa40600006000c2c..."} 
[2026-09-21 16:13:40] local.INFO: Packet analysis {"connection_id":188864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:13:40] local.INFO: Extracted packet for processing {"connection_id":188864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38b"} 
[2026-09-21 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236620032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987098000,"timestamp_ms":1789987098000,"timestamp_seconds":1789987098,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38b8d90"} 
[2026-09-21 16:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236620032001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236620032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236620032001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":188864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:13:40] local.INFO: GPS data processed {"connection_id":188864,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:13:40] local.INFO: Acknowledgment sent {"connection_id":188864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:13:48] local.INFO: TCP Data received {"connection_id":188716,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38d4310012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38d4310012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:48] local.INFO: Processing buffer {"connection_id":188716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38d4310012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:13:48] local.INFO: Packet analysis {"connection_id":188716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:13:48] local.INFO: Extracted packet for processing {"connection_id":188716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236720384001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789987210000,"timestamp_ms":1789987210000,"timestamp_seconds":1789987210,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38d4310"} 
[2026-09-21 16:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 16:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236720384001,"66":12722,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236720384001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:13:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236720384001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":188716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877067,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:13:48] local.INFO: GPS data processed {"connection_id":188716,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:13:48] local.INFO: Acknowledgment sent {"connection_id":188716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:14:08] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:08] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:08] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:14:12] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:12] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:12] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:14:13] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:13] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:14:13] local.INFO: IMEI packet received {"connection_id":191471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":191471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:14:13] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:13] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:13] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:14:13] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:14: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-09-21 16:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:14:13] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:14:13] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:14:17] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:17] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:14:17] local.INFO: IMEI packet received {"connection_id":190175,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":190175,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:14:18] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38d9518012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38d9518012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:18] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38d9518012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:18] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:14:18] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236725760001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987231000,"timestamp_ms":1789987231000,"timestamp_seconds":1789987231,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38d9518"} 
[2026-09-21 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 16:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236725760001,"66":12722,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236725760001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236725760001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:14:18] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:14:18] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:14:18] local.INFO: TCP Data received {"connection_id":191471,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:18] local.INFO: Processing buffer {"connection_id":191471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:14:18] local.INFO: Packet analysis {"connection_id":191471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:14:18] local.INFO: Extracted packet for processing {"connection_id":191471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":191471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:14:18] local.INFO: GPS data processed {"connection_id":191471,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:14:18] local.INFO: Acknowledgment sent {"connection_id":191471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:14:49] local.INFO: TCP Data received {"connection_id":190175,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38de720012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190175,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38de720012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:49] local.INFO: Processing buffer {"connection_id":190175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38de720012d1822400721b3a0004b00e42c..."} 
[2026-09-21 16:14:49] local.INFO: Packet analysis {"connection_id":190175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:14:49] local.INFO: Extracted packet for processing {"connection_id":190175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38d"} 
[2026-09-21 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":44,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236731136001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987252000,"timestamp_ms":1789987252000,"timestamp_seconds":1789987252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38de720"} 
[2026-09-21 16:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 16:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190175,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236731136001,"66":12667,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236731136001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:14:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236731136001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":190175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:14:49] local.INFO: GPS data processed {"connection_id":190175,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:14:49] local.INFO: Acknowledgment sent {"connection_id":190175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:15:03] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:03] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:03] local.INFO: IMEI packet received {"connection_id":190176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":190176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:15:08] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:08] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:15:08] local.INFO: IMEI packet received {"connection_id":190176,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":190176,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:15:09] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:09] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:09] local.INFO: Packet analysis {"connection_id":190176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:15:09] local.INFO: Extracted packet for processing {"connection_id":190176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:15: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-09-21 16:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:15:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:15:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":190176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:15:09] local.INFO: GPS data processed {"connection_id":190176,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:15:09] local.INFO: Acknowledgment sent {"connection_id":190176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:15:12] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:12] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:12] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:15:17] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:17] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:15:17] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:15:18] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38e3928012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38e3928012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:18] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38e3928012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:18] local.INFO: Packet analysis {"connection_id":188866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38e"} 
[2026-09-21 16:15:18] local.INFO: Extracted packet for processing {"connection_id":188866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38e"} 
[2026-09-21 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236736512001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987273000,"timestamp_ms":1789987273000,"timestamp_seconds":1789987273,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38e3928"} 
[2026-09-21 16:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 16:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236736512001,"66":12711,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236736512001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:15:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236736512001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:15:18] local.INFO: GPS data processed {"connection_id":188866,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:15:18] local.INFO: Acknowledgment sent {"connection_id":188866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:15:40] local.INFO: TCP Data received {"connection_id":190176,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:40] local.INFO: Processing buffer {"connection_id":190176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:15:40] local.INFO: Packet analysis {"connection_id":190176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:15:40] local.INFO: Extracted packet for processing {"connection_id":190176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190176,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":190176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:15:40] local.INFO: GPS data processed {"connection_id":190176,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:15:40] local.INFO: Acknowledgment sent {"connection_id":190176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:15:50] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c38e8b30012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c38e8b30012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:50] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c38e8b30012d1822400721b3a0004b00e42b..."} 
[2026-09-21 16:15:50] local.INFO: Packet analysis {"connection_id":188866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c38e"} 
[2026-09-21 16:15:50] local.INFO: Extracted packet for processing {"connection_id":188866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c38e"} 
[2026-09-21 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649184,"longitude_deg":75.6556352,"latitude_deg":11.9649184,"altitude":75,"angle":228,"satellites":43,"speed":0,"hex_longitude":"2d182240","hex_latitude":"0721b3a0","is_valid_coordinates":true} 
[2026-09-21 16:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:15:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236741888001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465015420289024,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492801536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:15:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:15:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789987294000,"timestamp_ms":1789987294000,"timestamp_seconds":1789987294,"priority":1,"record_length":96,"hex_timestamp":"000001a0c38e8b30"} 
[2026-09-21 16:15:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:15:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:15:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 16:15:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:15:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:15:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:15:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:15:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:15:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:15:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188866,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:15:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:15:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:15:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:15:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236741888001,"66":12678,"105":206,"83":41984,"24":0,"16":22465015420289024,"45":1739022805492801536},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:15:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:15:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:15:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236741888001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:15:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:15:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:15:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465015420289024,"km_value":22465015420289.023,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:15:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492801536,"description":"Unknown IO ID 45"} 
[2026-09-21 16:15:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236741888001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492801536}} 
[2026-09-21 16:15:50] local.INFO: DEBUG: GPS processor result {"connection_id":188866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:15:50] local.INFO: GPS data processed {"connection_id":188866,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:15:50] local.INFO: Acknowledgment sent {"connection_id":188866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:16:02] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:02] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:02] local.INFO: IMEI packet received {"connection_id":190177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":190177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:16:08] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:08] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:16:08] local.INFO: IMEI packet received {"connection_id":190177,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":190177,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:16:08] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:08] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:08] local.INFO: Packet analysis {"connection_id":190177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:16:08] local.INFO: Extracted packet for processing {"connection_id":190177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 16:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":190177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:16:09] local.INFO: GPS data processed {"connection_id":190177,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:16:09] local.INFO: Acknowledgment sent {"connection_id":190177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:16:12] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:12] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:12] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:16:17] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:17] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:16:17] local.INFO: IMEI packet received {"connection_id":191473,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":191473,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:16:18] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3918cb8012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3918cb8012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:18] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3918cb8012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:18] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c391"} 
[2026-09-21 16:16:18] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c391"} 
[2026-09-21 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236792320001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987491000,"timestamp_ms":1789987491000,"timestamp_seconds":1789987491,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3918cb8"} 
[2026-09-21 16:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 16:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236792320001,"66":12548,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236792320001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:16:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236792320001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:16:18] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:16:18] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:16:40] local.INFO: TCP Data received {"connection_id":190177,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190177,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:40] local.INFO: Processing buffer {"connection_id":190177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:16:40] local.INFO: Packet analysis {"connection_id":190177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:16:40] local.INFO: Extracted packet for processing {"connection_id":190177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190177,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":190177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:16:40] local.INFO: GPS data processed {"connection_id":190177,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:16:40] local.INFO: Acknowledgment sent {"connection_id":190177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:16:50] local.INFO: TCP Data received {"connection_id":191473,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c391dec0012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191473,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c391dec0012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:50] local.INFO: Processing buffer {"connection_id":191473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c391dec0012d181f800721b180004b00c02b..."} 
[2026-09-21 16:16:50] local.INFO: Packet analysis {"connection_id":191473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c391"} 
[2026-09-21 16:16:50] local.INFO: Extracted packet for processing {"connection_id":191473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c391"} 
[2026-09-21 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236797696001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:16:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789987512000,"timestamp_ms":1789987512000,"timestamp_seconds":1789987512,"priority":1,"record_length":96,"hex_timestamp":"000001a0c391dec0"} 
[2026-09-21 16:16:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:16:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:16:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3573547008,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281003864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2429118465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3013607499,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3486515200,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:16:50] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,207,160,58,45,128,177,75,44,10,66,232,209,64,1,240,101,227,195,33,4,113,205,119,34,239,49,2,79,7,106],"length":485,"final_offset":615,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:16:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530843760721920,"timestamp_seconds":5404530843760722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:16:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:16:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:16:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:16:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:16:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191473,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:16:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:16:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:16:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:16:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236797696001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:16:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:16:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:16:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236797696001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:16:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:16:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:16:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:16:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:16:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236797696001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:16:50] local.INFO: DEBUG: GPS processor result {"connection_id":191473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:16:50] local.INFO: GPS data processed {"connection_id":191473,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:16:50] local.INFO: Acknowledgment sent {"connection_id":191473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:17:02] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:02] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:02] local.INFO: IMEI packet received {"connection_id":188718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":188718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:17:08] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:08] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:17:08] local.INFO: IMEI packet received {"connection_id":188718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":188718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:17:09] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:09] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:09] local.INFO: Packet analysis {"connection_id":188718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:17:09] local.INFO: Extracted packet for processing {"connection_id":188718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 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-09-21 16:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:17: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-09-21 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-09-21 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-09-21 16:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:17:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":188718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:17:09] local.INFO: GPS data processed {"connection_id":188718,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:17:09] local.INFO: Acknowledgment sent {"connection_id":188718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:17:15] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:15] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:15] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:17:18] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:18] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:18] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:17:18] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:17:22] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:22] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:17:22] local.INFO: IMEI packet received {"connection_id":188719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":188719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:17:23] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39230c8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39230c8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:23] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39230c8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:23] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:17:23] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236803072001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789987533000,"timestamp_ms":1789987533000,"timestamp_seconds":1789987533,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39230c8"} 
[2026-09-21 16:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:17: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-09-21 16:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281024864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249384789540713376,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2429630465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3000500299,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3486515200,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:23] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,207,160,140,45,128,177,75,43,10,66,58,44,232,1,240,14,227,195,33,4,113,205,2,201,34,239,49,79,7,106,84,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:17:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530843760721920,"timestamp_seconds":5404530843760722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236803072001,"66":12580,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236803072001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:17:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236803072001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:17:23] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:17:23] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:17:27] local.INFO: TCP Data received {"connection_id":188719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39282d0012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39282d0012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:27] local.INFO: Processing buffer {"connection_id":188719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39282d0012d181f800721b180004b00c02c..."} 
[2026-09-21 16:17:27] local.INFO: Packet analysis {"connection_id":188719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:17:27] local.INFO: Extracted packet for processing {"connection_id":188719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236808448001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17: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-09-21 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789987554000,"timestamp_ms":1789987554000,"timestamp_seconds":1789987554,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39282d0"} 
[2026-09-21 16:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:17: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-09-21 16: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":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 16:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236808448001,"66":12591,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236808448001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:17:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236808448001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":188719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:17:28] local.INFO: GPS data processed {"connection_id":188719,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:17:28] local.INFO: Acknowledgment sent {"connection_id":188719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:17:40] local.INFO: TCP Data received {"connection_id":188718,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:40] local.INFO: Processing buffer {"connection_id":188718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:17:40] local.INFO: Packet analysis {"connection_id":188718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:17:40] local.INFO: Extracted packet for processing {"connection_id":188718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:17:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:17:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:17:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:17:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:17:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:17:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:17:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:17:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:17:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:17:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:17:41] local.INFO: DEBUG: GPS processor result {"connection_id":188718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:17:41] local.INFO: GPS data processed {"connection_id":188718,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:17:41] local.INFO: Acknowledgment sent {"connection_id":188718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:17:50] local.INFO: TCP Data received {"connection_id":190178,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190178,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:17:50] local.INFO: Processing buffer {"connection_id":190178,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:17:50] local.INFO: IMEI packet received {"connection_id":190178,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":190178,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:18:02] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:02] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:02] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:18:08] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:08] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:18:08] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:18:08] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:08] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:08] local.INFO: Packet analysis {"connection_id":188867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:18:08] local.INFO: Extracted packet for processing {"connection_id":188867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 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-09-21 16:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":188867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:18:09] local.INFO: GPS data processed {"connection_id":188867,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:18:09] local.INFO: Acknowledgment sent {"connection_id":188867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:18:13] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:13] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:13] local.INFO: IMEI packet received {"connection_id":188720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:18:13] local.INFO: IMEI acknowledgment sent {"connection_id":188720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:18:18] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:18] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:18:18] local.INFO: IMEI packet received {"connection_id":188720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":188720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:18:18] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c392d4d8012d181f800721b180004b00c02d..."} 
[2026-09-21 16:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c392d4d8012d181f800721b180004b00c02d..."} 
[2026-09-21 16:18:18] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c392d4d8012d181f800721b180004b00c02d..."} 
[2026-09-21 16:18:18] local.INFO: Packet analysis {"connection_id":188720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:18:18] local.INFO: Extracted packet for processing {"connection_id":188720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c392"} 
[2026-09-21 16:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236813824001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987575000,"timestamp_ms":1789987575000,"timestamp_seconds":1789987575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c392d4d8"} 
[2026-09-21 16:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 16:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236813824001,"66":12580,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236813824001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:18:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236813824001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:18:19] local.INFO: GPS data processed {"connection_id":188720,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:18:19] local.INFO: Acknowledgment sent {"connection_id":188720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:18:19] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39326e0012d181f800721b180004b00c02e..."} 
[2026-09-21 16:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39326e0012d181f800721b180004b00c02e..."} 
[2026-09-21 16:18:19] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39326e0012d181f800721b180004b00c02e..."} 
[2026-09-21 16:18:19] local.INFO: Packet analysis {"connection_id":188720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:18:19] local.INFO: Extracted packet for processing {"connection_id":188720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236819200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789987596000,"timestamp_ms":1789987596000,"timestamp_seconds":1789987596,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39326e0"} 
[2026-09-21 16:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:18:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-09-21 16:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":767,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236819200001,"66":12515,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236819200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:18:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:18:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236819200001,"power":12515,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":188720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:18:19] local.INFO: GPS data processed {"connection_id":188720,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:18:19] local.INFO: Acknowledgment sent {"connection_id":188720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:18:40] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:40] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3902558012d34c14006aa40600004000c2d..."} 
[2026-09-21 16:18:40] local.INFO: Packet analysis {"connection_id":188867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:18:40] local.INFO: Extracted packet for processing {"connection_id":188867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c390"} 
[2026-09-21 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236697088001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987399000,"timestamp_ms":1789987399000,"timestamp_seconds":1789987399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3902558"} 
[2026-09-21 16:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236697088001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236697088001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236697088001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":188867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:18:40] local.INFO: GPS data processed {"connection_id":188867,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:18:40] local.INFO: Acknowledgment sent {"connection_id":188867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:18:45] local.INFO: TCP Data received {"connection_id":188721,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:18:45] local.INFO: Processing buffer {"connection_id":188721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:18:45] local.INFO: IMEI packet received {"connection_id":188721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:18:45] local.INFO: IMEI acknowledgment sent {"connection_id":188721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:18:51] local.INFO: TCP Data received {"connection_id":188720,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39378e8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39378e8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:18:51] local.INFO: Processing buffer {"connection_id":188720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39378e8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:18:51] local.INFO: Packet analysis {"connection_id":188720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:18:51] local.INFO: Extracted packet for processing {"connection_id":188720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236824576001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:18:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789987617000,"timestamp_ms":1789987617000,"timestamp_seconds":1789987617,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39378e8"} 
[2026-09-21 16:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:18:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 16:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236824576001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236824576001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:18:51] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:18:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236824576001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":188720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:18:51] local.INFO: GPS data processed {"connection_id":188720,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:18:51] local.INFO: Acknowledgment sent {"connection_id":188720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:19:02] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:02] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:02] local.INFO: IMEI packet received {"connection_id":190179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":190179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:19:08] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:08] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:19:08] local.INFO: IMEI packet received {"connection_id":190179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":190179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:19:09] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:09] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:09] local.INFO: Packet analysis {"connection_id":190179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:09] local.INFO: Extracted packet for processing {"connection_id":190179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:19:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:19:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:19:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:19:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:19:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:19:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:19:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:19:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:19:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:19:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:19:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:19:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:19:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:19:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:19:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:19:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:19:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:19:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:19:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:19:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:19:09] local.INFO: DEBUG: GPS processor result {"connection_id":190179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:19:09] local.INFO: GPS data processed {"connection_id":190179,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:19:09] local.INFO: Acknowledgment sent {"connection_id":190179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:19:12] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:12] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:12] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:19:15] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:19:15] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:19:15] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:19:17] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:17] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:19:17] local.INFO: IMEI packet received {"connection_id":188722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":188722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:19:18] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c393caf0012d181f800721b180004b00c02d..."} 
[2026-09-21 16:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c393caf0012d181f800721b180004b00c02d..."} 
[2026-09-21 16:19:18] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c393caf0012d181f800721b180004b00c02d..."} 
[2026-09-21 16:19:18] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:19:18] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c393"} 
[2026-09-21 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236829952001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987638000,"timestamp_ms":1789987638000,"timestamp_seconds":1789987638,"priority":1,"record_length":96,"hex_timestamp":"000001a0c393caf0"} 
[2026-09-21 16:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281095864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2452670465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":222,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,207,160,38,45,128,177,75,46,10,66,212,130,1,240,47,227,195,33,4,113,205,222,31,43,239,49,2,79,7,106,84,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:19:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530848055689216,"timestamp_seconds":5404530848055689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236829952001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236829952001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:19:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236829952001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:19:18] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:19:18] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:19:40] local.INFO: TCP Data received {"connection_id":190179,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190179,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:40] local.INFO: Processing buffer {"connection_id":190179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:19:40] local.INFO: Packet analysis {"connection_id":190179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:40] local.INFO: Extracted packet for processing {"connection_id":190179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":190179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:19:40] local.INFO: GPS data processed {"connection_id":190179,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:19:40] local.INFO: Acknowledgment sent {"connection_id":190179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:19:49] local.INFO: TCP Data received {"connection_id":188722,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3941cf8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3941cf8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:19:49] local.INFO: Processing buffer {"connection_id":188722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3941cf8012d181f800721b180004b00c02c..."} 
[2026-09-21 16:19:49] local.INFO: Packet analysis {"connection_id":188722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:49] local.INFO: Extracted packet for processing {"connection_id":188722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236835328001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987659000,"timestamp_ms":1789987659000,"timestamp_seconds":1789987659,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3941cf8"} 
[2026-09-21 16:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281116864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2458046465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:19:49] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,207,160,120,45,128,177,75,44,10,66,38,46,212,1,240,36,227,195,33,4,113,205,48,31,239,49,2,79,7,106,84,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530852350656512,"timestamp_seconds":5404530852350657.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236835328001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236835328001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:19:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236835328001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":188722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:19:49] local.INFO: GPS data processed {"connection_id":188722,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:19:49] local.INFO: Acknowledgment sent {"connection_id":188722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:20:02] local.INFO: TCP Data received {"connection_id":191475,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:02] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:02] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:20:08] local.INFO: TCP Data received {"connection_id":191475,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:08] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:20:08] local.INFO: IMEI packet received {"connection_id":191475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":191475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:20:08] local.INFO: TCP Data received {"connection_id":191475,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:08] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:08] local.INFO: Packet analysis {"connection_id":191475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:08] local.INFO: Extracted packet for processing {"connection_id":191475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":191475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:20:08] local.INFO: GPS data processed {"connection_id":191475,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:20:08] local.INFO: Acknowledgment sent {"connection_id":191475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:20:12] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:12] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:12] local.INFO: IMEI packet received {"connection_id":188723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":188723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:20:17] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:17] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:20:17] local.INFO: IMEI packet received {"connection_id":188723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":188723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:20:18] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3946f00012d181f800721b180004b00c02b..."} 
[2026-09-21 16:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3946f00012d181f800721b180004b00c02b..."} 
[2026-09-21 16:20:18] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3946f00012d181f800721b180004b00c02b..."} 
[2026-09-21 16:20:18] local.INFO: Packet analysis {"connection_id":188723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:18] local.INFO: Extracted packet for processing {"connection_id":188723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":43,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236840704001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987680000,"timestamp_ms":1789987680000,"timestamp_seconds":1789987680,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3946f00"} 
[2026-09-21 16:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281137864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2463422465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,207,160,202,45,128,177,75,10,66,120,44,38,1,240,227,195,33,4,113,205,130,31,239,49,2,79,7,106,84,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:20:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530848055689216,"timestamp_seconds":5404530848055689.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236840704001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236840704001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:20:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236840704001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":188723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:20:18] local.INFO: GPS data processed {"connection_id":188723,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:20:18] local.INFO: Acknowledgment sent {"connection_id":188723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:20:40] local.INFO: TCP Data received {"connection_id":191475,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191475,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:40] local.INFO: Processing buffer {"connection_id":191475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:20:40] local.INFO: Packet analysis {"connection_id":191475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:40] local.INFO: Extracted packet for processing {"connection_id":191475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":191475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:20:40] local.INFO: GPS data processed {"connection_id":191475,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:20:40] local.INFO: Acknowledgment sent {"connection_id":191475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:20:50] local.INFO: TCP Data received {"connection_id":188723,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394c108012d181f800721b180004b00c02d..."} 
[2026-09-21 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394c108012d181f800721b180004b00c02d..."} 
[2026-09-21 16:20:50] local.INFO: Processing buffer {"connection_id":188723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394c108012d181f800721b180004b00c02d..."} 
[2026-09-21 16:20:50] local.INFO: Packet analysis {"connection_id":188723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:50] local.INFO: Extracted packet for processing {"connection_id":188723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236846080001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789987701000,"timestamp_ms":1789987701000,"timestamp_seconds":1789987701,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394c108"} 
[2026-09-21 16:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281158864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":61441,"corrected_to":0} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2468798465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":212,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:20:50] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,207,160,28,45,128,177,75,44,10,66,202,120,1,240,14,227,195,33,4,113,205,212,31,239,49,2,79,7,106,84,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":202,"original":61441,"validated":0},{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:20:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530843760721920,"timestamp_seconds":5404530843760722.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:20:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236846080001,"66":12537,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236846080001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:20:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236846080001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":188723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:20:50] local.INFO: GPS data processed {"connection_id":188723,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:20:50] local.INFO: Acknowledgment sent {"connection_id":188723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:21:04] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:04] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:04] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:21:08] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:08] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:21:08] local.INFO: IMEI packet received {"connection_id":188724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":188724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:21:09] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:09] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:09] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:21:09] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877097,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:21:09] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:21:09] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:21:12] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:12] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:12] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:21:17] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:17] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:21:17] local.INFO: IMEI packet received {"connection_id":188725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":188725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:21:18] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3951310012d181f800721b180004b00c02d..."} 
[2026-09-21 16:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3951310012d181f800721b180004b00c02d..."} 
[2026-09-21 16:21:18] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3951310012d181f800721b180004b00c02d..."} 
[2026-09-21 16:21:18] local.INFO: Packet analysis {"connection_id":188725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:21:18] local.INFO: Extracted packet for processing {"connection_id":188725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851456001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987722000,"timestamp_ms":1789987722000,"timestamp_seconds":1789987722,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3951310"} 
[2026-09-21 16:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 16:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851456001,"66":12504,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851456001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:21:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851456001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":188725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:21:18] local.INFO: GPS data processed {"connection_id":188725,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:21:18] local.INFO: Acknowledgment sent {"connection_id":188725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:21:40] local.INFO: TCP Data received {"connection_id":188724,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188724,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:40] local.INFO: Processing buffer {"connection_id":188724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:21:40] local.INFO: Packet analysis {"connection_id":188724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:21:40] local.INFO: Extracted packet for processing {"connection_id":188724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:21:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:21:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":188724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:21:40] local.INFO: GPS data processed {"connection_id":188724,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:21:40] local.INFO: Acknowledgment sent {"connection_id":188724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:21:49] local.INFO: TCP Data received {"connection_id":188725,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3956518012d181f800721b180004b00c02e..."} 
[2026-09-21 16:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3956518012d181f800721b180004b00c02e..."} 
[2026-09-21 16:21:49] local.INFO: Processing buffer {"connection_id":188725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3956518012d181f800721b180004b00c02e..."} 
[2026-09-21 16:21:49] local.INFO: Packet analysis {"connection_id":188725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:21:49] local.INFO: Extracted packet for processing {"connection_id":188725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":46,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236856832001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987743000,"timestamp_ms":1789987743000,"timestamp_seconds":1789987743,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3956518"} 
[2026-09-21 16:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 16:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236856832001,"66":12558,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236856832001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:21:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236856832001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":188725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:21:49] local.INFO: GPS data processed {"connection_id":188725,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:21:49] local.INFO: Acknowledgment sent {"connection_id":188725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:22:02] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:02] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:02] local.INFO: IMEI packet received {"connection_id":188869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":188869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:22:08] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:08] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:22:08] local.INFO: IMEI packet received {"connection_id":188869,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188869,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:22:08] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:08] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:08] local.INFO: Packet analysis {"connection_id":188869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:22:08] local.INFO: Extracted packet for processing {"connection_id":188869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 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-09-21 16:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 16:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":188869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:22:08] local.INFO: GPS data processed {"connection_id":188869,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:22:08] local.INFO: Acknowledgment sent {"connection_id":188869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:22:12] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:12] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:12] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:22:17] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:17] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:22:17] local.INFO: IMEI packet received {"connection_id":190182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":190182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:22:18] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c395b720012d181f800721b180004b00c02c..."} 
[2026-09-21 16:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c395b720012d181f800721b180004b00c02c..."} 
[2026-09-21 16:22:18] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c395b720012d181f800721b180004b00c02c..."} 
[2026-09-21 16:22:18] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:22:18] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c395"} 
[2026-09-21 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":44,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236862208001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987764000,"timestamp_ms":1789987764000,"timestamp_seconds":1789987764,"priority":1,"record_length":96,"hex_timestamp":"000001a0c395b720"} 
[2026-09-21 16:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281221864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249381765883736448,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2484926465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:22:18] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":4026608920,"corrected_to":0} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,207,160,19,45,128,177,75,10,66,193,111,1,240,14,227,195,33,4,113,205,202,31,239,49,2,79,7,106,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0},{"io_id":202,"original":4026608920,"validated":0}]} 
[2026-09-21 16:22:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5404530856645623808,"timestamp_seconds":5404530856645624.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236862208001,"66":12526,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236862208001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:22:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236862208001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:22:18] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:22:18] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:22:40] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:40] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:22:40] local.INFO: Packet analysis {"connection_id":188869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:22:40] local.INFO: Extracted packet for processing {"connection_id":188869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188869,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":188869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:22:40] local.INFO: GPS data processed {"connection_id":188869,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:22:40] local.INFO: Acknowledgment sent {"connection_id":188869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:22:50] local.INFO: TCP Data received {"connection_id":190182,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3960928012d181f800721b180004b00c02d..."} 
[2026-09-21 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3960928012d181f800721b180004b00c02d..."} 
[2026-09-21 16:22:50] local.INFO: Processing buffer {"connection_id":190182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3960928012d181f800721b180004b00c02d..."} 
[2026-09-21 16:22:50] local.INFO: Packet analysis {"connection_id":190182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:22:50] local.INFO: Extracted packet for processing {"connection_id":190182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648640,"longitude_deg":75.6555648,"latitude_deg":11.964864,"altitude":75,"angle":192,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b180","is_valid_coordinates":true} 
[2026-09-21 16:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:22:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236867584001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465062664929280,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:22:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:22:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789987785000,"timestamp_ms":1789987785000,"timestamp_seconds":1789987785,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3960928"} 
[2026-09-21 16:22:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:22:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:22:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 16:22:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:22:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:22:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:22:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:22:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:22:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:22:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:22:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:22:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:22:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:22:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236867584001,"66":12526,"105":206,"83":41984,"24":0,"16":22465062664929280,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:22:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:22:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:22:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236867584001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:22:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:22:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:22:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465062664929280,"km_value":22465062664929.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:22:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:22:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236867584001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:22:50] local.INFO: DEBUG: GPS processor result {"connection_id":190182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:22:50] local.INFO: GPS data processed {"connection_id":190182,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:22:50] local.INFO: Acknowledgment sent {"connection_id":190182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:23:02] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:02] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:02] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:23:08] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:08] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:23:08] local.INFO: IMEI packet received {"connection_id":188727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:23:08] local.INFO: IMEI acknowledgment sent {"connection_id":188727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:23:09] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:09] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:09] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:23:09] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:23:09] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:23:09] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:23:12] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:12] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:12] local.INFO: IMEI packet received {"connection_id":190183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":190183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:23:17] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:17] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:23:17] local.INFO: IMEI packet received {"connection_id":190183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":190183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:23:18] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3963bf0012d181e400721af68004f00d52c..."} 
[2026-09-21 16:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3963bf0012d181e400721af68004f00d52c..."} 
[2026-09-21 16:23:18] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3963bf0012d181e400721af68004f00d52c..."} 
[2026-09-21 16:23:18] local.INFO: Packet analysis {"connection_id":190183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:23:18] local.INFO: Extracted packet for processing {"connection_id":190183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119648104,"longitude_deg":75.6555328,"latitude_deg":11.9648104,"altitude":79,"angle":213,"satellites":44,"speed":2,"hex_longitude":"2d181e40","hex_latitude":"0721af68","is_valid_coordinates":true} 
[2026-09-21 16:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236872960001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465088434733056,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738248749306707968,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789987798000,"timestamp_ms":1789987798000,"timestamp_seconds":1789987798,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3963bf0"} 
[2026-09-21 16:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 16:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236872960001,"66":12548,"105":206,"83":41984,"24":2,"16":22465088434733056,"45":1738248749306707968},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236872960001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:23:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465088434733056,"km_value":22465088434733.055,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738248749306707968,"description":"Unknown IO ID 45"} 
[2026-09-21 16:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236872960001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738248749306707968}} 
[2026-09-21 16:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":190183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:23:18] local.INFO: GPS data processed {"connection_id":190183,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:23:18] local.INFO: Acknowledgment sent {"connection_id":190183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:23:41] local.INFO: TCP Data received {"connection_id":188727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:41] local.INFO: Processing buffer {"connection_id":188727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c394bd20012d34c14006aa40600006000c2d..."} 
[2026-09-21 16:23:41] local.INFO: Packet analysis {"connection_id":188727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:23:41] local.INFO: Extracted packet for processing {"connection_id":188727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c394"} 
[2026-09-21 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:23:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236774144001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:23:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789987700000,"timestamp_ms":1789987700000,"timestamp_seconds":1789987700,"priority":1,"record_length":96,"hex_timestamp":"000001a0c394bd20"} 
[2026-09-21 16:23:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:23:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:23:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:23: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-09-21 16: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-09-21 16:23:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:23:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:23:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:23:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:23:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:23: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-09-21 16:23:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:23:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:23:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236774144001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:23:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:23:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:23:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236774144001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:23:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:23:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:23:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:23:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:23:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236774144001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:23:41] local.INFO: DEBUG: GPS processor result {"connection_id":188727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:23:41] local.INFO: GPS data processed {"connection_id":188727,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:23:41] local.INFO: Acknowledgment sent {"connection_id":188727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:23:49] local.INFO: TCP Data received {"connection_id":190183,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3968df8012d181dc00721ae30004e00d72a..."} 
[2026-09-21 16:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190183,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3968df8012d181dc00721ae30004e00d72a..."} 
[2026-09-21 16:23:49] local.INFO: Processing buffer {"connection_id":190183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3968df8012d181dc00721ae30004e00d72a..."} 
[2026-09-21 16:23:49] local.INFO: Packet analysis {"connection_id":190183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:23:49] local.INFO: Extracted packet for processing {"connection_id":190183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647792,"longitude_deg":75.65552,"latitude_deg":11.9647792,"altitude":78,"angle":215,"satellites":42,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-09-21 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236876288001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465109909569536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585682432,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789987819000,"timestamp_ms":1789987819000,"timestamp_seconds":1789987819,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3968df8"} 
[2026-09-21 16:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3674210304,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3281284864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184197685453,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2501054465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2977955915,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2147951025,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":4177579370,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3487236096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:23:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,207,160,9,45,128,177,75,10,66,183,44,101,1,240,14,227,195,33,4,113,205,193,31,239,48,2,79,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 16:23:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692784313951715328,"timestamp_seconds":5692784313951715.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236876288001,"66":12287,"107":206,"83":41984,"24":0,"16":22465109909569536,"45":1737896905585682432},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 16:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236876288001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:23:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 16:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465109909569536,"km_value":22465109909569.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585682432,"description":"Unknown IO ID 45"} 
[2026-09-21 16:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236876288001,"power":12287,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585682432}} 
[2026-09-21 16:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":190183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:23:49] local.INFO: GPS data processed {"connection_id":190183,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:23:49] local.INFO: Acknowledgment sent {"connection_id":190183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:24:02] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:02] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:02] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:24:08] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:08] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:24:08] local.INFO: IMEI packet received {"connection_id":191476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":191476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:24:09] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:09] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:09] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:24:09] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:24: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-09-21 16:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:24: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-09-21 16:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:24:09] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:24:09] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:24:13] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:13] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:13] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:24:13] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:24:15] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:15] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:15] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:24:18] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:18] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:18] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:24:20] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:24:20] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:24:20] local.INFO: IMEI packet received {"connection_id":188870,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":188870,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:24:23] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:23] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:24:23] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:24:23] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:24:24] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c396e000012d181dc00721ae30004e00d72c..."} 
[2026-09-21 16:24:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c396e000012d181dc00721ae30004e00d72c..."} 
[2026-09-21 16:24:24] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c396e000012d181dc00721ae30004e00d72c..."} 
[2026-09-21 16:24:24] local.INFO: Packet analysis {"connection_id":188871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:24:24] local.INFO: Extracted packet for processing {"connection_id":188871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c396"} 
[2026-09-21 16:24:24] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647792,"longitude_deg":75.65552,"latitude_deg":11.9647792,"altitude":78,"angle":215,"satellites":44,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-09-21 16:24:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:24:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236881664001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465109909569536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097247232,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:24:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789987840000,"timestamp_ms":1789987840000,"timestamp_seconds":1789987840,"priority":1,"record_length":96,"hex_timestamp":"000001a0c396e000"} 
[2026-09-21 16:24:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:24: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-09-21 16: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 16:24: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-09-21 16: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-09-21 16:24:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:24:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:24:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:24:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:24:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:24:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:24:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:24:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:24:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236881664001,"66":12504,"107":206,"83":41984,"24":0,"16":22465109909569536,"45":1737756168097247232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 16:24:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:24:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:24:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236881664001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:24:24] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 16:24:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:24:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465109909569536,"km_value":22465109909569.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:24:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097247232,"description":"Unknown IO ID 45"} 
[2026-09-21 16:24:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236881664001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097247232}} 
[2026-09-21 16:24:24] local.INFO: DEBUG: GPS processor result {"connection_id":188871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:24:24] local.INFO: GPS data processed {"connection_id":188871,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:24:24] local.INFO: Acknowledgment sent {"connection_id":188871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:24:28] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3973208012d181dc00721ae30004e00d72f..."} 
[2026-09-21 16:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3973208012d181dc00721ae30004e00d72f..."} 
[2026-09-21 16:24:28] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3973208012d181dc00721ae30004e00d72f..."} 
[2026-09-21 16:24:28] local.INFO: Packet analysis {"connection_id":188871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c397"} 
[2026-09-21 16:24:28] local.INFO: Extracted packet for processing {"connection_id":188871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c397"} 
[2026-09-21 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119647792,"longitude_deg":75.65552,"latitude_deg":11.9647792,"altitude":78,"angle":215,"satellites":47,"speed":0,"hex_longitude":"2d181dc0","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236887040001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465109909569536,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097247232,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24: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-09-21 16:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789987861000,"timestamp_ms":1789987861000,"timestamp_seconds":1789987861,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3973208"} 
[2026-09-21 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-09-21 16:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":216,"data_length":795,"current_offset":136} 
[2026-09-21 16:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":188871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":188871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":188871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236887040001,"66":12461,"107":206,"83":41984,"24":0,"16":22465109909569536,"45":1737756168097247232},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 16:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236887040001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465109909569536,"km_value":22465109909569.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097247232,"description":"Unknown IO ID 45"} 
[2026-09-21 16:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236887040001,"power":12461,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097247232}} 
[2026-09-21 16:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":188871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:24:28] local.INFO: GPS data processed {"connection_id":188871,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:24:28] local.INFO: Acknowledgment sent {"connection_id":188871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:24:40] local.INFO: TCP Data received {"connection_id":191476,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:40] local.INFO: Processing buffer {"connection_id":191476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:24:40] local.INFO: Packet analysis {"connection_id":191476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:24:40] local.INFO: Extracted packet for processing {"connection_id":191476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:24: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-09-21 16:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":191476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:24:40] local.INFO: GPS data processed {"connection_id":191476,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:24:40] local.INFO: Acknowledgment sent {"connection_id":191476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:25:03] local.INFO: TCP Data received {"connection_id":188872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:03] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:03] local.INFO: IMEI packet received {"connection_id":188872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":188872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:25:08] local.INFO: TCP Data received {"connection_id":188872,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:08] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:25:08] local.INFO: IMEI packet received {"connection_id":188872,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:25:08] local.INFO: IMEI acknowledgment sent {"connection_id":188872,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:25:10] local.INFO: TCP Data received {"connection_id":188872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:10] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:10] local.INFO: Packet analysis {"connection_id":188872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:10] local.INFO: Extracted packet for processing {"connection_id":188872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:25: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-09-21 16:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:25:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:25:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:25:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":188872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:25:10] local.INFO: GPS data processed {"connection_id":188872,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:25:10] local.INFO: Acknowledgment sent {"connection_id":188872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:25:12] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:25:12] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:12] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:25:17] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:17] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:25:17] local.INFO: IMEI packet received {"connection_id":190185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":190185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:25:17] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c399e188012d181fc00721a6b8004b00842c..."} 
[2026-09-21 16:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c399e188012d181fc00721a6b8004b00842c..."} 
[2026-09-21 16:25:17] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c399e188012d181fc00721a6b8004b00842c..."} 
[2026-09-21 16:25:17] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:17] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119645880,"longitude_deg":75.6555712,"latitude_deg":11.964588,"altitude":75,"angle":132,"satellites":44,"speed":3,"hex_longitude":"2d181fc0","hex_latitude":"0721a6b8","is_valid_coordinates":true} 
[2026-09-21 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236932352001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22465221578719232,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864452096,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789988037000,"timestamp_ms":1789988037000,"timestamp_seconds":1789988037,"priority":1,"record_length":96,"hex_timestamp":"000001a0c399e188"} 
[2026-09-21 16:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-21 16:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:25:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236932352001,"66":14211,"105":206,"83":41984,"24":3,"16":22465221578719232,"45":1737545061864452096},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 16:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236932352001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:25:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 16:25:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22465221578719232,"km_value":22465221578719.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864452096,"description":"Unknown IO ID 45"} 
[2026-09-21 16:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236932352001,"power":14211,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737545061864452096}} 
[2026-09-21 16:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:25:17] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:25:17] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:25:41] local.INFO: TCP Data received {"connection_id":188872,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:41] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:25:41] local.INFO: Packet analysis {"connection_id":188872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:41] local.INFO: Extracted packet for processing {"connection_id":188872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:25:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25: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-09-21 16:25:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:25:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:25:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:25:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:25: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-09-21 16:25:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:25:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:25:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:25:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:25:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:25:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188872,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:25: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-09-21 16:25:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:25:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:25:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:25:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:25:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:25:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:25:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:25:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:25:41] local.INFO: DEBUG: GPS processor result {"connection_id":188872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:25:41] local.INFO: GPS data processed {"connection_id":188872,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:25:41] local.INFO: Acknowledgment sent {"connection_id":188872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:25:48] local.INFO: TCP Data received {"connection_id":190185,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39ac800012d18c4c007214de0004500a92b..."} 
[2026-09-21 16:25:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39ac800012d18c4c007214de0004500a92b..."} 
[2026-09-21 16:25:48] local.INFO: Processing buffer {"connection_id":190185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39ac800012d18c4c007214de0004500a92b..."} 
[2026-09-21 16:25:48] local.INFO: Packet analysis {"connection_id":190185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:25:48] local.INFO: Extracted packet for processing {"connection_id":190185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119623136,"longitude_deg":75.6597952,"latitude_deg":11.9623136,"altitude":69,"angle":169,"satellites":43,"speed":38,"hex_longitude":"2d18c4c0","hex_latitude":"07214de0","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:25:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236952064001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22467631055372288,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784129170504482816,"note":"Value kept but may cause issues"} 
[2026-09-21 16:25:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:25:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789988096000,"timestamp_ms":1789988096000,"timestamp_seconds":1789988096,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39ac800"} 
[2026-09-21 16:25:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:25:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-21 16:25:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:25:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:25:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:25:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:25:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:25:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:25:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:25:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:25:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:25:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236952064001,"66":14298,"103":206,"83":41984,"24":38,"16":22467631055372288,"45":1784129170504482816},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:25:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:25:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:25:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236952064001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:25:48] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:25:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:25:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22467631055372288,"km_value":22467631055372.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:25:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784129170504482816,"description":"Unknown IO ID 45"} 
[2026-09-21 16:25:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236952064001,"power":14298,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1784129170504482816}} 
[2026-09-21 16:25:48] local.INFO: DEBUG: GPS processor result {"connection_id":190185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:25:48] local.INFO: GPS data processed {"connection_id":190185,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:25:48] local.INFO: Acknowledgment sent {"connection_id":190185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:26:02] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:02] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:02] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:26:08] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:08] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:26:08] local.INFO: IMEI packet received {"connection_id":191477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:26:08] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:08] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:08] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:26:09] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:09] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:09] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:26:09] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:26: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-09-21 16:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:26:09] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:26:09] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:26:13] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:26:13] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:26:13] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:26:14] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39adb88012d18c80007213ae80044009c2b..."} 
[2026-09-21 16:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39adb88012d18c80007213ae80044009c2b..."} 
[2026-09-21 16:26:14] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39adb88012d18c80007213ae80044009c2b..."} 
[2026-09-21 16:26:14] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:26:14] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":756598784,"raw_latitude":119618280,"longitude_deg":75.6598784,"latitude_deg":11.961828,"altitude":68,"angle":156,"satellites":43,"speed":39,"hex_longitude":"2d18c800","hex_latitude":"07213ae8","is_valid_coordinates":true} 
[2026-09-21 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236952576001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22467871573540864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784762489201614848,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789988101000,"timestamp_ms":1789988101000,"timestamp_seconds":1789988101,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39adb88"} 
[2026-09-21 16:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-09-21 16:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236952576001,"66":14396,"103":206,"83":41984,"24":39,"16":22467871573540864,"45":1784762489201614848},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236952576001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:26:14] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:26:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22467871573540864,"km_value":22467871573540.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784762489201614848,"description":"Unknown IO ID 45"} 
[2026-09-21 16:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236952576001,"power":14396,"unknown_103":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1784762489201614848}} 
[2026-09-21 16:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:26:14] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:26:14] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:26:40] local.INFO: TCP Data received {"connection_id":191477,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191477,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:40] local.INFO: Processing buffer {"connection_id":191477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:26:40] local.INFO: Packet analysis {"connection_id":191477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:26:40] local.INFO: Extracted packet for processing {"connection_id":191477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":191477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:26:40] local.INFO: GPS data processed {"connection_id":191477,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:26:40] local.INFO: Acknowledgment sent {"connection_id":191477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:26:45] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39af6e0012d18d38007212320004200ac2a..."} 
[2026-09-21 16:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39af6e0012d18d38007212320004200ac2a..."} 
[2026-09-21 16:26:45] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39af6e0012d18d38007212320004200ac2a..."} 
[2026-09-21 16:26:45] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:26:45] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39a"} 
[2026-09-21 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":756601728,"raw_latitude":119612192,"longitude_deg":75.6601728,"latitude_deg":11.9612192,"altitude":66,"angle":172,"satellites":42,"speed":38,"hex_longitude":"2d18d380","hex_latitude":"07212320","is_valid_coordinates":true} 
[2026-09-21 16:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236953856001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22468197991055360,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1785677282874681344,"note":"Value kept but may cause issues"} 
[2026-09-21 16:26:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789988108000,"timestamp_ms":1789988108000,"timestamp_seconds":1789988108,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39af6e0"} 
[2026-09-21 16:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 16:26:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:26:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236953856001,"66":14211,"103":206,"83":41984,"24":38,"16":22468197991055360,"45":1785677282874681344},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236953856001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:26:45] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:26:45] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22468197991055360,"km_value":22468197991055.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1785677282874681344,"description":"Unknown IO ID 45"} 
[2026-09-21 16:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236953856001,"power":14211,"unknown_103":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1785677282874681344}} 
[2026-09-21 16:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877120,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:26:45] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:26:45] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:27:02] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:02] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:02] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:27:08] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:08] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:27:08] local.INFO: IMEI packet received {"connection_id":188729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:27:09] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:09] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:09] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:27:09] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:27: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-09-21 16:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:27:09] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:27:09] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:27:10] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:10] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:10] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:27:13] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:13] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:13] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:27:16] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:16] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:16] local.INFO: IMEI packet received {"connection_id":188730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":188730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:27:16] local.INFO: TCP Data received {"connection_id":188730,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39be910012d198b000720b5000031002a23..."} 
[2026-09-21 16:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39be910012d198b000720b5000031002a23..."} 
[2026-09-21 16:27:16] local.INFO: Processing buffer {"connection_id":188730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39be910012d198b000720b5000031002a23..."} 
[2026-09-21 16:27:16] local.INFO: Packet analysis {"connection_id":188730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39b"} 
[2026-09-21 16:27:16] local.INFO: Extracted packet for processing {"connection_id":188730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39b"} 
[2026-09-21 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756648704,"raw_latitude":119584000,"longitude_deg":75.6648704,"latitude_deg":11.9584,"altitude":49,"angle":42,"satellites":35,"speed":11,"hex_longitude":"2d198b00","hex_latitude":"0720b500","is_valid_coordinates":true} 
[2026-09-21 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236971264001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22471234532933632,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840353797091891200,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789988170000,"timestamp_ms":1789988170000,"timestamp_seconds":1789988170,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39be910"} 
[2026-09-21 16:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:27:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 16:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:27:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236971264001,"66":14428,"103":206,"83":41984,"24":11,"16":22471234532933632,"45":1840353797091891200},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236971264001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:27:16] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:27:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22471234532933632,"km_value":22471234532933.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840353797091891200,"description":"Unknown IO ID 45"} 
[2026-09-21 16:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236971264001,"power":14428,"unknown_103":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1840353797091891200}} 
[2026-09-21 16:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":188730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877122,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:27:17] local.INFO: GPS data processed {"connection_id":188730,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:27:17] local.INFO: Acknowledgment sent {"connection_id":188730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:27:41] local.INFO: TCP Data received {"connection_id":188729,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:41] local.INFO: Processing buffer {"connection_id":188729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:27:41] local.INFO: Packet analysis {"connection_id":188729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:27:41] local.INFO: Extracted packet for processing {"connection_id":188729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:27:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:27: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-09-21 16:27:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:27:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:27:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:27:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:27: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-09-21 16:27:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:27:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:27:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:27:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:27:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:27:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:27:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:27:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:27:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:27:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:27:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:27:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:27:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:27:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:27:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:27:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:27:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:27:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:27:41] local.INFO: DEBUG: GPS processor result {"connection_id":188729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:27:41] local.INFO: GPS data processed {"connection_id":188729,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:27:41] local.INFO: Acknowledgment sent {"connection_id":188729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:27:50] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:50] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:50] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:27:52] local.INFO: TCP Data received {"connection_id":188731,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188731,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:52] local.INFO: Processing buffer {"connection_id":188731,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:27:52] local.INFO: IMEI packet received {"connection_id":188731,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":188731,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:28:02] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:02] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:02] local.INFO: IMEI packet received {"connection_id":188875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:28:08] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:08] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:28:08] local.INFO: IMEI packet received {"connection_id":188875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:28:08] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:08] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:08] local.INFO: Packet analysis {"connection_id":188875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:28:08] local.INFO: Extracted packet for processing {"connection_id":188875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":188875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:28:08] local.INFO: GPS data processed {"connection_id":188875,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:28:08] local.INFO: Acknowledgment sent {"connection_id":188875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:28:20] local.INFO: TCP Data received {"connection_id":190186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:20] local.INFO: Processing buffer {"connection_id":190186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:20] local.INFO: IMEI packet received {"connection_id":190186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:28:20] local.INFO: IMEI acknowledgment sent {"connection_id":190186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:28:22] local.INFO: TCP Data received {"connection_id":190186,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190186,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:22] local.INFO: Processing buffer {"connection_id":190186,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:28:22] local.INFO: IMEI packet received {"connection_id":190186,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":190186,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:28:40] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:40] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39954e8012d34c14006aa40600005000c2d..."} 
[2026-09-21 16:28:40] local.INFO: Packet analysis {"connection_id":188875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:28:40] local.INFO: Extracted packet for processing {"connection_id":188875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c399"} 
[2026-09-21 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236851200001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988001000,"timestamp_ms":1789988001000,"timestamp_seconds":1789988001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39954e8"} 
[2026-09-21 16:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236851200001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236851200001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236851200001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":188875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:28:40] local.INFO: GPS data processed {"connection_id":188875,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:28:40] local.INFO: Acknowledgment sent {"connection_id":188875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:29:08] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:08] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:08] local.INFO: IMEI packet received {"connection_id":188876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":188876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:29:13] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:13] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:29:13] local.INFO: IMEI packet received {"connection_id":188876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:29:13] local.INFO: IMEI acknowledgment sent {"connection_id":188876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:29:13] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:13] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:13] local.INFO: Packet analysis {"connection_id":188876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:29:13] local.INFO: Extracted packet for processing {"connection_id":188876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:29: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-09-21 16: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-09-21 16:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:29: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-09-21 16:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:29:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":188876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:29:13] local.INFO: GPS data processed {"connection_id":188876,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:29:13] local.INFO: Acknowledgment sent {"connection_id":188876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:29:18] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:18] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:29:18] local.INFO: Packet analysis {"connection_id":188876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:29:18] local.INFO: Extracted packet for processing {"connection_id":188876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":188876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:29:18] local.INFO: GPS data processed {"connection_id":188876,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:29:18] local.INFO: Acknowledgment sent {"connection_id":188876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:29:55] local.INFO: TCP Data received {"connection_id":188733,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:29:55] local.INFO: Processing buffer {"connection_id":188733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:29:55] local.INFO: IMEI packet received {"connection_id":188733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":188733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:30:04] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:04] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:04] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:30:08] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:08] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:30:08] local.INFO: IMEI packet received {"connection_id":190187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":190187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:30:09] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:09] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:09] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:09] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30: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-09-21 16:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:30:09] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:30:09] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:30:14] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:14] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:14] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:14] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:30:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:30:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:30:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:30:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:30:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:30:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:30:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:30:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:30:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:30:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:30:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30: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-09-21 16:30:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:30:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:30:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:30:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:30:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:30:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:30:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:30:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:30:14] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:30:14] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:30:14] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:30:15] local.INFO: TCP Data received {"connection_id":191480,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:30:15] local.INFO: Processing buffer {"connection_id":191480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:30:15] local.INFO: IMEI packet received {"connection_id":191480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":191480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:30:46] local.INFO: TCP Data received {"connection_id":190187,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:46] local.INFO: Processing buffer {"connection_id":190187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:30:46] local.INFO: Packet analysis {"connection_id":190187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:46] local.INFO: Extracted packet for processing {"connection_id":190187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:30:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:30:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:30:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:30:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:30:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:30:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:30: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-09-21 16:30:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:30:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:30:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:30:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:30:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:30:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:30:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:30:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:30:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:30:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:30:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:30:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:30:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:30:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:30:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:30:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:30:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:30:46] local.INFO: DEBUG: GPS processor result {"connection_id":190187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:30:46] local.INFO: GPS data processed {"connection_id":190187,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:30:46] local.INFO: Acknowledgment sent {"connection_id":190187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:31:02] local.INFO: TCP Data received {"connection_id":188734,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:02] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:02] local.INFO: IMEI packet received {"connection_id":188734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":188734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:31:08] local.INFO: TCP Data received {"connection_id":188734,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:08] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:31:08] local.INFO: IMEI packet received {"connection_id":188734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":188734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:31:09] local.INFO: TCP Data received {"connection_id":188734,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:09] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:09] local.INFO: Packet analysis {"connection_id":188734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:31:09] local.INFO: Extracted packet for processing {"connection_id":188734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 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-09-21 16:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:31: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-09-21 16:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":188734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:31:09] local.INFO: GPS data processed {"connection_id":188734,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:31:09] local.INFO: Acknowledgment sent {"connection_id":188734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:31:41] local.INFO: TCP Data received {"connection_id":188734,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:41] local.INFO: Processing buffer {"connection_id":188734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:31:41] local.INFO: Packet analysis {"connection_id":188734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:31:41] local.INFO: Extracted packet for processing {"connection_id":188734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:31: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-09-21 16:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":188734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:31:41] local.INFO: GPS data processed {"connection_id":188734,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:31:41] local.INFO: Acknowledgment sent {"connection_id":188734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:32:02] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:02] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:02] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:32:08] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:08] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:32:08] local.INFO: IMEI packet received {"connection_id":190188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":190188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:32:09] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:09] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:09] local.INFO: Packet analysis {"connection_id":190188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:32:09] local.INFO: Extracted packet for processing {"connection_id":190188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:32:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:32:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:32:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:32:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:32:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:32:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:32:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:32:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:32:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:32:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:32:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:32:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:32:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:32:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:32:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:32:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:32:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:32:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:32:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:32:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:32:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:32:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:32:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:32:09] local.INFO: DEBUG: GPS processor result {"connection_id":190188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:32:09] local.INFO: GPS data processed {"connection_id":190188,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:32:09] local.INFO: Acknowledgment sent {"connection_id":190188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:32:40] local.INFO: TCP Data received {"connection_id":190188,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:40] local.INFO: Processing buffer {"connection_id":190188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:32:40] local.INFO: Packet analysis {"connection_id":190188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:32:40] local.INFO: Extracted packet for processing {"connection_id":190188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":190188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:32:40] local.INFO: GPS data processed {"connection_id":190188,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:32:40] local.INFO: Acknowledgment sent {"connection_id":190188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:33:02] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:02] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:02] local.INFO: IMEI packet received {"connection_id":188881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":188881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:33:09] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:09] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:33:09] local.INFO: IMEI packet received {"connection_id":188881,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":188881,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:33:09] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:09] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:09] local.INFO: Packet analysis {"connection_id":188881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:33:09] local.INFO: Extracted packet for processing {"connection_id":188881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 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-09-21 16:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:33: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-09-21 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-09-21 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-09-21 16:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":188881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:33:10] local.INFO: GPS data processed {"connection_id":188881,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:33:10] local.INFO: Acknowledgment sent {"connection_id":188881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:33:25] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:33:25] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:33:25] local.INFO: IMEI packet received {"connection_id":191482,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:33:25] local.INFO: IMEI acknowledgment sent {"connection_id":191482,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:33:26] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a00ba8012d19be8007208210002e01092a..."} 
[2026-09-21 16:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a00ba8012d19be8007208210002e01092a..."} 
[2026-09-21 16:33:26] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a00ba8012d19be8007208210002e01092a..."} 
[2026-09-21 16:33:26] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:33:26] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237035520001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854990495877568512,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789988441000,"timestamp_ms":1789988441000,"timestamp_seconds":1789988441,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a00ba8"} 
[2026-09-21 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-09-21 16:33:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":146,"data_length":795,"current_offset":136} 
[2026-09-21 16:33:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1747,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:33:26] 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-09-21 16:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237035520001,"66":13037,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1854990495877568512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237035520001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:33:26] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:33:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854990495877568512,"description":"Unknown IO ID 45"} 
[2026-09-21 16:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237035520001,"power":13037,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1854990495877568512}} 
[2026-09-21 16:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:33:26] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:33:26] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:33:41] local.INFO: TCP Data received {"connection_id":188881,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188881,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:41] local.INFO: Processing buffer {"connection_id":188881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c39decb0012d34c14006aa40600006000c2e..."} 
[2026-09-21 16:33:41] local.INFO: Packet analysis {"connection_id":188881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:33:41] local.INFO: Extracted packet for processing {"connection_id":188881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c39d"} 
[2026-09-21 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:33:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458236928256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789988302000,"timestamp_ms":1789988302000,"timestamp_seconds":1789988302,"priority":1,"record_length":96,"hex_timestamp":"000001a0c39decb0"} 
[2026-09-21 16:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:33:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188881,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458236928256001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458236928256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:33:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:33:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458236928256001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":188881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:33:41] local.INFO: GPS data processed {"connection_id":188881,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:33:41] local.INFO: Acknowledgment sent {"connection_id":188881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:33:57] local.INFO: TCP Data received {"connection_id":191482,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a05db0012d19be8007208210002e010929..."} 
[2026-09-21 16:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191482,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a05db0012d19be8007208210002e010929..."} 
[2026-09-21 16:33:57] local.INFO: Processing buffer {"connection_id":191482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a05db0012d19be8007208210002e010929..."} 
[2026-09-21 16:33:57] local.INFO: Packet analysis {"connection_id":191482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:33:57] local.INFO: Extracted packet for processing {"connection_id":191482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237040896001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789988462000,"timestamp_ms":1789988462000,"timestamp_seconds":1789988462,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a05db0"} 
[2026-09-21 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-09-21 16:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-09-21 16:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2581,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":191482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":191482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":191482,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:33:57] 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-09-21 16:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237040896001,"66":13015,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237040896001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:33:57] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:33:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237040896001,"power":13015,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":191482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:33:57] local.INFO: GPS data processed {"connection_id":191482,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:33:57] local.INFO: Acknowledgment sent {"connection_id":191482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:34:02] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:02] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:02] local.INFO: IMEI packet received {"connection_id":190190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:34:08] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:08] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:34:08] local.INFO: IMEI packet received {"connection_id":190190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":190190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:34:09] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:09] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:09] local.INFO: Packet analysis {"connection_id":190190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:34:09] local.INFO: Extracted packet for processing {"connection_id":190190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:34: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-09-21 16:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:34:09] local.INFO: GPS data processed {"connection_id":190190,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:34:09] local.INFO: Acknowledgment sent {"connection_id":190190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:34:12] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:12] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:12] local.INFO: IMEI packet received {"connection_id":190191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":190191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:34:17] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:17] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:34:17] local.INFO: IMEI packet received {"connection_id":190191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":190191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:34:18] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a0afb8012d19be8007208210002e010929..."} 
[2026-09-21 16:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a0afb8012d19be8007208210002e010929..."} 
[2026-09-21 16:34:18] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a0afb8012d19be8007208210002e010929..."} 
[2026-09-21 16:34:18] local.INFO: Packet analysis {"connection_id":190191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:34:18] local.INFO: Extracted packet for processing {"connection_id":190191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a0"} 
[2026-09-21 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":41,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237046272001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789988483000,"timestamp_ms":1789988483000,"timestamp_seconds":1789988483,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a0afb8"} 
[2026-09-21 16:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 16:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:34:18] 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-09-21 16:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237046272001,"66":12972,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237046272001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:34:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237046272001,"power":12972,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":190191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:34:18] local.INFO: GPS data processed {"connection_id":190191,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:34:18] local.INFO: Acknowledgment sent {"connection_id":190191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:34:40] local.INFO: TCP Data received {"connection_id":190190,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190190,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:40] local.INFO: Processing buffer {"connection_id":190190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:34:40] local.INFO: Packet analysis {"connection_id":190190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:34:40] local.INFO: Extracted packet for processing {"connection_id":190190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":190190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:34:40] local.INFO: GPS data processed {"connection_id":190190,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:34:40] local.INFO: Acknowledgment sent {"connection_id":190190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:34:49] local.INFO: TCP Data received {"connection_id":190191,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a101c0012d19be8007208210002e010925..."} 
[2026-09-21 16:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a101c0012d19be8007208210002e010925..."} 
[2026-09-21 16:34:49] local.INFO: Processing buffer {"connection_id":190191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a101c0012d19be8007208210002e010925..."} 
[2026-09-21 16:34:49] local.INFO: Packet analysis {"connection_id":190191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:34:49] local.INFO: Extracted packet for processing {"connection_id":190191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":37,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237051648001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789988504000,"timestamp_ms":1789988504000,"timestamp_seconds":1789988504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a101c0"} 
[2026-09-21 16:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 16:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:34:49] 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-09-21 16:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237051648001,"66":12993,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237051648001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:34:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237051648001,"power":12993,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":190191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:34:49] local.INFO: GPS data processed {"connection_id":190191,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:34:49] local.INFO: Acknowledgment sent {"connection_id":190191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:35:03] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:03] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:03] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:35:08] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:08] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:35:08] local.INFO: IMEI packet received {"connection_id":191483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":191483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:35:09] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:09] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:09] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:35:09] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 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-09-21 16:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:35: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-09-21 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-09-21 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-09-21 16:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:35: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-09-21 16:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:35:09] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:35:09] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:35:10] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:10] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:10] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:35:13] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:13] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:13] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:35:17] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:17] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:35:17] local.INFO: IMEI packet received {"connection_id":188735,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188735,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:35:18] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a153c8012d19be8007208210002e010928..."} 
[2026-09-21 16:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a153c8012d19be8007208210002e010928..."} 
[2026-09-21 16:35:18] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a153c8012d19be8007208210002e010928..."} 
[2026-09-21 16:35:18] local.INFO: Packet analysis {"connection_id":188735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:35:18] local.INFO: Extracted packet for processing {"connection_id":188735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":40,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237057024001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789988525000,"timestamp_ms":1789988525000,"timestamp_seconds":1789988525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a153c8"} 
[2026-09-21 16:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-09-21 16:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:35:18] 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-09-21 16:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237057024001,"66":12950,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237057024001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:35:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237057024001,"power":12950,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":188735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:35:18] local.INFO: GPS data processed {"connection_id":188735,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:35:18] local.INFO: Acknowledgment sent {"connection_id":188735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:35:41] local.INFO: TCP Data received {"connection_id":191483,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:41] local.INFO: Processing buffer {"connection_id":191483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:35:41] local.INFO: Packet analysis {"connection_id":191483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:35:41] local.INFO: Extracted packet for processing {"connection_id":191483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35: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-09-21 16:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:35: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-09-21 16:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":191483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:35:41] local.INFO: GPS data processed {"connection_id":191483,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:35:41] local.INFO: Acknowledgment sent {"connection_id":191483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:35:45] local.INFO: TCP Data received {"connection_id":188736,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:35:45] local.INFO: Processing buffer {"connection_id":188736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:35:45] local.INFO: IMEI packet received {"connection_id":188736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:35:45] local.INFO: IMEI acknowledgment sent {"connection_id":188736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:35:49] local.INFO: TCP Data received {"connection_id":188735,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a1a5d0012d19be8007208210002e01092a..."} 
[2026-09-21 16:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188735,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a1a5d0012d19be8007208210002e01092a..."} 
[2026-09-21 16:35:49] local.INFO: Processing buffer {"connection_id":188735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a1a5d0012d19be8007208210002e01092a..."} 
[2026-09-21 16:35:49] local.INFO: Packet analysis {"connection_id":188735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:35:49] local.INFO: Extracted packet for processing {"connection_id":188735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237062400001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789988546000,"timestamp_ms":1789988546000,"timestamp_seconds":1789988546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a1a5d0"} 
[2026-09-21 16:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 16:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188735,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:35:49] 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-09-21 16:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237062400001,"66":12885,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237062400001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:35:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237062400001,"power":12885,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":188735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:35:49] local.INFO: GPS data processed {"connection_id":188735,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:35:49] local.INFO: Acknowledgment sent {"connection_id":188735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:36:02] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:02] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:02] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:36:08] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:08] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:36:08] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:36:08] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:09] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:09] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:09] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 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-09-21 16:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:36:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:36:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:36:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:36:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:36:09] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:36:09] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:36:12] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:12] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:12] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:36:13] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:13] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:13] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:36:15] local.INFO: TCP Data received {"connection_id":188737,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188737,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:36:15] local.INFO: Processing buffer {"connection_id":188737,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:36:15] local.INFO: IMEI packet received {"connection_id":188737,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":188737,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:36:17] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:17] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:36:17] local.INFO: IMEI packet received {"connection_id":191484,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":191484,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:36:18] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a1f7d8012d19be8007208210002e01092b..."} 
[2026-09-21 16:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a1f7d8012d19be8007208210002e01092b..."} 
[2026-09-21 16:36:18] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a1f7d8012d19be8007208210002e01092b..."} 
[2026-09-21 16:36:18] local.INFO: Packet analysis {"connection_id":191484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:36:18] local.INFO: Extracted packet for processing {"connection_id":191484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a1"} 
[2026-09-21 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":43,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237067776001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789988567000,"timestamp_ms":1789988567000,"timestamp_seconds":1789988567,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a1f7d8"} 
[2026-09-21 16:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 16:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:36:18] 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-09-21 16:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237067776001,"66":12939,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237067776001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:36:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237067776001,"power":12939,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:36:19] local.INFO: DEBUG: GPS processor result {"connection_id":191484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:36:19] local.INFO: GPS data processed {"connection_id":191484,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:36:19] local.INFO: Acknowledgment sent {"connection_id":191484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:36:40] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:40] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:36:40] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:40] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:36:40] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:36:40] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:36:50] local.INFO: TCP Data received {"connection_id":191484,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a249e0012d19be8007208210002e01092a..."} 
[2026-09-21 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191484,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a249e0012d19be8007208210002e01092a..."} 
[2026-09-21 16:36:50] local.INFO: Processing buffer {"connection_id":191484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a249e0012d19be8007208210002e01092a..."} 
[2026-09-21 16:36:50] local.INFO: Packet analysis {"connection_id":191484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:50] local.INFO: Extracted packet for processing {"connection_id":191484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":756661888,"raw_latitude":119570960,"longitude_deg":75.6661888,"latitude_deg":11.957096,"altitude":46,"angle":265,"satellites":42,"speed":0,"hex_longitude":"2d19be80","hex_latitude":"07208210","is_valid_coordinates":true} 
[2026-09-21 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:36:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237073152001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22475924637220864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855060864621744128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:36:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:36:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789988588000,"timestamp_ms":1789988588000,"timestamp_seconds":1789988588,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a249e0"} 
[2026-09-21 16:36:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:36:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:36:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-09-21 16:36:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:36:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:36:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:36:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:36:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:36:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:36:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191484,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:36:50] 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-09-21 16:36:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:36:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:36:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237073152001,"66":13906,"103":206,"83":41984,"24":0,"16":22475924637220864,"45":1855060864621744128},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 16:36:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:36:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:36:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237073152001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:36:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 16:36:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 16:36:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22475924637220864,"km_value":22475924637220.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:36:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855060864621744128,"description":"Unknown IO ID 45"} 
[2026-09-21 16:36:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237073152001,"power":13906,"unknown_103":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1855060864621744128}} 
[2026-09-21 16:36:50] local.INFO: DEBUG: GPS processor result {"connection_id":191484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:36:50] local.INFO: GPS data processed {"connection_id":191484,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:36:50] local.INFO: Acknowledgment sent {"connection_id":191484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:37:02] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:02] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:02] local.INFO: IMEI packet received {"connection_id":188738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:37:08] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:08] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:37:08] local.INFO: IMEI packet received {"connection_id":188738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:37:08] local.INFO: IMEI acknowledgment sent {"connection_id":188738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:37:09] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:09] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:09] local.INFO: Packet analysis {"connection_id":188738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:37:09] local.INFO: Extracted packet for processing {"connection_id":188738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:37: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-09-21 16:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":188738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:37:09] local.INFO: GPS data processed {"connection_id":188738,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:37:09] local.INFO: Acknowledgment sent {"connection_id":188738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:37:12] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:37:12] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:12] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:37:13] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:13] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:13] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:37:14] local.INFO: TCP Data received {"connection_id":190193,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:14] local.INFO: Processing buffer {"connection_id":190193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:37:14] local.INFO: IMEI packet received {"connection_id":190193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":190193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:37:40] local.INFO: TCP Data received {"connection_id":188738,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188738,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:40] local.INFO: Processing buffer {"connection_id":188738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:37:40] local.INFO: Packet analysis {"connection_id":188738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:37:40] local.INFO: Extracted packet for processing {"connection_id":188738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:37:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":188738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:37:40] local.INFO: GPS data processed {"connection_id":188738,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:37:40] local.INFO: Acknowledgment sent {"connection_id":188738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:38:02] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:02] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:02] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:38:08] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:08] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:38:08] local.INFO: IMEI packet received {"connection_id":191485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":191485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:38:08] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:08] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:08] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:38:08] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 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-09-21 16:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 16: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-09-21 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-09-21 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-09-21 16:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:38:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:38:09] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:38:09] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:38:40] local.INFO: TCP Data received {"connection_id":191485,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191485,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:40] local.INFO: Processing buffer {"connection_id":191485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a28090012d34c14006aa40600007000c2e..."} 
[2026-09-21 16:38:40] local.INFO: Packet analysis {"connection_id":191485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:38:40] local.INFO: Extracted packet for processing {"connection_id":191485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a2"} 
[2026-09-21 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:38:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237005312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:38:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:38:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:38:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:38:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988602000,"timestamp_ms":1789988602000,"timestamp_seconds":1789988602,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a28090"} 
[2026-09-21 16:38:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:38:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:38:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 16:38:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:38:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:38:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:38:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:38:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:38:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:38:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:38:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:38:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:38:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:38:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237005312001,"66":25473,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:38:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:38:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237005312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:38:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:38:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:38:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237005312001,"power":25473,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:38:40] local.INFO: DEBUG: GPS processor result {"connection_id":191485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:38:40] local.INFO: GPS data processed {"connection_id":191485,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:38:40] local.INFO: Acknowledgment sent {"connection_id":191485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:39:02] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:02] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:02] local.INFO: IMEI packet received {"connection_id":190196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:39:08] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:08] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:39:08] local.INFO: IMEI packet received {"connection_id":190196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":190196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:39:09] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:09] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:09] local.INFO: Packet analysis {"connection_id":190196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:39:09] local.INFO: Extracted packet for processing {"connection_id":190196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:39:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:39:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:39:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:39:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:39:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:39:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:39:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:39:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:39:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:39:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:39:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:39:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:39:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:39:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:39:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:39:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:39:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:39:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:39:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:39:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:39:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:39:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:39:09] local.INFO: DEBUG: GPS processor result {"connection_id":190196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:39:09] local.INFO: GPS data processed {"connection_id":190196,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:39:09] local.INFO: Acknowledgment sent {"connection_id":190196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:39:40] local.INFO: TCP Data received {"connection_id":190196,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190196,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:40] local.INFO: Processing buffer {"connection_id":190196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:39:40] local.INFO: Packet analysis {"connection_id":190196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:39:40] local.INFO: Extracted packet for processing {"connection_id":190196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:39: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-09-21 16:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":190196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:39:40] local.INFO: GPS data processed {"connection_id":190196,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:39:40] local.INFO: Acknowledgment sent {"connection_id":190196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:40:02] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:02] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:02] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:40:08] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:08] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:40:08] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:40:09] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:09] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:09] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:40:09] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:40:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16: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-09-21 16: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-09-21 16:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:40: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-09-21 16:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:40:09] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:40:09] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:40:40] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:40] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:40:40] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:40:40] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:40:40] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:40:40] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:41:03] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:03] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:03] local.INFO: IMEI packet received {"connection_id":191488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":191488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:41:08] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:08] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:41:08] local.INFO: IMEI packet received {"connection_id":191488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":191488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:41:08] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:08] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:08] local.INFO: Packet analysis {"connection_id":191488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:41:08] local.INFO: Extracted packet for processing {"connection_id":191488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 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-09-21 16:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 16:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":191488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:41:08] local.INFO: GPS data processed {"connection_id":191488,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:41:08] local.INFO: Acknowledgment sent {"connection_id":191488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:41:40] local.INFO: TCP Data received {"connection_id":191488,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:40] local.INFO: Processing buffer {"connection_id":191488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:41:40] local.INFO: Packet analysis {"connection_id":191488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:41:40] local.INFO: Extracted packet for processing {"connection_id":191488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:41: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-09-21 16:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":191488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:41:40] local.INFO: GPS data processed {"connection_id":191488,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:41:40] local.INFO: Acknowledgment sent {"connection_id":191488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:41:45] local.INFO: TCP Data received {"connection_id":188885,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:41:45] local.INFO: Processing buffer {"connection_id":188885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:41:45] local.INFO: IMEI packet received {"connection_id":188885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:41:45] local.INFO: IMEI acknowledgment sent {"connection_id":188885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:42:02] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:02] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:02] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:42:08] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:08] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:42:08] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:42:08] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:42:09] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:09] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:09] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:42:09] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 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-09-21 16:42:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 16:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:42: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-09-21 16:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:42:09] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:42:09] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:42:15] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:42:15] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:42:15] local.INFO: IMEI packet received {"connection_id":188887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":188887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:42:18] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:18] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:18] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:42:19] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:19] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:19] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:42:22] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:22] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:42:22] local.INFO: IMEI packet received {"connection_id":191490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":191490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:42:23] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a9a4b0012d18c0c007230338006500382f..."} 
[2026-09-21 16:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a9a4b0012d18c0c007230338006500382f..."} 
[2026-09-21 16:42:23] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a9a4b0012d18c0c007230338006500382f..."} 
[2026-09-21 16:42:23] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a9"} 
[2026-09-21 16:42:23] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a9"} 
[2026-09-21 16:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756596928,"raw_latitude":119735096,"longitude_deg":75.6596928,"latitude_deg":11.9735096,"altitude":101,"angle":56,"satellites":47,"speed":41,"hex_longitude":"2d18c0c0","hex_latitude":"07230338","is_valid_coordinates":true} 
[2026-09-21 16:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237201664001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22488491711528960,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782721795648960512,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,238,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789989070000,"timestamp_ms":1789989070000,"timestamp_seconds":1789989070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a9a4b0"} 
[2026-09-21 16:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 16:42:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:42:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237201664001,"66":14004,"238":206,"83":43776,"24":41,"16":22488491711528960,"45":1782721795648960512},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,83,24,16,45]} 
[2026-09-21 16:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237201664001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:42:23] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-09-21 16:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":43776,"description":"Unknown IO ID 83"} 
[2026-09-21 16:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22488491711528960,"km_value":22488491711528.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782721795648960512,"description":"Unknown IO ID 45"} 
[2026-09-21 16:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237201664001,"power":14004,"unknown_238":206,"unknown_83":43776,"ignition":41,"odometer":null,"unknown_45":1782721795648960512}} 
[2026-09-21 16:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:42:23] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:42:23] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:42:40] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:40] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:42:40] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:42:40] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:42: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-09-21 16:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 16:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:42:40] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:42:40] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:42:54] local.INFO: TCP Data received {"connection_id":191490,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aa73b8012d1974c0072391e00043003822..."} 
[2026-09-21 16:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aa73b8012d1974c0072391e00043003822..."} 
[2026-09-21 16:42:54] local.INFO: Processing buffer {"connection_id":191490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aa73b8012d1974c0072391e00043003822..."} 
[2026-09-21 16:42:54] local.INFO: Packet analysis {"connection_id":191490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:42:54] local.INFO: Extracted packet for processing {"connection_id":191490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119771616,"longitude_deg":75.6643008,"latitude_deg":11.9771616,"altitude":67,"angle":56,"satellites":34,"speed":50,"hex_longitude":"2d1974c0","hex_latitude":"072391e0","is_valid_coordinates":true} 
[2026-09-21 16:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237214720001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22491631332622336,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831205860396234752,"note":"Value kept but may cause issues"} 
[2026-09-21 16:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789989123000,"timestamp_ms":1789989123000,"timestamp_seconds":1789989123,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aa73b8"} 
[2026-09-21 16:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:42:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 16:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:42:54] 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-09-21 16:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237214720001,"66":13993,"42":206,"83":42752,"24":50,"16":22491631332622336,"45":1831205860396234752},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237214720001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:42:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22491631332622336,"km_value":22491631332622.336,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831205860396234752,"description":"Unknown IO ID 45"} 
[2026-09-21 16:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237214720001,"power":13993,"unknown_42":206,"unknown_83":42752,"ignition":50,"odometer":null,"unknown_45":1831205860396234752}} 
[2026-09-21 16:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":191490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:42:54] local.INFO: GPS data processed {"connection_id":191490,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:42:54] local.INFO: Acknowledgment sent {"connection_id":191490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:43:02] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:02] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:02] local.INFO: IMEI packet received {"connection_id":188888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":188888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:43:08] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:08] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:43:08] local.INFO: IMEI packet received {"connection_id":188888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":188888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:43:09] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:09] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:09] local.INFO: Packet analysis {"connection_id":188888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:43:09] local.INFO: Extracted packet for processing {"connection_id":188888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 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-09-21 16:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 16:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":188888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:43:09] local.INFO: GPS data processed {"connection_id":188888,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:43:09] local.INFO: Acknowledgment sent {"connection_id":188888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:43:15] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:15] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:15] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:43:17] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:17] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:17] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:43:22] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:22] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:43:22] local.INFO: IMEI packet received {"connection_id":191492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":191492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:43:23] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aa7f70012d1981c0072398480041004624..."} 
[2026-09-21 16:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aa7f70012d1981c0072398480041004624..."} 
[2026-09-21 16:43:23] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aa7f70012d1981c0072398480041004624..."} 
[2026-09-21 16:43:23] local.INFO: Packet analysis {"connection_id":191492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:43:23] local.INFO: Extracted packet for processing {"connection_id":191492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756646336,"raw_latitude":119773256,"longitude_deg":75.6646336,"latitude_deg":11.9773256,"altitude":65,"angle":70,"satellites":36,"speed":48,"hex_longitude":"2d1981c0","hex_latitude":"07239848","is_valid_coordinates":true} 
[2026-09-21 16:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237215488001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22491807426281472,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085140701184,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789989126000,"timestamp_ms":1789989126000,"timestamp_seconds":1789989126,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aa7f70"} 
[2026-09-21 16:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-09-21 16:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237215488001,"66":14363,"42":206,"83":42752,"24":48,"16":22491807426281472,"45":1834302085140701184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237215488001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:43:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22491807426281472,"km_value":22491807426281.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085140701184,"description":"Unknown IO ID 45"} 
[2026-09-21 16:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237215488001,"power":14363,"unknown_42":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1834302085140701184}} 
[2026-09-21 16:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":191492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:43:23] local.INFO: GPS data processed {"connection_id":191492,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:43:23] local.INFO: Acknowledgment sent {"connection_id":191492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:43:28] local.INFO: TCP Data received {"connection_id":191492,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aa92f8012d1999c007239cf8003e005223..."} 
[2026-09-21 16:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aa92f8012d1999c007239cf8003e005223..."} 
[2026-09-21 16:43:29] local.INFO: Processing buffer {"connection_id":191492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aa92f8012d1999c007239cf8003e005223..."} 
[2026-09-21 16:43:29] local.INFO: Packet analysis {"connection_id":191492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:43:29] local.INFO: Extracted packet for processing {"connection_id":191492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:43:29] local.INFO: GPS Element Parsed {"raw_longitude":756652480,"raw_latitude":119774456,"longitude_deg":75.665248,"latitude_deg":11.9774456,"altitude":62,"angle":82,"satellites":35,"speed":49,"hex_longitude":"2d1999c0","hex_latitude":"07239cf8","is_valid_coordinates":true} 
[2026-09-21 16:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237216256001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22492103779024896,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837961259838359552,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1789989131000,"timestamp_ms":1789989131000,"timestamp_seconds":1789989131,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aa92f8"} 
[2026-09-21 16:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 16:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":191492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":191492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":191492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237216256001,"66":14265,"42":206,"83":42752,"24":49,"16":22492103779024896,"45":1837961259838359552},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237216256001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:43:29] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:43:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22492103779024896,"km_value":22492103779024.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837961259838359552,"description":"Unknown IO ID 45"} 
[2026-09-21 16:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237216256001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":49,"odometer":null,"unknown_45":1837961259838359552}} 
[2026-09-21 16:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":191492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:43:29] local.INFO: GPS data processed {"connection_id":191492,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:43:29] local.INFO: Acknowledgment sent {"connection_id":191492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:43:40] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:40] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3a71858012d34c14006aa40600002000c2e..."} 
[2026-09-21 16:43:40] local.INFO: Packet analysis {"connection_id":188888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:43:40] local.INFO: Extracted packet for processing {"connection_id":188888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3a7"} 
[2026-09-21 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237082112001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789988903000,"timestamp_ms":1789988903000,"timestamp_seconds":1789988903,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3a71858"} 
[2026-09-21 16:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 16:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237082112001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237082112001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237082112001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":188888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:43:40] local.INFO: GPS data processed {"connection_id":188888,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:43:40] local.INFO: Acknowledgment sent {"connection_id":188888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:44:02] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:02] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:02] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:44:03] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:03] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:03] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:44:03] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:44:08] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:08] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:44:08] local.INFO: IMEI packet received {"connection_id":190198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:44:08] local.INFO: IMEI acknowledgment sent {"connection_id":190198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:44:09] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:09] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:09] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:44:09] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:44:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:44:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:44:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 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-09-21 16:44:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:44: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-09-21 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-09-21 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-09-21 16:44:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:44:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:44:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:44:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:44:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:44:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:44:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:44:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:44:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:44:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:44:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:44:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:44:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:44:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:44:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:44:09] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:44:09] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:44:09] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:44:12] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: IMEI packet received {"connection_id":188740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":188740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:44:12] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:12] local.INFO: IMEI packet received {"connection_id":188740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":188740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:44:17] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:17] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:44:17] local.INFO: IMEI packet received {"connection_id":188740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":188740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:44:18] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aab238012d19c1400723a2380039005322..."} 
[2026-09-21 16:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aab238012d19c1400723a2380039005322..."} 
[2026-09-21 16:44:18] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aab238012d19c1400723a2380039005322..."} 
[2026-09-21 16:44:18] local.INFO: Packet analysis {"connection_id":188740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:44:18] local.INFO: Extracted packet for processing {"connection_id":188740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3aa"} 
[2026-09-21 16:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756662592,"raw_latitude":119775800,"longitude_deg":75.6662592,"latitude_deg":11.97758,"altitude":57,"angle":83,"satellites":34,"speed":48,"hex_longitude":"2d19c140","hex_latitude":"0723a238","is_valid_coordinates":true} 
[2026-09-21 16:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237217536001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22492589110329344,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1844716659279722496,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789989139000,"timestamp_ms":1789989139000,"timestamp_seconds":1789989139,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aab238"} 
[2026-09-21 16:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 16:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:44:18] 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-09-21 16:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237217536001,"66":14341,"42":206,"83":42752,"24":48,"16":22492589110329344,"45":1844716659279722496},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237217536001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:44:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22492589110329344,"km_value":22492589110329.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1844716659279722496,"description":"Unknown IO ID 45"} 
[2026-09-21 16:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237217536001,"power":14341,"unknown_42":206,"unknown_83":42752,"ignition":48,"odometer":null,"unknown_45":1844716659279722496}} 
[2026-09-21 16:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":188740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:44:18] local.INFO: GPS data processed {"connection_id":188740,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:44:18] local.INFO: Acknowledgment sent {"connection_id":188740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:44:40] local.INFO: TCP Data received {"connection_id":190198,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:40] local.INFO: Processing buffer {"connection_id":190198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:44:40] local.INFO: Packet analysis {"connection_id":190198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:44:40] local.INFO: Extracted packet for processing {"connection_id":190198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:44: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:44:40] 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-09-21 16:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":190198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:44:40] local.INFO: GPS data processed {"connection_id":190198,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:44:40] local.INFO: Acknowledgment sent {"connection_id":190198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:44:49] local.INFO: TCP Data received {"connection_id":188740,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ac2550012d1a78c007240e40003000772c..."} 
[2026-09-21 16:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ac2550012d1a78c007240e40003000772c..."} 
[2026-09-21 16:44:49] local.INFO: Processing buffer {"connection_id":188740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ac2550012d1a78c007240e40003000772c..."} 
[2026-09-21 16:44:49] local.INFO: Packet analysis {"connection_id":188740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:44:49] local.INFO: Extracted packet for processing {"connection_id":188740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756709568,"raw_latitude":119803456,"longitude_deg":75.6709568,"latitude_deg":11.9803456,"altitude":48,"angle":119,"satellites":44,"speed":5,"hex_longitude":"2d1a78c0","hex_latitude":"07240e40","is_valid_coordinates":true} 
[2026-09-21 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237243392001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495372249137152,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907063366628569088,"note":"Value kept but may cause issues"} 
[2026-09-21 16:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789989234000,"timestamp_ms":1789989234000,"timestamp_seconds":1789989234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ac2550"} 
[2026-09-21 16:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 16:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:44:49] 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-09-21 16:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237243392001,"66":14004,"43":206,"83":42752,"24":5,"16":22495372249137152,"45":1907063366628569088},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237243392001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:44:49] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495372249137152,"km_value":22495372249137.152,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907063366628569088,"description":"Unknown IO ID 45"} 
[2026-09-21 16:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237243392001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1907063366628569088}} 
[2026-09-21 16:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":188740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:44:49] local.INFO: GPS data processed {"connection_id":188740,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:44:49] local.INFO: Acknowledgment sent {"connection_id":188740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:45:03] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:03] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:03] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:45:08] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:08] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:45:08] local.INFO: IMEI packet received {"connection_id":191493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":191493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:45:09] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:09] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:09] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:09] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:45:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:45: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-09-21 16: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-09-21 16:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:45:09] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:45:09] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:45:12] local.INFO: TCP Data received {"connection_id":191494,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:12] local.INFO: Processing buffer {"connection_id":191494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:12] local.INFO: IMEI packet received {"connection_id":191494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":191494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:45:13] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:13] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:13] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:13] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:45: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-09-21 16: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-09-21 16:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:45: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-09-21 16:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:45:13] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:45:13] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:45:16] local.INFO: TCP Data received {"connection_id":191494,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:16] local.INFO: Processing buffer {"connection_id":191494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:45:16] local.INFO: IMEI packet received {"connection_id":191494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:45:16] local.INFO: IMEI acknowledgment sent {"connection_id":191494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:45:16] local.INFO: TCP Data received {"connection_id":191494,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ac38d8012d1a7a0007240d30003200992c..."} 
[2026-09-21 16:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ac38d8012d1a7a0007240d30003200992c..."} 
[2026-09-21 16:45:16] local.INFO: Processing buffer {"connection_id":191494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ac38d8012d1a7a0007240d30003200992c..."} 
[2026-09-21 16:45:16] local.INFO: Packet analysis {"connection_id":191494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:45:16] local.INFO: Extracted packet for processing {"connection_id":191494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":756709888,"raw_latitude":119803184,"longitude_deg":75.6709888,"latitude_deg":11.9803184,"altitude":50,"angle":153,"satellites":44,"speed":7,"hex_longitude":"2d1a7a00","hex_latitude":"07240d30","is_valid_coordinates":true} 
[2026-09-21 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:45:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237243904001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495393723973632,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907485579093622784,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789989239000,"timestamp_ms":1789989239000,"timestamp_seconds":1789989239,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ac38d8"} 
[2026-09-21 16:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:45:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 16:45:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:45:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":191494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":191494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":191494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:45:16] 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-09-21 16:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237243904001,"66":14048,"43":206,"83":42752,"24":7,"16":22495393723973632,"45":1907485579093622784},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237243904001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:45:16] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:45:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495393723973632,"km_value":22495393723973.633,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:45:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907485579093622784,"description":"Unknown IO ID 45"} 
[2026-09-21 16:45:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237243904001,"power":14048,"unknown_43":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1907485579093622784}} 
[2026-09-21 16:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":191494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:45:16] local.INFO: GPS data processed {"connection_id":191494,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:45:16] local.INFO: Acknowledgment sent {"connection_id":191494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:45:45] local.INFO: TCP Data received {"connection_id":191493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191493,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:45] local.INFO: Processing buffer {"connection_id":191493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:45:45] local.INFO: Packet analysis {"connection_id":191493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:45] local.INFO: Extracted packet for processing {"connection_id":191493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":191493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:45:45] local.INFO: GPS data processed {"connection_id":191493,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:45:45] local.INFO: Acknowledgment sent {"connection_id":191493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:45:47] local.INFO: TCP Data received {"connection_id":191494,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ac5818012d1a7d80072404f80032008d2c..."} 
[2026-09-21 16:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ac5818012d1a7d80072404f80032008d2c..."} 
[2026-09-21 16:45:47] local.INFO: Processing buffer {"connection_id":191494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ac5818012d1a7d80072404f80032008d2c..."} 
[2026-09-21 16:45:47] local.INFO: Packet analysis {"connection_id":191494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:45:47] local.INFO: Extracted packet for processing {"connection_id":191494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756710784,"raw_latitude":119801080,"longitude_deg":75.6710784,"latitude_deg":11.980108,"altitude":50,"angle":141,"satellites":44,"speed":11,"hex_longitude":"2d1a7d80","hex_latitude":"072404f8","is_valid_coordinates":true} 
[2026-09-21 16:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237245184001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495501098156032,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1907837422814441472,"note":"Value kept but may cause issues"} 
[2026-09-21 16:45:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789989247000,"timestamp_ms":1789989247000,"timestamp_seconds":1789989247,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ac5818"} 
[2026-09-21 16:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 16:45:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:45:47] 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-09-21 16:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237245184001,"66":14004,"43":206,"83":42752,"24":11,"16":22495501098156032,"45":1907837422814441472},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237245184001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:45:47] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:45:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495501098156032,"km_value":22495501098156.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1907837422814441472,"description":"Unknown IO ID 45"} 
[2026-09-21 16:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237245184001,"power":14004,"unknown_43":206,"unknown_83":42752,"ignition":11,"odometer":null,"unknown_45":1907837422814441472}} 
[2026-09-21 16:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":191494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877177,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:45:47] local.INFO: GPS data processed {"connection_id":191494,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:45:47] local.INFO: Acknowledgment sent {"connection_id":191494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:46:02] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:02] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:02] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:46:08] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:08] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:46:08] local.INFO: IMEI packet received {"connection_id":190200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":190200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:46:09] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:09] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:09] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:46:09] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 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-09-21 16:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:46: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-09-21 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-09-21 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-09-21 16:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:46:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:46:09] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:46:09] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:46:13] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:13] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:13] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:46:17] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:17] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:46:17] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:46:18] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ac7370012d1a82000723ffa80031007b29..."} 
[2026-09-21 16:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ac7370012d1a82000723ffa80031007b29..."} 
[2026-09-21 16:46:18] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ac7370012d1a82000723ffa80031007b29..."} 
[2026-09-21 16:46:18] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:46:18] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756711936,"raw_latitude":119799720,"longitude_deg":75.6711936,"latitude_deg":11.979972,"altitude":49,"angle":123,"satellites":41,"speed":8,"hex_longitude":"2d1a8200","hex_latitude":"0723ffa8","is_valid_coordinates":true} 
[2026-09-21 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237247232001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495591292469248,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1908822585232390144,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789989254000,"timestamp_ms":1789989254000,"timestamp_seconds":1789989254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ac7370"} 
[2026-09-21 16:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 16:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:46:18] 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-09-21 16:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237247232001,"66":14341,"43":206,"83":42752,"24":8,"16":22495591292469248,"45":1908822585232390144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237247232001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:46:18] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495591292469248,"km_value":22495591292469.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1908822585232390144,"description":"Unknown IO ID 45"} 
[2026-09-21 16:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237247232001,"power":14341,"unknown_43":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1908822585232390144}} 
[2026-09-21 16:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:46:18] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:46:18] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:46:40] local.INFO: TCP Data received {"connection_id":190200,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190200,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:40] local.INFO: Processing buffer {"connection_id":190200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:46:40] local.INFO: Packet analysis {"connection_id":190200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:46:40] local.INFO: Extracted packet for processing {"connection_id":190200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:46:40] 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-09-21 16: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-09-21 16:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":190200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:46:40] local.INFO: GPS data processed {"connection_id":190200,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:46:40] local.INFO: Acknowledgment sent {"connection_id":190200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:46:50] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ac7b40012d1a83000723fee00031008c2a..."} 
[2026-09-21 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ac7b40012d1a83000723fee00031008c2a..."} 
[2026-09-21 16:46:50] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ac7b40012d1a83000723fee00031008c2a..."} 
[2026-09-21 16:46:50] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:46:50] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":756712192,"raw_latitude":119799520,"longitude_deg":75.6712192,"latitude_deg":11.979952,"altitude":49,"angle":140,"satellites":42,"speed":5,"hex_longitude":"2d1a8300","hex_latitude":"0723fee0","is_valid_coordinates":true} 
[2026-09-21 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237249024001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495604177371136,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910089222627239936,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:46:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789989256000,"timestamp_ms":1789989256000,"timestamp_seconds":1789989256,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ac7b40"} 
[2026-09-21 16:46:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:46:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:46:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992145363,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3282825864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503942877413376,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":195,"raw_value":2887614465,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596653774,"corrected_to":0} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":21,"raw_value":2952867098,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":117,"raw_value":3221693454,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951455,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":79,"raw_value":3949133824,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84752978346976256,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.WARNING: Large IO value detected {"io_id":96,"raw_value":13510997188809984,"note":"Value kept but may cause issues"} 
[2026-09-21 16:46:50] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,43,83,24,241,157,16,235,160,88,45,128,4,50,44,10,66,56,13,37,192,1,240,180,227,195,36,113,205,8,21,117,239,54,2,79,7,48,206,72,96],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1596653774,"validated":0}]} 
[2026-09-21 16:46:50] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530957523882868736,"timestamp_seconds":3530957523882868.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 16:46:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:46:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:46:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:46:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:46:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:46:50] 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-09-21 16:46:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:46:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:46:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237249024001,"66":14363,"43":206,"83":42752,"24":5,"16":22495604177371136,"45":1910089222627239936},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:46:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:46:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:46:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237249024001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:46:50] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:46:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:46:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495604177371136,"km_value":22495604177371.137,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:46:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910089222627239936,"description":"Unknown IO ID 45"} 
[2026-09-21 16:46:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237249024001,"power":14363,"unknown_43":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1910089222627239936}} 
[2026-09-21 16:46:50] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:46:50] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:46:50] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:47:03] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:03] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:03] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:47:08] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:08] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:47:08] local.INFO: IMEI packet received {"connection_id":191495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:47:08] local.INFO: IMEI acknowledgment sent {"connection_id":191495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:47:08] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:08] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:08] local.INFO: Packet analysis {"connection_id":191495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:47:08] local.INFO: Extracted packet for processing {"connection_id":191495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:08] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:47: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-09-21 16:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:47:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":191495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:47:08] local.INFO: GPS data processed {"connection_id":191495,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:47:08] local.INFO: Acknowledgment sent {"connection_id":191495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:47:11] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:11] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:11] local.INFO: IMEI packet received {"connection_id":188742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":188742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:47:12] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:12] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:12] local.INFO: IMEI packet received {"connection_id":188742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":188742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:47:18] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:18] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:47:18] local.INFO: IMEI packet received {"connection_id":188742,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:47:18] local.INFO: IMEI acknowledgment sent {"connection_id":188742,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:47:19] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3accd48012d1a83400723fd880031008c22..."} 
[2026-09-21 16:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3accd48012d1a83400723fd880031008c22..."} 
[2026-09-21 16:47:19] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3accd48012d1a83400723fd880031008c22..."} 
[2026-09-21 16:47:19] local.INFO: Packet analysis {"connection_id":188742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:47:19] local.INFO: Extracted packet for processing {"connection_id":188742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ac"} 
[2026-09-21 16:47:19] local.INFO: GPS Element Parsed {"raw_longitude":756712256,"raw_latitude":119799176,"longitude_deg":75.6712256,"latitude_deg":11.9799176,"altitude":49,"angle":140,"satellites":34,"speed":0,"hex_longitude":"2d1a8340","hex_latitude":"0723fd88","is_valid_coordinates":true} 
[2026-09-21 16:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237249536001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22495625652207616,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1910370697603899392,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789989277000,"timestamp_ms":1789989277000,"timestamp_seconds":1789989277,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3accd48"} 
[2026-09-21 16:47:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:47:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 16:47:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:47:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:47:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:47:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237249536001,"66":14428,"43":206,"83":42752,"24":0,"16":22495625652207616,"45":1910370697603899392},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-09-21 16:47:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:47:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:47:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237249536001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:47:19] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-09-21 16:47:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:47:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22495625652207616,"km_value":22495625652207.617,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:47:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1910370697603899392,"description":"Unknown IO ID 45"} 
[2026-09-21 16:47:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237249536001,"power":14428,"unknown_43":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1910370697603899392}} 
[2026-09-21 16:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":188742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:47:19] local.INFO: GPS data processed {"connection_id":188742,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:47:19] local.INFO: Acknowledgment sent {"connection_id":188742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:47:40] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:47:40] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:47:40] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:47:40] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:47:40] local.INFO: TCP Data received {"connection_id":191495,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:40] local.INFO: Processing buffer {"connection_id":191495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:47:40] local.INFO: Packet analysis {"connection_id":191495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:47:40] local.INFO: Extracted packet for processing {"connection_id":191495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:47:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:47:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:47:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:47:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:47:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:47:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:47:40] 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-09-21 16:47:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:47:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:47:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:47:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:47:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:47:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:47:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:47:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:47:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:47:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:47:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:47:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:47:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:47:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:47:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:47:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:47:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:47:40] local.INFO: DEBUG: GPS processor result {"connection_id":191495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:47:40] local.INFO: GPS data processed {"connection_id":191495,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:47:40] local.INFO: Acknowledgment sent {"connection_id":191495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:47:50] local.INFO: TCP Data received {"connection_id":188742,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aec530012d1adb8007244208003000292e..."} 
[2026-09-21 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aec530012d1adb8007244208003000292e..."} 
[2026-09-21 16:47:50] local.INFO: Processing buffer {"connection_id":188742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aec530012d1adb8007244208003000292e..."} 
[2026-09-21 16:47:50] local.INFO: Packet analysis {"connection_id":188742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ae"} 
[2026-09-21 16:47:50] local.INFO: Extracted packet for processing {"connection_id":188742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ae"} 
[2026-09-21 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":756734848,"raw_latitude":119816712,"longitude_deg":75.6734848,"latitude_deg":11.9816712,"altitude":48,"angle":41,"satellites":46,"speed":21,"hex_longitude":"2d1adb80","hex_latitude":"07244208","is_valid_coordinates":true} 
[2026-09-21 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:47:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237286912001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22497253444812800,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1933381276954005504,"note":"Value kept but may cause issues"} 
[2026-09-21 16:47:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:47:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789989406000,"timestamp_ms":1789989406000,"timestamp_seconds":1789989406,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aec530"} 
[2026-09-21 16:47:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:47:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:47:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 16:47:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:47:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:47:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:47:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:47:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:47:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:47:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188742,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:47:50] 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-09-21 16:47:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:47:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:47:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237286912001,"66":14211,"176":206,"83":42752,"24":21,"16":22497253444812800,"45":1933381276954005504},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-21 16:47:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:47:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:47:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237286912001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:47:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-21 16:47:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:47:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22497253444812800,"km_value":22497253444812.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:47:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1933381276954005504,"description":"Unknown IO ID 45"} 
[2026-09-21 16:47:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237286912001,"power":14211,"unknown_176":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1933381276954005504}} 
[2026-09-21 16:47:50] local.INFO: DEBUG: GPS processor result {"connection_id":188742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:47:50] local.INFO: GPS data processed {"connection_id":188742,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:47:50] local.INFO: Acknowledgment sent {"connection_id":188742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:48:02] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:02] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:02] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:48:08] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:08] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:48:08] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:48:09] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:09] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:09] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:48:09] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:48:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:48:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:48:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 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-09-21 16:48:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:48: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-09-21 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-09-21 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-09-21 16:48:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:48:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:48:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:48:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16: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-09-21 16:48:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:48:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:48:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:48:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:48:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:48:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:48:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:48:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:48:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:48:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:48:09] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:48:09] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:48:09] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:48:12] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:12] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:12] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:48:15] local.INFO: TCP Data received {"connection_id":188743,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:48:15] local.INFO: Processing buffer {"connection_id":188743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:48:15] local.INFO: IMEI packet received {"connection_id":188743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":188743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:48:17] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:17] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:48:17] local.INFO: IMEI packet received {"connection_id":191496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":191496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:48:18] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3aee470012d1ae34007244d60002f001d2d..."} 
[2026-09-21 16:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3aee470012d1ae34007244d60002f001d2d..."} 
[2026-09-21 16:48:18] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3aee470012d1ae34007244d60002f001d2d..."} 
[2026-09-21 16:48:18] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ae"} 
[2026-09-21 16:48:18] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ae"} 
[2026-09-21 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756736832,"raw_latitude":119819616,"longitude_deg":75.6736832,"latitude_deg":11.9819616,"altitude":47,"angle":29,"satellites":45,"speed":21,"hex_longitude":"2d1ae340","hex_latitude":"07244d60","is_valid_coordinates":true} 
[2026-09-21 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237287936001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22497420948537344,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1935281233047193600,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789989414000,"timestamp_ms":1789989414000,"timestamp_seconds":1789989414,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3aee470"} 
[2026-09-21 16:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-09-21 16:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1652,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:48:18] 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-09-21 16:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237287936001,"66":14135,"176":206,"83":42752,"24":21,"16":22497420948537344,"45":1935281233047193600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-21 16:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237287936001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:48:18] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-21 16:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22497420948537344,"km_value":22497420948537.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1935281233047193600,"description":"Unknown IO ID 45"} 
[2026-09-21 16:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237287936001,"power":14135,"unknown_176":206,"unknown_83":42752,"ignition":21,"odometer":null,"unknown_45":1935281233047193600}} 
[2026-09-21 16:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:48:19] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:48:19] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:48:40] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:40] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3abb020012d34c14006aa40600007000c2f..."} 
[2026-09-21 16:48:40] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:48:40] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ab"} 
[2026-09-21 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237159168001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989204000,"timestamp_ms":1789989204000,"timestamp_seconds":1789989204,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3abb020"} 
[2026-09-21 16:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 16:48:40] 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-09-21 16:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237159168001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237159168001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237159168001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:48:40] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:48:40] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:48:50] local.INFO: TCP Data received {"connection_id":191496,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3af1738012d1af340072467e0002900282d..."} 
[2026-09-21 16:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3af1738012d1af340072467e0002900282d..."} 
[2026-09-21 16:48:50] local.INFO: Processing buffer {"connection_id":191496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3af1738012d1af340072467e0002900282d..."} 
[2026-09-21 16:48:50] local.INFO: Packet analysis {"connection_id":191496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:48:50] local.INFO: Extracted packet for processing {"connection_id":191496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":756740928,"raw_latitude":119826400,"longitude_deg":75.6740928,"latitude_deg":11.98264,"altitude":41,"angle":40,"satellites":45,"speed":23,"hex_longitude":"2d1af340","hex_latitude":"072467e0","is_valid_coordinates":true} 
[2026-09-21 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:48:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237289984001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22497803200626688,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1937462664117444608,"note":"Value kept but may cause issues"} 
[2026-09-21 16:48:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:48:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789989427000,"timestamp_ms":1789989427000,"timestamp_seconds":1789989427,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3af1738"} 
[2026-09-21 16:48:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:48:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:48:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 16:48:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:48:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:48:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:48:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:48:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:48:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:48:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:48:50] 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-09-21 16:48:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:48:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:48:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237289984001,"66":14113,"176":206,"83":42752,"24":23,"16":22497803200626688,"45":1937462664117444608},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-09-21 16:48:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:48:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:48:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237289984001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:48:50] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-09-21 16:48:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:48:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22497803200626688,"km_value":22497803200626.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:48:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1937462664117444608,"description":"Unknown IO ID 45"} 
[2026-09-21 16:48:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237289984001,"power":14113,"unknown_176":206,"unknown_83":42752,"ignition":23,"odometer":null,"unknown_45":1937462664117444608}} 
[2026-09-21 16:48:50] local.INFO: DEBUG: GPS processor result {"connection_id":191496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:48:50] local.INFO: GPS data processed {"connection_id":191496,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:48:50] local.INFO: Acknowledgment sent {"connection_id":191496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:49:02] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:02] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:02] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:49:03] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:03] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:03] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:49:03] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:49:08] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:08] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:49:08] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:49:08] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:49:09] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:09] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:09] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:49:09] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:49: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-09-21 16:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:49:09] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:49:09] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:49:17] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:17] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:17] local.INFO: IMEI packet received {"connection_id":188894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":188894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:49:22] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:22] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:49:22] local.INFO: IMEI packet received {"connection_id":188894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":188894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:49:23] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3af5d88012d1b0bc007248220002700242c..."} 
[2026-09-21 16:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3af5d88012d1b0bc007248220002700242c..."} 
[2026-09-21 16:49:23] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3af5d88012d1b0bc007248220002700242c..."} 
[2026-09-21 16:49:23] local.INFO: Packet analysis {"connection_id":188894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:49:23] local.INFO: Extracted packet for processing {"connection_id":188894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756747200,"raw_latitude":119833120,"longitude_deg":75.67472,"latitude_deg":11.983312,"altitude":39,"angle":36,"satellites":44,"speed":18,"hex_longitude":"2d1b0bc0","hex_latitude":"07248220","is_valid_coordinates":true} 
[2026-09-21 16:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237293312001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22498245582258176,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941966263746551808,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789989445000,"timestamp_ms":1789989445000,"timestamp_seconds":1789989445,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3af5d88"} 
[2026-09-21 16:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 16:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237293312001,"66":14102,"136":206,"83":42752,"24":18,"16":22498245582258176,"45":1941966263746551808},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-21 16:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237293312001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:49:23] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-21 16:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22498245582258176,"km_value":22498245582258.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941966263746551808,"description":"Unknown IO ID 45"} 
[2026-09-21 16:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237293312001,"power":14102,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1941966263746551808}} 
[2026-09-21 16:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:49:23] local.INFO: GPS data processed {"connection_id":188894,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:49:23] local.INFO: Acknowledgment sent {"connection_id":188894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:49:41] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:41] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:49:41] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:49:41] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:49:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:49: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-09-21 16:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:49:41] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:49:41] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:49:57] local.INFO: TCP Data received {"connection_id":188894,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3af6d28012d1b118007248798002700332b..."} 
[2026-09-21 16:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188894,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3af6d28012d1b118007248798002700332b..."} 
[2026-09-21 16:49:57] local.INFO: Processing buffer {"connection_id":188894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3af6d28012d1b118007248798002700332b..."} 
[2026-09-21 16:49:57] local.INFO: Packet analysis {"connection_id":188894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:49:57] local.INFO: Extracted packet for processing {"connection_id":188894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3af"} 
[2026-09-21 16:49:57] local.INFO: GPS Element Parsed {"raw_longitude":756748672,"raw_latitude":119834520,"longitude_deg":75.6748672,"latitude_deg":11.983452,"altitude":39,"angle":51,"satellites":43,"speed":20,"hex_longitude":"2d1b1180","hex_latitude":"07248798","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237297920001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22498344366505984,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1948862400677683200,"note":"Value kept but may cause issues"} 
[2026-09-21 16:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1789989449000,"timestamp_ms":1789989449000,"timestamp_seconds":1789989449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3af6d28"} 
[2026-09-21 16:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":22,"data_length":795,"current_offset":136} 
[2026-09-21 16:49: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-09-21 16: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-09-21 16:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:49:57] 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-09-21 16:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237297920001,"66":14135,"136":206,"83":42752,"24":20,"16":22498344366505984,"45":1948862400677683200},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-09-21 16:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237297920001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:49:57] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-09-21 16:49:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22498344366505984,"km_value":22498344366505.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1948862400677683200,"description":"Unknown IO ID 45"} 
[2026-09-21 16:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237297920001,"power":14135,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1948862400677683200}} 
[2026-09-21 16:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":188894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:49:57] local.INFO: GPS data processed {"connection_id":188894,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:49:57] local.INFO: Acknowledgment sent {"connection_id":188894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:50:02] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:02] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:02] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:50:08] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:08] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:50:08] local.INFO: IMEI packet received {"connection_id":191497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":191497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:50:08] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:09] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:09] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:09] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 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-09-21 16:50:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:50:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:50: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-09-21 16:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:50:09] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:50:09] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:50:17] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:17] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:17] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:50:22] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:22] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:50:22] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:50:23] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b0ebf8012d1b640007254ba8002e00042c..."} 
[2026-09-21 16:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b0ebf8012d1b640007254ba8002e00042c..."} 
[2026-09-21 16:50:23] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b0ebf8012d1b640007254ba8002e00042c..."} 
[2026-09-21 16:50:23] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:23] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:23] local.INFO: GPS Element Parsed {"raw_longitude":756769792,"raw_latitude":119884712,"longitude_deg":75.6769792,"latitude_deg":11.9884712,"altitude":46,"angle":4,"satellites":44,"speed":0,"hex_longitude":"2d1b6400","hex_latitude":"07254ba8","is_valid_coordinates":true} 
[2026-09-21 16:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237318656001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22501191929823232,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972365561244399616,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789989547000,"timestamp_ms":1789989547000,"timestamp_seconds":1789989547,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b0ebf8"} 
[2026-09-21 16:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-21 16:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237318656001,"66":13972,"216":206,"83":42752,"24":0,"16":22501191929823232,"45":1972365561244399616},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-21 16:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237318656001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:50:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-21 16:50:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22501191929823232,"km_value":22501191929823.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972365561244399616,"description":"Unknown IO ID 45"} 
[2026-09-21 16:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237318656001,"power":13972,"unknown_216":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1972365561244399616}} 
[2026-09-21 16:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:50:23] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:50:23] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:50:40] local.INFO: TCP Data received {"connection_id":191497,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:40] local.INFO: Processing buffer {"connection_id":191497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:50:40] local.INFO: Packet analysis {"connection_id":191497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:40] local.INFO: Extracted packet for processing {"connection_id":191497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:40] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":191497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:50:40] local.INFO: GPS data processed {"connection_id":191497,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:50:40] local.INFO: Acknowledgment sent {"connection_id":191497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:50:55] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b11ad8012d1b6480072551f0002e01582d..."} 
[2026-09-21 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b11ad8012d1b6480072551f0002e01582d..."} 
[2026-09-21 16:50:55] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b11ad8012d1b6480072551f0002e01582d..."} 
[2026-09-21 16:50:55] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:50:55] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756769920,"raw_latitude":119886320,"longitude_deg":75.676992,"latitude_deg":11.988632,"altitude":46,"angle":344,"satellites":45,"speed":13,"hex_longitude":"2d1b6480","hex_latitude":"072551f0","is_valid_coordinates":true} 
[2026-09-21 16:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237324032001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22501273534201856,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973702567385606144,"note":"Value kept but may cause issues"} 
[2026-09-21 16:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789989559000,"timestamp_ms":1789989559000,"timestamp_seconds":1789989559,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b11ad8"} 
[2026-09-21 16:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 16:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:50:55] 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-09-21 16:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237324032001,"66":13820,"216":206,"83":42752,"24":13,"16":22501273534201856,"45":1973702567385606144},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-21 16:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237324032001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:50:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-21 16:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22501273534201856,"km_value":22501273534201.855,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973702567385606144,"description":"Unknown IO ID 45"} 
[2026-09-21 16:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237324032001,"power":13820,"unknown_216":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1973702567385606144}} 
[2026-09-21 16:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:50:55] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:50:55] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:51:08] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:08] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:08] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:51:08] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:51:12] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:12] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:12] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:51:13] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:13] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:51:13] local.INFO: IMEI packet received {"connection_id":191498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:51:13] local.INFO: IMEI acknowledgment sent {"connection_id":191498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:51:14] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:14] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:14] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:51:14] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:51:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:51:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:14] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:51:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:51:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:51:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:51:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:51:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:51:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:51:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:51:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:51:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:51:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:51:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:51:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:51: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-09-21 16:51:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:51:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:51:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:51:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:51:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:51:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:51:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:51:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:51:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:51:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:51:14] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:51:14] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:51:14] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:51:17] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:17] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:51:17] local.INFO: IMEI packet received {"connection_id":188744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:51:19] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b122a8012d1b638007255458002d014b2c..."} 
[2026-09-21 16:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b122a8012d1b638007255458002d014b2c..."} 
[2026-09-21 16:51:19] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b122a8012d1b638007255458002d014b2c..."} 
[2026-09-21 16:51:19] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:51:19] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:51:19] local.INFO: GPS Element Parsed {"raw_longitude":756769664,"raw_latitude":119886936,"longitude_deg":75.6769664,"latitude_deg":11.9886936,"altitude":45,"angle":331,"satellites":44,"speed":12,"hex_longitude":"2d1b6380","hex_latitude":"07255458","is_valid_coordinates":true} 
[2026-09-21 16:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:51:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237327104001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22501303598972928,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973843304874373120,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:51:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789989561000,"timestamp_ms":1789989561000,"timestamp_seconds":1789989561,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b122a8"} 
[2026-09-21 16:51:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:51:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:51:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-21 16:51:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:51:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:51:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:51:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:51:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:51:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:51:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:51:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:51:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:51:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:51:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237327104001,"66":13722,"216":206,"83":42752,"24":12,"16":22501303598972928,"45":1973843304874373120},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-21 16:51:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:51:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:51:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237327104001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:51:19] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-21 16:51:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:51:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22501303598972928,"km_value":22501303598972.93,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:51:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973843304874373120,"description":"Unknown IO ID 45"} 
[2026-09-21 16:51:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237327104001,"power":13722,"unknown_216":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1973843304874373120}} 
[2026-09-21 16:51:19] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:51:19] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:51:19] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:51:47] local.INFO: TCP Data received {"connection_id":191498,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:47] local.INFO: Processing buffer {"connection_id":191498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:51:47] local.INFO: Packet analysis {"connection_id":191498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:51:47] local.INFO: Extracted packet for processing {"connection_id":191498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:47] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:51:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":191498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":191498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:51:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":191498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:51:47] local.INFO: GPS data processed {"connection_id":191498,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:51:47] local.INFO: Acknowledgment sent {"connection_id":191498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:51:55] local.INFO: TCP Data received {"connection_id":188744,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b12a78012d1b62c007255668002d00002c..."} 
[2026-09-21 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b12a78012d1b62c007255668002d00002c..."} 
[2026-09-21 16:51:55] local.INFO: Processing buffer {"connection_id":188744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b12a78012d1b62c007255668002d00002c..."} 
[2026-09-21 16:51:55] local.INFO: Packet analysis {"connection_id":188744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:51:55] local.INFO: Extracted packet for processing {"connection_id":188744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b1"} 
[2026-09-21 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756769472,"raw_latitude":119887464,"longitude_deg":75.6769472,"latitude_deg":11.9887464,"altitude":45,"angle":0,"satellites":44,"speed":9,"hex_longitude":"2d1b62c0","hex_latitude":"07255668","is_valid_coordinates":true} 
[2026-09-21 16:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237327616001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22501333663744000,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973561829897820160,"note":"Value kept but may cause issues"} 
[2026-09-21 16:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789989563000,"timestamp_ms":1789989563000,"timestamp_seconds":1789989563,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b12a78"} 
[2026-09-21 16:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-09-21 16:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:51:55] 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-09-21 16:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237327616001,"66":13820,"216":206,"83":42752,"24":9,"16":22501333663744000,"45":1973561829897820160},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-09-21 16:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237327616001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:51:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-09-21 16:51:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22501333663744000,"km_value":22501333663744,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973561829897820160,"description":"Unknown IO ID 45"} 
[2026-09-21 16:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237327616001,"power":13820,"unknown_216":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1973561829897820160}} 
[2026-09-21 16:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":188744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:51:55] local.INFO: GPS data processed {"connection_id":188744,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:51:55] local.INFO: Acknowledgment sent {"connection_id":188744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:52:02] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:02] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:02] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:52:08] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:08] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:52:08] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:52:08] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:52:09] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:09] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:09] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:52:09] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:09] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:52:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:52:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:52:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:52:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:52:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:52:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:52:09] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:52:09] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:52:20] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:52:20] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:52:20] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:52:30] local.INFO: TCP Data received {"connection_id":190204,"ip":"42.106.6.25","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 16:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190204,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 16:52:30] local.INFO: Processing buffer {"connection_id":190204,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 16:52:30] local.INFO: IMEI packet received {"connection_id":190204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":190204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:52:41] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:41] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:52:41] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:52:41] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:52:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:52:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:41] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:52:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:52:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:52:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:52:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:52:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:52:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:52:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:52:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:52:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:52:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:52:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:52:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:52:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:52:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:52:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:52:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:52:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:52:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:52:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:52:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:52:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:52:41] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:52:41] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:52:41] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:53:03] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:03] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:03] local.INFO: IMEI packet received {"connection_id":191499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":191499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:53:08] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:08] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:53:08] local.INFO: IMEI packet received {"connection_id":191499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":191499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:53:10] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:10] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:10] local.INFO: Packet analysis {"connection_id":191499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:53:10] local.INFO: Extracted packet for processing {"connection_id":191499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:53:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:10] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:53:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:53:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:53:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:53:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:53: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-09-21 16: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-09-21 16:53:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:53:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:53:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:53:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:53:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:53:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:53:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:53:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:53:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:53:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:53:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:53:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:53:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:53:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:53:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:53:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:53:10] local.INFO: DEBUG: GPS processor result {"connection_id":191499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:53:10] local.INFO: GPS data processed {"connection_id":191499,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:53:10] local.INFO: Acknowledgment sent {"connection_id":191499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:53:42] local.INFO: TCP Data received {"connection_id":191499,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:42] local.INFO: Processing buffer {"connection_id":191499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b047e8012d34c14006aa40600005000c31..."} 
[2026-09-21 16:53:42] local.INFO: Packet analysis {"connection_id":191499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:53:42] local.INFO: Extracted packet for processing {"connection_id":191499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b0"} 
[2026-09-21 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237236224001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:42] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-09-21 16:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-09-21 16:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789989505000,"timestamp_ms":1789989505000,"timestamp_seconds":1789989505,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b047e8"} 
[2026-09-21 16:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:53:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:53: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-09-21 16: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-09-21 16:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:53: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-09-21 16:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237236224001,"66":25397,"200":0,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,81,24,16,45]} 
[2026-09-21 16:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237236224001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:53:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237236224001,"power":25397,"gsm_signal":0,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":191499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:53:42] local.INFO: GPS data processed {"connection_id":191499,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:53:42] local.INFO: Acknowledgment sent {"connection_id":191499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:53:45] local.INFO: TCP Data received {"connection_id":188746,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:53:45] local.INFO: Processing buffer {"connection_id":188746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:53:45] local.INFO: IMEI packet received {"connection_id":188746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:53:45] local.INFO: IMEI acknowledgment sent {"connection_id":188746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:54:02] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:02] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:02] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:54:05] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:05] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:05] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:54:08] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:08] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:54:08] local.INFO: IMEI packet received {"connection_id":188747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":188747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:54:09] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:09] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:09] local.INFO: Packet analysis {"connection_id":188747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:54:09] local.INFO: Extracted packet for processing {"connection_id":188747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:54:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:54:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":188747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:54:09] local.INFO: GPS data processed {"connection_id":188747,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:54:09] local.INFO: Acknowledgment sent {"connection_id":188747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:54:15] local.INFO: TCP Data received {"connection_id":190205,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:54:15] local.INFO: Processing buffer {"connection_id":190205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:54:15] local.INFO: IMEI packet received {"connection_id":190205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":190205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:54:42] local.INFO: TCP Data received {"connection_id":188747,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:42] local.INFO: Processing buffer {"connection_id":188747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:54:42] local.INFO: Packet analysis {"connection_id":188747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:54:42] local.INFO: Extracted packet for processing {"connection_id":188747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 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-09-21 16:54:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:54: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-09-21 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-09-21 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-09-21 16:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:54:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:54:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":188747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:54:42] local.INFO: GPS data processed {"connection_id":188747,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:54:42] local.INFO: Acknowledgment sent {"connection_id":188747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:55:03] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:03] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:03] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:55:08] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:08] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:55:08] local.INFO: IMEI packet received {"connection_id":190206,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":190206,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:55:09] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:09] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:09] local.INFO: Packet analysis {"connection_id":190206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:55:09] local.INFO: Extracted packet for processing {"connection_id":190206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:55:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:55:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":190206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:55:09] local.INFO: GPS data processed {"connection_id":190206,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:55:09] local.INFO: Acknowledgment sent {"connection_id":190206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:55:40] local.INFO: TCP Data received {"connection_id":190206,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190206,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:40] local.INFO: Processing buffer {"connection_id":190206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:55:40] local.INFO: Packet analysis {"connection_id":190206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:55:40] local.INFO: Extracted packet for processing {"connection_id":190206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190206,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":190206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:55:40] local.INFO: GPS data processed {"connection_id":190206,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:55:40] local.INFO: Acknowledgment sent {"connection_id":190206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:56:02] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:02] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:02] local.INFO: IMEI packet received {"connection_id":188749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:56:08] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:08] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:56:08] local.INFO: IMEI packet received {"connection_id":188749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:56:09] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:09] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:09] local.INFO: Packet analysis {"connection_id":188749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:56:09] local.INFO: Extracted packet for processing {"connection_id":188749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 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-09-21 16:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:56:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:56:09] local.INFO: GPS data processed {"connection_id":188749,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:56:09] local.INFO: Acknowledgment sent {"connection_id":188749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:56:40] local.INFO: TCP Data received {"connection_id":188749,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:40] local.INFO: Processing buffer {"connection_id":188749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:56:40] local.INFO: Packet analysis {"connection_id":188749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:56:40] local.INFO: Extracted packet for processing {"connection_id":188749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":188749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:56:40] local.INFO: GPS data processed {"connection_id":188749,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:56:40] local.INFO: Acknowledgment sent {"connection_id":188749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:57:02] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:02] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:02] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:57:08] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:08] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:57:08] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:57:08] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:57:09] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:09] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:09] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:57:09] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16: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-09-21 16:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:57:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:57:09] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:57:09] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:57:32] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:57:32] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:57:32] local.INFO: IMEI packet received {"connection_id":188750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:57:32] local.INFO: IMEI acknowledgment sent {"connection_id":188750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:57:33] local.INFO: TCP Data received {"connection_id":188750,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b76c08012d1a34800723abb0003400b42a..."} 
[2026-09-21 16:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b76c08012d1a34800723abb0003400b42a..."} 
[2026-09-21 16:57:33] local.INFO: Processing buffer {"connection_id":188750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b76c08012d1a34800723abb0003400b42a..."} 
[2026-09-21 16:57:33] local.INFO: Packet analysis {"connection_id":188750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b7"} 
[2026-09-21 16:57:33] local.INFO: Extracted packet for processing {"connection_id":188750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b7"} 
[2026-09-21 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756692096,"raw_latitude":119778224,"longitude_deg":75.6692096,"latitude_deg":11.9778224,"altitude":52,"angle":180,"satellites":42,"speed":18,"hex_longitude":"2d1a3480","hex_latitude":"0723abb0","is_valid_coordinates":true} 
[2026-09-21 16:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237430528001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22508497669193728,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887782330718324736,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789989973000,"timestamp_ms":1789989973000,"timestamp_seconds":1789989973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b76c08"} 
[2026-09-21 16:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-09-21 16:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":188750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":188750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":188750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237430528001,"66":14363,"42":206,"83":42752,"24":18,"16":22508497669193728,"45":1887782330718324736},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237430528001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:57:33] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:57:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22508497669193728,"km_value":22508497669193.727,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887782330718324736,"description":"Unknown IO ID 45"} 
[2026-09-21 16:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237430528001,"power":14363,"unknown_42":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1887782330718324736}} 
[2026-09-21 16:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":188750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:57:33] local.INFO: GPS data processed {"connection_id":188750,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:57:33] local.INFO: Acknowledgment sent {"connection_id":188750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:57:40] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:40] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:57:40] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:57:40] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16: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-09-21 16:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16: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-09-21 16:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:57:40] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:57:40] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:58:02] local.INFO: TCP Data received {"connection_id":191502,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:02] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:02] local.INFO: IMEI packet received {"connection_id":191502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":191502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:58:08] local.INFO: TCP Data received {"connection_id":191502,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:08] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:58:08] local.INFO: IMEI packet received {"connection_id":191502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:58:08] local.INFO: IMEI acknowledgment sent {"connection_id":191502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:58:09] local.INFO: TCP Data received {"connection_id":191502,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:09] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:09] local.INFO: Packet analysis {"connection_id":191502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:58:09] local.INFO: Extracted packet for processing {"connection_id":191502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:58:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:58: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-09-21 16:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":191502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:58:09] local.INFO: GPS data processed {"connection_id":191502,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:58:09] local.INFO: Acknowledgment sent {"connection_id":191502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:58:12] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:12] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:12] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:58:17] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:17] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:58:17] local.INFO: IMEI packet received {"connection_id":190208,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":190208,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:58:18] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b817e8012d1a484007236f98003700c228..."} 
[2026-09-21 16:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b817e8012d1a484007236f98003700c228..."} 
[2026-09-21 16:58:18] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b817e8012d1a484007236f98003700c228..."} 
[2026-09-21 16:58:18] local.INFO: Packet analysis {"connection_id":190208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:58:18] local.INFO: Extracted packet for processing {"connection_id":190208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756697152,"raw_latitude":119762840,"longitude_deg":75.6697152,"latitude_deg":11.976284,"altitude":55,"angle":194,"satellites":40,"speed":12,"hex_longitude":"2d1a4840","hex_latitude":"07236f98","is_valid_coordinates":true} 
[2026-09-21 16:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237440768001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22509373842522112,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893693305225529344,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990017000,"timestamp_ms":1789990017000,"timestamp_seconds":1789990017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b817e8"} 
[2026-09-21 16:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 16:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:58:18] 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-09-21 16:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237440768001,"66":14070,"42":206,"83":42752,"24":12,"16":22509373842522112,"45":1893693305225529344},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237440768001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:58:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22509373842522112,"km_value":22509373842522.113,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893693305225529344,"description":"Unknown IO ID 45"} 
[2026-09-21 16:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237440768001,"power":14070,"unknown_42":206,"unknown_83":42752,"ignition":12,"odometer":null,"unknown_45":1893693305225529344}} 
[2026-09-21 16:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":190208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:58:18] local.INFO: GPS data processed {"connection_id":190208,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:58:18] local.INFO: Acknowledgment sent {"connection_id":190208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:58:40] local.INFO: TCP Data received {"connection_id":191502,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:40] local.INFO: Processing buffer {"connection_id":191502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b4dfb0012d34c14006aa40600005000c2f..."} 
[2026-09-21 16:58:40] local.INFO: Packet analysis {"connection_id":191502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:58:40] local.INFO: Extracted packet for processing {"connection_id":191502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b4"} 
[2026-09-21 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237313280001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789989806000,"timestamp_ms":1789989806000,"timestamp_seconds":1789989806,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b4dfb0"} 
[2026-09-21 16:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 16:58:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237313280001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237313280001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237313280001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":191502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:58:40] local.INFO: GPS data processed {"connection_id":191502,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:58:40] local.INFO: Acknowledgment sent {"connection_id":191502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:58:49] local.INFO: TCP Data received {"connection_id":190208,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b823a0012d1a47c007236ae8003800af28..."} 
[2026-09-21 16:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b823a0012d1a47c007236ae8003800af28..."} 
[2026-09-21 16:58:49] local.INFO: Processing buffer {"connection_id":190208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b823a0012d1a47c007236ae8003800af28..."} 
[2026-09-21 16:58:49] local.INFO: Packet analysis {"connection_id":190208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:58:49] local.INFO: Extracted packet for processing {"connection_id":190208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756697024,"raw_latitude":119761640,"longitude_deg":75.6697024,"latitude_deg":11.976164,"altitude":56,"angle":175,"satellites":40,"speed":17,"hex_longitude":"2d1a47c0","hex_latitude":"07236ae8","is_valid_coordinates":true} 
[2026-09-21 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237444352001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22509429677096960,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893834042712758272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990020000,"timestamp_ms":1789990020000,"timestamp_seconds":1789990020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b823a0"} 
[2026-09-21 16:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 16:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190208,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:58:49] 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-09-21 16:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237444352001,"66":14070,"42":206,"83":42752,"24":17,"16":22509429677096960,"45":1893834042712758272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237444352001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:58:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22509429677096960,"km_value":22509429677096.96,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893834042712758272,"description":"Unknown IO ID 45"} 
[2026-09-21 16:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237444352001,"power":14070,"unknown_42":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1893834042712758272}} 
[2026-09-21 16:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":190208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877218,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:58:49] local.INFO: GPS data processed {"connection_id":190208,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:58:49] local.INFO: Acknowledgment sent {"connection_id":190208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:59:02] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:02] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:02] local.INFO: IMEI packet received {"connection_id":188900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 16:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":188900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:59:06] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:06] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:06] local.INFO: IMEI packet received {"connection_id":188900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":188900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:59:07] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:07] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 16:59:07] local.INFO: IMEI packet received {"connection_id":188900,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 16:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":188900,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:59:08] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:08] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:08] local.INFO: Packet analysis {"connection_id":188900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 16:59:08] local.INFO: Extracted packet for processing {"connection_id":188900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 16:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 16:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 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-09-21 16:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 16:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 16:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:59: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-09-21 16:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":188900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:59:08] local.INFO: GPS data processed {"connection_id":188900,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:59:08] local.INFO: Acknowledgment sent {"connection_id":188900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:59:17] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:17] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:17] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 16:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:59:19] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:19] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 16:59:19] local.INFO: IMEI packet received {"connection_id":191503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 16:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":191503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 16:59:20] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b86608012d1a47c0072353d0003800fe28..."} 
[2026-09-21 16:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b86608012d1a47c0072353d0003800fe28..."} 
[2026-09-21 16:59:20] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b86608012d1a47c0072353d0003800fe28..."} 
[2026-09-21 16:59:20] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:59:20] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756697024,"raw_latitude":119755728,"longitude_deg":75.6697024,"latitude_deg":11.9755728,"altitude":56,"angle":254,"satellites":40,"speed":7,"hex_longitude":"2d1a47c0","hex_latitude":"072353d0","is_valid_coordinates":true} 
[2026-09-21 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237445120001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22509726029840384,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893693305224095744,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789990037000,"timestamp_ms":1789990037000,"timestamp_seconds":1789990037,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b86608"} 
[2026-09-21 16:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:59:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 16:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:59:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:20] 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-09-21 16:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237445120001,"66":13972,"42":206,"83":42752,"24":7,"16":22509726029840384,"45":1893693305224095744},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237445120001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:59:20] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:59:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22509726029840384,"km_value":22509726029840.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893693305224095744,"description":"Unknown IO ID 45"} 
[2026-09-21 16:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237445120001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":7,"odometer":null,"unknown_45":1893693305224095744}} 
[2026-09-21 16:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877220,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:59:20] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:59:20] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:59:23] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b875a8012d1a4600072354080039011028..."} 
[2026-09-21 16:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b875a8012d1a4600072354080039011028..."} 
[2026-09-21 16:59:23] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b875a8012d1a4600072354080039011028..."} 
[2026-09-21 16:59:23] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:59:23] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b8"} 
[2026-09-21 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756696576,"raw_latitude":119755784,"longitude_deg":75.6696576,"latitude_deg":11.9755784,"altitude":57,"angle":272,"satellites":40,"speed":6,"hex_longitude":"2d1a4600","hex_latitude":"07235408","is_valid_coordinates":true} 
[2026-09-21 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237449472001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22509747504676864,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893693305222582272,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789990041000,"timestamp_ms":1789990041000,"timestamp_seconds":1789990041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b875a8"} 
[2026-09-21 16:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-09-21 16:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 16:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237449472001,"66":13972,"42":206,"83":42752,"24":6,"16":22509747504676864,"45":1893693305222582272},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237449472001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:59:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22509747504676864,"km_value":22509747504676.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893693305222582272,"description":"Unknown IO ID 45"} 
[2026-09-21 16:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237449472001,"power":13972,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1893693305222582272}} 
[2026-09-21 16:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:59:23] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:59:23] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:59:40] local.INFO: TCP Data received {"connection_id":191504,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:59:40] local.INFO: Processing buffer {"connection_id":191504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 16:59:40] local.INFO: IMEI packet received {"connection_id":191504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 16:59:40] local.INFO: IMEI acknowledgment sent {"connection_id":191504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 16:59:40] local.INFO: TCP Data received {"connection_id":188900,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188900,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:40] local.INFO: Processing buffer {"connection_id":188900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 16:59:40] local.INFO: Packet analysis {"connection_id":188900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 16:59:40] local.INFO: Extracted packet for processing {"connection_id":188900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 16:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 16:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 16:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 16:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 16:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188900,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 16:59: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-09-21 16:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 16:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 16:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 16:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 16:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 16:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:59:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 16:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 16:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 16:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 16:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":188900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:59:40] local.INFO: GPS data processed {"connection_id":188900,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:59:40] local.INFO: Acknowledgment sent {"connection_id":188900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 16:59:54] local.INFO: TCP Data received {"connection_id":191503,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba0be8012d1a3f40072382a0003801312b..."} 
[2026-09-21 16:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba0be8012d1a3f40072382a0003801312b..."} 
[2026-09-21 16:59:54] local.INFO: Processing buffer {"connection_id":191503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba0be8012d1a3f40072382a0003801312b..."} 
[2026-09-21 16:59:54] local.INFO: Packet analysis {"connection_id":191503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 16:59:54] local.INFO: Extracted packet for processing {"connection_id":191503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756694848,"raw_latitude":119767712,"longitude_deg":75.6694848,"latitude_deg":11.9767712,"altitude":56,"angle":305,"satellites":43,"speed":8,"hex_longitude":"2d1a3f40","hex_latitude":"072382a0","is_valid_coordinates":true} 
[2026-09-21 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 16:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237476864001,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510610793103360,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891511874156118016,"note":"Value kept but may cause issues"} 
[2026-09-21 16:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 16:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789990145000,"timestamp_ms":1789990145000,"timestamp_seconds":1789990145,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba0be8"} 
[2026-09-21 16:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 16:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 16:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 16:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 16:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 16:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 16:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 16:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 16:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 16:59:54] 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-09-21 16:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 16:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 16:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237476864001,"66":14396,"42":206,"83":42752,"24":8,"16":22510610793103360,"45":1891511874156118016},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 16:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 16:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 16:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237476864001,"description":"Unknown IO ID 0"} 
[2026-09-21 16:59:54] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 16:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 16:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510610793103360,"km_value":22510610793103.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 16:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891511874156118016,"description":"Unknown IO ID 45"} 
[2026-09-21 16:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237476864001,"power":14396,"unknown_42":206,"unknown_83":42752,"ignition":8,"odometer":null,"unknown_45":1891511874156118016}} 
[2026-09-21 16:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":191503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 16:59:54] local.INFO: GPS data processed {"connection_id":191503,"processed":1,"errors":0,"total":1} 
[2026-09-21 16:59:54] local.INFO: Acknowledgment sent {"connection_id":191503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:00:03] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:03] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:03] local.INFO: IMEI packet received {"connection_id":190210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":190210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:00:08] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:08] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:00:08] local.INFO: IMEI packet received {"connection_id":190210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":190210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:00:09] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:09] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:09] local.INFO: Packet analysis {"connection_id":190210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:00:09] local.INFO: Extracted packet for processing {"connection_id":190210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:00: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-09-21 17:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:00: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-09-21 17:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:00:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:00:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":190210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:00:09] local.INFO: GPS data processed {"connection_id":190210,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:00:09] local.INFO: Acknowledgment sent {"connection_id":190210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:00:12] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:12] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:12] local.INFO: IMEI packet received {"connection_id":188901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":188901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:00:17] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:17] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:00:17] local.INFO: IMEI packet received {"connection_id":188901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":188901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:00:18] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba0fd0012d1a3ec0072383500038013f2b..."} 
[2026-09-21 17:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba0fd0012d1a3ec0072383500038013f2b..."} 
[2026-09-21 17:00:18] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba0fd0012d1a3ec0072383500038013f2b..."} 
[2026-09-21 17:00:18] local.INFO: Packet analysis {"connection_id":188901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:18] local.INFO: Extracted packet for processing {"connection_id":188901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756694720,"raw_latitude":119767888,"longitude_deg":75.669472,"latitude_deg":11.9767888,"altitude":56,"angle":319,"satellites":43,"speed":9,"hex_longitude":"2d1a3ec0","hex_latitude":"07238350","is_valid_coordinates":true} 
[2026-09-21 17:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237477120001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510623678005248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891300767923609600,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990146000,"timestamp_ms":1789990146000,"timestamp_seconds":1789990146,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba0fd0"} 
[2026-09-21 17:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 17:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:18] 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-09-21 17:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237477120001,"66":14396,"42":206,"83":42752,"24":9,"16":22510623678005248,"45":1891300767923609600},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237477120001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:00:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510623678005248,"km_value":22510623678005.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891300767923609600,"description":"Unknown IO ID 45"} 
[2026-09-21 17:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237477120001,"power":14396,"unknown_42":206,"unknown_83":42752,"ignition":9,"odometer":null,"unknown_45":1891300767923609600}} 
[2026-09-21 17:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":188901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:00:18] local.INFO: GPS data processed {"connection_id":188901,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:00:18] local.INFO: Acknowledgment sent {"connection_id":188901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:00:19] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba2358012d1a3b80072387e00036014b2b..."} 
[2026-09-21 17:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba2358012d1a3b80072387e00036014b2b..."} 
[2026-09-21 17:00:19] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba2358012d1a3b80072387e00036014b2b..."} 
[2026-09-21 17:00:19] local.INFO: Packet analysis {"connection_id":188901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:19] local.INFO: Extracted packet for processing {"connection_id":188901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":756693888,"raw_latitude":119769056,"longitude_deg":75.6693888,"latitude_deg":11.9769056,"altitude":54,"angle":331,"satellites":43,"speed":13,"hex_longitude":"2d1a3b80","hex_latitude":"072387e0","is_valid_coordinates":true} 
[2026-09-21 17:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:00:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237477376001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510692397481984,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1891160030435299328,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789990151000,"timestamp_ms":1789990151000,"timestamp_seconds":1789990151,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba2358"} 
[2026-09-21 17:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:00:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:00:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 17:00:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:00:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237477376001,"66":14428,"42":206,"83":42752,"24":13,"16":22510692397481984,"45":1891160030435299328},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237477376001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:00:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:00:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510692397481984,"km_value":22510692397481.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:00:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1891160030435299328,"description":"Unknown IO ID 45"} 
[2026-09-21 17:00:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237477376001,"power":14428,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1891160030435299328}} 
[2026-09-21 17:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":188901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:00:19] local.INFO: GPS data processed {"connection_id":188901,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:00:19] local.INFO: Acknowledgment sent {"connection_id":188901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:00:20] local.INFO: TCP Data received {"connection_id":190211,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:00:20] local.INFO: Processing buffer {"connection_id":190211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:00:20] local.INFO: IMEI packet received {"connection_id":190211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:00:20] local.INFO: IMEI acknowledgment sent {"connection_id":190211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:00:41] local.INFO: TCP Data received {"connection_id":190210,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190210,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:41] local.INFO: Processing buffer {"connection_id":190210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:00:41] local.INFO: Packet analysis {"connection_id":190210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:00:41] local.INFO: Extracted packet for processing {"connection_id":190210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:00:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:00:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:00:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:00:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:00:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:00: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-09-21 17:00:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:00:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:00:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:00:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:00:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:00:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:00:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:00:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:00:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:00:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:00:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:00:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:00:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:00:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:00:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:00:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:00:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:00:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:00:41] local.INFO: DEBUG: GPS processor result {"connection_id":190210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:00:41] local.INFO: GPS data processed {"connection_id":190210,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:00:41] local.INFO: Acknowledgment sent {"connection_id":190210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:00:50] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba5620012d1a32c007239688003201572b..."} 
[2026-09-21 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba5620012d1a32c007239688003201572b..."} 
[2026-09-21 17:00:50] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba5620012d1a32c007239688003201572b..."} 
[2026-09-21 17:00:50] local.INFO: Packet analysis {"connection_id":188901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:50] local.INFO: Extracted packet for processing {"connection_id":188901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":756691648,"raw_latitude":119772808,"longitude_deg":75.6691648,"latitude_deg":11.9772808,"altitude":50,"angle":343,"satellites":43,"speed":17,"hex_longitude":"2d1a32c0","hex_latitude":"07239688","is_valid_coordinates":true} 
[2026-09-21 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:00:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237478656001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510902850879488,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890245236761288704,"note":"Value kept but may cause issues"} 
[2026-09-21 17:00:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:00:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789990164000,"timestamp_ms":1789990164000,"timestamp_seconds":1789990164,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba5620"} 
[2026-09-21 17:00:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:00:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:00:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 17:00:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:00:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:00:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:00:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:00:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:00:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:00:50] 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-09-21 17:00:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:00:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:00:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237478656001,"66":14048,"42":206,"83":42752,"24":17,"16":22510902850879488,"45":1890245236761288704},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:00:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:00:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:00:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237478656001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:00:50] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:00:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:00:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510902850879488,"km_value":22510902850879.49,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:00:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890245236761288704,"description":"Unknown IO ID 45"} 
[2026-09-21 17:00:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237478656001,"power":14048,"unknown_42":206,"unknown_83":42752,"ignition":17,"odometer":null,"unknown_45":1890245236761288704}} 
[2026-09-21 17:00:50] local.INFO: DEBUG: GPS processor result {"connection_id":188901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877228,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:00:50] local.INFO: GPS data processed {"connection_id":188901,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:00:50] local.INFO: Acknowledgment sent {"connection_id":188901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:01:02] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:02] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:02] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:01:08] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:08] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:01:08] local.INFO: IMEI packet received {"connection_id":191505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":191505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:01:10] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:10] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:10] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:01:10] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:01:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:01:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:01:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:01:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:01:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:01:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:01: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-09-21 17:01:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:01:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:01:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:01:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:01:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:01:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:01:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:01:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:01:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:01:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:01:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:01:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:01:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:01:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:01:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:01:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:01:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:01:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:01:10] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:01:10] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:01:10] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:01:22] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:22] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:22] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:01:28] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:28] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:01:28] local.INFO: IMEI packet received {"connection_id":191506,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:01:28] local.INFO: IMEI acknowledgment sent {"connection_id":191506,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:01:28] local.INFO: TCP Data received {"connection_id":191506,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba5df0012d1a3240072399f0003201632b..."} 
[2026-09-21 17:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191506,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba5df0012d1a3240072399f0003201632b..."} 
[2026-09-21 17:01:28] local.INFO: Processing buffer {"connection_id":191506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba5df0012d1a3240072399f0003201632b..."} 
[2026-09-21 17:01:28] local.INFO: Packet analysis {"connection_id":191506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:01:28] local.INFO: Extracted packet for processing {"connection_id":191506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756691520,"raw_latitude":119773680,"longitude_deg":75.669152,"latitude_deg":11.977368,"altitude":50,"angle":355,"satellites":43,"speed":16,"hex_longitude":"2d1a3240","hex_latitude":"072399f0","is_valid_coordinates":true} 
[2026-09-21 17:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237481984001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510945800552448,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887782330716030976,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789990166000,"timestamp_ms":1789990166000,"timestamp_seconds":1789990166,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba5df0"} 
[2026-09-21 17:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:01: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-09-21 17: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 17:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":191506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":191506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":191506,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237481984001,"66":14374,"42":206,"83":42752,"24":16,"16":22510945800552448,"45":1887782330716030976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237481984001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:01:28] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:01:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510945800552448,"km_value":22510945800552.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887782330716030976,"description":"Unknown IO ID 45"} 
[2026-09-21 17:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237481984001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1887782330716030976}} 
[2026-09-21 17:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":191506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:01:28] local.INFO: GPS data processed {"connection_id":191506,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:01:28] local.INFO: Acknowledgment sent {"connection_id":191506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:01:42] local.INFO: TCP Data received {"connection_id":191505,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:42] local.INFO: Processing buffer {"connection_id":191505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:01:42] local.INFO: Packet analysis {"connection_id":191505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:01:42] local.INFO: Extracted packet for processing {"connection_id":191505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:01:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:01:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:01:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:01:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:01:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:01: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-09-21 17: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-09-21 17:01:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:01:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:01:42] local.INFO: Teltonika packet parsed successfully {"connection_id":191505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:01:42] local.INFO: Passing IMEI to GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:01:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":191505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:01:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:01:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:01:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:01:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:01:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:01:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:01:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:01:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:01:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:01:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:01:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:01:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:01:42] local.INFO: DEBUG: GPS processor result {"connection_id":191505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:01:42] local.INFO: GPS data processed {"connection_id":191505,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:01:42] local.INFO: Acknowledgment sent {"connection_id":191505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:02:02] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:02] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:02] local.INFO: IMEI packet received {"connection_id":191507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":191507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:02:08] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:08] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:02:08] local.INFO: IMEI packet received {"connection_id":191507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:02:08] local.INFO: IMEI acknowledgment sent {"connection_id":191507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:02:10] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:10] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:10] local.INFO: Packet analysis {"connection_id":191507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:02:10] local.INFO: Extracted packet for processing {"connection_id":191507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:02:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:02:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:02:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:02:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:02: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-09-21 17: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-09-21 17:02:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:02:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:02:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:02:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:02:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:02: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-09-21 17:02:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:02:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:02:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:02:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:02:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:02:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:02:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:02:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:02:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:02:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:02:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:02:10] local.INFO: DEBUG: GPS processor result {"connection_id":191507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:02:10] local.INFO: GPS data processed {"connection_id":191507,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:02:10] local.INFO: Acknowledgment sent {"connection_id":191507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:02:12] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:12] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:12] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:02:17] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:17] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:02:17] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:02:18] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba65c0012d1a328007239d68003100052b..."} 
[2026-09-21 17:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba65c0012d1a328007239d68003100052b..."} 
[2026-09-21 17:02:18] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba65c0012d1a328007239d68003100052b..."} 
[2026-09-21 17:02:18] local.INFO: Packet analysis {"connection_id":188903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:02:18] local.INFO: Extracted packet for processing {"connection_id":188903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756691584,"raw_latitude":119774568,"longitude_deg":75.6691584,"latitude_deg":11.9774568,"altitude":49,"angle":5,"satellites":43,"speed":18,"hex_longitude":"2d1a3280","hex_latitude":"07239d68","is_valid_coordinates":true} 
[2026-09-21 17:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237482496001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22510988750225408,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887641593227898880,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990168000,"timestamp_ms":1789990168000,"timestamp_seconds":1789990168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba65c0"} 
[2026-09-21 17:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-21 17:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:02:18] 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-09-21 17:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237482496001,"66":14363,"42":206,"83":42752,"24":18,"16":22510988750225408,"45":1887641593227898880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237482496001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:02:18] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22510988750225408,"km_value":22510988750225.406,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887641593227898880,"description":"Unknown IO ID 45"} 
[2026-09-21 17:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237482496001,"power":14363,"unknown_42":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1887641593227898880}} 
[2026-09-21 17:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:02:18] local.INFO: GPS data processed {"connection_id":188903,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:02:18] local.INFO: Acknowledgment sent {"connection_id":188903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:02:41] local.INFO: TCP Data received {"connection_id":191507,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191507,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:41] local.INFO: Processing buffer {"connection_id":191507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:02:41] local.INFO: Packet analysis {"connection_id":191507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:02:41] local.INFO: Extracted packet for processing {"connection_id":191507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:02: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-09-21 17:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":191507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:02:41] local.INFO: GPS data processed {"connection_id":191507,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:02:41] local.INFO: Acknowledgment sent {"connection_id":191507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:02:49] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ba9888012d1a34400723b068002f015e2b..."} 
[2026-09-21 17:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ba9888012d1a34400723b068002f015e2b..."} 
[2026-09-21 17:02:49] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ba9888012d1a34400723b068002f015e2b..."} 
[2026-09-21 17:02:49] local.INFO: Packet analysis {"connection_id":188903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:02:49] local.INFO: Extracted packet for processing {"connection_id":188903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756692032,"raw_latitude":119779432,"longitude_deg":75.6692032,"latitude_deg":11.9779432,"altitude":47,"angle":350,"satellites":43,"speed":13,"hex_longitude":"2d1a3440","hex_latitude":"0723b068","is_valid_coordinates":true} 
[2026-09-21 17:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237483008001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511229268393984,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887711961972303872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990181000,"timestamp_ms":1789990181000,"timestamp_seconds":1789990181,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ba9888"} 
[2026-09-21 17:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 17:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:02:49] 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-09-21 17:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237483008001,"66":14374,"42":206,"83":42752,"24":13,"16":22511229268393984,"45":1887711961972303872},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237483008001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:02:49] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511229268393984,"km_value":22511229268393.984,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887711961972303872,"description":"Unknown IO ID 45"} 
[2026-09-21 17:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237483008001,"power":14374,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1887711961972303872}} 
[2026-09-21 17:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":188903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:02:49] local.INFO: GPS data processed {"connection_id":188903,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:02:49] local.INFO: Acknowledgment sent {"connection_id":188903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:03:02] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:02] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:02] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:03:08] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:08] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:03:08] local.INFO: IMEI packet received {"connection_id":191508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:03:08] local.INFO: IMEI acknowledgment sent {"connection_id":191508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:03:09] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:09] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:09] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:03:09] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 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-09-21 17:03:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17: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-09-21 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-09-21 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-09-21 17:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:03:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:03:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:03:09] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:03:09] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:03:17] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:17] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:17] local.INFO: IMEI packet received {"connection_id":188904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":188904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:03:22] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:22] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:03:22] local.INFO: IMEI packet received {"connection_id":188904,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":188904,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:03:23] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:23] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:23] local.INFO: Packet analysis {"connection_id":188904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:03:23] local.INFO: Extracted packet for processing {"connection_id":188904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119780448,"longitude_deg":75.669184,"latitude_deg":11.9780448,"altitude":48,"angle":353,"satellites":43,"speed":13,"hex_longitude":"2d1a3380","hex_latitude":"0723b460","is_valid_coordinates":true} 
[2026-09-21 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:03:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237486336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511280808001536,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888204543182792704,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:03:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789990184000,"timestamp_ms":1789990184000,"timestamp_seconds":1789990184,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3baa440"} 
[2026-09-21 17:03:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:03:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:03:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-09-21 17:03:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:03:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:03:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:03:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:03:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:03:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:03:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:03:23] 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-09-21 17:03:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:03:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:03:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237486336001,"66":13961,"42":206,"83":42752,"24":13,"16":22511280808001536,"45":1888204543182792704},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:03:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:03:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:03:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237486336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:03:23] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:03:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:03:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511280808001536,"km_value":22511280808001.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:03:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888204543182792704,"description":"Unknown IO ID 45"} 
[2026-09-21 17:03:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237486336001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1888204543182792704}} 
[2026-09-21 17:03:23] local.INFO: DEBUG: GPS processor result {"connection_id":188904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:03:23] local.INFO: GPS data processed {"connection_id":188904,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:03:23] local.INFO: Acknowledgment sent {"connection_id":188904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:03:26] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:26] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3baa440012d1a33800723b460003001612b..."} 
[2026-09-21 17:03:26] local.INFO: Packet analysis {"connection_id":188904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:03:26] local.INFO: Extracted packet for processing {"connection_id":188904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ba"} 
[2026-09-21 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":756691840,"raw_latitude":119780448,"longitude_deg":75.669184,"latitude_deg":11.9780448,"altitude":48,"angle":353,"satellites":43,"speed":13,"hex_longitude":"2d1a3380","hex_latitude":"0723b460","is_valid_coordinates":true} 
[2026-09-21 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237487104001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511280808001536,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1887993436950519808,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789990184000,"timestamp_ms":1789990184000,"timestamp_seconds":1789990184,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3baa440"} 
[2026-09-21 17:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:03:26] 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-09-21 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 17:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":188904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:03:26] 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-09-21 17:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237487104001,"66":13961,"42":206,"83":42752,"24":13,"16":22511280808001536,"45":1887993436950519808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237487104001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:03:26] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:03:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511280808001536,"km_value":22511280808001.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1887993436950519808,"description":"Unknown IO ID 45"} 
[2026-09-21 17:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237487104001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":13,"odometer":null,"unknown_45":1887993436950519808}} 
[2026-09-21 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":188904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:03:26] local.INFO: GPS data processed {"connection_id":188904,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:03:26] local.INFO: Acknowledgment sent {"connection_id":188904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:03:41] local.INFO: TCP Data received {"connection_id":191508,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:41] local.INFO: Processing buffer {"connection_id":191508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3b97778012d34c14006aa4060000b000c31..."} 
[2026-09-21 17:03:41] local.INFO: Packet analysis {"connection_id":191508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:03:41] local.INFO: Extracted packet for processing {"connection_id":191508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3b9"} 
[2026-09-21 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237390336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789990107000,"timestamp_ms":1789990107000,"timestamp_seconds":1789990107,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3b97778"} 
[2026-09-21 17:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:03: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-09-21 17:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:03:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237390336001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237390336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237390336001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":191508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:03:41] local.INFO: GPS data processed {"connection_id":191508,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:03:41] local.INFO: Acknowledgment sent {"connection_id":191508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:04:07] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:04:07] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:07] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:04:12] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bdad98012d1a20400723ade0003501222d..."} 
[2026-09-21 17:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bdad98012d1a20400723ade0003501222d..."} 
[2026-09-21 17:04:12] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bdad98012d1a20400723ade0003501222d..."} 
[2026-09-21 17:04:12] local.INFO: Packet analysis {"connection_id":188904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:04:12] local.INFO: Extracted packet for processing {"connection_id":188904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756686912,"raw_latitude":119778784,"longitude_deg":75.6686912,"latitude_deg":11.9778784,"altitude":53,"angle":290,"satellites":45,"speed":5,"hex_longitude":"2d1a2040","hex_latitude":"0723ade0","is_valid_coordinates":true} 
[2026-09-21 17:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237536512001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511336642576384,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883137993601697792,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789990383000,"timestamp_ms":1789990383000,"timestamp_seconds":1789990383,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bdad98"} 
[2026-09-21 17:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:04:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 17:04:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:04:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188904,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:04:12] 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-09-21 17:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237536512001,"66":14341,"42":206,"83":42752,"24":5,"16":22511336642576384,"45":1883137993601697792},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237536512001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:04:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:04:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511336642576384,"km_value":22511336642576.383,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883137993601697792,"description":"Unknown IO ID 45"} 
[2026-09-21 17:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237536512001,"power":14341,"unknown_42":206,"unknown_83":42752,"ignition":5,"odometer":null,"unknown_45":1883137993601697792}} 
[2026-09-21 17:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":188904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877240,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:04:12] local.INFO: GPS data processed {"connection_id":188904,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:04:12] local.INFO: Acknowledgment sent {"connection_id":188904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:04:13] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:13] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:04:13] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:04:13] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:14] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:14] local.INFO: Packet analysis {"connection_id":188905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:04:14] local.INFO: Extracted packet for processing {"connection_id":188905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:04:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:04:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:04:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:04:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:04:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":188905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:04:14] local.INFO: GPS data processed {"connection_id":188905,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:04:14] local.INFO: Acknowledgment sent {"connection_id":188905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:04:19] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:19] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:04:19] local.INFO: Packet analysis {"connection_id":188905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:04:19] local.INFO: Extracted packet for processing {"connection_id":188905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:04:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:04:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:04:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:04:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:04:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:04:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:04:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:04:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:04:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:04:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:04:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:04:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:04:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:04:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:04:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:04:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:04:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:04:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:04:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:04:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:04:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:04:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:04:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:04:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:04:19] local.INFO: DEBUG: GPS processor result {"connection_id":188905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:04:19] local.INFO: GPS data processed {"connection_id":188905,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:04:19] local.INFO: Acknowledgment sent {"connection_id":188905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:04:47] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:47] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:47] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:04:47] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:04:51] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:51] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:51] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:04:52] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:52] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:04:52] local.INFO: IMEI packet received {"connection_id":191509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":191509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:04:53] local.INFO: TCP Data received {"connection_id":191509,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bdb568012d1a1f400723ae380035010f2b..."} 
[2026-09-21 17:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bdb568012d1a1f400723ae380035010f2b..."} 
[2026-09-21 17:04:53] local.INFO: Processing buffer {"connection_id":191509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bdb568012d1a1f400723ae380035010f2b..."} 
[2026-09-21 17:04:53] local.INFO: Packet analysis {"connection_id":191509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:04:53] local.INFO: Extracted packet for processing {"connection_id":191509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756686656,"raw_latitude":119778872,"longitude_deg":75.6686656,"latitude_deg":11.9778872,"altitude":53,"angle":271,"satellites":43,"speed":6,"hex_longitude":"2d1a1f40","hex_latitude":"0723ae38","is_valid_coordinates":true} 
[2026-09-21 17:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237538048001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511349527478272,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882575043648413696,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789990385000,"timestamp_ms":1789990385000,"timestamp_seconds":1789990385,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bdb568"} 
[2026-09-21 17:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:04:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6992149683,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":249,"raw_value":3825205248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3283923864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503943122255872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3167422465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2874146869,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1596588238,"corrected_to":0} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":179,"raw_value":2550213914,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":216,"raw_value":14919454387339264,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":79,"raw_value":4192468992,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.WARNING: Large IO value detected {"io_id":152,"raw_value":84752722796422063,"note":"Value kept but may cause issues"} 
[2026-09-21 17:04:53] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,42,83,24,241,157,16,249,160,150,45,64,171,53,44,10,66,111,128,29,1,240,218,227,195,35,4,113,205,179,39,216,43,239,8,2,79,7,206,152],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1596588238,"validated":0}]} 
[2026-09-21 17:04:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3819371535656091648,"timestamp_seconds":3819371535656091.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:04:53] 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-09-21 17:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237538048001,"66":14265,"42":206,"83":42752,"24":6,"16":22511349527478272,"45":1882575043648413696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237538048001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:04:53] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511349527478272,"km_value":22511349527478.273,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882575043648413696,"description":"Unknown IO ID 45"} 
[2026-09-21 17:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237538048001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1882575043648413696}} 
[2026-09-21 17:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":191509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:04:53] local.INFO: GPS data processed {"connection_id":191509,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:04:53] local.INFO: Acknowledgment sent {"connection_id":191509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:05:02] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:02] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:02] local.INFO: IMEI packet received {"connection_id":190213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:05:08] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:08] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:05:08] local.INFO: IMEI packet received {"connection_id":190213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":190213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:05:09] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:09] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:09] local.INFO: Packet analysis {"connection_id":190213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:05:09] local.INFO: Extracted packet for processing {"connection_id":190213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:05:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:05:09] local.INFO: GPS data processed {"connection_id":190213,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:05:09] local.INFO: Acknowledgment sent {"connection_id":190213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:05:20] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:20] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:20] local.INFO: IMEI packet received {"connection_id":190214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":190214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:05:22] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:22] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:05:22] local.INFO: IMEI packet received {"connection_id":190214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":190214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:05:24] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bdb950012d1a1e800723ae28003501012b..."} 
[2026-09-21 17:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bdb950012d1a1e800723ae28003501012b..."} 
[2026-09-21 17:05:24] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bdb950012d1a1e800723ae28003501012b..."} 
[2026-09-21 17:05:24] local.INFO: Packet analysis {"connection_id":190214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:05:24] local.INFO: Extracted packet for processing {"connection_id":190214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bd"} 
[2026-09-21 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756686464,"raw_latitude":119778856,"longitude_deg":75.6686464,"latitude_deg":11.9778856,"altitude":53,"angle":257,"satellites":43,"speed":6,"hex_longitude":"2d1a1e80","hex_latitude":"0723ae28","is_valid_coordinates":true} 
[2026-09-21 17:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237538560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22511358117412864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882293568671725568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789990386000,"timestamp_ms":1789990386000,"timestamp_seconds":1789990386,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bdb950"} 
[2026-09-21 17:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:05:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-09-21 17:05:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":190214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":190214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":190214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:05:24] 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-09-21 17:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237538560001,"66":14265,"42":206,"83":42752,"24":6,"16":22511358117412864,"45":1882293568671725568},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-09-21 17:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237538560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:05:24] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-09-21 17:05:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-09-21 17:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22511358117412864,"km_value":22511358117412.863,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882293568671725568,"description":"Unknown IO ID 45"} 
[2026-09-21 17:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237538560001,"power":14265,"unknown_42":206,"unknown_83":42752,"ignition":6,"odometer":null,"unknown_45":1882293568671725568}} 
[2026-09-21 17:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":190214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:05:24] local.INFO: GPS data processed {"connection_id":190214,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:05:24] local.INFO: Acknowledgment sent {"connection_id":190214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:05:35] local.INFO: TCP Data received {"connection_id":191510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:05:35] local.INFO: Processing buffer {"connection_id":191510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:05:35] local.INFO: IMEI packet received {"connection_id":191510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":191510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:05:41] local.INFO: TCP Data received {"connection_id":190213,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190213,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:41] local.INFO: Processing buffer {"connection_id":190213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:05:41] local.INFO: Packet analysis {"connection_id":190213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:05:41] local.INFO: Extracted packet for processing {"connection_id":190213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05: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-09-21 17:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:05:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:05:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:05:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:05:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:05:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":190213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:05:41] local.INFO: GPS data processed {"connection_id":190213,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:05:41] local.INFO: Acknowledgment sent {"connection_id":190213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:05:59] local.INFO: TCP Data received {"connection_id":190214,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bfad50012d18bb400722fe18006500e329..."} 
[2026-09-21 17:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190214,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bfad50012d18bb400722fe18006500e329..."} 
[2026-09-21 17:05:59] local.INFO: Processing buffer {"connection_id":190214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bfad50012d18bb400722fe18006500e329..."} 
[2026-09-21 17:05:59] local.INFO: Packet analysis {"connection_id":190214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:05:59] local.INFO: Extracted packet for processing {"connection_id":190214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756595520,"raw_latitude":119733784,"longitude_deg":75.659552,"latitude_deg":11.9733784,"altitude":101,"angle":227,"satellites":41,"speed":39,"hex_longitude":"2d18bb40","hex_latitude":"0722fe18","is_valid_coordinates":true} 
[2026-09-21 17:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237571328001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22516696761761792,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782932901881493504,"note":"Value kept but may cause issues"} 
[2026-09-21 17:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1789990514000,"timestamp_ms":1789990514000,"timestamp_seconds":1789990514,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bfad50"} 
[2026-09-21 17:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-21 17:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":190214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":190214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":190214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237571328001,"66":13863,"105":206,"83":41984,"24":39,"16":22516696761761792,"45":1782932901881493504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237571328001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:05:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:05:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22516696761761792,"km_value":22516696761761.793,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782932901881493504,"description":"Unknown IO ID 45"} 
[2026-09-21 17:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237571328001,"power":13863,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1782932901881493504}} 
[2026-09-21 17:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":190214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:05:59] local.INFO: GPS data processed {"connection_id":190214,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:05:59] local.INFO: Acknowledgment sent {"connection_id":190214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:06:02] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:02] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:02] local.INFO: IMEI packet received {"connection_id":191511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":191511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:06:08] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:08] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:06:08] local.INFO: IMEI packet received {"connection_id":191511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":191511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:06:10] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:10] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:10] local.INFO: Packet analysis {"connection_id":191511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:06:10] local.INFO: Extracted packet for processing {"connection_id":191511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:06:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:06:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:06:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:06:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:06: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-09-21 17: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-09-21 17:06:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:06:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:06:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:06:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:06:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:06: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-09-21 17:06:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:06:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:06:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:06:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:06:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:06:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:06:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:06:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:06:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:06:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:06:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:06:10] local.INFO: DEBUG: GPS processor result {"connection_id":191511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:06:10] local.INFO: GPS data processed {"connection_id":191511,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:06:10] local.INFO: Acknowledgment sent {"connection_id":191511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:06:15] local.INFO: TCP Data received {"connection_id":190216,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:06:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:06:15] local.INFO: Processing buffer {"connection_id":190216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:06:15] local.INFO: IMEI packet received {"connection_id":190216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:06:15] local.INFO: IMEI acknowledgment sent {"connection_id":190216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:06:17] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:17] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:17] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:06:20] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:20] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:06:20] local.INFO: IMEI packet received {"connection_id":190215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":190215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:06:21] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bfb138012d18b9000722fad0006500d72a..."} 
[2026-09-21 17:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bfb138012d18b9000722fad0006500d72a..."} 
[2026-09-21 17:06:21] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bfb138012d18b9000722fad0006500d72a..."} 
[2026-09-21 17:06:21] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:21] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756594944,"raw_latitude":119732944,"longitude_deg":75.6594944,"latitude_deg":11.9732944,"altitude":101,"angle":215,"satellites":42,"speed":39,"hex_longitude":"2d18b900","hex_latitude":"0722fad0","is_valid_coordinates":true} 
[2026-09-21 17:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237571584001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22516748301369344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1782088476951189504,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1789990515000,"timestamp_ms":1789990515000,"timestamp_seconds":1789990515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bfb138"} 
[2026-09-21 17:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-09-21 17:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":819,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:21] 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-09-21 17:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237571584001,"66":13689,"105":206,"83":41984,"24":39,"16":22516748301369344,"45":1782088476951189504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237571584001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:06:21] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22516748301369344,"km_value":22516748301369.344,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1782088476951189504,"description":"Unknown IO ID 45"} 
[2026-09-21 17:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237571584001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1782088476951189504}} 
[2026-09-21 17:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:06:21] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:06:21] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:06:23] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bfb520012d18b7800722f6f0006600c92a..."} 
[2026-09-21 17:06:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bfb520012d18b7800722f6f0006600c92a..."} 
[2026-09-21 17:06:23] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bfb520012d18b7800722f6f0006600c92a..."} 
[2026-09-21 17:06:23] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:23] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:23] local.INFO: GPS Element Parsed {"raw_longitude":756594560,"raw_latitude":119731952,"longitude_deg":75.659456,"latitude_deg":11.9731952,"altitude":102,"angle":201,"satellites":42,"speed":40,"hex_longitude":"2d18b780","hex_latitude":"0722f6f0","is_valid_coordinates":true} 
[2026-09-21 17:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:06:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237571840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22516799840976896,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781455158253375488,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:06:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789990516000,"timestamp_ms":1789990516000,"timestamp_seconds":1789990516,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bfb520"} 
[2026-09-21 17:06:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:06:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:06:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-21 17:06:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:06:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:06:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:06:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:06:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:06:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:23] 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-09-21 17:06:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:06:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:06:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237571840001,"66":13689,"105":206,"83":41984,"24":40,"16":22516799840976896,"45":1781455158253375488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:06:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:06:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:06:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237571840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:06:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:06:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:06:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22516799840976896,"km_value":22516799840976.895,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:06:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781455158253375488,"description":"Unknown IO ID 45"} 
[2026-09-21 17:06:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237571840001,"power":13689,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1781455158253375488}} 
[2026-09-21 17:06:23] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:06:23] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:06:23] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:06:41] local.INFO: TCP Data received {"connection_id":191511,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:41] local.INFO: Processing buffer {"connection_id":191511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:06:41] local.INFO: Packet analysis {"connection_id":191511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:06:41] local.INFO: Extracted packet for processing {"connection_id":191511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:06: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-09-21 17:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":191511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:06:41] local.INFO: GPS data processed {"connection_id":191511,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:06:41] local.INFO: Acknowledgment sent {"connection_id":191511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:06:54] local.INFO: TCP Data received {"connection_id":190215,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bfd460012d18ab800722d7c8006900d62e..."} 
[2026-09-21 17:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190215,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bfd460012d18ab800722d7c8006900d62e..."} 
[2026-09-21 17:06:54] local.INFO: Processing buffer {"connection_id":190215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bfd460012d18ab800722d7c8006900d62e..."} 
[2026-09-21 17:06:54] local.INFO: Packet analysis {"connection_id":190215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:54] local.INFO: Extracted packet for processing {"connection_id":190215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":756591488,"raw_latitude":119723976,"longitude_deg":75.6591488,"latitude_deg":11.9723976,"altitude":105,"angle":214,"satellites":46,"speed":41,"hex_longitude":"2d18ab80","hex_latitude":"0722d7c8","is_valid_coordinates":true} 
[2026-09-21 17:06:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:06:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237572096001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22517212157837312,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781032945788055552,"note":"Value kept but may cause issues"} 
[2026-09-21 17:06:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:06:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789990524000,"timestamp_ms":1789990524000,"timestamp_seconds":1789990524,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bfd460"} 
[2026-09-21 17:06:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:06:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-09-21 17:06:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:06:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:06:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:06:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:06:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:06:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:06:54] 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-09-21 17:06:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:06:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:06:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237572096001,"66":13820,"105":206,"83":41984,"24":41,"16":22517212157837312,"45":1781032945788055552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:06:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:06:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:06:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237572096001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:06:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:06:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:06:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22517212157837312,"km_value":22517212157837.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:06:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781032945788055552,"description":"Unknown IO ID 45"} 
[2026-09-21 17:06:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237572096001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1781032945788055552}} 
[2026-09-21 17:06:54] local.INFO: DEBUG: GPS processor result {"connection_id":190215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:06:54] local.INFO: GPS data processed {"connection_id":190215,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:06:54] local.INFO: Acknowledgment sent {"connection_id":190215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:07:08] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:08] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:08] local.INFO: IMEI packet received {"connection_id":188906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:07:12] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: IMEI packet received {"connection_id":188907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":188907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:07:12] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:12] local.INFO: IMEI packet received {"connection_id":188907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":188907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:07:13] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:13] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:07:13] local.INFO: IMEI packet received {"connection_id":188906,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":188906,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:07:14] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:14] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:14] local.INFO: Packet analysis {"connection_id":188906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:07:14] local.INFO: Extracted packet for processing {"connection_id":188906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:07:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:07:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:07:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:07:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:07:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:07:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:07:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:07:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:07:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:07:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:07:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:07:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:07:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:07: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-09-21 17:07:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:07:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:07:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:07:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:07:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:07:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:07:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:07:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:07:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:07:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:07:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:07:14] local.INFO: DEBUG: GPS processor result {"connection_id":188906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:07:14] local.INFO: GPS data processed {"connection_id":188906,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:07:14] local.INFO: Acknowledgment sent {"connection_id":188906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:07:17] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:17] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:07:17] local.INFO: IMEI packet received {"connection_id":188907,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":188907,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:07:18] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3bfe400012d18a3c00722c9b8006b00c52c..."} 
[2026-09-21 17:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3bfe400012d18a3c00722c9b8006b00c52c..."} 
[2026-09-21 17:07:18] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3bfe400012d18a3c00722c9b8006b00c52c..."} 
[2026-09-21 17:07:18] local.INFO: Packet analysis {"connection_id":188907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:07:18] local.INFO: Extracted packet for processing {"connection_id":188907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3bf"} 
[2026-09-21 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119720376,"longitude_deg":75.6589504,"latitude_deg":11.9720376,"altitude":107,"angle":197,"satellites":44,"speed":40,"hex_longitude":"2d18a3c0","hex_latitude":"0722c9b8","is_valid_coordinates":true} 
[2026-09-21 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237574144001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22517414021300224,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777655246065485824,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990528000,"timestamp_ms":1789990528000,"timestamp_seconds":1789990528,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3bfe400"} 
[2026-09-21 17:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-09-21 17:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:07:18] 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-09-21 17:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237574144001,"66":13961,"105":206,"83":41984,"24":40,"16":22517414021300224,"45":1777655246065485824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237574144001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:07:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22517414021300224,"km_value":22517414021300.223,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777655246065485824,"description":"Unknown IO ID 45"} 
[2026-09-21 17:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237574144001,"power":13961,"unknown_105":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1777655246065485824}} 
[2026-09-21 17:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":188907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:07:18] local.INFO: GPS data processed {"connection_id":188907,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:07:18] local.INFO: Acknowledgment sent {"connection_id":188907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:07:20] local.INFO: TCP Data received {"connection_id":188906,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188906,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:20] local.INFO: Processing buffer {"connection_id":188906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:07:20] local.INFO: Packet analysis {"connection_id":188906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:07:20] local.INFO: Extracted packet for processing {"connection_id":188906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:07:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:07:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188906,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:07:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:07:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:07:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":188906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:07:20] local.INFO: GPS data processed {"connection_id":188906,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:07:20] local.INFO: Acknowledgment sent {"connection_id":188906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:07:49] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c15ee8012d1825000721b600004f010b2d..."} 
[2026-09-21 17:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c15ee8012d1825000721b600004f010b2d..."} 
[2026-09-21 17:07:49] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c15ee8012d1825000721b600004f010b2d..."} 
[2026-09-21 17:07:49] local.INFO: Packet analysis {"connection_id":188907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:07:49] local.INFO: Extracted packet for processing {"connection_id":188907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756557056,"raw_latitude":119649792,"longitude_deg":75.6557056,"latitude_deg":11.9649792,"altitude":79,"angle":267,"satellites":45,"speed":6,"hex_longitude":"2d182500","hex_latitude":"0721b600","is_valid_coordinates":true} 
[2026-09-21 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237597184001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521313851604992,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740500549120804864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990625000,"timestamp_ms":1789990625000,"timestamp_seconds":1789990625,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c15ee8"} 
[2026-09-21 17:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 17:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188907,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:07:49] 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-09-21 17:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237597184001,"66":13048,"105":206,"83":41984,"24":6,"16":22521313851604992,"45":1740500549120804864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237597184001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:07:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521313851604992,"km_value":22521313851604.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740500549120804864,"description":"Unknown IO ID 45"} 
[2026-09-21 17:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237597184001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1740500549120804864}} 
[2026-09-21 17:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":188907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:07:49] local.INFO: GPS data processed {"connection_id":188907,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:07:49] local.INFO: Acknowledgment sent {"connection_id":188907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:08:02] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:02] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:02] local.INFO: IMEI packet received {"connection_id":190218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":190218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:08:08] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:08] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:08:08] local.INFO: IMEI packet received {"connection_id":190218,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":190218,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:08:08] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:08] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:08] local.INFO: Packet analysis {"connection_id":190218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:08:08] local.INFO: Extracted packet for processing {"connection_id":190218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 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-09-21 17:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:08: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-09-21 17:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":190218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:08:08] local.INFO: GPS data processed {"connection_id":190218,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:08:08] local.INFO: Acknowledgment sent {"connection_id":190218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:08:12] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:12] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:12] local.INFO: IMEI packet received {"connection_id":190219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":190219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:08:17] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:17] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:08:17] local.INFO: IMEI packet received {"connection_id":190219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":190219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:08:18] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c166b8012d1823800721b598004f00ee2d..."} 
[2026-09-21 17:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c166b8012d1823800721b598004f00ee2d..."} 
[2026-09-21 17:08:18] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c166b8012d1823800721b598004f00ee2d..."} 
[2026-09-21 17:08:18] local.INFO: Packet analysis {"connection_id":190219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:08:18] local.INFO: Extracted packet for processing {"connection_id":190219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756556672,"raw_latitude":119649688,"longitude_deg":75.6556672,"latitude_deg":11.9649688,"altitude":79,"angle":238,"satellites":45,"speed":9,"hex_longitude":"2d182380","hex_latitude":"0721b598","is_valid_coordinates":true} 
[2026-09-21 17:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237600000001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521335326441472,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739796861678911488,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990627000,"timestamp_ms":1789990627000,"timestamp_seconds":1789990627,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c166b8"} 
[2026-09-21 17:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 17:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:08:18] 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-09-21 17:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237600000001,"66":13048,"105":206,"83":41984,"24":9,"16":22521335326441472,"45":1739796861678911488},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237600000001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:08:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521335326441472,"km_value":22521335326441.473,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739796861678911488,"description":"Unknown IO ID 45"} 
[2026-09-21 17:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237600000001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739796861678911488}} 
[2026-09-21 17:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":190219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:08:18] local.INFO: GPS data processed {"connection_id":190219,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:08:18] local.INFO: Acknowledgment sent {"connection_id":190219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:08:40] local.INFO: TCP Data received {"connection_id":190218,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190218,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:40] local.INFO: Processing buffer {"connection_id":190218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3be0f40012d34c14006aa40600008000c33..."} 
[2026-09-21 17:08:40] local.INFO: Packet analysis {"connection_id":190218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:08:40] local.INFO: Extracted packet for processing {"connection_id":190218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3be"} 
[2026-09-21 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":51,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237467392001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789990408000,"timestamp_ms":1789990408000,"timestamp_seconds":1789990408,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3be0f40"} 
[2026-09-21 17:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190218,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237467392001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237467392001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237467392001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":190218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:08:40] local.INFO: GPS data processed {"connection_id":190218,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:08:40] local.INFO: Acknowledgment sent {"connection_id":190218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:08:50] local.INFO: TCP Data received {"connection_id":190219,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c16aa0012d1823000721b508004f00d32d..."} 
[2026-09-21 17:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190219,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c16aa0012d1823000721b508004f00d32d..."} 
[2026-09-21 17:08:50] local.INFO: Processing buffer {"connection_id":190219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c16aa0012d1823000721b508004f00d32d..."} 
[2026-09-21 17:08:50] local.INFO: Packet analysis {"connection_id":190219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:08:50] local.INFO: Extracted packet for processing {"connection_id":190219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649544,"longitude_deg":75.6556544,"latitude_deg":11.9649544,"altitude":79,"angle":211,"satellites":45,"speed":8,"hex_longitude":"2d182300","hex_latitude":"0721b508","is_valid_coordinates":true} 
[2026-09-21 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237600512001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521343916376064,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213818880,"note":"Value kept but may cause issues"} 
[2026-09-21 17:08:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789990628000,"timestamp_ms":1789990628000,"timestamp_seconds":1789990628,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c16aa0"} 
[2026-09-21 17:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:08:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:08:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 17:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:08:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:08:50] 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-09-21 17:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237600512001,"66":13048,"105":206,"83":41984,"24":8,"16":22521343916376064,"45":1739374649213818880},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237600512001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:08:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:08:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521343916376064,"km_value":22521343916376.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213818880,"description":"Unknown IO ID 45"} 
[2026-09-21 17:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237600512001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1739374649213818880}} 
[2026-09-21 17:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":190219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:08:50] local.INFO: GPS data processed {"connection_id":190219,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:08:50] local.INFO: Acknowledgment sent {"connection_id":190219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:09:03] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:03] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:03] local.INFO: IMEI packet received {"connection_id":188754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:09:03] local.INFO: IMEI acknowledgment sent {"connection_id":188754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:09:08] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:08] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:09:08] local.INFO: IMEI packet received {"connection_id":188754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":188754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:09:09] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:09] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:09] local.INFO: Packet analysis {"connection_id":188754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:09] local.INFO: Extracted packet for processing {"connection_id":188754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:09:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:09:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:09:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:09:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:09: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-09-21 17: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-09-21 17:09:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:09:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:09:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:09:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:09:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:09:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:09:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:09:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:09:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:09:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:09:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:09:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:09:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:09:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:09:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:09:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:09:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:09:09] local.INFO: DEBUG: GPS processor result {"connection_id":188754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:09:09] local.INFO: GPS data processed {"connection_id":188754,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:09:09] local.INFO: Acknowledgment sent {"connection_id":188754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:09:11] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:11] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:11] local.INFO: IMEI packet received {"connection_id":191514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":191514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:09:12] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:12] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:12] local.INFO: IMEI packet received {"connection_id":191514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:09:17] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:17] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:09:17] local.INFO: IMEI packet received {"connection_id":191514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":191514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:09:18] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c1bca8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c1bca8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:18] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c1bca8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:18] local.INFO: Packet analysis {"connection_id":191514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:09:18] local.INFO: Extracted packet for processing {"connection_id":191514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c1"} 
[2026-09-21 17:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237600768001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725426688,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990649000,"timestamp_ms":1789990649000,"timestamp_seconds":1789990649,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c1bca8"} 
[2026-09-21 17:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 17:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:09:18] 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-09-21 17:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237600768001,"66":12972,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739233911725426688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237600768001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:09:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725426688,"description":"Unknown IO ID 45"} 
[2026-09-21 17:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237600768001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725426688}} 
[2026-09-21 17:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":191514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:09:18] local.INFO: GPS data processed {"connection_id":191514,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:09:18] local.INFO: Acknowledgment sent {"connection_id":191514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:09:40] local.INFO: TCP Data received {"connection_id":188754,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:40] local.INFO: Processing buffer {"connection_id":188754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:09:40] local.INFO: Packet analysis {"connection_id":188754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:40] local.INFO: Extracted packet for processing {"connection_id":188754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":188754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:09:40] local.INFO: GPS data processed {"connection_id":188754,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:09:40] local.INFO: Acknowledgment sent {"connection_id":188754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:09:50] local.INFO: TCP Data received {"connection_id":191514,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c20eb0012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191514,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c20eb0012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:50] local.INFO: Processing buffer {"connection_id":191514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c20eb0012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:09:50] local.INFO: Packet analysis {"connection_id":191514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:50] local.INFO: Extracted packet for processing {"connection_id":191514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:09:50] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:09:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237606144001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:09:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:09:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789990670000,"timestamp_ms":1789990670000,"timestamp_seconds":1789990670,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c20eb0"} 
[2026-09-21 17:09:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:09:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:09:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-09-21 17:09:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:09:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:09:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:09:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:09:50] local.INFO: Teltonika packet parsed successfully {"connection_id":191514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:09:50] local.INFO: Passing IMEI to GPS processor {"connection_id":191514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:09:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":191514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:09:50] 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-09-21 17:09:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:09:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:09:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237606144001,"66":12928,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:09:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:09:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:09:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237606144001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:09:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:09:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:09:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:09:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:09:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237606144001,"power":12928,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:09:50] local.INFO: DEBUG: GPS processor result {"connection_id":191514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:09:50] local.INFO: GPS data processed {"connection_id":191514,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:09:50] local.INFO: Acknowledgment sent {"connection_id":191514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:10:02] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:02] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:02] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:10:08] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:08] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:10:08] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:10:08] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:08] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:08] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:08] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 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-09-21 17:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:10:09] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:10:09] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:10:12] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:12] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:12] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:10:13] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:13] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:13] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:10:13] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:10:17] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:17] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:10:17] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:10:18] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c260b8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c260b8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:10:18] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c260b8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:10:18] local.INFO: Packet analysis {"connection_id":188909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:18] local.INFO: Extracted packet for processing {"connection_id":188909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237611520001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990691000,"timestamp_ms":1789990691000,"timestamp_seconds":1789990691,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c260b8"} 
[2026-09-21 17:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-21 17:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:10:18] 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-09-21 17:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237611520001,"66":12841,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237611520001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:10:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237611520001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:10:18] local.INFO: GPS data processed {"connection_id":188909,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:10:18] local.INFO: Acknowledgment sent {"connection_id":188909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:10:40] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:40] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:10:40] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:40] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:10:40] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:10:40] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:10:49] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2b2c0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2b2c0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:10:49] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2b2c0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:10:49] local.INFO: Packet analysis {"connection_id":188909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:49] local.INFO: Extracted packet for processing {"connection_id":188909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237616896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990712000,"timestamp_ms":1789990712000,"timestamp_seconds":1789990712,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2b2c0"} 
[2026-09-21 17:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 17:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:10:49] 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-09-21 17:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237616896001,"66":12809,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237616896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:10:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237616896001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:10:50] local.INFO: DEBUG: GPS processor result {"connection_id":188909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:10:50] local.INFO: GPS data processed {"connection_id":188909,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:10:50] local.INFO: Acknowledgment sent {"connection_id":188909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:11:02] local.INFO: TCP Data received {"connection_id":190222,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:02] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:02] local.INFO: IMEI packet received {"connection_id":190222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:11:08] local.INFO: TCP Data received {"connection_id":190222,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:08] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:11:08] local.INFO: IMEI packet received {"connection_id":190222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:11:08] local.INFO: IMEI acknowledgment sent {"connection_id":190222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:11:08] local.INFO: TCP Data received {"connection_id":190222,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:08] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:08] local.INFO: Packet analysis {"connection_id":190222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:11:08] local.INFO: Extracted packet for processing {"connection_id":190222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 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-09-21 17:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:11:08] local.INFO: GPS data processed {"connection_id":190222,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:11:08] local.INFO: Acknowledgment sent {"connection_id":190222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:11:13] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:13] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:13] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:11:17] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:17] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:11:17] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:11:18] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c304c8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c304c8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:11:18] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c304c8012d1822800721b3f0004f00ce2c..."} 
[2026-09-21 17:11:18] local.INFO: Packet analysis {"connection_id":188910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:11:18] local.INFO: Extracted packet for processing {"connection_id":188910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":44,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237622272001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990733000,"timestamp_ms":1789990733000,"timestamp_seconds":1789990733,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c304c8"} 
[2026-09-21 17:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3284229864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-4525009312735025280,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3037200463,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2147951029,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-576234895391535533,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2429630427607128873,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:18] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,3,160,96,45,128,179,79,44,10,66,14,188,1,240,172,227,195,33,4,113,205,8,102,35,152,239,50,2,80,7,6,164],"length":535,"final_offset":665,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 17:11:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692776613075222528,"timestamp_seconds":5692776613075223.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:11:18] 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-09-21 17:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237622272001,"66":12776,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237622272001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:11:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237622272001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":188910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:11:18] local.INFO: GPS data processed {"connection_id":188910,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:11:18] local.INFO: Acknowledgment sent {"connection_id":188910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:11:35] local.INFO: TCP Data received {"connection_id":190223,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:11:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190223,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:11:35] local.INFO: Processing buffer {"connection_id":190223,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:11:35] local.INFO: IMEI packet received {"connection_id":190223,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:11:35] local.INFO: IMEI acknowledgment sent {"connection_id":190223,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:11:40] local.INFO: TCP Data received {"connection_id":190222,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190222,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:40] local.INFO: Processing buffer {"connection_id":190222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:11:40] local.INFO: Packet analysis {"connection_id":190222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:11:40] local.INFO: Extracted packet for processing {"connection_id":190222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":190222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:11:40] local.INFO: GPS data processed {"connection_id":190222,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:11:40] local.INFO: Acknowledgment sent {"connection_id":190222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:11:48] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c356d0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c356d0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:11:48] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c356d0012d1822800721b3f0004f00ce2b..."} 
[2026-09-21 17:11:48] local.INFO: Packet analysis {"connection_id":188910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:11:48] local.INFO: Extracted packet for processing {"connection_id":188910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237627648001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789990754000,"timestamp_ms":1789990754000,"timestamp_seconds":1789990754,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c356d0"} 
[2026-09-21 17:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 17:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188910,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:11:48] 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-09-21 17:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237627648001,"66":12743,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237627648001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:11:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237627648001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":188910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:11:49] local.INFO: GPS data processed {"connection_id":188910,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:11:49] local.INFO: Acknowledgment sent {"connection_id":188910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:12:08] local.INFO: TCP Data received {"connection_id":190224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:08] local.INFO: Processing buffer {"connection_id":190224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:08] local.INFO: IMEI packet received {"connection_id":190224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:12:08] local.INFO: IMEI acknowledgment sent {"connection_id":190224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:12:12] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:12] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:12] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:12:13] local.INFO: TCP Data received {"connection_id":190224,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:13] local.INFO: Processing buffer {"connection_id":190224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:12:13] local.INFO: IMEI packet received {"connection_id":190224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":190224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:12:14] local.INFO: TCP Data received {"connection_id":190224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:14] local.INFO: Processing buffer {"connection_id":190224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:14] local.INFO: Packet analysis {"connection_id":190224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:12:14] local.INFO: Extracted packet for processing {"connection_id":190224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:12:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:12: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-09-21 17:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:12:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:12:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":190224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:12:14] local.INFO: GPS data processed {"connection_id":190224,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:12:14] local.INFO: Acknowledgment sent {"connection_id":190224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:12:14] local.INFO: TCP Data received {"connection_id":190225,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190225,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:12:14] local.INFO: Processing buffer {"connection_id":190225,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:12:14] local.INFO: IMEI packet received {"connection_id":190225,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":190225,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:12:17] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:17] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:12:17] local.INFO: IMEI packet received {"connection_id":188755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":188755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:12:18] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c3a8d8012d1822800721b3f0004f00ce2f..."} 
[2026-09-21 17:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c3a8d8012d1822800721b3f0004f00ce2f..."} 
[2026-09-21 17:12:18] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c3a8d8012d1822800721b3f0004f00ce2f..."} 
[2026-09-21 17:12:18] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:12:18] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649264,"longitude_deg":75.6556416,"latitude_deg":11.9649264,"altitude":79,"angle":206,"satellites":47,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b3f0","is_valid_coordinates":true} 
[2026-09-21 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237633024001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521361096245248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990775000,"timestamp_ms":1789990775000,"timestamp_seconds":1789990775,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c3a8d8"} 
[2026-09-21 17:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 17:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:12:18] 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-09-21 17:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237633024001,"66":12722,"105":206,"83":41984,"24":0,"16":22521361096245248,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237633024001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521361096245248,"km_value":22521361096245.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237633024001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:12:18] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:12:18] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:12:18] local.INFO: TCP Data received {"connection_id":190224,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190224,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:18] local.INFO: Processing buffer {"connection_id":190224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:12:18] local.INFO: Packet analysis {"connection_id":190224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:12:18] local.INFO: Extracted packet for processing {"connection_id":190224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":190224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:12:18] local.INFO: GPS data processed {"connection_id":190224,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:12:18] local.INFO: Acknowledgment sent {"connection_id":190224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:12:49] local.INFO: TCP Data received {"connection_id":188755,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c3fae0012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c3fae0012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:12:49] local.INFO: Processing buffer {"connection_id":188755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c3fae0012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:12:49] local.INFO: Packet analysis {"connection_id":188755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:12:49] local.INFO: Extracted packet for processing {"connection_id":188755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c3"} 
[2026-09-21 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237638400001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174236999680,"note":"Value kept but may cause issues"} 
[2026-09-21 17:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990796000,"timestamp_ms":1789990796000,"timestamp_seconds":1789990796,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c3fae0"} 
[2026-09-21 17:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 17:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:12:49] 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-09-21 17:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237638400001,"66":12776,"105":206,"83":41984,"24":0,"16":22521404045918208,"45":1739093174236999680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237638400001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:12:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174236999680,"description":"Unknown IO ID 45"} 
[2026-09-21 17:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237638400001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174236999680}} 
[2026-09-21 17:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":188755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:12:49] local.INFO: GPS data processed {"connection_id":188755,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:12:49] local.INFO: Acknowledgment sent {"connection_id":188755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:13:03] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:03] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:03] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:13:08] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:08] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:13:08] local.INFO: IMEI packet received {"connection_id":191515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":191515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:13:09] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:09] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:09] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:09] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:13: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-09-21 17:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13: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-09-21 17:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:13:09] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:13:09] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:13:14] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:14] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:14] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:14] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:13:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:13:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:13:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:13:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:13:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:13:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:13:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:13:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:13:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:13:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:13:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13: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-09-21 17:13:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:13:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:13:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:13:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:13:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:13:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:13:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:13:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:13:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:13:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:13:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:13:14] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:13:14] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:13:14] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:13:17] local.INFO: TCP Data received {"connection_id":190226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:17] local.INFO: Processing buffer {"connection_id":190226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:17] local.INFO: IMEI packet received {"connection_id":190226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":190226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:13:22] local.INFO: TCP Data received {"connection_id":190226,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190226,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:22] local.INFO: Processing buffer {"connection_id":190226,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:13:22] local.INFO: IMEI packet received {"connection_id":190226,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":190226,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:13:23] local.INFO: TCP Data received {"connection_id":190226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c44ce8012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c44ce8012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:13:23] local.INFO: Processing buffer {"connection_id":190226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c44ce8012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:13:23] local.INFO: Packet analysis {"connection_id":190226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:13:23] local.INFO: Extracted packet for processing {"connection_id":190226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237643776001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789990817000,"timestamp_ms":1789990817000,"timestamp_seconds":1789990817,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c44ce8"} 
[2026-09-21 17:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 17:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:13:23] 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-09-21 17:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237643776001,"66":12743,"105":206,"83":41984,"24":0,"16":22521404045918208,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237643776001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:13:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237643776001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":190226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:13:23] local.INFO: GPS data processed {"connection_id":190226,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:13:23] local.INFO: Acknowledgment sent {"connection_id":190226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:13:27] local.INFO: TCP Data received {"connection_id":190226,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c49ef0012d181fc00721b2b0004d00ce2d..."} 
[2026-09-21 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190226,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c49ef0012d181fc00721b2b0004d00ce2d..."} 
[2026-09-21 17:13:27] local.INFO: Processing buffer {"connection_id":190226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c49ef0012d181fc00721b2b0004d00ce2d..."} 
[2026-09-21 17:13:27] local.INFO: Packet analysis {"connection_id":190226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:13:27] local.INFO: Extracted packet for processing {"connection_id":190226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":45,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237649152001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789990838000,"timestamp_ms":1789990838000,"timestamp_seconds":1789990838,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c49ef0"} 
[2026-09-21 17:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17: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-09-21 17: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":199,"data_length":795,"current_offset":136} 
[2026-09-21 17:13: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-09-21 17: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-09-21 17:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190226,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:13: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-09-21 17:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237649152001,"66":12765,"105":206,"83":41984,"24":0,"16":22521404045918208,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237649152001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:13:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237649152001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":190226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:13:27] local.INFO: GPS data processed {"connection_id":190226,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:13:27] local.INFO: Acknowledgment sent {"connection_id":190226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:13:45] local.INFO: TCP Data received {"connection_id":191515,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:45] local.INFO: Processing buffer {"connection_id":191515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:13:45] local.INFO: Packet analysis {"connection_id":191515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:45] local.INFO: Extracted packet for processing {"connection_id":191515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:13: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-09-21 17:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 17:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:13:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:13:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:13:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:13:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:13:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:13:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":191515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:13:45] local.INFO: GPS data processed {"connection_id":191515,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:13:45] local.INFO: Acknowledgment sent {"connection_id":191515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:14:02] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:02] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:02] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:14:08] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:08] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:14:08] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:14:09] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:14:09] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c2a708012d34c14006aa40600006000c32..."} 
[2026-09-21 17:14:09] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:14:09] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c2"} 
[2026-09-21 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237544448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789990709000,"timestamp_ms":1789990709000,"timestamp_seconds":1789990709,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c2a708"} 
[2026-09-21 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-09-21 17:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17: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-09-21 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-09-21 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-09-21 17:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:14: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-09-21 17:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237544448001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237544448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237544448001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:14:09] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:14:09] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:14:12] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:12] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:12] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:14:15] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:15] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:14:15] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:14:15] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:14:16] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c4f0f8012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c4f0f8012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:16] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c4f0f8012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:16] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:14:16] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c4"} 
[2026-09-21 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:14:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237654528001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:14:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789990859000,"timestamp_ms":1789990859000,"timestamp_seconds":1789990859,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c4f0f8"} 
[2026-09-21 17:14:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:14:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:14:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 17:14:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:14:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:14:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:14:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:14:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:14:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:16] 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-09-21 17:14:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:14:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:14:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237654528001,"66":12743,"107":206,"83":41984,"24":0,"16":22521404045918208,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:14:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:14:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:14:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237654528001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:14:16] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:14:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:14:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:14:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:14:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237654528001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:14:16] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:14:16] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:14:16] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:14:17] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c54300012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c54300012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:17] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c54300012d181fc00721b2b0004d00ce2f..."} 
[2026-09-21 17:14:17] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:14:17] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":47,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237659904001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789990880000,"timestamp_ms":1789990880000,"timestamp_seconds":1789990880,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c54300"} 
[2026-09-21 17:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 17:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:17] 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-09-21 17:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237659904001,"66":12743,"107":206,"83":41984,"24":0,"16":22521404045918208,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237659904001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:14:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237659904001,"power":12743,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:14:17] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:14:17] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:14:17] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:14:41] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:14:41] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:14:41] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:14:41] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:14: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-09-21 17:14:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:14: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-09-21 17:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:14:41] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:14:41] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:14:48] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c59508012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c59508012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:14:48] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c59508012d181fc00721b2b0004d00ce2e..."} 
[2026-09-21 17:14:48] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:14:48] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:14:48] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648944,"longitude_deg":75.6555712,"latitude_deg":11.9648944,"altitude":77,"angle":206,"satellites":46,"speed":0,"hex_longitude":"2d181fc0","hex_latitude":"0721b2b0","is_valid_coordinates":true} 
[2026-09-21 17:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:14:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237665280001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521404045918208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17:14:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:14:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789990901000,"timestamp_ms":1789990901000,"timestamp_seconds":1789990901,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c59508"} 
[2026-09-21 17:14:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:14:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:14:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 17:14:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:14:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:14:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:14:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:14:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:14:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:14:48] 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-09-21 17:14:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:14:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:14:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237665280001,"66":12711,"105":206,"83":41984,"24":0,"16":22521404045918208,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:14:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:14:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:14:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237665280001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:14:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:14:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:14:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521404045918208,"km_value":22521404045918.207,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:14:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:14:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237665280001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:14:48] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:14:48] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:14:48] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:15:02] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:02] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:02] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:15:07] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:08] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:15:08] local.INFO: IMEI packet received {"connection_id":188756,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":188756,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:15:08] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:08] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:08] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:15:08] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:08] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:08] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:15:08] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:15: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-09-21 17:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:15:08] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:15:08] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:15:12] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:12] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:12] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:15:17] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:17] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:15:17] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:15:18] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c5c000012d181ec00721b090004f00c22e..."} 
[2026-09-21 17:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c5c000012d181ec00721b090004f00c22e..."} 
[2026-09-21 17:15:18] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c5c000012d181ec00721b090004f00c22e..."} 
[2026-09-21 17:15:18] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:15:18] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c5"} 
[2026-09-21 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648400,"longitude_deg":75.6555456,"latitude_deg":11.96484,"altitude":79,"angle":194,"satellites":46,"speed":2,"hex_longitude":"2d181ec0","hex_latitude":"0721b090","is_valid_coordinates":true} 
[2026-09-21 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237670656001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521434110689280,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050963456,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990912000,"timestamp_ms":1789990912000,"timestamp_seconds":1789990912,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c5c000"} 
[2026-09-21 17:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 17:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:15:18] 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-09-21 17:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237670656001,"66":12722,"105":206,"83":41984,"24":2,"16":22521434110689280,"45":1738319118050963456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237670656001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:15:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521434110689280,"km_value":22521434110689.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050963456,"description":"Unknown IO ID 45"} 
[2026-09-21 17:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237670656001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738319118050963456}} 
[2026-09-21 17:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:15:18] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:15:18] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:15:41] local.INFO: TCP Data received {"connection_id":188756,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188756,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:41] local.INFO: Processing buffer {"connection_id":188756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:15:41] local.INFO: Packet analysis {"connection_id":188756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:15:41] local.INFO: Extracted packet for processing {"connection_id":188756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15: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-09-21 17:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:15:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:15: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-09-21 17:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188756,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:15: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-09-21 17:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:15:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:15:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:15:41] local.INFO: DEBUG: GPS processor result {"connection_id":188756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:15:41] local.INFO: GPS data processed {"connection_id":188756,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:15:41] local.INFO: Acknowledgment sent {"connection_id":188756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:15:49] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c61208012d181e800721b038004f00c82d..."} 
[2026-09-21 17:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c61208012d181e800721b038004f00c82d..."} 
[2026-09-21 17:15:49] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c61208012d181e800721b038004f00c82d..."} 
[2026-09-21 17:15:49] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:15:49] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648312,"longitude_deg":75.6555392,"latitude_deg":11.9648312,"altitude":79,"angle":200,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-21 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237673472001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521442700623872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074113536,"note":"Value kept but may cause issues"} 
[2026-09-21 17:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990933000,"timestamp_ms":1789990933000,"timestamp_seconds":1789990933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c61208"} 
[2026-09-21 17:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 17:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:15:49] 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-09-21 17:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237673472001,"66":12689,"105":206,"83":41984,"24":0,"16":22521442700623872,"45":1738037643074113536},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237673472001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:15:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521442700623872,"km_value":22521442700623.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074113536,"description":"Unknown IO ID 45"} 
[2026-09-21 17:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237673472001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074113536}} 
[2026-09-21 17:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:15:49] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:15:49] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:16:02] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:02] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:02] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:16:08] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:08] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:16:08] local.INFO: IMEI packet received {"connection_id":188757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:16:08] local.INFO: IMEI acknowledgment sent {"connection_id":188757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:16:08] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:08] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:08] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:16:08] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 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-09-21 17:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:16: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-09-21 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-09-21 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-09-21 17:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:16:08] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:16:08] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:16:11] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:11] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:11] local.INFO: IMEI packet received {"connection_id":190229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":190229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:16:12] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:12] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:12] local.INFO: IMEI packet received {"connection_id":190229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":190229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:16:17] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:17] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:16:17] local.INFO: IMEI packet received {"connection_id":190229,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":190229,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:16:18] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c66410012d181e800721b038004f00c82f..."} 
[2026-09-21 17:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c66410012d181e800721b038004f00c82f..."} 
[2026-09-21 17:16:18] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c66410012d181e800721b038004f00c82f..."} 
[2026-09-21 17:16:18] local.INFO: Packet analysis {"connection_id":190229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:16:18] local.INFO: Extracted packet for processing {"connection_id":190229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648312,"longitude_deg":75.6555392,"latitude_deg":11.9648312,"altitude":79,"angle":200,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-21 17:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237678848001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521442700623872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329913344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789990954000,"timestamp_ms":1789990954000,"timestamp_seconds":1789990954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c66410"} 
[2026-09-21 17:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 17:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:16:18] 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-09-21 17:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237678848001,"66":12689,"105":206,"83":41984,"24":0,"16":22521442700623872,"45":1737967274329913344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237678848001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:16:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521442700623872,"km_value":22521442700623.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329913344,"description":"Unknown IO ID 45"} 
[2026-09-21 17:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237678848001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329913344}} 
[2026-09-21 17:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":190229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:16:18] local.INFO: GPS data processed {"connection_id":190229,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:16:18] local.INFO: Acknowledgment sent {"connection_id":190229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:16:40] local.INFO: TCP Data received {"connection_id":188757,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:40] local.INFO: Processing buffer {"connection_id":188757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:16:40] local.INFO: Packet analysis {"connection_id":188757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:16:40] local.INFO: Extracted packet for processing {"connection_id":188757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:16:40] 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-09-21 17: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-09-21 17:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:16: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-09-21 17:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":188757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:16:40] local.INFO: GPS data processed {"connection_id":188757,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:16:40] local.INFO: Acknowledgment sent {"connection_id":188757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:16:49] local.INFO: TCP Data received {"connection_id":190229,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c6b618012d181e800721b038004f00c830..."} 
[2026-09-21 17:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190229,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c6b618012d181e800721b038004f00c830..."} 
[2026-09-21 17:16:49] local.INFO: Processing buffer {"connection_id":190229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c6b618012d181e800721b038004f00c830..."} 
[2026-09-21 17:16:49] local.INFO: Packet analysis {"connection_id":190229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:16:49] local.INFO: Extracted packet for processing {"connection_id":190229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c6"} 
[2026-09-21 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648312,"longitude_deg":75.6555392,"latitude_deg":11.9648312,"altitude":79,"angle":200,"satellites":48,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-21 17:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237684224001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521442700623872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329913344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789990975000,"timestamp_ms":1789990975000,"timestamp_seconds":1789990975,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c6b618"} 
[2026-09-21 17:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 17:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190229,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:16:49] 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-09-21 17:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237684224001,"66":12678,"105":206,"83":41984,"24":0,"16":22521442700623872,"45":1737967274329913344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237684224001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:16:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521442700623872,"km_value":22521442700623.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329913344,"description":"Unknown IO ID 45"} 
[2026-09-21 17:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237684224001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329913344}} 
[2026-09-21 17:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":190229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:16:49] local.INFO: GPS data processed {"connection_id":190229,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:16:49] local.INFO: Acknowledgment sent {"connection_id":190229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:17:07] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:08] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:08] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:17:12] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:12] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:12] local.INFO: IMEI packet received {"connection_id":188758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":188758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:17:13] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:13] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:17:13] local.INFO: IMEI packet received {"connection_id":191516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":191516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:17:14] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:14] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:14] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:14] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:17:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:17:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:17:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:17:14] 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-09-21 17:17:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:17:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:17:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:17:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:17:14] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:17:14] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:17:14] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:14] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:17:14] local.INFO: IMEI packet received {"connection_id":188758,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:17:14] local.INFO: IMEI acknowledgment sent {"connection_id":188758,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:17:15] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c70820012d181e800721b038004f00c82e..."} 
[2026-09-21 17:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c70820012d181e800721b038004f00c82e..."} 
[2026-09-21 17:17:15] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c70820012d181e800721b038004f00c82e..."} 
[2026-09-21 17:17:15] local.INFO: Packet analysis {"connection_id":188758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:15] local.INFO: Extracted packet for processing {"connection_id":188758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:15] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648312,"longitude_deg":75.6555392,"latitude_deg":11.9648312,"altitude":79,"angle":200,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:17:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237689600001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521442700623872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329913344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:17:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789990996000,"timestamp_ms":1789990996000,"timestamp_seconds":1789990996,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c70820"} 
[2026-09-21 17:17:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:17:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-21 17:17:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:17:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:17:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:17:15] local.INFO: Teltonika packet parsed successfully {"connection_id":188758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:17:15] local.INFO: Passing IMEI to GPS processor {"connection_id":188758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:17:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":188758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:17:15] 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-09-21 17:17:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:17:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:17:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237689600001,"66":12678,"105":206,"83":41984,"24":0,"16":22521442700623872,"45":1737967274329913344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:17:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:17:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:17:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237689600001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:17:15] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:17:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:17:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521442700623872,"km_value":22521442700623.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:17:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329913344,"description":"Unknown IO ID 45"} 
[2026-09-21 17:17:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237689600001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329913344}} 
[2026-09-21 17:17:15] local.INFO: DEBUG: GPS processor result {"connection_id":188758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:17:15] local.INFO: GPS data processed {"connection_id":188758,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:17:15] local.INFO: Acknowledgment sent {"connection_id":188758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:17:18] local.INFO: TCP Data received {"connection_id":191516,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191516,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:18] local.INFO: Processing buffer {"connection_id":191516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:17:18] local.INFO: Packet analysis {"connection_id":191516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:18] local.INFO: Extracted packet for processing {"connection_id":191516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:17:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:17:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":191516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:17:18] local.INFO: GPS data processed {"connection_id":191516,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:17:18] local.INFO: Acknowledgment sent {"connection_id":191516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:17:40] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:17:40] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:17:40] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:17:46] local.INFO: TCP Data received {"connection_id":188758,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c75a28012d181e800721b038004f00c82f..."} 
[2026-09-21 17:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c75a28012d181e800721b038004f00c82f..."} 
[2026-09-21 17:17:46] local.INFO: Processing buffer {"connection_id":188758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c75a28012d181e800721b038004f00c82f..."} 
[2026-09-21 17:17:46] local.INFO: Packet analysis {"connection_id":188758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:46] local.INFO: Extracted packet for processing {"connection_id":188758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:17:46] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648312,"longitude_deg":75.6555392,"latitude_deg":11.9648312,"altitude":79,"angle":200,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721b038","is_valid_coordinates":true} 
[2026-09-21 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:17:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237694976001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521442700623872,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329913344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:17:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789991017000,"timestamp_ms":1789991017000,"timestamp_seconds":1789991017,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c75a28"} 
[2026-09-21 17:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:17: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-09-21 17:17:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-21 17:17:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:17:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188758,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:17:46] 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-09-21 17:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237694976001,"66":12645,"105":206,"83":41984,"24":0,"16":22521442700623872,"45":1737967274329913344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237694976001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:17:46] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:17:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521442700623872,"km_value":22521442700623.87,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:17:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329913344,"description":"Unknown IO ID 45"} 
[2026-09-21 17:17:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237694976001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329913344}} 
[2026-09-21 17:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":188758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:17:46] local.INFO: GPS data processed {"connection_id":188758,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:17:46] local.INFO: Acknowledgment sent {"connection_id":188758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:18:02] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:02] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:02] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:18:08] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:08] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:18:08] local.INFO: IMEI packet received {"connection_id":191517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":191517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:18:09] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:09] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:09] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:09] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:18: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-09-21 17:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:18:09] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:18:09] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:18:12] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:12] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:12] local.INFO: IMEI packet received {"connection_id":188917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":188917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:18:17] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:17] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:18:17] local.INFO: IMEI packet received {"connection_id":188917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":188917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:18:18] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c78520012d181dc00721afd8004f00d32f..."} 
[2026-09-21 17:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c78520012d181dc00721afd8004f00d32f..."} 
[2026-09-21 17:18:18] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c78520012d181dc00721afd8004f00d32f..."} 
[2026-09-21 17:18:18] local.INFO: Packet analysis {"connection_id":188917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:18] local.INFO: Extracted packet for processing {"connection_id":188917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119648216,"longitude_deg":75.65552,"latitude_deg":11.9648216,"altitude":79,"angle":211,"satellites":47,"speed":2,"hex_longitude":"2d181dc0","hex_latitude":"0721afd8","is_valid_coordinates":true} 
[2026-09-21 17:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237700352001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521451290558464,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329913344,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991028000,"timestamp_ms":1789991028000,"timestamp_seconds":1789991028,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c78520"} 
[2026-09-21 17:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 17:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:18:18] 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-09-21 17:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237700352001,"66":12667,"105":206,"83":41984,"24":2,"16":22521451290558464,"45":1737967274329913344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237700352001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:18:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521451290558464,"km_value":22521451290558.465,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329913344,"description":"Unknown IO ID 45"} 
[2026-09-21 17:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237700352001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1737967274329913344}} 
[2026-09-21 17:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":188917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:18:18] local.INFO: GPS data processed {"connection_id":188917,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:18:18] local.INFO: Acknowledgment sent {"connection_id":188917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:18:19] local.INFO: TCP Data received {"connection_id":191518,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:18:19] local.INFO: Processing buffer {"connection_id":191518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:18:19] local.INFO: IMEI packet received {"connection_id":191518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":191518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:18:40] local.INFO: TCP Data received {"connection_id":191517,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:40] local.INFO: Processing buffer {"connection_id":191517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:18:40] local.INFO: Packet analysis {"connection_id":191517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:40] local.INFO: Extracted packet for processing {"connection_id":191517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:18:40] 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-09-21 17: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-09-21 17:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":191517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:18:41] local.INFO: GPS data processed {"connection_id":191517,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:18:41] local.INFO: Acknowledgment sent {"connection_id":191517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:18:49] local.INFO: TCP Data received {"connection_id":188917,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c7d728012d181d400721aee0004f00db2e..."} 
[2026-09-21 17:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188917,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c7d728012d181d400721aee0004f00db2e..."} 
[2026-09-21 17:18:49] local.INFO: Processing buffer {"connection_id":188917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c7d728012d181d400721aee0004f00db2e..."} 
[2026-09-21 17:18:49] local.INFO: Packet analysis {"connection_id":188917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:49] local.INFO: Extracted packet for processing {"connection_id":188917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237703168001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168097355776,"note":"Value kept but may cause issues"} 
[2026-09-21 17:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991049000,"timestamp_ms":1789991049000,"timestamp_seconds":1789991049,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c7d728"} 
[2026-09-21 17:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 17:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:18:49] 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-09-21 17:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237703168001,"66":12613,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737756168097355776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237703168001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:18:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168097355776,"description":"Unknown IO ID 45"} 
[2026-09-21 17:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237703168001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737756168097355776}} 
[2026-09-21 17:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":188917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:18:49] local.INFO: GPS data processed {"connection_id":188917,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:18:49] local.INFO: Acknowledgment sent {"connection_id":188917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:19:03] local.INFO: TCP Data received {"connection_id":190231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:03] local.INFO: Processing buffer {"connection_id":190231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:03] local.INFO: IMEI packet received {"connection_id":190231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":190231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:19:08] local.INFO: TCP Data received {"connection_id":190231,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:08] local.INFO: Processing buffer {"connection_id":190231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:19:08] local.INFO: IMEI packet received {"connection_id":190231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:19:08] local.INFO: IMEI acknowledgment sent {"connection_id":190231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:19:08] local.INFO: TCP Data received {"connection_id":190231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:19:08] local.INFO: Processing buffer {"connection_id":190231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c73ed0012d34c14006aa40600002000c31..."} 
[2026-09-21 17:19:08] local.INFO: Packet analysis {"connection_id":190231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:19:08] local.INFO: Extracted packet for processing {"connection_id":190231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c7"} 
[2026-09-21 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237621504001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789991010000,"timestamp_ms":1789991010000,"timestamp_seconds":1789991010,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c73ed0"} 
[2026-09-21 17:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:19: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-09-21 17:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237621504001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237621504001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237621504001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:19:08] local.INFO: GPS data processed {"connection_id":190231,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:19:08] local.INFO: Acknowledgment sent {"connection_id":190231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:19:12] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:12] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:12] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:19:17] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:17] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:19:17] local.INFO: IMEI packet received {"connection_id":191519,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191519,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:19:18] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3c82930012d181d400721aee0004f00db31..."} 
[2026-09-21 17:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3c82930012d181d400721aee0004f00db31..."} 
[2026-09-21 17:19:18] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3c82930012d181d400721aee0004f00db31..."} 
[2026-09-21 17:19:18] local.INFO: Packet analysis {"connection_id":191519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3c8"} 
[2026-09-21 17:19:18] local.INFO: Extracted packet for processing {"connection_id":191519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3c8"} 
[2026-09-21 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":49,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237708544001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991070000,"timestamp_ms":1789991070000,"timestamp_seconds":1789991070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3c82930"} 
[2026-09-21 17:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 17:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:19:18] 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-09-21 17:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237708544001,"66":12613,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237708544001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:19:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237708544001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:19:18] local.INFO: GPS data processed {"connection_id":191519,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:19:18] local.INFO: Acknowledgment sent {"connection_id":191519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:19:41] local.INFO: TCP Data received {"connection_id":190231,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190231,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:19:41] local.INFO: Processing buffer {"connection_id":190231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:19:41] local.INFO: Packet analysis {"connection_id":190231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:19:41] local.INFO: Extracted packet for processing {"connection_id":190231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19: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-09-21 17:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:19:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":190231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:19:41] local.INFO: GPS data processed {"connection_id":190231,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:19:41] local.INFO: Acknowledgment sent {"connection_id":190231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:19:49] local.INFO: TCP Data received {"connection_id":191519,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbaf88012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191519,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbaf88012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:19:49] local.INFO: Processing buffer {"connection_id":191519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbaf88012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:19:49] local.INFO: Packet analysis {"connection_id":191519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:19:49] local.INFO: Extracted packet for processing {"connection_id":191519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237767680001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991301000,"timestamp_ms":1789991301000,"timestamp_seconds":1789991301,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbaf88"} 
[2026-09-21 17:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3284758864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2933915727,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 17:19:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 17:19:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,3,160,11,45,64,174,79,48,10,66,185,47,103,1,240,227,195,33,4,113,205,29,224,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 17:19:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692790919611285504,"timestamp_seconds":5692790919611286.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191519,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:19:49] 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-09-21 17:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237767680001,"66":12548,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237767680001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:19:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237767680001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":191519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:19:49] local.INFO: GPS data processed {"connection_id":191519,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:19:49] local.INFO: Acknowledgment sent {"connection_id":191519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:20:02] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:02] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:02] local.INFO: IMEI packet received {"connection_id":188918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":188918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:20:08] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:08] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:20:08] local.INFO: IMEI packet received {"connection_id":188918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":188918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:20:09] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:09] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:09] local.INFO: Packet analysis {"connection_id":188918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:20:09] local.INFO: Extracted packet for processing {"connection_id":188918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:20:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:20:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:20:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:20:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:20:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:20: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-09-21 17:20:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:20:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:20:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:20:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:20:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:20:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:20: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-09-21 17:20:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:20:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:20:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:20:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:20:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:20:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:20:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:20:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:20:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:20:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:20:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:20:10] local.INFO: DEBUG: GPS processor result {"connection_id":188918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:20:10] local.INFO: GPS data processed {"connection_id":188918,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:20:10] local.INFO: Acknowledgment sent {"connection_id":188918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:20:12] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:12] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:12] local.INFO: IMEI packet received {"connection_id":190232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":190232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:20:17] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:17] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:20:17] local.INFO: IMEI packet received {"connection_id":190232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":190232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:20:19] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cc0190012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cc0190012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:20:19] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cc0190012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:20:19] local.INFO: Packet analysis {"connection_id":190232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:20:19] local.INFO: Extracted packet for processing {"connection_id":190232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237773056001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789991322000,"timestamp_ms":1789991322000,"timestamp_seconds":1789991322,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cc0190"} 
[2026-09-21 17:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:20:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3284779864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184200569037,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3395774465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2933915727,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 17:20:19] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:19] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,105,83,24,241,157,16,3,160,93,45,64,174,79,46,10,66,11,48,185,1,240,36,227,195,33,4,113,205,21,29,224,47,239,49,2,80,7,106],"length":485,"final_offset":615,"validated_count":39,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 17:20:19] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692790911021350912,"timestamp_seconds":5692790911021351.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":190232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:20:19] 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-09-21 17:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237773056001,"66":12537,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237773056001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:20:19] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:20:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237773056001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":190232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:20:19] local.INFO: GPS data processed {"connection_id":190232,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:20:19] local.INFO: Acknowledgment sent {"connection_id":190232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:20:41] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:41] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:20:41] local.INFO: Packet analysis {"connection_id":188918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:20:41] local.INFO: Extracted packet for processing {"connection_id":188918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:20:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20: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-09-21 17:20:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:20:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:20:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:20:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:20:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:20:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:20:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:20:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:20:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:20:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:20:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:20: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-09-21 17:20:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:20:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:20:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:20:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:20:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:20:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:20:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:20:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:20:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:20:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:20:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:20:41] local.INFO: DEBUG: GPS processor result {"connection_id":188918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:20:41] local.INFO: GPS data processed {"connection_id":188918,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:20:41] local.INFO: Acknowledgment sent {"connection_id":188918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:20:50] local.INFO: TCP Data received {"connection_id":190232,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cc5398012d181d400721aee0004f00db2d..."} 
[2026-09-21 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190232,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cc5398012d181d400721aee0004f00db2d..."} 
[2026-09-21 17:20:50] local.INFO: Processing buffer {"connection_id":190232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cc5398012d181d400721aee0004f00db2d..."} 
[2026-09-21 17:20:50] local.INFO: Packet analysis {"connection_id":190232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:20:50] local.INFO: Extracted packet for processing {"connection_id":190232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":45,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:20:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237778432001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:20:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:20:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789991343000,"timestamp_ms":1789991343000,"timestamp_seconds":1789991343,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cc5398"} 
[2026-09-21 17:20:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:20:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:20:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 17:20:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:20:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:20:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:20:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:20:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:20:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:20:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:20:50] 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-09-21 17:20:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:20:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:20:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237778432001,"66":12232,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:20:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:20:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:20:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237778432001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:20:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:20:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:20:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:20:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:20:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237778432001,"power":12232,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:20:50] local.INFO: DEBUG: GPS processor result {"connection_id":190232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:20:50] local.INFO: GPS data processed {"connection_id":190232,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:20:50] local.INFO: Acknowledgment sent {"connection_id":190232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:21:02] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:02] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:02] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:21:08] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:08] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:21:08] local.INFO: IMEI packet received {"connection_id":190234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:21:08] local.INFO: IMEI acknowledgment sent {"connection_id":190234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:21:09] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:09] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:09] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:21:09] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 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-09-21 17:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:21: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-09-21 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-09-21 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-09-21 17:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:21:09] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:21:09] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:21:12] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:21:12] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:12] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:21:17] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:17] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:21:17] local.INFO: IMEI packet received {"connection_id":190235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":190235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:21:18] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cca5a0012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cca5a0012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:21:18] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cca5a0012d181d400721aee0004f00db2c..."} 
[2026-09-21 17:21:18] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:21:18] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237783808001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991364000,"timestamp_ms":1789991364000,"timestamp_seconds":1789991364,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cca5a0"} 
[2026-09-21 17:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-09-21 17:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2233,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:21:18] 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-09-21 17:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237783808001,"66":13906,"105":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237783808001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:21:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237783808001,"power":13906,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:21:18] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:21:18] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:21:40] local.INFO: TCP Data received {"connection_id":190234,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190234,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:40] local.INFO: Processing buffer {"connection_id":190234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:21:40] local.INFO: Packet analysis {"connection_id":190234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:21:40] local.INFO: Extracted packet for processing {"connection_id":190234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":190234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:21:40] local.INFO: GPS data processed {"connection_id":190234,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:21:40] local.INFO: Acknowledgment sent {"connection_id":190234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:21:49] local.INFO: TCP Data received {"connection_id":190235,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ccf7a8012d181d400721aee0004f00db2f..."} 
[2026-09-21 17:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190235,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ccf7a8012d181d400721aee0004f00db2f..."} 
[2026-09-21 17:21:49] local.INFO: Processing buffer {"connection_id":190235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ccf7a8012d181d400721aee0004f00db2f..."} 
[2026-09-21 17:21:49] local.INFO: Packet analysis {"connection_id":190235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:21:49] local.INFO: Extracted packet for processing {"connection_id":190235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cc"} 
[2026-09-21 17:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":79,"angle":219,"satellites":47,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237789184001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22521468470427648,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991385000,"timestamp_ms":1789991385000,"timestamp_seconds":1789991385,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ccf7a8"} 
[2026-09-21 17:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22016,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-09-21 17:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:21:49] 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-09-21 17:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237789184001,"66":14233,"107":206,"83":41984,"24":0,"16":22521468470427648,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237789184001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:21:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22521468470427648,"km_value":22521468470427.65,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237789184001,"power":14233,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":190235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:21:49] local.INFO: GPS data processed {"connection_id":190235,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:21:49] local.INFO: Acknowledgment sent {"connection_id":190235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:22:07] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:08] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:08] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:22:12] local.INFO: TCP Data received {"connection_id":188760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:22:12] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:12] local.INFO: TCP Data received {"connection_id":188760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:12] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:22:12] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:12] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:22:13] local.INFO: TCP Data received {"connection_id":188760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:13] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:13] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:22:13] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:13] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:13] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:22:13] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:22: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-09-21 17:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:22: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-09-21 17:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:22:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:22:13] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:22:13] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:22:14] local.INFO: TCP Data received {"connection_id":188760,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:14] local.INFO: Processing buffer {"connection_id":188760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:22:14] local.INFO: IMEI packet received {"connection_id":188760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:22:45] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:45] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:22:45] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:22:45] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:22: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-09-21 17:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:22:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:22:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:22:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:22:45] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:22:45] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:23:02] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:02] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:02] local.INFO: IMEI packet received {"connection_id":188921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":188921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:23:07] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:07] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:23:07] local.INFO: IMEI packet received {"connection_id":188921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":188921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:23:09] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:09] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:09] local.INFO: Packet analysis {"connection_id":188921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:23:09] local.INFO: Extracted packet for processing {"connection_id":188921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:23:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:23:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:23:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:23:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:23:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:23:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:23:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:23: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-09-21 17:23:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:23:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:23:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:23:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:23:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:23:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:23: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-09-21 17:23:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:23:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:23:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:23:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:23:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:23:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:23:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:23:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:23:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:23:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:23:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:23:09] local.INFO: DEBUG: GPS processor result {"connection_id":188921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:23:09] local.INFO: GPS data processed {"connection_id":188921,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:23:09] local.INFO: Acknowledgment sent {"connection_id":188921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:23:40] local.INFO: TCP Data received {"connection_id":188921,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188921,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:40] local.INFO: Processing buffer {"connection_id":188921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:23:40] local.INFO: Packet analysis {"connection_id":188921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:23:40] local.INFO: Extracted packet for processing {"connection_id":188921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":188921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:23:40] local.INFO: GPS data processed {"connection_id":188921,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:23:40] local.INFO: Acknowledgment sent {"connection_id":188921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:23:45] local.INFO: TCP Data received {"connection_id":190236,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:23:45] local.INFO: Processing buffer {"connection_id":190236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:23:45] local.INFO: IMEI packet received {"connection_id":190236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:23:45] local.INFO: IMEI acknowledgment sent {"connection_id":190236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:24:02] local.INFO: TCP Data received {"connection_id":190237,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:02] local.INFO: Processing buffer {"connection_id":190237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:02] local.INFO: IMEI packet received {"connection_id":190237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":190237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:24:08] local.INFO: TCP Data received {"connection_id":190237,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:08] local.INFO: Processing buffer {"connection_id":190237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:24:08] local.INFO: IMEI packet received {"connection_id":190237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:24:08] local.INFO: IMEI acknowledgment sent {"connection_id":190237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:24:09] local.INFO: TCP Data received {"connection_id":190237,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:24:09] local.INFO: Processing buffer {"connection_id":190237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3cbd698012d34c14006aa40600004000c32..."} 
[2026-09-21 17:24:09] local.INFO: Packet analysis {"connection_id":190237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:24:09] local.INFO: Extracted packet for processing {"connection_id":190237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3cb"} 
[2026-09-21 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":50,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237698560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991311000,"timestamp_ms":1789991311000,"timestamp_seconds":1789991311,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3cbd698"} 
[2026-09-21 17:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:24:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 17:24: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-09-21 17:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237698560001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237698560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237698560001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":190237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:24:09] local.INFO: GPS data processed {"connection_id":190237,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:24:09] local.INFO: Acknowledgment sent {"connection_id":190237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:24:14] local.INFO: TCP Data received {"connection_id":188761,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188761,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:24:14] local.INFO: Processing buffer {"connection_id":188761,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:24:14] local.INFO: IMEI packet received {"connection_id":188761,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":188761,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:24:40] local.INFO: TCP Data received {"connection_id":190237,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190237,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:24:40] local.INFO: Processing buffer {"connection_id":190237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:24:40] local.INFO: Packet analysis {"connection_id":190237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:24:40] local.INFO: Extracted packet for processing {"connection_id":190237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:24: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":190237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:24:40] local.INFO: GPS data processed {"connection_id":190237,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:24:40] local.INFO: Acknowledgment sent {"connection_id":190237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:25:07] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:07] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:07] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:25:13] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:13] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:25:13] local.INFO: IMEI packet received {"connection_id":188762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:25:13] local.INFO: IMEI acknowledgment sent {"connection_id":188762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:25:14] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:14] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:14] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:25:14] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:25:14] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:25:14] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:25:18] local.INFO: TCP Data received {"connection_id":188762,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:18] local.INFO: Processing buffer {"connection_id":188762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:25:18] local.INFO: Packet analysis {"connection_id":188762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:25:18] local.INFO: Extracted packet for processing {"connection_id":188762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:25:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:25:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":188762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:25:18] local.INFO: GPS data processed {"connection_id":188762,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:25:18] local.INFO: Acknowledgment sent {"connection_id":188762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:26:02] local.INFO: TCP Data received {"connection_id":190238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:02] local.INFO: Processing buffer {"connection_id":190238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:02] local.INFO: IMEI packet received {"connection_id":190238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":190238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:26:08] local.INFO: TCP Data received {"connection_id":190238,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190238,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:08] local.INFO: Processing buffer {"connection_id":190238,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:26:08] local.INFO: IMEI packet received {"connection_id":190238,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":190238,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:26:09] local.INFO: TCP Data received {"connection_id":190238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:09] local.INFO: Processing buffer {"connection_id":190238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:09] local.INFO: Packet analysis {"connection_id":190238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:09] local.INFO: Extracted packet for processing {"connection_id":190238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 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-09-21 17:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 17:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 17:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":190238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:26:09] local.INFO: GPS data processed {"connection_id":190238,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:26:09] local.INFO: Acknowledgment sent {"connection_id":190238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:26:14] local.INFO: TCP Data received {"connection_id":190238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:14] local.INFO: Processing buffer {"connection_id":190238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:14] local.INFO: Packet analysis {"connection_id":190238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:14] local.INFO: Extracted packet for processing {"connection_id":190238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:26:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:26:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:26:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":190238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:26:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:26:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:26:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:26:14] local.INFO: DEBUG: GPS processor result {"connection_id":190238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:26:14] local.INFO: GPS data processed {"connection_id":190238,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:26:14] local.INFO: Acknowledgment sent {"connection_id":190238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:26:45] local.INFO: TCP Data received {"connection_id":190238,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190238,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:45] local.INFO: Processing buffer {"connection_id":190238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:26:45] local.INFO: Packet analysis {"connection_id":190238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:45] local.INFO: Extracted packet for processing {"connection_id":190238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:26:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:26: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-09-21 17:26:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:26:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:26:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:26:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:26: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-09-21 17:26:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:26:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:26:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:26:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:26:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:26:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190238,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:26: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-09-21 17:26:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:26:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:26:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:26:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:26:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:26:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:26:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:26:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:26:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:26:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:26:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":190238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:26:45] local.INFO: GPS data processed {"connection_id":190238,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:26:45] local.INFO: Acknowledgment sent {"connection_id":190238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:03] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:03] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:03] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:27:08] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:08] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:27:08] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:27:09] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:09] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:09] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:09] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:27:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:27:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:27:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:27:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:27: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-09-21 17: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-09-21 17:27:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:27:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:27:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:27:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:27: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-09-21 17:27:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:27:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:27:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:27:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:27:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:27:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:27:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:27:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:27:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:27:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:27:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:27:09] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:27:09] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:27:09] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:18] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:27:18] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:27:18] local.INFO: IMEI packet received {"connection_id":191524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":191524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:27:19] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d0a510012d17e80007216e700044002030..."} 
[2026-09-21 17:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d0a510012d17e80007216e700044002030..."} 
[2026-09-21 17:27:19] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d0a510012d17e80007216e700044002030..."} 
[2026-09-21 17:27:19] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:19] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756541440,"raw_latitude":119631472,"longitude_deg":75.654144,"latitude_deg":11.9631472,"altitude":68,"angle":32,"satellites":48,"speed":35,"hex_longitude":"2d17e800","hex_latitude":"07216e70","is_valid_coordinates":true} 
[2026-09-21 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237853696001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22528787094700032,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1717349232279386112,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789991626000,"timestamp_ms":1789991626000,"timestamp_seconds":1789991626,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d0a510"} 
[2026-09-21 17:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-09-21 17:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:27:19] 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-09-21 17:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237853696001,"66":14396,"107":206,"83":41984,"24":35,"16":22528787094700032,"45":1717349232279386112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237853696001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:27:19] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22528787094700032,"km_value":22528787094700.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1717349232279386112,"description":"Unknown IO ID 45"} 
[2026-09-21 17:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237853696001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1717349232279386112}} 
[2026-09-21 17:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:27:19] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:27:19] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:40] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:40] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:27:40] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:40] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:27:40] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:27:40] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:45] local.INFO: TCP Data received {"connection_id":188766,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188766,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:45] local.INFO: Processing buffer {"connection_id":188766,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:45] local.INFO: Packet analysis {"connection_id":188766,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:45] local.INFO: Extracted packet for processing {"connection_id":188766,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 17:27:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:45] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 17:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 17:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 17:27:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188766,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 17:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188766,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188766,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":188766,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 17:27:45] local.INFO: GPS data processed {"connection_id":188766,"processed":0,"errors":0,"total":1} 
[2026-09-21 17:27:45] local.INFO: Acknowledgment sent {"connection_id":188766,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:49] local.INFO: TCP Data received {"connection_id":191525,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191525,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:49] local.INFO: Processing buffer {"connection_id":191525,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:49] local.INFO: Packet analysis {"connection_id":191525,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:49] local.INFO: Extracted packet for processing {"connection_id":191525,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 17:27:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:49] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 17:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 17:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 17:27:49] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191525,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 17:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191525,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191525,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":191525,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 17:27:49] local.INFO: GPS data processed {"connection_id":191525,"processed":0,"errors":0,"total":1} 
[2026-09-21 17:27:49] local.INFO: Acknowledgment sent {"connection_id":191525,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:51] local.INFO: TCP Data received {"connection_id":191524,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d0b898012d17f44007217ce00046002c31..."} 
[2026-09-21 17:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191524,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d0b898012d17f44007217ce00046002c31..."} 
[2026-09-21 17:27:51] local.INFO: Processing buffer {"connection_id":191524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d0b898012d17f44007217ce00046002c31..."} 
[2026-09-21 17:27:51] local.INFO: Packet analysis {"connection_id":191524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:51] local.INFO: Extracted packet for processing {"connection_id":191524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":756544576,"raw_latitude":119635168,"longitude_deg":75.6544576,"latitude_deg":11.9635168,"altitude":70,"angle":44,"satellites":49,"speed":37,"hex_longitude":"2d17f440","hex_latitude":"07217ce0","is_valid_coordinates":true} 
[2026-09-21 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:27:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237856256001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529023317901312,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1722626888094871552,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:27:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789991631000,"timestamp_ms":1789991631000,"timestamp_seconds":1789991631,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d0b898"} 
[2026-09-21 17:27:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:27:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:27:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-09-21 17:27:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:27:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:27:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:27:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:27:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:27:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:27:51] 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-09-21 17:27:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:27:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:27:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237856256001,"66":13472,"107":206,"83":41984,"24":37,"16":22529023317901312,"45":1722626888094871552},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:27:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:27:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:27:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237856256001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:27:51] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:27:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:27:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529023317901312,"km_value":22529023317901.312,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:27:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1722626888094871552,"description":"Unknown IO ID 45"} 
[2026-09-21 17:27:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237856256001,"power":13472,"unknown_107":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1722626888094871552}} 
[2026-09-21 17:27:51] local.INFO: DEBUG: GPS processor result {"connection_id":191524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877329,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:27:51] local.INFO: GPS data processed {"connection_id":191524,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:27:51] local.INFO: Acknowledgment sent {"connection_id":191524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:27:57] local.INFO: TCP Data received {"connection_id":188767,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188767,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:57] local.INFO: Processing buffer {"connection_id":188767,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:27:57] local.INFO: Packet analysis {"connection_id":188767,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:57] local.INFO: Extracted packet for processing {"connection_id":188767,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:27:57] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 17:27:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:27:57] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 17:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 17:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 17:27:57] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":188767,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 17:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":188767,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":188767,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":188767,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 17:27:57] local.INFO: GPS data processed {"connection_id":188767,"processed":0,"errors":0,"total":1} 
[2026-09-21 17:27:57] local.INFO: Acknowledgment sent {"connection_id":188767,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:02] local.INFO: TCP Data received {"connection_id":188768,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:02] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:02] local.INFO: IMEI packet received {"connection_id":188768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:28:05] local.INFO: TCP Data received {"connection_id":188924,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:05] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:05] local.INFO: Packet analysis {"connection_id":188924,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:28:05] local.INFO: Extracted packet for processing {"connection_id":188924,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:28:05] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 17:28:05] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:05] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 17:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 17:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 17:28:05] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188924,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 17:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188924,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188924,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":188924,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 17:28:05] local.INFO: GPS data processed {"connection_id":188924,"processed":0,"errors":0,"total":1} 
[2026-09-21 17:28:05] local.INFO: Acknowledgment sent {"connection_id":188924,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:07] local.INFO: TCP Data received {"connection_id":188768,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:07] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:28:07] local.INFO: IMEI packet received {"connection_id":188768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":188768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:28:11] local.INFO: TCP Data received {"connection_id":188768,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:11] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:11] local.INFO: Packet analysis {"connection_id":188768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:11] local.INFO: Extracted packet for processing {"connection_id":188768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:28:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:28:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:28: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-09-21 17:28:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":188768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":188768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":188768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:28: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-09-21 17:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:28:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:28:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":188768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:28:11] local.INFO: GPS data processed {"connection_id":188768,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:28:11] local.INFO: Acknowledgment sent {"connection_id":188768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:12] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:12] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:12] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:28:14] local.INFO: TCP Data received {"connection_id":188769,"ip":"127.0.0.1","data_length":86,"data_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188769,"packet_length":86,"packet_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:14] local.INFO: Processing buffer {"connection_id":188769,"buffer_length":86,"buffer_hex":"000000000000004a8e010000016b412cee000100000000000000000000000000..."} 
[2026-09-21 17:28:14] local.INFO: Packet analysis {"connection_id":188769,"data_field_length":74,"total_packet_length":86,"buffer_length":86,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:28:14] local.INFO: Extracted packet for processing {"connection_id":188769,"packet_length":86,"remaining_buffer_length":0,"packet_hex_start":"000000000000004a8e010000016b412c"} 
[2026-09-21 17:28:14] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:28:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":1,"n1_one_byte":0,"n2_two_byte":5,"n4_four_byte":0,"n8_eight_byte":1,"data_length":86,"current_offset":40} 
[2026-09-21 17:28:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-8646909085343547392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:14] local.INFO: IO Element Parsed {"io_data_count":4,"io_data_keys":[0,17,16,44],"length":30,"final_offset":64,"validated_count":4,"validation_warnings":[]} 
[2026-09-21 17:28:14] local.INFO: AVL Record Parsed {"raw_timestamp":1560166592000,"timestamp_ms":1560166592000,"timestamp_seconds":1560166592,"priority":1,"record_length":54,"hex_timestamp":"0000016b412cee00"} 
[2026-09-21 17:28:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":1,"successful_records":1,"record_length":54,"new_offset":64} 
[2026-09-21 17:28:14] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188769,"avl_records_parsed":1,"avl_records_expected":1,"crc_valid":false} 
[2026-09-21 17:28:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188769,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:28:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188769,"device_imei":null,"avl_records_count":1} 
[2026-09-21 17:28:14] local.INFO: DEBUG: GPS processor called {"device_imei":null,"client_ip":"127.0.0.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:28:14] local.INFO: DEBUG: GPS processor result {"connection_id":188769,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-09-21 17:28:14] local.INFO: GPS data processed {"connection_id":188769,"processed":0,"errors":0,"total":1} 
[2026-09-21 17:28:14] local.INFO: Acknowledgment sent {"connection_id":188769,"records_acknowledged":1,"records_expected":1,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:17] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:17] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:28:17] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:28:18] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d0e778012d180e8007219508004700252f..."} 
[2026-09-21 17:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d0e778012d180e8007219508004700252f..."} 
[2026-09-21 17:28:18] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d0e778012d180e8007219508004700252f..."} 
[2026-09-21 17:28:18] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:18] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756551296,"raw_latitude":119641352,"longitude_deg":75.6551296,"latitude_deg":11.9641352,"altitude":71,"angle":37,"satellites":47,"speed":35,"hex_longitude":"2d180e80","hex_latitude":"07219508","is_valid_coordinates":true} 
[2026-09-21 17:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237857536001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529461404565504,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726074956560523264,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991643000,"timestamp_ms":1789991643000,"timestamp_seconds":1789991643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d0e778"} 
[2026-09-21 17:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-09-21 17:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:28:18] 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-09-21 17:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237857536001,"66":13102,"107":206,"83":41984,"24":35,"16":22529461404565504,"45":1726074956560523264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237857536001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:28:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529461404565504,"km_value":22529461404565.504,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726074956560523264,"description":"Unknown IO ID 45"} 
[2026-09-21 17:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237857536001,"power":13102,"unknown_107":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1726074956560523264}} 
[2026-09-21 17:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:28:18] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:28:18] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:42] local.INFO: TCP Data received {"connection_id":188768,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:42] local.INFO: Processing buffer {"connection_id":188768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:28:42] local.INFO: Packet analysis {"connection_id":188768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:42] local.INFO: Extracted packet for processing {"connection_id":188768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:28:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:28:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:28:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:28:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:28:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:28:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:28: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-09-21 17:28:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:28:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:28:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:28:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:28:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:28: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-09-21 17:28:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:28:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:28:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:28:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:28:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:28:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:28:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:28:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:28:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:28:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:28:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":188768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:28:42] local.INFO: GPS data processed {"connection_id":188768,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:28:42] local.INFO: Acknowledgment sent {"connection_id":188768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:28:49] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d3fc88012d181e800721af30004901442c..."} 
[2026-09-21 17:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d3fc88012d181e800721af30004901442c..."} 
[2026-09-21 17:28:49] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d3fc88012d181e800721af30004901442c..."} 
[2026-09-21 17:28:49] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d3"} 
[2026-09-21 17:28:49] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d3"} 
[2026-09-21 17:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648048,"longitude_deg":75.6555392,"latitude_deg":11.9648048,"altitude":73,"angle":324,"satellites":44,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-21 17:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237906944001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529895196262400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991845000,"timestamp_ms":1789991845000,"timestamp_seconds":1789991845,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d3fc88"} 
[2026-09-21 17:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:28:49] 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-09-21 17:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237906944001,"66":12504,"107":206,"83":41984,"24":0,"16":22529895196262400,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237906944001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:28:49] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529895196262400,"km_value":22529895196262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237906944001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:28:49] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:28:49] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:29:02] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:02] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:02] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:29:07] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:07] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:29:07] local.INFO: IMEI packet received {"connection_id":188770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":188770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:29:09] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:29:09] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d06e60012d34c14006aa40600005000c30..."} 
[2026-09-21 17:29:09] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:29:09] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d0"} 
[2026-09-21 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237775616001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991612000,"timestamp_ms":1789991612000,"timestamp_seconds":1789991612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d06e60"} 
[2026-09-21 17:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:29:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:29: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-09-21 17: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-09-21 17:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:29: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-09-21 17:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:29:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237775616001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:29:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:29:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:29:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237775616001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:29:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:29:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:29:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:29:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:29:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237775616001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:29:09] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:29:09] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:29:18] local.INFO: TCP Data received {"connection_id":190240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:18] local.INFO: Processing buffer {"connection_id":190240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:18] local.INFO: IMEI packet received {"connection_id":190240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":190240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:29:22] local.INFO: TCP Data received {"connection_id":190240,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190240,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:22] local.INFO: Processing buffer {"connection_id":190240,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:29:22] local.INFO: IMEI packet received {"connection_id":190240,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":190240,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:29:23] local.INFO: TCP Data received {"connection_id":190240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d44e90012d181e800721af30004901442f..."} 
[2026-09-21 17:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d44e90012d181e800721af30004901442f..."} 
[2026-09-21 17:29:23] local.INFO: Processing buffer {"connection_id":190240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d44e90012d181e800721af30004901442f..."} 
[2026-09-21 17:29:23] local.INFO: Packet analysis {"connection_id":190240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:29:23] local.INFO: Extracted packet for processing {"connection_id":190240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648048,"longitude_deg":75.6555392,"latitude_deg":11.9648048,"altitude":73,"angle":324,"satellites":47,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-21 17:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237912320001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529895196262400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789991866000,"timestamp_ms":1789991866000,"timestamp_seconds":1789991866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d44e90"} 
[2026-09-21 17:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:29:23] 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-09-21 17:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237912320001,"66":12504,"107":206,"83":41984,"24":0,"16":22529895196262400,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237912320001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:29:23] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529895196262400,"km_value":22529895196262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237912320001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":190240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:29:23] local.INFO: GPS data processed {"connection_id":190240,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:29:23] local.INFO: Acknowledgment sent {"connection_id":190240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:29:28] local.INFO: TCP Data received {"connection_id":190240,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d4a098012d181e800721af30004901442a..."} 
[2026-09-21 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190240,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d4a098012d181e800721af30004901442a..."} 
[2026-09-21 17:29:28] local.INFO: Processing buffer {"connection_id":190240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d4a098012d181e800721af30004901442a..."} 
[2026-09-21 17:29:28] local.INFO: Packet analysis {"connection_id":190240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:29:28] local.INFO: Extracted packet for processing {"connection_id":190240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648048,"longitude_deg":75.6555392,"latitude_deg":11.9648048,"altitude":73,"angle":324,"satellites":42,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237917696001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529895196262400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29: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-09-21 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789991887000,"timestamp_ms":1789991887000,"timestamp_seconds":1789991887,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d4a098"} 
[2026-09-21 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-09-21 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190240,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:29:28] 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-09-21 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237917696001,"66":12504,"107":206,"83":41984,"24":0,"16":22529895196262400,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237917696001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:29:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529895196262400,"km_value":22529895196262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237917696001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":190240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:29:28] local.INFO: GPS data processed {"connection_id":190240,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:29:28] local.INFO: Acknowledgment sent {"connection_id":190240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:29:39] local.INFO: TCP Data received {"connection_id":190239,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190239,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:29:39] local.INFO: Processing buffer {"connection_id":190239,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:29:39] local.INFO: IMEI packet received {"connection_id":190239,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":190239,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:29:41] local.INFO: TCP Data received {"connection_id":188770,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188770,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:29:41] local.INFO: Processing buffer {"connection_id":188770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:29:41] local.INFO: Packet analysis {"connection_id":188770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:29:41] local.INFO: Extracted packet for processing {"connection_id":188770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:29:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:29:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:29: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-09-21 17:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:29:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:29:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":188770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:29:41] local.INFO: GPS data processed {"connection_id":188770,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:29:41] local.INFO: Acknowledgment sent {"connection_id":188770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:30:02] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:02] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:02] local.INFO: IMEI packet received {"connection_id":191526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":191526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:30:08] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:08] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:30:08] local.INFO: IMEI packet received {"connection_id":191526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":191526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:30:09] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:09] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:09] local.INFO: Packet analysis {"connection_id":191526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:09] local.INFO: Extracted packet for processing {"connection_id":191526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:30:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:30:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:30:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:30:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:30:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:30:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:30:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:30:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:30:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:30:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:30:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:30:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:30: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-09-21 17:30:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:30:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:30:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:30:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:30:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:30:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:30:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:30:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:30:09] local.INFO: DEBUG: GPS processor result {"connection_id":191526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:30:09] local.INFO: GPS data processed {"connection_id":191526,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:30:09] local.INFO: Acknowledgment sent {"connection_id":191526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:30:12] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:12] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:12] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:30:14] local.INFO: TCP Data received {"connection_id":188927,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:30:14] local.INFO: Processing buffer {"connection_id":188927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:30:14] local.INFO: IMEI packet received {"connection_id":188927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":188927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:30:17] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:17] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:30:17] local.INFO: IMEI packet received {"connection_id":191527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":191527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:30:18] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d4f2a0012d181e800721af30004901442d..."} 
[2026-09-21 17:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d4f2a0012d181e800721af30004901442d..."} 
[2026-09-21 17:30:18] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d4f2a0012d181e800721af30004901442d..."} 
[2026-09-21 17:30:18] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:30:18] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d4"} 
[2026-09-21 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648048,"longitude_deg":75.6555392,"latitude_deg":11.9648048,"altitude":73,"angle":324,"satellites":45,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-21 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237923072001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529895196262400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991908000,"timestamp_ms":1789991908000,"timestamp_seconds":1789991908,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d4f2a0"} 
[2026-09-21 17:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:30:18] 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-09-21 17:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237923072001,"66":12504,"107":206,"83":41984,"24":0,"16":22529895196262400,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-09-21 17:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237923072001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:30:18] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-09-21 17:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529895196262400,"km_value":22529895196262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237923072001,"power":12504,"unknown_107":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:30:18] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:30:18] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:30:40] local.INFO: TCP Data received {"connection_id":191526,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:40] local.INFO: Processing buffer {"connection_id":191526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:30:40] local.INFO: Packet analysis {"connection_id":191526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:40] local.INFO: Extracted packet for processing {"connection_id":191526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":191526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:30:40] local.INFO: GPS data processed {"connection_id":191526,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:30:40] local.INFO: Acknowledgment sent {"connection_id":191526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:30:49] local.INFO: TCP Data received {"connection_id":191527,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d544a8012d181e800721af30004901442e..."} 
[2026-09-21 17:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191527,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d544a8012d181e800721af30004901442e..."} 
[2026-09-21 17:30:49] local.INFO: Processing buffer {"connection_id":191527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d544a8012d181e800721af30004901442e..."} 
[2026-09-21 17:30:49] local.INFO: Packet analysis {"connection_id":191527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:49] local.INFO: Extracted packet for processing {"connection_id":191527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119648048,"longitude_deg":75.6555392,"latitude_deg":11.9648048,"altitude":73,"angle":324,"satellites":46,"speed":0,"hex_longitude":"2d181e80","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-09-21 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237928448001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529895196262400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991929000,"timestamp_ms":1789991929000,"timestamp_seconds":1789991929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d544a8"} 
[2026-09-21 17:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:30:49] 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-09-21 17:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237928448001,"66":12504,"105":206,"83":41984,"24":0,"16":22529895196262400,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237928448001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:30:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529895196262400,"km_value":22529895196262.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237928448001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:30:50] local.INFO: DEBUG: GPS processor result {"connection_id":191527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877341,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:30:50] local.INFO: GPS data processed {"connection_id":191527,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:30:50] local.INFO: Acknowledgment sent {"connection_id":191527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:31:07] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:07] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:07] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:31:12] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:12] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:12] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:31:12] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:12] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:31:12] local.INFO: IMEI packet received {"connection_id":188771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":188771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:31:13] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:13] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:13] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:13] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:31:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:31:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:31:13] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:31:13] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:31:17] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:17] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:31:17] local.INFO: IMEI packet received {"connection_id":190241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":190241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:31:18] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d58328012d181d400721aee0004b00d42e..."} 
[2026-09-21 17:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d58328012d181d400721aee0004b00d42e..."} 
[2026-09-21 17:31:18] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d58328012d181d400721aee0004b00d42e..."} 
[2026-09-21 17:31:18] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:18] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647968,"longitude_deg":75.6555072,"latitude_deg":11.9647968,"altitude":75,"angle":212,"satellites":46,"speed":1,"hex_longitude":"2d181d40","hex_latitude":"0721aee0","is_valid_coordinates":true} 
[2026-09-21 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237933824001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529908081164288,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329845760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991945000,"timestamp_ms":1789991945000,"timestamp_seconds":1789991945,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d58328"} 
[2026-09-21 17:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:31:18] 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-09-21 17:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237933824001,"66":12504,"105":206,"83":41984,"24":1,"16":22529908081164288,"45":1737967274329845760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237933824001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:31:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529908081164288,"km_value":22529908081164.29,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329845760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237933824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1737967274329845760}} 
[2026-09-21 17:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:31:18] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:31:18] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:31:19] local.INFO: TCP Data received {"connection_id":188771,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:19] local.INFO: Processing buffer {"connection_id":188771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:31:19] local.INFO: Packet analysis {"connection_id":188771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:19] local.INFO: Extracted packet for processing {"connection_id":188771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:31:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:31:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:31:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:31:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:31:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:31:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:31:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:31:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:31:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:31:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:31:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:31:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:31:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:31:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:31:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:31:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:31:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:31:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:31:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:31:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:31:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:31:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:31:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:31:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:31:19] local.INFO: DEBUG: GPS processor result {"connection_id":188771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:31:19] local.INFO: GPS data processed {"connection_id":188771,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:31:19] local.INFO: Acknowledgment sent {"connection_id":188771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:31:49] local.INFO: TCP Data received {"connection_id":190241,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d5d530012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190241,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d5d530012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:31:49] local.INFO: Processing buffer {"connection_id":190241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d5d530012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:31:49] local.INFO: Packet analysis {"connection_id":190241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:49] local.INFO: Extracted packet for processing {"connection_id":190241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237937920001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608936960,"note":"Value kept but may cause issues"} 
[2026-09-21 17:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789991966000,"timestamp_ms":1789991966000,"timestamp_seconds":1789991966,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d5d530"} 
[2026-09-21 17:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:31:49] 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-09-21 17:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237937920001,"66":12504,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608936960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237937920001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:31:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608936960,"description":"Unknown IO ID 45"} 
[2026-09-21 17:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237937920001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608936960}} 
[2026-09-21 17:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":190241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877345,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:31:49] local.INFO: GPS data processed {"connection_id":190241,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:31:49] local.INFO: Acknowledgment sent {"connection_id":190241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:32:02] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:02] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:02] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:32:08] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:08] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:32:08] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:32:08] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:32:10] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:10] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:10] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:32:10] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:32: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-09-21 17: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-09-21 17:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:32:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:32:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:32:10] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:32:10] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:32:10] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:10] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:10] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:32:12] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:12] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:12] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:32:17] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:17] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:32:17] local.INFO: IMEI packet received {"connection_id":188772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":188772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:32:18] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d62738012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d62738012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:32:18] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d62738012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:32:18] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:32:18] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237943296001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789991987000,"timestamp_ms":1789991987000,"timestamp_seconds":1789991987,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d62738"} 
[2026-09-21 17:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:32:18] 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-09-21 17:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237943296001,"66":12461,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237943296001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:32:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237943296001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:32:18] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:32:18] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:32:42] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:42] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:32:42] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:32:42] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:32:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:32:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:32: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-09-21 17: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-09-21 17:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:32:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:32:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:32:42] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:32:42] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:32:49] local.INFO: TCP Data received {"connection_id":188772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d67940012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d67940012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:32:49] local.INFO: Processing buffer {"connection_id":188772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d67940012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:32:49] local.INFO: Packet analysis {"connection_id":188772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:32:49] local.INFO: Extracted packet for processing {"connection_id":188772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237948672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992008000,"timestamp_ms":1789992008000,"timestamp_seconds":1789992008,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d67940"} 
[2026-09-21 17:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 17:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:32:49] 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-09-21 17:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237948672001,"66":12461,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237948672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:32:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237948672001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":188772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:32:49] local.INFO: GPS data processed {"connection_id":188772,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:32:49] local.INFO: Acknowledgment sent {"connection_id":188772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:33:02] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:02] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:02] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:33:08] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:08] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:33:08] local.INFO: IMEI packet received {"connection_id":191528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":191528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:33:08] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:08] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:08] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:33:08] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 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-09-21 17:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17: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-09-21 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-09-21 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-09-21 17:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:33: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-09-21 17:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:33:08] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:33:08] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:33:12] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:12] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:12] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:33:13] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:13] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:13] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:33:17] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:17] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:33:17] local.INFO: IMEI packet received {"connection_id":188773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:33:18] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d6cb48012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d6cb48012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:33:18] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d6cb48012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:33:18] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:33:18] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d6"} 
[2026-09-21 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237954048001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992029000,"timestamp_ms":1789992029000,"timestamp_seconds":1789992029,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d6cb48"} 
[2026-09-21 17:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 17:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:33:18] 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-09-21 17:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237954048001,"66":12504,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237954048001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:33:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237954048001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:33:18] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:33:18] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:33:40] local.INFO: TCP Data received {"connection_id":191528,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:40] local.INFO: Processing buffer {"connection_id":191528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:33:40] local.INFO: Packet analysis {"connection_id":191528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:33:40] local.INFO: Extracted packet for processing {"connection_id":191528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":191528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:33:40] local.INFO: GPS data processed {"connection_id":191528,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:33:40] local.INFO: Acknowledgment sent {"connection_id":191528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:33:49] local.INFO: TCP Data received {"connection_id":188773,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d71d50012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d71d50012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:33:49] local.INFO: Processing buffer {"connection_id":188773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d71d50012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:33:49] local.INFO: Packet analysis {"connection_id":188773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:33:49] local.INFO: Extracted packet for processing {"connection_id":188773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237959424001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992050000,"timestamp_ms":1789992050000,"timestamp_seconds":1789992050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d71d50"} 
[2026-09-21 17:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:33:49] 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-09-21 17:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237959424001,"66":12504,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237959424001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:33:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237959424001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":188773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877353,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:33:49] local.INFO: GPS data processed {"connection_id":188773,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:33:49] local.INFO: Acknowledgment sent {"connection_id":188773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:34:02] local.INFO: TCP Data received {"connection_id":188930,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:02] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:02] local.INFO: IMEI packet received {"connection_id":188930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":188930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:34:07] local.INFO: TCP Data received {"connection_id":188930,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:07] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:34:07] local.INFO: IMEI packet received {"connection_id":188930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":188930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:34:08] local.INFO: TCP Data received {"connection_id":188930,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:34:08] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d50628012d34c14006aa40600004000c2f..."} 
[2026-09-21 17:34:08] local.INFO: Packet analysis {"connection_id":188930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:34:08] local.INFO: Extracted packet for processing {"connection_id":188930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d5"} 
[2026-09-21 17:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237852672001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789991913000,"timestamp_ms":1789991913000,"timestamp_seconds":1789991913,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d50628"} 
[2026-09-21 17:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17: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-09-21 17:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237852672001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237852672001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237852672001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":188930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:34:08] local.INFO: GPS data processed {"connection_id":188930,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:34:08] local.INFO: Acknowledgment sent {"connection_id":188930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:34:12] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:12] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:12] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:34:16] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:16] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:34:16] local.INFO: IMEI packet received {"connection_id":191529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":191529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:34:17] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d76f58012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d76f58012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:34:17] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d76f58012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:34:17] local.INFO: Packet analysis {"connection_id":191529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:34:17] local.INFO: Extracted packet for processing {"connection_id":191529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:34:17] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237964800001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789992071000,"timestamp_ms":1789992071000,"timestamp_seconds":1789992071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d76f58"} 
[2026-09-21 17:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:34:17] 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-09-21 17:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237964800001,"66":12461,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237964800001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:34:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:34:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:34:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237964800001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":191529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:34:17] local.INFO: GPS data processed {"connection_id":191529,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:34:17] local.INFO: Acknowledgment sent {"connection_id":191529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:34:41] local.INFO: TCP Data received {"connection_id":188930,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188930,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:34:41] local.INFO: Processing buffer {"connection_id":188930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:34:41] local.INFO: Packet analysis {"connection_id":188930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:34:41] local.INFO: Extracted packet for processing {"connection_id":188930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34: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-09-21 17:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:34: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-09-21 17:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":188930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:34:41] local.INFO: GPS data processed {"connection_id":188930,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:34:41] local.INFO: Acknowledgment sent {"connection_id":188930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:34:48] local.INFO: TCP Data received {"connection_id":191529,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d7c160012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191529,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d7c160012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:34:48] local.INFO: Processing buffer {"connection_id":191529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d7c160012d181d400721aea8004b00d12c..."} 
[2026-09-21 17:34:48] local.INFO: Packet analysis {"connection_id":191529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:34:48] local.INFO: Extracted packet for processing {"connection_id":191529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d7"} 
[2026-09-21 17:34:48] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":44,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:34:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237970176001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:34:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:34:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789992092000,"timestamp_ms":1789992092000,"timestamp_seconds":1789992092,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d7c160"} 
[2026-09-21 17:34:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:34:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:34:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 17:34:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:34:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:34:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:34:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:34:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:34:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:34:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:34:48] 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-09-21 17:34:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:34:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:34:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237970176001,"66":12504,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:34:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:34:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:34:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237970176001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:34:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:34:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:34:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:34:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:34:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237970176001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:34:48] local.INFO: DEBUG: GPS processor result {"connection_id":191529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877357,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:34:48] local.INFO: GPS data processed {"connection_id":191529,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:34:48] local.INFO: Acknowledgment sent {"connection_id":191529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:35:05] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:05] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:05] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:35:07] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:07] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:35:07] local.INFO: IMEI packet received {"connection_id":191530,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191530,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:35:08] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:08] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:08] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:35:08] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:35: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-09-21 17:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:35: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-09-21 17:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:35:08] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:35:08] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:35:12] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:12] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:12] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:35:17] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:17] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:35:17] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:35:18] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d81368012d181d400721aea8004b00d12b..."} 
[2026-09-21 17:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d81368012d181d400721aea8004b00d12b..."} 
[2026-09-21 17:35:18] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d81368012d181d400721aea8004b00d12b..."} 
[2026-09-21 17:35:18] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d8"} 
[2026-09-21 17:35:18] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d8"} 
[2026-09-21 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237975552001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992113000,"timestamp_ms":1789992113000,"timestamp_seconds":1789992113,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d81368"} 
[2026-09-21 17:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22272,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:35:18] 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-09-21 17:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237975552001,"66":12504,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237975552001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:35:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237975552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:35:19] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:35:19] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:35:30] local.INFO: TCP Data received {"connection_id":191531,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:35:30] local.INFO: Processing buffer {"connection_id":191531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:35:30] local.INFO: IMEI packet received {"connection_id":191531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:35:30] local.INFO: IMEI acknowledgment sent {"connection_id":191531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:35:40] local.INFO: TCP Data received {"connection_id":191530,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191530,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:40] local.INFO: Processing buffer {"connection_id":191530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:35:40] local.INFO: Packet analysis {"connection_id":191530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:35:40] local.INFO: Extracted packet for processing {"connection_id":191530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191530,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:35: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-09-21 17:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":191530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:35:40] local.INFO: GPS data processed {"connection_id":191530,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:35:40] local.INFO: Acknowledgment sent {"connection_id":191530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:35:50] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d86570012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d86570012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:35:50] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d86570012d181d400721aea8004b00d12e..."} 
[2026-09-21 17:35:50] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d8"} 
[2026-09-21 17:35:50] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d8"} 
[2026-09-21 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647912,"longitude_deg":75.6555072,"latitude_deg":11.9647912,"altitude":75,"angle":209,"satellites":46,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721aea8","is_valid_coordinates":true} 
[2026-09-21 17:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237980928001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22529920966066176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608922624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:35:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789992134000,"timestamp_ms":1789992134000,"timestamp_seconds":1789992134,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d86570"} 
[2026-09-21 17:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:35:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:35:50] 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-09-21 17:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237980928001,"66":12461,"105":206,"83":41984,"24":0,"16":22529920966066176,"45":1737615430608922624},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237980928001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:35:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:35:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22529920966066176,"km_value":22529920966066.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608922624,"description":"Unknown IO ID 45"} 
[2026-09-21 17:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237980928001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608922624}} 
[2026-09-21 17:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877361,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:35:50] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:35:50] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:36:02] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:02] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:02] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:36:08] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:08] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:36:08] local.INFO: IMEI packet received {"connection_id":188775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":188775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:36:10] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:10] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:10] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:36:10] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:36:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:36:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:36:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:36:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:36:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:36:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:36:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:36:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:36:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:36:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:36:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:36:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:36:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:36:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:36: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-09-21 17:36:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:36:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:36:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:36:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:36:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:36:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:36:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:36:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:36:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:36:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:36:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:36:10] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:36:10] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:36:10] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:36:13] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:13] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:13] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:36:13] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:36:14] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:14] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:14] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:36:14] local.INFO: TCP Data received {"connection_id":190244,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:36:14] local.INFO: Processing buffer {"connection_id":190244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:36:14] local.INFO: IMEI packet received {"connection_id":190244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":190244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:36:15] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:15] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:15] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:36:16] local.INFO: TCP Data received {"connection_id":190243,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:16] local.INFO: Processing buffer {"connection_id":190243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:36:16] local.INFO: IMEI packet received {"connection_id":190243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:36:16] local.INFO: IMEI acknowledgment sent {"connection_id":190243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:36:42] local.INFO: TCP Data received {"connection_id":188775,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:42] local.INFO: Processing buffer {"connection_id":188775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:36:42] local.INFO: Packet analysis {"connection_id":188775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:36:42] local.INFO: Extracted packet for processing {"connection_id":188775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:36:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:36:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:36:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:36:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:36:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:36:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:36:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:36:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:36:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:36:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:36:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:36:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:36:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:36:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:36: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-09-21 17:36:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:36:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:36:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:36:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:36:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:36:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:36:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:36:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:36:42] local.INFO: DEBUG: GPS processor result {"connection_id":188775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:36:42] local.INFO: GPS data processed {"connection_id":188775,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:36:42] local.INFO: Acknowledgment sent {"connection_id":188775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:37:07] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:07] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:07] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:37:12] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:12] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:37:12] local.INFO: IMEI packet received {"connection_id":191532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":191532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:37:14] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:14] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:14] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:37:14] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:37:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:37:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:37: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-09-21 17:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:37:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:37:14] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:37:14] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:37:19] local.INFO: TCP Data received {"connection_id":191532,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191532,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:19] local.INFO: Processing buffer {"connection_id":191532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:37:19] local.INFO: Packet analysis {"connection_id":191532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:37:19] local.INFO: Extracted packet for processing {"connection_id":191532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:37:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:37:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:37:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":191532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:37:19] local.INFO: GPS data processed {"connection_id":191532,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:37:19] local.INFO: Acknowledgment sent {"connection_id":191532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:38:02] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:02] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:02] local.INFO: IMEI packet received {"connection_id":190245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":190245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:38:08] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:08] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:38:08] local.INFO: IMEI packet received {"connection_id":190245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":190245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:38:09] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:09] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:09] local.INFO: Packet analysis {"connection_id":190245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:38:09] local.INFO: Extracted packet for processing {"connection_id":190245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:38: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-09-21 17: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:38:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":190245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:38:09] local.INFO: GPS data processed {"connection_id":190245,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:38:09] local.INFO: Acknowledgment sent {"connection_id":190245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:38:41] local.INFO: TCP Data received {"connection_id":190245,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190245,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:41] local.INFO: Processing buffer {"connection_id":190245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:38:41] local.INFO: Packet analysis {"connection_id":190245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:38:41] local.INFO: Extracted packet for processing {"connection_id":190245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 17:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:38: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-09-21 17:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:38: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-09-21 17:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":190245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:38:41] local.INFO: GPS data processed {"connection_id":190245,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:38:41] local.INFO: Acknowledgment sent {"connection_id":190245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:39:02] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:02] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:02] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:39:07] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:07] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:39:07] local.INFO: IMEI packet received {"connection_id":190246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:39:08] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:39:08] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3d99df0012d34c14006aa40600006000c30..."} 
[2026-09-21 17:39:08] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:39:08] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3d9"} 
[2026-09-21 17:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458237929728001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789992214000,"timestamp_ms":1789992214000,"timestamp_seconds":1789992214,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3d99df0"} 
[2026-09-21 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-09-21 17:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 17:39: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-09-21 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-09-21 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-09-21 17:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458237929728001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458237929728001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458237929728001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:39:08] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:39:08] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:39:39] local.INFO: TCP Data received {"connection_id":190246,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190246,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:39:39] local.INFO: Processing buffer {"connection_id":190246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:39:39] local.INFO: Packet analysis {"connection_id":190246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:39:39] local.INFO: Extracted packet for processing {"connection_id":190246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:39:39] local.INFO: GPS data processed {"connection_id":190246,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:39:39] local.INFO: Acknowledgment sent {"connection_id":190246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:40:02] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:02] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:02] local.INFO: IMEI packet received {"connection_id":191534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":191534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:40:07] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:07] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:40:07] local.INFO: IMEI packet received {"connection_id":191534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":191534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:40:08] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:08] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:08] local.INFO: Packet analysis {"connection_id":191534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:40:08] local.INFO: Extracted packet for processing {"connection_id":191534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":191534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:40:08] local.INFO: GPS data processed {"connection_id":191534,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:40:08] local.INFO: Acknowledgment sent {"connection_id":191534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:40:39] local.INFO: TCP Data received {"connection_id":191534,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191534,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:39] local.INFO: Processing buffer {"connection_id":191534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:40:39] local.INFO: Packet analysis {"connection_id":191534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:40:39] local.INFO: Extracted packet for processing {"connection_id":191534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:40:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":191534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:40:39] local.INFO: GPS data processed {"connection_id":191534,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:40:39] local.INFO: Acknowledgment sent {"connection_id":191534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:41:02] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:02] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:02] local.INFO: IMEI packet received {"connection_id":188938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":188938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:41:07] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:07] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:41:07] local.INFO: IMEI packet received {"connection_id":188938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":188938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:41:08] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:08] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:08] local.INFO: Packet analysis {"connection_id":188938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:08] local.INFO: Extracted packet for processing {"connection_id":188938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 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-09-21 17:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":188938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:41:08] local.INFO: GPS data processed {"connection_id":188938,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:41:08] local.INFO: Acknowledgment sent {"connection_id":188938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:41:17] local.INFO: TCP Data received {"connection_id":190248,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:41:17] local.INFO: Processing buffer {"connection_id":190248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:41:17] local.INFO: IMEI packet received {"connection_id":190248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":190248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:41:18] local.INFO: TCP Data received {"connection_id":190248,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3deba88012d1824800721b760004a01662d..."} 
[2026-09-21 17:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3deba88012d1824800721b760004a01662d..."} 
[2026-09-21 17:41:18] local.INFO: Processing buffer {"connection_id":190248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3deba88012d1824800721b760004a01662d..."} 
[2026-09-21 17:41:18] local.INFO: Packet analysis {"connection_id":190248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:18] local.INFO: Extracted packet for processing {"connection_id":190248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756556928,"raw_latitude":119650144,"longitude_deg":75.6556928,"latitude_deg":11.9650144,"altitude":74,"angle":358,"satellites":45,"speed":10,"hex_longitude":"2d182480","hex_latitude":"0721b760","is_valid_coordinates":true} 
[2026-09-21 17:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238089472001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535693402112000,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737333955631941632,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992549000,"timestamp_ms":1789992549000,"timestamp_seconds":1789992549,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3deba88"} 
[2026-09-21 17:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 17:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:41:18] 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-09-21 17:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238089472001,"66":13156,"105":206,"83":41984,"24":10,"16":22535693402112000,"45":1737333955631941632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238089472001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:41:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535693402112000,"km_value":22535693402112,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737333955631941632,"description":"Unknown IO ID 45"} 
[2026-09-21 17:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238089472001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1737333955631941632}} 
[2026-09-21 17:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":190248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877373,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:41:18] local.INFO: GPS data processed {"connection_id":190248,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:41:18] local.INFO: Acknowledgment sent {"connection_id":190248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:41:40] local.INFO: TCP Data received {"connection_id":188938,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188938,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:40] local.INFO: Processing buffer {"connection_id":188938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:41:40] local.INFO: Packet analysis {"connection_id":188938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:40] local.INFO: Extracted packet for processing {"connection_id":188938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":188938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:41:40] local.INFO: GPS data processed {"connection_id":188938,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:41:40] local.INFO: Acknowledgment sent {"connection_id":188938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:41:40] local.INFO: TCP Data received {"connection_id":190249,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190249,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:41:40] local.INFO: Processing buffer {"connection_id":190249,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:41:40] local.INFO: IMEI packet received {"connection_id":190249,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":190249,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:41:49] local.INFO: TCP Data received {"connection_id":190248,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3debe70012d1824400721b810004b01402d..."} 
[2026-09-21 17:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190248,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3debe70012d1824400721b810004b01402d..."} 
[2026-09-21 17:41:49] local.INFO: Processing buffer {"connection_id":190248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3debe70012d1824400721b810004b01402d..."} 
[2026-09-21 17:41:49] local.INFO: Packet analysis {"connection_id":190248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:49] local.INFO: Extracted packet for processing {"connection_id":190248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650320,"longitude_deg":75.6556864,"latitude_deg":11.965032,"altitude":75,"angle":320,"satellites":45,"speed":5,"hex_longitude":"2d182440","hex_latitude":"0721b810","is_valid_coordinates":true} 
[2026-09-21 17:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238092544001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535701992046592,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739656124190646272,"note":"Value kept but may cause issues"} 
[2026-09-21 17:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992550000,"timestamp_ms":1789992550000,"timestamp_seconds":1789992550,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3debe70"} 
[2026-09-21 17:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 17:41:49] 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-09-21 17:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:41:49] 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-09-21 17:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238092544001,"66":13156,"105":206,"83":41984,"24":5,"16":22535701992046592,"45":1739656124190646272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238092544001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:41:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535701992046592,"km_value":22535701992046.594,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739656124190646272,"description":"Unknown IO ID 45"} 
[2026-09-21 17:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238092544001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739656124190646272}} 
[2026-09-21 17:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":190248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:41:49] local.INFO: GPS data processed {"connection_id":190248,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:41:49] local.INFO: Acknowledgment sent {"connection_id":190248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:42:02] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:02] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:02] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:42:07] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:07] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:42:07] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:42:08] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:08] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:08] local.INFO: Packet analysis {"connection_id":188939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:08] local.INFO: Extracted packet for processing {"connection_id":188939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 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-09-21 17:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:42:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 17:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":188939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:42:08] local.INFO: GPS data processed {"connection_id":188939,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:42:08] local.INFO: Acknowledgment sent {"connection_id":188939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:42:17] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:17] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:17] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:42:17] local.INFO: TCP Data received {"connection_id":191535,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:42:17] local.INFO: Processing buffer {"connection_id":191535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:42:17] local.INFO: IMEI packet received {"connection_id":191535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":191535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:42:22] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:22] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:42:22] local.INFO: IMEI packet received {"connection_id":188778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":188778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:42:23] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3dec258012d1824000721b820004b00ff2d..."} 
[2026-09-21 17:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3dec258012d1824000721b820004b00ff2d..."} 
[2026-09-21 17:42:23] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3dec258012d1824000721b820004b00ff2d..."} 
[2026-09-21 17:42:23] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:23] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650336,"longitude_deg":75.65568,"latitude_deg":11.9650336,"altitude":75,"angle":255,"satellites":45,"speed":5,"hex_longitude":"2d182400","hex_latitude":"0721b820","is_valid_coordinates":true} 
[2026-09-21 17:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:42:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238092800001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535706287013888,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446513664,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:42:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789992551000,"timestamp_ms":1789992551000,"timestamp_seconds":1789992551,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3dec258"} 
[2026-09-21 17:42:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:42:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:42:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 17:42:23] 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-09-21 17:42:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:42:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:42:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:42:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:42:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:23] 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-09-21 17:42:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:42:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:42:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238092800001,"66":13124,"105":206,"83":41984,"24":5,"16":22535706287013888,"45":1739585755446513664},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:42:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:42:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:42:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238092800001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:42:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:42:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:42:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535706287013888,"km_value":22535706287013.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:42:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446513664,"description":"Unknown IO ID 45"} 
[2026-09-21 17:42:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238092800001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446513664}} 
[2026-09-21 17:42:23] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:42:23] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:42:23] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:42:24] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3dec640012d1823400721b7c0004a00cf2d..."} 
[2026-09-21 17:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3dec640012d1823400721b7c0004a00cf2d..."} 
[2026-09-21 17:42:24] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3dec640012d1823400721b7c0004a00cf2d..."} 
[2026-09-21 17:42:24] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:24] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650240,"longitude_deg":75.6556608,"latitude_deg":11.965024,"altitude":74,"angle":207,"satellites":45,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b7c0","is_valid_coordinates":true} 
[2026-09-21 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:42:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238093056001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535714876948480,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702340096,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:42:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789992552000,"timestamp_ms":1789992552000,"timestamp_seconds":1789992552,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3dec640"} 
[2026-09-21 17:42:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:42:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:42:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 17:42:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:42:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:42:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:42:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:42:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:42:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:24] 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-09-21 17:42:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:42:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:42:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238093056001,"66":13124,"105":206,"83":41984,"24":6,"16":22535714876948480,"45":1739515386702340096},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:42:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:42:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:42:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238093056001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:42:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:42:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:42:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535714876948480,"km_value":22535714876948.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:42:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702340096,"description":"Unknown IO ID 45"} 
[2026-09-21 17:42:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238093056001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739515386702340096}} 
[2026-09-21 17:42:24] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:42:24] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:42:24] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:42:40] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:40] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:42:40] local.INFO: Packet analysis {"connection_id":188939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:40] local.INFO: Extracted packet for processing {"connection_id":188939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":188939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:42:40] local.INFO: GPS data processed {"connection_id":188939,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:42:40] local.INFO: Acknowledgment sent {"connection_id":188939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:42:55] local.INFO: TCP Data received {"connection_id":188778,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3deca28012d1823400721b728004a00b22d..."} 
[2026-09-21 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3deca28012d1823400721b728004a00b22d..."} 
[2026-09-21 17:42:55] local.INFO: Processing buffer {"connection_id":188778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3deca28012d1823400721b728004a00b22d..."} 
[2026-09-21 17:42:55] local.INFO: Packet analysis {"connection_id":188778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:55] local.INFO: Extracted packet for processing {"connection_id":188778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650088,"longitude_deg":75.6556608,"latitude_deg":11.9650088,"altitude":74,"angle":178,"satellites":45,"speed":6,"hex_longitude":"2d182340","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-09-21 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:42:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238093312001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535723466883072,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469782528,"note":"Value kept but may cause issues"} 
[2026-09-21 17:42:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:42:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789992553000,"timestamp_ms":1789992553000,"timestamp_seconds":1789992553,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3deca28"} 
[2026-09-21 17:42:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:42:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:42:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 17:42:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:42:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:42:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:42:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:42:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:42:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:42:55] 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-09-21 17:42:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:42:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:42:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238093312001,"66":13124,"105":206,"83":41984,"24":6,"16":22535723466883072,"45":1739304280469782528},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:42:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:42:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:42:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238093312001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:42:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:42:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:42:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535723466883072,"km_value":22535723466883.07,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:42:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469782528,"description":"Unknown IO ID 45"} 
[2026-09-21 17:42:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238093312001,"power":13124,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469782528}} 
[2026-09-21 17:42:55] local.INFO: DEBUG: GPS processor result {"connection_id":188778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:42:55] local.INFO: GPS data processed {"connection_id":188778,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:42:55] local.INFO: Acknowledgment sent {"connection_id":188778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:43:07] local.INFO: TCP Data received {"connection_id":188940,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:07] local.INFO: Processing buffer {"connection_id":188940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:07] local.INFO: IMEI packet received {"connection_id":188940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":188940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:43:12] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:12] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:12] local.INFO: IMEI packet received {"connection_id":188779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":188779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:43:13] local.INFO: TCP Data received {"connection_id":188940,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:13] local.INFO: Processing buffer {"connection_id":188940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:43:13] local.INFO: IMEI packet received {"connection_id":188940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:43:13] local.INFO: IMEI acknowledgment sent {"connection_id":188940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:43:14] local.INFO: TCP Data received {"connection_id":188940,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:14] local.INFO: Processing buffer {"connection_id":188940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:14] local.INFO: Packet analysis {"connection_id":188940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:14] local.INFO: Extracted packet for processing {"connection_id":188940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:43:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:43:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:43:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:43:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:43:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:43:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:43:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:43:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:43:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:43:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:43:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:43:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:43: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-09-21 17:43:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:43:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:43:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:43:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:43:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:43:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:43:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:43:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:43:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:43:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:43:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:43:14] local.INFO: DEBUG: GPS processor result {"connection_id":188940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:43:14] local.INFO: GPS data processed {"connection_id":188940,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:43:14] local.INFO: Acknowledgment sent {"connection_id":188940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:43:17] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:17] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:43:17] local.INFO: IMEI packet received {"connection_id":188779,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":188779,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:43:18] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ded5e0012d1823000721b568004a00c52d..."} 
[2026-09-21 17:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ded5e0012d1823000721b568004a00c52d..."} 
[2026-09-21 17:43:18] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ded5e0012d1823000721b568004a00c52d..."} 
[2026-09-21 17:43:18] local.INFO: Packet analysis {"connection_id":188779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:18] local.INFO: Extracted packet for processing {"connection_id":188779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119649640,"longitude_deg":75.6556544,"latitude_deg":11.964964,"altitude":74,"angle":197,"satellites":45,"speed":6,"hex_longitude":"2d182300","hex_latitude":"0721b568","is_valid_coordinates":true} 
[2026-09-21 17:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238093568001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535744941719552,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469743616,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992556000,"timestamp_ms":1789992556000,"timestamp_seconds":1789992556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ded5e0"} 
[2026-09-21 17:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 17:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:18] 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-09-21 17:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238093568001,"66":13135,"105":206,"83":41984,"24":6,"16":22535744941719552,"45":1739304280469743616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238093568001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535744941719552,"km_value":22535744941719.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469743616,"description":"Unknown IO ID 45"} 
[2026-09-21 17:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238093568001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739304280469743616}} 
[2026-09-21 17:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:43:18] local.INFO: GPS data processed {"connection_id":188779,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:43:18] local.INFO: Acknowledgment sent {"connection_id":188779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:43:18] local.INFO: TCP Data received {"connection_id":188940,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188940,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:18] local.INFO: Processing buffer {"connection_id":188940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:43:18] local.INFO: Packet analysis {"connection_id":188940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:18] local.INFO: Extracted packet for processing {"connection_id":188940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:43:18] local.INFO: GPS data processed {"connection_id":188940,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:43:18] local.INFO: Acknowledgment sent {"connection_id":188940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:43:23] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3deddb0012d1822800721b440004a00d52d..."} 
[2026-09-21 17:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3deddb0012d1822800721b440004a00d52d..."} 
[2026-09-21 17:43:23] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3deddb0012d1822800721b440004a00d52d..."} 
[2026-09-21 17:43:23] local.INFO: Packet analysis {"connection_id":188779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:23] local.INFO: Extracted packet for processing {"connection_id":188779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649344,"longitude_deg":75.6556416,"latitude_deg":11.9649344,"altitude":74,"angle":213,"satellites":45,"speed":6,"hex_longitude":"2d182280","hex_latitude":"0721b440","is_valid_coordinates":true} 
[2026-09-21 17:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238094336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535762121588736,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725451264,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789992558000,"timestamp_ms":1789992558000,"timestamp_seconds":1789992558,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3deddb0"} 
[2026-09-21 17:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:43:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:43:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 17:43:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:43:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:23] 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-09-21 17:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238094336001,"66":13080,"105":206,"83":41984,"24":6,"16":22535762121588736,"45":1739233911725451264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238094336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:43:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:43:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535762121588736,"km_value":22535762121588.734,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725451264,"description":"Unknown IO ID 45"} 
[2026-09-21 17:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238094336001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739233911725451264}} 
[2026-09-21 17:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":188779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:43:23] local.INFO: GPS data processed {"connection_id":188779,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:43:23] local.INFO: Acknowledgment sent {"connection_id":188779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:43:54] local.INFO: TCP Data received {"connection_id":188779,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3df2fb8012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188779,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3df2fb8012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:43:54] local.INFO: Processing buffer {"connection_id":188779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3df2fb8012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:43:54] local.INFO: Packet analysis {"connection_id":188779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:43:54] local.INFO: Extracted packet for processing {"connection_id":188779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-09-21 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238094848001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535775006490624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237020160,"note":"Value kept but may cause issues"} 
[2026-09-21 17:43:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789992579000,"timestamp_ms":1789992579000,"timestamp_seconds":1789992579,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3df2fb8"} 
[2026-09-21 17:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 17:43:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188779,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:43:54] 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-09-21 17:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238094848001,"66":13091,"105":206,"83":41984,"24":0,"16":22535775006490624,"45":1739093174237020160},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238094848001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:43:54] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:43:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535775006490624,"km_value":22535775006490.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237020160,"description":"Unknown IO ID 45"} 
[2026-09-21 17:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238094848001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237020160}} 
[2026-09-21 17:43:54] local.INFO: DEBUG: GPS processor result {"connection_id":188779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:43:54] local.INFO: GPS data processed {"connection_id":188779,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:43:54] local.INFO: Acknowledgment sent {"connection_id":188779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:44:02] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:02] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:02] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:44:07] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:07] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:44:07] local.INFO: IMEI packet received {"connection_id":190251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":190251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:44:10] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:44:10] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3de35b8012d34c14006aa40600005000c31..."} 
[2026-09-21 17:44:10] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:44:10] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3de"} 
[2026-09-21 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:44:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238006784001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:44:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789992515000,"timestamp_ms":1789992515000,"timestamp_seconds":1789992515,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3de35b8"} 
[2026-09-21 17:44:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:44:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 17:44: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-09-21 17: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-09-21 17:44:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:44:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:44:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:44:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:44:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:44:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:44:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:44:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:44:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238006784001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:44:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:44:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:44:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238006784001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:44:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:44:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:44:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:44:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:44:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238006784001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:44:10] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:44:10] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:44:10] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:44:12] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:12] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:12] local.INFO: IMEI packet received {"connection_id":190252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":190252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:44:17] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:17] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:44:17] local.INFO: IMEI packet received {"connection_id":190252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":190252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:44:17] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3df81c0012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3df81c0012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:44:17] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3df81c0012d1821c00721b3b0004a00d52d..."} 
[2026-09-21 17:44:17] local.INFO: Packet analysis {"connection_id":190252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:44:17] local.INFO: Extracted packet for processing {"connection_id":190252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":45,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-09-21 17:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238100224001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535775006490624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789992600000,"timestamp_ms":1789992600000,"timestamp_seconds":1789992600,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3df81c0"} 
[2026-09-21 17:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-09-21 17:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":768,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:44:17] 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-09-21 17:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238100224001,"66":13015,"105":206,"83":41984,"24":0,"16":22535775006490624,"45":1738882068004450304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238100224001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:44:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535775006490624,"km_value":22535775006490.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-09-21 17:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238100224001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-09-21 17:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":190252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:44:18] local.INFO: GPS data processed {"connection_id":190252,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:44:18] local.INFO: Acknowledgment sent {"connection_id":190252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:44:41] local.INFO: TCP Data received {"connection_id":190251,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:44:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190251,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:44:41] local.INFO: Processing buffer {"connection_id":190251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:44:41] local.INFO: Packet analysis {"connection_id":190251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:44:41] local.INFO: Extracted packet for processing {"connection_id":190251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:44:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44: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-09-21 17:44:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:44:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:44:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:44:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:44: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-09-21 17:44:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:44:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:44:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:44:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:44:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:44:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:44:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:44:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:44:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:44:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:44:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:44:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:44:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:44:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:44:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:44:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:44:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:44:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:44:41] local.INFO: DEBUG: GPS processor result {"connection_id":190251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:44:41] local.INFO: GPS data processed {"connection_id":190251,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:44:41] local.INFO: Acknowledgment sent {"connection_id":190251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:44:49] local.INFO: TCP Data received {"connection_id":190252,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3dfd3c8012d1821c00721b3b0004a00d52b..."} 
[2026-09-21 17:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190252,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3dfd3c8012d1821c00721b3b0004a00d52b..."} 
[2026-09-21 17:44:49] local.INFO: Processing buffer {"connection_id":190252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3dfd3c8012d1821c00721b3b0004a00d52b..."} 
[2026-09-21 17:44:49] local.INFO: Packet analysis {"connection_id":190252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:44:49] local.INFO: Extracted packet for processing {"connection_id":190252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3df"} 
[2026-09-21 17:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-09-21 17:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238105600001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535775006490624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-09-21 17:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992621000,"timestamp_ms":1789992621000,"timestamp_seconds":1789992621,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3dfd3c8"} 
[2026-09-21 17:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 17:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:44:49] 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-09-21 17:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238105600001,"66":13015,"105":206,"83":41984,"24":0,"16":22535775006490624,"45":1738882068004450304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238105600001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:44:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535775006490624,"km_value":22535775006490.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-09-21 17:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238105600001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-09-21 17:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":190252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:44:49] local.INFO: GPS data processed {"connection_id":190252,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:44:49] local.INFO: Acknowledgment sent {"connection_id":190252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:45:02] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:02] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:02] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:45:07] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:08] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:45:08] local.INFO: IMEI packet received {"connection_id":191536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:45:08] local.INFO: IMEI acknowledgment sent {"connection_id":191536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:45:09] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:09] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:09] local.INFO: Packet analysis {"connection_id":191536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:45:09] local.INFO: Extracted packet for processing {"connection_id":191536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:45:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:45:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:45:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:45:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:45: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-09-21 17: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-09-21 17: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-09-21 17: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-09-21 17:45:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:45:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:45:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:45:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:45:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:45:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:45:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:45:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:45:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:45:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:45:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:45:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:45:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:45:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:45:09] local.INFO: DEBUG: GPS processor result {"connection_id":191536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:45:09] local.INFO: GPS data processed {"connection_id":191536,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:45:09] local.INFO: Acknowledgment sent {"connection_id":191536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:45:12] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:12] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:12] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:45:17] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:17] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:45:17] local.INFO: IMEI packet received {"connection_id":188781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":188781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:45:18] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e025d0012d1821c00721b3b0004a00d52a..."} 
[2026-09-21 17:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e025d0012d1821c00721b3b0004a00d52a..."} 
[2026-09-21 17:45:18] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e025d0012d1821c00721b3b0004a00d52a..."} 
[2026-09-21 17:45:18] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e0"} 
[2026-09-21 17:45:18] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e0"} 
[2026-09-21 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649200,"longitude_deg":75.6556224,"latitude_deg":11.96492,"altitude":74,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b3b0","is_valid_coordinates":true} 
[2026-09-21 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238110976001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535775006490624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992642000,"timestamp_ms":1789992642000,"timestamp_seconds":1789992642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e025d0"} 
[2026-09-21 17:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 17:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:45:18] 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-09-21 17:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238110976001,"66":12993,"105":206,"83":41984,"24":0,"16":22535775006490624,"45":1738882068004450304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238110976001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:45:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535775006490624,"km_value":22535775006490.625,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-09-21 17:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238110976001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-09-21 17:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:45:18] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:45:18] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:45:41] local.INFO: TCP Data received {"connection_id":191536,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191536,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:41] local.INFO: Processing buffer {"connection_id":191536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:45:41] local.INFO: Packet analysis {"connection_id":191536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:45:41] local.INFO: Extracted packet for processing {"connection_id":191536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:45:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:45: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-09-21 17: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-09-21 17:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:45: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-09-21 17:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:45:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":191536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:45:41] local.INFO: GPS data processed {"connection_id":191536,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:45:41] local.INFO: Acknowledgment sent {"connection_id":191536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:45:49] local.INFO: TCP Data received {"connection_id":188781,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e38900012d1821800721b3a8004c00c72d..."} 
[2026-09-21 17:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e38900012d1821800721b3a8004c00c72d..."} 
[2026-09-21 17:45:49] local.INFO: Processing buffer {"connection_id":188781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e38900012d1821800721b3a8004c00c72d..."} 
[2026-09-21 17:45:49] local.INFO: Packet analysis {"connection_id":188781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e3"} 
[2026-09-21 17:45:49] local.INFO: Extracted packet for processing {"connection_id":188781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e3"} 
[2026-09-21 17:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649192,"longitude_deg":75.655616,"latitude_deg":11.9649192,"altitude":76,"angle":199,"satellites":45,"speed":1,"hex_longitude":"2d182180","hex_latitude":"0721b3a8","is_valid_coordinates":true} 
[2026-09-21 17:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238170112001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004450304,"note":"Value kept but may cause issues"} 
[2026-09-21 17:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992864000,"timestamp_ms":1789992864000,"timestamp_seconds":1789992864,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e38900"} 
[2026-09-21 17:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 17:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:45:49] 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-09-21 17:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238170112001,"66":12743,"105":206,"83":41984,"24":1,"16":22535779301457920,"45":1738882068004450304},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238170112001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:45:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004450304,"description":"Unknown IO ID 45"} 
[2026-09-21 17:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238170112001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738882068004450304}} 
[2026-09-21 17:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":188781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:45:49] local.INFO: GPS data processed {"connection_id":188781,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:45:49] local.INFO: Acknowledgment sent {"connection_id":188781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:46:02] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:02] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:02] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:46:08] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:08] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:46:08] local.INFO: IMEI packet received {"connection_id":191537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:46:08] local.INFO: IMEI acknowledgment sent {"connection_id":191537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:46:10] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:10] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:10] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:46:10] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:46:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:46:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:46:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:46:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:46: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-09-21 17: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-09-21 17:46:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:46:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:46:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:46:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:46:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:46: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-09-21 17:46:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:46:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:46:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:46:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:46:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:46:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:46:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:46:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:46:10] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:46:10] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:46:10] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:46:12] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:12] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:12] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:46:17] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:17] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:46:17] local.INFO: IMEI packet received {"connection_id":191538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":191538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:46:17] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e3db08012d1821800721b380004c00c72c..."} 
[2026-09-21 17:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e3db08012d1821800721b380004c00c72c..."} 
[2026-09-21 17:46:17] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e3db08012d1821800721b380004c00c72c..."} 
[2026-09-21 17:46:17] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e3"} 
[2026-09-21 17:46:17] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e3"} 
[2026-09-21 17:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":44,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238173184001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260270592,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789992885000,"timestamp_ms":1789992885000,"timestamp_seconds":1789992885,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e3db08"} 
[2026-09-21 17:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 17:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:46:17] 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-09-21 17:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238173184001,"66":12722,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260270592},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238173184001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:46:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260270592,"description":"Unknown IO ID 45"} 
[2026-09-21 17:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238173184001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260270592}} 
[2026-09-21 17:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:46:18] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:46:18] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:46:45] local.INFO: TCP Data received {"connection_id":191537,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191537,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:45] local.INFO: Processing buffer {"connection_id":191537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:46:45] local.INFO: Packet analysis {"connection_id":191537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:46:45] local.INFO: Extracted packet for processing {"connection_id":191537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:46:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46: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-09-21 17:46:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:46:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:46:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:46:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:46: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-09-21 17:46:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:46:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:46:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:46:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:46:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:46:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:46:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:46:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:46:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:46:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:46:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:46:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:46:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:46:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:46:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:46:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:46:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:46:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:46:45] local.INFO: DEBUG: GPS processor result {"connection_id":191537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:46:45] local.INFO: GPS data processed {"connection_id":191537,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:46:45] local.INFO: Acknowledgment sent {"connection_id":191537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:46:48] local.INFO: TCP Data received {"connection_id":191538,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e42d10012d1821800721b380004c00c72f..."} 
[2026-09-21 17:46:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191538,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e42d10012d1821800721b380004c00c72f..."} 
[2026-09-21 17:46:48] local.INFO: Processing buffer {"connection_id":191538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e42d10012d1821800721b380004c00c72f..."} 
[2026-09-21 17:46:48] local.INFO: Packet analysis {"connection_id":191538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:46:48] local.INFO: Extracted packet for processing {"connection_id":191538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:46:48] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:46:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238178560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:46:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:46:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789992906000,"timestamp_ms":1789992906000,"timestamp_seconds":1789992906,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e42d10"} 
[2026-09-21 17:46:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:46:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:46:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 17:46:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:46:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:46:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:46:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:46:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:46:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:46:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:46:48] 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-09-21 17:46:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:46:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:46:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238178560001,"66":12689,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:46:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:46:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:46:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238178560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:46:48] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:46:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:46:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:46:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:46:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238178560001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:46:48] local.INFO: DEBUG: GPS processor result {"connection_id":191538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:46:48] local.INFO: GPS data processed {"connection_id":191538,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:46:48] local.INFO: Acknowledgment sent {"connection_id":191538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:47:02] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:02] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:02] local.INFO: IMEI packet received {"connection_id":188943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":188943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:47:07] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:07] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:47:07] local.INFO: IMEI packet received {"connection_id":188943,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":188943,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:47:09] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:09] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:09] local.INFO: Packet analysis {"connection_id":188943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:47:09] local.INFO: Extracted packet for processing {"connection_id":188943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:47: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-09-21 17: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-09-21 17: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-09-21 17:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":188943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:47:09] local.INFO: GPS data processed {"connection_id":188943,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:47:09] local.INFO: Acknowledgment sent {"connection_id":188943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:47:12] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:12] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:12] local.INFO: IMEI packet received {"connection_id":188944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":188944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:47:17] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:17] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:47:17] local.INFO: IMEI packet received {"connection_id":188944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":188944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:47:18] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e47f18012d1821800721b380004c00c72f..."} 
[2026-09-21 17:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e47f18012d1821800721b380004c00c72f..."} 
[2026-09-21 17:47:18] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e47f18012d1821800721b380004c00c72f..."} 
[2026-09-21 17:47:18] local.INFO: Packet analysis {"connection_id":188944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:47:18] local.INFO: Extracted packet for processing {"connection_id":188944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":47,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238183936001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992927000,"timestamp_ms":1789992927000,"timestamp_seconds":1789992927,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e47f18"} 
[2026-09-21 17:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 17:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:47:18] 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-09-21 17:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238183936001,"66":12613,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238183936001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:47:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238183936001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":188944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:47:18] local.INFO: GPS data processed {"connection_id":188944,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:47:18] local.INFO: Acknowledgment sent {"connection_id":188944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:47:42] local.INFO: TCP Data received {"connection_id":188943,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188943,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:42] local.INFO: Processing buffer {"connection_id":188943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:47:42] local.INFO: Packet analysis {"connection_id":188943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:47:42] local.INFO: Extracted packet for processing {"connection_id":188943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 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-09-21 17:47:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:47: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-09-21 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-09-21 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-09-21 17:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188943,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:47:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:47:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":188943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:47:42] local.INFO: GPS data processed {"connection_id":188943,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:47:42] local.INFO: Acknowledgment sent {"connection_id":188943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:47:45] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:47:45] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:47:45] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:47:45] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:47:49] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e4d120012d1821800721b380004c00c72d..."} 
[2026-09-21 17:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e4d120012d1821800721b380004c00c72d..."} 
[2026-09-21 17:47:49] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e4d120012d1821800721b380004c00c72d..."} 
[2026-09-21 17:47:49] local.INFO: Packet analysis {"connection_id":188944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:47:49] local.INFO: Extracted packet for processing {"connection_id":188944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e4"} 
[2026-09-21 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238189312001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992948000,"timestamp_ms":1789992948000,"timestamp_seconds":1789992948,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e4d120"} 
[2026-09-21 17:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 17:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:47:49] 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-09-21 17:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238189312001,"66":12591,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238189312001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:47:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238189312001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":188944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:47:49] local.INFO: GPS data processed {"connection_id":188944,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:47:49] local.INFO: Acknowledgment sent {"connection_id":188944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:48:07] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:07] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:07] local.INFO: IMEI packet received {"connection_id":188782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":188782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:48:12] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:12] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:12] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:48:12] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:12] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:48:12] local.INFO: IMEI packet received {"connection_id":188782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:48:14] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:14] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:14] local.INFO: Packet analysis {"connection_id":188782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:48:14] local.INFO: Extracted packet for processing {"connection_id":188782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:48:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:48:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:48:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:48: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-09-21 17:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:48:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:48:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":188782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:48:14] local.INFO: GPS data processed {"connection_id":188782,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:48:14] local.INFO: Acknowledgment sent {"connection_id":188782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:48:14] local.INFO: TCP Data received {"connection_id":188784,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:48:14] local.INFO: Processing buffer {"connection_id":188784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:48:14] local.INFO: IMEI packet received {"connection_id":188784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":188784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:48:17] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:17] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:48:17] local.INFO: IMEI packet received {"connection_id":188783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":188783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:48:18] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e52328012d1821800721b380004c00c72d..."} 
[2026-09-21 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e52328012d1821800721b380004c00c72d..."} 
[2026-09-21 17:48:18] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e52328012d1821800721b380004c00c72d..."} 
[2026-09-21 17:48:18] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:48:18] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":45,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238194688001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992969000,"timestamp_ms":1789992969000,"timestamp_seconds":1789992969,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e52328"} 
[2026-09-21 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 17:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:48:18] 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-09-21 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238194688001,"66":12537,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238194688001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238194688001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:48:18] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:48:18] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:48:18] local.INFO: TCP Data received {"connection_id":188782,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:18] local.INFO: Processing buffer {"connection_id":188782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:48:18] local.INFO: Packet analysis {"connection_id":188782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:48:18] local.INFO: Extracted packet for processing {"connection_id":188782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 17:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":188782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:48:18] local.INFO: GPS data processed {"connection_id":188782,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:48:18] local.INFO: Acknowledgment sent {"connection_id":188782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:48:49] local.INFO: TCP Data received {"connection_id":188783,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e57530012d1821800721b380004c00c72e..."} 
[2026-09-21 17:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e57530012d1821800721b380004c00c72e..."} 
[2026-09-21 17:48:49] local.INFO: Processing buffer {"connection_id":188783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e57530012d1821800721b380004c00c72e..."} 
[2026-09-21 17:48:49] local.INFO: Packet analysis {"connection_id":188783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:48:49] local.INFO: Extracted packet for processing {"connection_id":188783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649152,"longitude_deg":75.655616,"latitude_deg":11.9649152,"altitude":76,"angle":199,"satellites":46,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b380","is_valid_coordinates":true} 
[2026-09-21 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238200064001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535779301457920,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789992990000,"timestamp_ms":1789992990000,"timestamp_seconds":1789992990,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e57530"} 
[2026-09-21 17:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-09-21 17:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:48:49] 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-09-21 17:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238200064001,"66":12504,"105":206,"83":41984,"24":0,"16":22535779301457920,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238200064001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:48:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535779301457920,"km_value":22535779301457.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238200064001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":188783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:48:49] local.INFO: GPS data processed {"connection_id":188783,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:48:49] local.INFO: Acknowledgment sent {"connection_id":188783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:49:02] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:02] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:02] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:49:07] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:07] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:49:07] local.INFO: IMEI packet received {"connection_id":190254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":190254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:49:09] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:49:09] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e2cd80012d34c14006aa40600005000c2f..."} 
[2026-09-21 17:49:09] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:49:09] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e2"} 
[2026-09-21 17:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238083840001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789992816000,"timestamp_ms":1789992816000,"timestamp_seconds":1789992816,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e2cd80"} 
[2026-09-21 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-09-21 17:49: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-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 17:49: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-09-21 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-09-21 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-09-21 17:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17: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-09-21 17:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238083840001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238083840001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238083840001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:49:09] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:49:09] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:49:15] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:15] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:15] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:49:17] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:17] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:17] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:49:22] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:22] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:49:22] local.INFO: IMEI packet received {"connection_id":188946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":188946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:49:23] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e5a028012d1820c00721b210004d00e12e..."} 
[2026-09-21 17:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e5a028012d1820c00721b210004d00e12e..."} 
[2026-09-21 17:49:23] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e5a028012d1820c00721b210004d00e12e..."} 
[2026-09-21 17:49:23] local.INFO: Packet analysis {"connection_id":188946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:49:23] local.INFO: Extracted packet for processing {"connection_id":188946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:49:23] local.INFO: GPS Element Parsed {"raw_longitude":756555968,"raw_latitude":119648784,"longitude_deg":75.6555968,"latitude_deg":11.9648784,"altitude":77,"angle":225,"satellites":46,"speed":2,"hex_longitude":"2d1820c0","hex_latitude":"0721b210","is_valid_coordinates":true} 
[2026-09-21 17:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238205440001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535800776294400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738811699260260352,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789993001000,"timestamp_ms":1789993001000,"timestamp_seconds":1789993001,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e5a028"} 
[2026-09-21 17:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:49:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:49:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:23] 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-09-21 17:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238205440001,"66":12504,"105":206,"83":41984,"24":2,"16":22535800776294400,"45":1738811699260260352},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238205440001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:49:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:49:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535800776294400,"km_value":22535800776294.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738811699260260352,"description":"Unknown IO ID 45"} 
[2026-09-21 17:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238205440001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738811699260260352}} 
[2026-09-21 17:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":188946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:49:23] local.INFO: GPS data processed {"connection_id":188946,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:49:23] local.INFO: Acknowledgment sent {"connection_id":188946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:49:24] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e5f230012d181f800721b148004c00dd2d..."} 
[2026-09-21 17:49:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e5f230012d181f800721b148004c00dd2d..."} 
[2026-09-21 17:49:24] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e5f230012d181f800721b148004c00dd2d..."} 
[2026-09-21 17:49:24] local.INFO: Packet analysis {"connection_id":188946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:49:24] local.INFO: Extracted packet for processing {"connection_id":188946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e5"} 
[2026-09-21 17:49:24] local.INFO: GPS Element Parsed {"raw_longitude":756555648,"raw_latitude":119648584,"longitude_deg":75.6555648,"latitude_deg":11.9648584,"altitude":76,"angle":221,"satellites":45,"speed":0,"hex_longitude":"2d181f80","hex_latitude":"0721b148","is_valid_coordinates":true} 
[2026-09-21 17:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:49:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238208256001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22535817956163584,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738600593027633152,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:49:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789993022000,"timestamp_ms":1789993022000,"timestamp_seconds":1789993022,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e5f230"} 
[2026-09-21 17:49:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:49:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:49:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 17:49:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:49:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:49:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:49:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:49:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:49:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:24] 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-09-21 17:49:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:49:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:49:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238208256001,"66":12504,"105":206,"83":41984,"24":0,"16":22535817956163584,"45":1738600593027633152},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-09-21 17:49:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:49:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:49:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238208256001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:49:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-09-21 17:49:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:49:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22535817956163584,"km_value":22535817956163.586,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:49:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738600593027633152,"description":"Unknown IO ID 45"} 
[2026-09-21 17:49:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238208256001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738600593027633152}} 
[2026-09-21 17:49:24] local.INFO: DEBUG: GPS processor result {"connection_id":188946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:49:24] local.INFO: GPS data processed {"connection_id":188946,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:49:24] local.INFO: Acknowledgment sent {"connection_id":188946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:49:41] local.INFO: TCP Data received {"connection_id":190254,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190254,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:49:41] local.INFO: Processing buffer {"connection_id":190254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:49:41] local.INFO: Packet analysis {"connection_id":190254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:49:41] local.INFO: Extracted packet for processing {"connection_id":190254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49: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-09-21 17:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:49: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-09-21 17:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":190254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:49:41] local.INFO: GPS data processed {"connection_id":190254,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:49:41] local.INFO: Acknowledgment sent {"connection_id":190254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:49:55] local.INFO: TCP Data received {"connection_id":188946,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e7ab98012d185f00072184c8004e00702a..."} 
[2026-09-21 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188946,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e7ab98012d185f00072184c8004e00702a..."} 
[2026-09-21 17:49:55] local.INFO: Processing buffer {"connection_id":188946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e7ab98012d185f00072184c8004e00702a..."} 
[2026-09-21 17:49:55] local.INFO: Packet analysis {"connection_id":188946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:49:55] local.INFO: Extracted packet for processing {"connection_id":188946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:49:55] local.INFO: GPS Element Parsed {"raw_longitude":756571904,"raw_latitude":119637192,"longitude_deg":75.6571904,"latitude_deg":11.9637192,"altitude":78,"angle":112,"satellites":42,"speed":35,"hex_longitude":"2d185f00","hex_latitude":"072184c8","is_valid_coordinates":true} 
[2026-09-21 17:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238239744001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22536844453347328,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746692998606055424,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789993135000,"timestamp_ms":1789993135000,"timestamp_seconds":1789993135,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e7ab98"} 
[2026-09-21 17:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:49:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446302976,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3286692864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3877054465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2860515405,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":255,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402090,"note":"Value kept but may cause issues"} 
[2026-09-21 17:49:55] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,160,101,45,154,79,44,10,66,105,34,64,168,77,39,27,1,240,224,227,195,33,4,113,205,7,255,30,46,239,54,2,80,76],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-09-21 17:49:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5692671034191052800,"timestamp_seconds":5692671034191053.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:49:55] 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-09-21 17:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238239744001,"66":14113,"106":206,"83":41984,"24":35,"16":22536844453347328,"45":1746692998606055424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 17:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238239744001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:49:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 17:49:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22536844453347328,"km_value":22536844453347.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746692998606055424,"description":"Unknown IO ID 45"} 
[2026-09-21 17:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238239744001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1746692998606055424}} 
[2026-09-21 17:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":188946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:49:55] local.INFO: GPS data processed {"connection_id":188946,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:49:55] local.INFO: Acknowledgment sent {"connection_id":188946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:50:02] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:02] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:02] local.INFO: IMEI packet received {"connection_id":190255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":190255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:50:08] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:08] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:08] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:50:08] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:08] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:50:08] local.INFO: IMEI packet received {"connection_id":190255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:50:08] local.INFO: IMEI acknowledgment sent {"connection_id":190255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:50:10] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:10] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:10] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:50:10] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:10] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:10] local.INFO: Packet analysis {"connection_id":190255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:10] local.INFO: Extracted packet for processing {"connection_id":190255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:50:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:50: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-09-21 17:50:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:50:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:50:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:50:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":190255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:50:10] local.INFO: GPS data processed {"connection_id":190255,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:50:10] local.INFO: Acknowledgment sent {"connection_id":190255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:50:12] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:12] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:12] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:50:14] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:14] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:50:14] local.INFO: IMEI packet received {"connection_id":190256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":190256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:50:15] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e7b750012d1868c007218228004e005f2a..."} 
[2026-09-21 17:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e7b750012d1868c007218228004e005f2a..."} 
[2026-09-21 17:50:15] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e7b750012d1868c007218228004e005f2a..."} 
[2026-09-21 17:50:15] local.INFO: Packet analysis {"connection_id":190256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:15] local.INFO: Extracted packet for processing {"connection_id":190256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":756574400,"raw_latitude":119636520,"longitude_deg":75.65744,"latitude_deg":11.963652,"altitude":78,"angle":95,"satellites":42,"speed":32,"hex_longitude":"2d1868c0","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-09-21 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:50:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238242560001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22536969007398912,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756122410324903936,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:50:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789993138000,"timestamp_ms":1789993138000,"timestamp_seconds":1789993138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e7b750"} 
[2026-09-21 17:50:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:50:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:50:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 17:50:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:50:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:50:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:50:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:50:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:50:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:50:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:50:15] 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-09-21 17:50:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:50:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:50:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238242560001,"66":14048,"106":206,"83":41984,"24":32,"16":22536969007398912,"45":1756122410324903936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 17:50:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:50:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:50:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238242560001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:50:15] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 17:50:15] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:50:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22536969007398912,"km_value":22536969007398.91,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:50:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756122410324903936,"description":"Unknown IO ID 45"} 
[2026-09-21 17:50:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238242560001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1756122410324903936}} 
[2026-09-21 17:50:15] local.INFO: DEBUG: GPS processor result {"connection_id":190256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:50:15] local.INFO: GPS data processed {"connection_id":190256,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:50:15] local.INFO: Acknowledgment sent {"connection_id":190256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:50:42] local.INFO: TCP Data received {"connection_id":190255,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190255,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:42] local.INFO: Processing buffer {"connection_id":190255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:50:42] local.INFO: Packet analysis {"connection_id":190255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:42] local.INFO: Extracted packet for processing {"connection_id":190255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50: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-09-21 17:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:50:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:50: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-09-21 17:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:50:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:50:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:50:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:50:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:50:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:50:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:50:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:50:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:50:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":190255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:50:42] local.INFO: GPS data processed {"connection_id":190255,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:50:42] local.INFO: Acknowledgment sent {"connection_id":190255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:50:46] local.INFO: TCP Data received {"connection_id":190256,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e89dc8012d18d74007210018003a009a29..."} 
[2026-09-21 17:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190256,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e89dc8012d18d74007210018003a009a29..."} 
[2026-09-21 17:50:46] local.INFO: Processing buffer {"connection_id":190256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e89dc8012d18d74007210018003a009a29..."} 
[2026-09-21 17:50:46] local.INFO: Packet analysis {"connection_id":190256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e8"} 
[2026-09-21 17:50:46] local.INFO: Extracted packet for processing {"connection_id":190256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e8"} 
[2026-09-21 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":756602688,"raw_latitude":119603224,"longitude_deg":75.6602688,"latitude_deg":11.9603224,"altitude":58,"angle":154,"satellites":41,"speed":33,"hex_longitude":"2d18d740","hex_latitude":"07210018","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238257664001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22539387073986560,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788984613847797760,"note":"Value kept but may cause issues"} 
[2026-09-21 17:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1789993197000,"timestamp_ms":1789993197000,"timestamp_seconds":1789993197,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e89dc8"} 
[2026-09-21 17:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:50:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-09-21 17:50:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":190256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":190256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":190256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:50:46] 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-09-21 17:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238257664001,"66":14102,"103":206,"83":41984,"24":33,"16":22539387073986560,"45":1788984613847797760},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238257664001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:50:46] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:50:46] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22539387073986560,"km_value":22539387073986.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:50:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788984613847797760,"description":"Unknown IO ID 45"} 
[2026-09-21 17:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238257664001,"power":14102,"unknown_103":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1788984613847797760}} 
[2026-09-21 17:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":190256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:50:46] local.INFO: GPS data processed {"connection_id":190256,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:50:46] local.INFO: Acknowledgment sent {"connection_id":190256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:51:02] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:02] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:02] local.INFO: IMEI packet received {"connection_id":190257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:51:07] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:07] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:51:07] local.INFO: IMEI packet received {"connection_id":190257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":190257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:51:09] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:09] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:09] local.INFO: Packet analysis {"connection_id":190257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:51:09] local.INFO: Extracted packet for processing {"connection_id":190257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 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-09-21 17:51: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-09-21 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-09-21 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-09-21 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-09-21 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-09-21 17:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:51: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-09-21 17:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":190257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877415,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:51:09] local.INFO: GPS data processed {"connection_id":190257,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:51:09] local.INFO: Acknowledgment sent {"connection_id":190257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:51:11] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:11] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:11] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:51:12] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:12] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:12] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:51:18] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:18] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:51:18] local.INFO: IMEI packet received {"connection_id":188785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:51:18] local.INFO: IMEI acknowledgment sent {"connection_id":188785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:51:18] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e8a598012d18db400720fb08003900862b..."} 
[2026-09-21 17:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e8a598012d18db400720fb08003900862b..."} 
[2026-09-21 17:51:18] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e8a598012d18db400720fb08003900862b..."} 
[2026-09-21 17:51:18] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e8"} 
[2026-09-21 17:51:18] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e8"} 
[2026-09-21 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119601928,"longitude_deg":75.6603712,"latitude_deg":11.9601928,"altitude":57,"angle":134,"satellites":43,"speed":32,"hex_longitude":"2d18db40","hex_latitude":"0720fb08","is_valid_coordinates":true} 
[2026-09-21 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238258432001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22539464383397888,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789969776265664512,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993199000,"timestamp_ms":1789993199000,"timestamp_seconds":1789993199,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e8a598"} 
[2026-09-21 17:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 17:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:51:18] 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-09-21 17:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238258432001,"66":14113,"103":206,"83":41984,"24":32,"16":22539464383397888,"45":1789969776265664512},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238258432001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:51:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22539464383397888,"km_value":22539464383397.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789969776265664512,"description":"Unknown IO ID 45"} 
[2026-09-21 17:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238258432001,"power":14113,"unknown_103":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1789969776265664512}} 
[2026-09-21 17:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:51:18] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:51:18] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:51:19] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":false} 
[2026-09-21 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:51:19] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:19] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 17:51:19] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:51:24] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.55","data_length":17,"data_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:24] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303732343036393332..."} 
[2026-09-21 17:51:24] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303732343036393332","imei":"862567072406932","is_repeated":true} 
[2026-09-21 17:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567072406932","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:51:24] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 17:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 17:51:24] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000b7980100000000000000000000000000..."} 
[2026-09-21 17:51:24] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 17:51:24] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-09-21 17:51:24] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:51:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:51:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 17:51:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":47000,"timestamp_seconds":47,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:51:24] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:51:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 17:51:24] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:24] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 17:51:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 17:51:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 17:51:24] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 17:51:24] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 17:51:24] local.ERROR: GPS data processing failed {"connection_id":188948,"error":"No valid data to process"} 
[2026-09-21 17:51:24] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 17:51:41] local.INFO: TCP Data received {"connection_id":190257,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190257,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:41] local.INFO: Processing buffer {"connection_id":190257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:51:41] local.INFO: Packet analysis {"connection_id":190257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:51:41] local.INFO: Extracted packet for processing {"connection_id":190257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51: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-09-21 17:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:51: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-09-21 17:51: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-09-21 17:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:51: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-09-21 17:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":190257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:51:41] local.INFO: GPS data processed {"connection_id":190257,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:51:41] local.INFO: Acknowledgment sent {"connection_id":190257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:51:49] local.INFO: TCP Data received {"connection_id":188785,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e9a380012d19ab400720b040003200692b..."} 
[2026-09-21 17:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e9a380012d19ab400720b040003200692b..."} 
[2026-09-21 17:51:49] local.INFO: Processing buffer {"connection_id":188785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e9a380012d19ab400720b040003200692b..."} 
[2026-09-21 17:51:49] local.INFO: Packet analysis {"connection_id":188785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:51:49] local.INFO: Extracted packet for processing {"connection_id":188785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756656960,"raw_latitude":119582784,"longitude_deg":75.665696,"latitude_deg":11.9582784,"altitude":50,"angle":105,"satellites":43,"speed":41,"hex_longitude":"2d19ab40","hex_latitude":"0720b040","is_valid_coordinates":true} 
[2026-09-21 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238274048001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22542359191355392,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842816703138027520,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993264000,"timestamp_ms":1789993264000,"timestamp_seconds":1789993264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e9a380"} 
[2026-09-21 17:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733146112,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":24,"raw_value":-648510508706561993,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3286826864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503943568818176,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3911870465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2931294248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638057839097959,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6413389756465742080,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":30,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3389050232,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.WARNING: Large IO value detected {"io_id":136,"raw_value":15200177660897280,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:49] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,103,83,24,241,157,16,21,160,120,45,64,177,48,41,10,66,73,170,44,42,65,192,1,240,196,227,195,32,4,113,205,33,30,60,128,39,239,54,2,80,7,47,206,136],"length":628,"final_offset":758,"validated_count":45,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 17:51:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3602982141163864064,"timestamp_seconds":3602982141163864.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:51:49] 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-09-21 17:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238274048001,"66":13417,"103":206,"83":41984,"24":41,"16":22542359191355392,"45":1842816703138027520},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238274048001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:51:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22542359191355392,"km_value":22542359191355.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842816703138027520,"description":"Unknown IO ID 45"} 
[2026-09-21 17:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238274048001,"power":13417,"unknown_103":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1842816703138027520}} 
[2026-09-21 17:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":188785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877418,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:51:49] local.INFO: GPS data processed {"connection_id":188785,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:51:49] local.INFO: Acknowledgment sent {"connection_id":188785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:51:55] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.106.6.55","data_length":795,"data_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 17:51:55] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000109a00100000000000000000000000000..."} 
[2026-09-21 17:51:55] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 17:51:55] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-09-21 17:51:55] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-09-21 17:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":135586873379651584,"note":"Value kept but may cause issues"} 
[2026-09-21 17:51:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,111,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-09-21 17:51:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":68000,"timestamp_seconds":68,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:51:55] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-09-21 17:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 17:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567072406932","avl_records_count":0} 
[2026-09-21 17:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567072406932","client_ip":"42.106.6.55","avl_data_count":0,"parser_version":"unknown"} 
[2026-09-21 17:51:55] local.WARNING: DEBUG: No valid data to process  
[2026-09-21 17:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":false,"message":"No valid data to process"}} 
[2026-09-21 17:51:55] local.ERROR: GPS data processing failed {"connection_id":188948,"error":"No valid data to process"} 
[2026-09-21 17:51:55] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-09-21 17:52:02] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:02] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:02] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:52:07] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:07] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:52:07] local.INFO: IMEI packet received {"connection_id":191541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":191541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:52:09] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:09] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:09] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:52:09] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:52:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:52:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:52:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 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-09-21 17:52: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-09-21 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-09-21 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-09-21 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-09-21 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-09-21 17:52:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:52:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:52:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:52:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:52:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:52:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:52:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:52:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:52:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:52:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:52:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:52:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:52:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:52:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:52:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:52:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:52:09] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877419,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:52:09] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:52:09] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:52:10] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:10] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:10] local.INFO: IMEI packet received {"connection_id":188949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":188949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:52:14] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:14] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:14] local.INFO: IMEI packet received {"connection_id":188949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:52:14] local.INFO: IMEI acknowledgment sent {"connection_id":188949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:52:17] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:17] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:52:17] local.INFO: IMEI packet received {"connection_id":188949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":188949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:52:18] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e9b320012d19b8400720ab30003000742b..."} 
[2026-09-21 17:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e9b320012d19b8400720ab30003000742b..."} 
[2026-09-21 17:52:18] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e9b320012d19b8400720ab30003000742b..."} 
[2026-09-21 17:52:18] local.INFO: Packet analysis {"connection_id":188949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:52:18] local.INFO: Extracted packet for processing {"connection_id":188949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756660288,"raw_latitude":119581488,"longitude_deg":75.6660288,"latitude_deg":11.9581488,"altitude":48,"angle":116,"satellites":43,"speed":28,"hex_longitude":"2d19b840","hex_latitude":"0720ab30","is_valid_coordinates":true} 
[2026-09-21 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238275584001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22542530990047232,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849642471323090944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993268000,"timestamp_ms":1789993268000,"timestamp_seconds":1789993268,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e9b320"} 
[2026-09-21 17:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22784,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":105,"data_length":795,"current_offset":136} 
[2026-09-21 17:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1403,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:18] 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-09-21 17:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238275584001,"66":14048,"103":206,"83":41984,"24":28,"16":22542530990047232,"45":1849642471323090944},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238275584001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:52:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22542530990047232,"km_value":22542530990047.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849642471323090944,"description":"Unknown IO ID 45"} 
[2026-09-21 17:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238275584001,"power":14048,"unknown_103":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1849642471323090944}} 
[2026-09-21 17:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":188949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:52:18] local.INFO: GPS data processed {"connection_id":188949,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:52:18] local.INFO: Acknowledgment sent {"connection_id":188949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:52:19] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e9baf0012d19bc000720a818002f009329..."} 
[2026-09-21 17:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e9baf0012d19bc000720a818002f009329..."} 
[2026-09-21 17:52:19] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e9baf0012d19bc000720a818002f009329..."} 
[2026-09-21 17:52:19] local.INFO: Packet analysis {"connection_id":188949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:52:19] local.INFO: Extracted packet for processing {"connection_id":188949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e9"} 
[2026-09-21 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119580696,"longitude_deg":75.6661248,"latitude_deg":11.9580696,"altitude":47,"angle":147,"satellites":41,"speed":21,"hex_longitude":"2d19bc00","hex_latitude":"0720a818","is_valid_coordinates":true} 
[2026-09-21 17:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238276608001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22542591119589376,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853301646019997696,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789993270000,"timestamp_ms":1789993270000,"timestamp_seconds":1789993270,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e9baf0"} 
[2026-09-21 17:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-09-21 17:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:19] 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-09-21 17:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238276608001,"66":13167,"103":206,"83":41984,"24":21,"16":22542591119589376,"45":1853301646019997696},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238276608001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:52:19] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:52:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22542591119589376,"km_value":22542591119589.375,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853301646019997696,"description":"Unknown IO ID 45"} 
[2026-09-21 17:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238276608001,"power":13167,"unknown_103":206,"unknown_83":41984,"ignition":21,"odometer":null,"unknown_45":1853301646019997696}} 
[2026-09-21 17:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":188949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:52:19] local.INFO: GPS data processed {"connection_id":188949,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:52:19] local.INFO: Acknowledgment sent {"connection_id":188949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:52:40] local.INFO: TCP Data received {"connection_id":191541,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191541,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:40] local.INFO: Processing buffer {"connection_id":191541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:52:40] local.INFO: Packet analysis {"connection_id":191541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:52:40] local.INFO: Extracted packet for processing {"connection_id":191541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:52: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":191541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:52:40] local.INFO: GPS data processed {"connection_id":191541,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:52:40] local.INFO: Acknowledgment sent {"connection_id":191541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:52:50] local.INFO: TCP Data received {"connection_id":188949,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ea8de0012d19d3c007202560002c003a28..."} 
[2026-09-21 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188949,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ea8de0012d19d3c007202560002c003a28..."} 
[2026-09-21 17:52:50] local.INFO: Processing buffer {"connection_id":188949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ea8de0012d19d3c007202560002c003a28..."} 
[2026-09-21 17:52:50] local.INFO: Packet analysis {"connection_id":188949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:52:50] local.INFO: Extracted packet for processing {"connection_id":188949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":756667328,"raw_latitude":119547232,"longitude_deg":75.6667328,"latitude_deg":11.9547232,"altitude":44,"angle":58,"satellites":40,"speed":16,"hex_longitude":"2d19d3c0","hex_latitude":"07202560","is_valid_coordinates":true} 
[2026-09-21 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238290432001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22544566804545536,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860479257917220864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:52:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789993324000,"timestamp_ms":1789993324000,"timestamp_seconds":1789993324,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ea8de0"} 
[2026-09-21 17:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:52:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:52:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 17:52:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:52:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:52:50] 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-09-21 17:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238290432001,"66":14080,"103":206,"83":41984,"24":16,"16":22544566804545536,"45":1860479257917220864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238290432001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:52:50] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:52:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22544566804545536,"km_value":22544566804545.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:52:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860479257917220864,"description":"Unknown IO ID 45"} 
[2026-09-21 17:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238290432001,"power":14080,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1860479257917220864}} 
[2026-09-21 17:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":188949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:52:50] local.INFO: GPS data processed {"connection_id":188949,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:52:50] local.INFO: Acknowledgment sent {"connection_id":188949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:53:02] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:02] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:02] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:53:07] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:07] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:53:07] local.INFO: IMEI packet received {"connection_id":191543,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":191543,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:53:08] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:08] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:08] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:53:08] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17: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-09-21 17: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-09-21 17:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:53:08] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:53:08] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:53:12] local.INFO: TCP Data received {"connection_id":190258,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:12] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:12] local.INFO: IMEI packet received {"connection_id":190258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":190258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:53:17] local.INFO: TCP Data received {"connection_id":190258,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:17] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:53:17] local.INFO: IMEI packet received {"connection_id":190258,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":190258,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:53:18] local.INFO: TCP Data received {"connection_id":190258,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ea91c8012d19d540072025e8002d004a2a..."} 
[2026-09-21 17:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ea91c8012d19d540072025e8002d004a2a..."} 
[2026-09-21 17:53:18] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ea91c8012d19d540072025e8002d004a2a..."} 
[2026-09-21 17:53:18] local.INFO: Packet analysis {"connection_id":190258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:53:18] local.INFO: Extracted packet for processing {"connection_id":190258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756667712,"raw_latitude":119547368,"longitude_deg":75.6667712,"latitude_deg":11.9547368,"altitude":45,"angle":74,"satellites":42,"speed":16,"hex_longitude":"2d19d540","hex_latitude":"072025e8","is_valid_coordinates":true} 
[2026-09-21 17:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238290944001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22544588279382016,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861042207870771200,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993325000,"timestamp_ms":1789993325000,"timestamp_seconds":1789993325,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ea91c8"} 
[2026-09-21 17:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":22528,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3447219968,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3286917864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":3932862465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 17:53:18] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:18] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":3221692445,"corrected_to":0} 
[2026-09-21 17:53:18] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,103,83,24,241,157,16,160,134,45,192,35,44,40,10,66,114,30,43,37,110,1,240,169,227,195,32,4,113,205,6,102,203,144,239,52,2,80,7,8],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":2020016334,"validated":0},{"io_id":203,"original":3221692445,"validated":0}]} 
[2026-09-21 17:53:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170598081142980608,"timestamp_seconds":3170598081142980.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:53:18] 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-09-21 17:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238290944001,"66":13559,"103":206,"83":41984,"24":16,"16":22544588279382016,"45":1861042207870771200},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238290944001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:53:18] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22544588279382016,"km_value":22544588279382.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861042207870771200,"description":"Unknown IO ID 45"} 
[2026-09-21 17:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238290944001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1861042207870771200}} 
[2026-09-21 17:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":190258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:53:18] local.INFO: GPS data processed {"connection_id":190258,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:53:18] local.INFO: Acknowledgment sent {"connection_id":190258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:53:34] local.INFO: TCP Data received {"connection_id":190259,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:53:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:53:34] local.INFO: Processing buffer {"connection_id":190259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:53:34] local.INFO: IMEI packet received {"connection_id":190259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:53:34] local.INFO: IMEI acknowledgment sent {"connection_id":190259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:53:39] local.INFO: TCP Data received {"connection_id":191543,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191543,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:39] local.INFO: Processing buffer {"connection_id":191543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:53:39] local.INFO: Packet analysis {"connection_id":191543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:53:39] local.INFO: Extracted packet for processing {"connection_id":191543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191543,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:53: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-09-21 17:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":191543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:53:39] local.INFO: GPS data processed {"connection_id":191543,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:53:39] local.INFO: Acknowledgment sent {"connection_id":191543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:53:49] local.INFO: TCP Data received {"connection_id":190258,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ea95b0012d19d6c007202620002d00552a..."} 
[2026-09-21 17:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190258,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ea95b0012d19d6c007202620002d00552a..."} 
[2026-09-21 17:53:49] local.INFO: Processing buffer {"connection_id":190258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ea95b0012d19d6c007202620002d00552a..."} 
[2026-09-21 17:53:49] local.INFO: Packet analysis {"connection_id":190258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:53:49] local.INFO: Extracted packet for processing {"connection_id":190258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ea"} 
[2026-09-21 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756668096,"raw_latitude":119547424,"longitude_deg":75.6668096,"latitude_deg":11.9547424,"altitude":45,"angle":85,"satellites":42,"speed":17,"hex_longitude":"2d19d6c0","hex_latitude":"07202620","is_valid_coordinates":true} 
[2026-09-21 17:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238291200001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22544605459251200,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861464420335872000,"note":"Value kept but may cause issues"} 
[2026-09-21 17:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,103,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993326000,"timestamp_ms":1789993326000,"timestamp_seconds":1789993326,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ea95b0"} 
[2026-09-21 17:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-21 17:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190258,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:53:49] 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-09-21 17:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238291200001,"66":13559,"103":206,"83":41984,"24":17,"16":22544605459251200,"45":1861464420335872000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,103,83,24,16,45]} 
[2026-09-21 17:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238291200001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:53:49] local.INFO: Unknown IO ID detected {"io_id":103,"value":206,"description":"Unknown IO ID 103"} 
[2026-09-21 17:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22544605459251200,"km_value":22544605459251.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861464420335872000,"description":"Unknown IO ID 45"} 
[2026-09-21 17:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238291200001,"power":13559,"unknown_103":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1861464420335872000}} 
[2026-09-21 17:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":190258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:53:49] local.INFO: GPS data processed {"connection_id":190258,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:53:49] local.INFO: Acknowledgment sent {"connection_id":190258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:54:08] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:08] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:08] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:54:11] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:54:11] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:54:11] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:54:13] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:13] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:54:13] local.INFO: IMEI packet received {"connection_id":191544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:54:13] local.INFO: IMEI acknowledgment sent {"connection_id":191544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:54:14] local.INFO: TCP Data received {"connection_id":188786,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:54:14] local.INFO: Processing buffer {"connection_id":188786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:54:14] local.INFO: IMEI packet received {"connection_id":188786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:54:14] local.INFO: IMEI acknowledgment sent {"connection_id":188786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:54:15] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:54:15] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3e76548012d34c14006aa4060000a000c30..."} 
[2026-09-21 17:54:15] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:54:15] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3e7"} 
[2026-09-21 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:54:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238160896001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54: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-09-21 17:54:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789993117000,"timestamp_ms":1789993117000,"timestamp_seconds":1789993117,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3e76548"} 
[2026-09-21 17:54:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:54:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:54:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 17:54: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-09-21 17:54:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:54:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:54:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:54:15] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:54:15] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:54:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:54: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-09-21 17:54:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:54:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:54:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238160896001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:54:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:54:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:54:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238160896001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:54:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:54:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:54:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:54:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:54:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238160896001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:54:15] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:54:15] local.INFO: GPS data processed {"connection_id":191544,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:54:15] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:54:17] local.INFO: TCP Data received {"connection_id":191544,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191544,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:54:17] local.INFO: Processing buffer {"connection_id":191544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:54:17] local.INFO: Packet analysis {"connection_id":191544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:54:17] local.INFO: Extracted packet for processing {"connection_id":191544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:54:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:54:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":191544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:54:17] local.INFO: GPS data processed {"connection_id":191544,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:54:17] local.INFO: Acknowledgment sent {"connection_id":191544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:54:17] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.34","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 17:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 17:54:17] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-09-21 17:54:17] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:54:31] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebbaa8012d1a538007204870003900452a..."} 
[2026-09-21 17:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebbaa8012d1a538007204870003900452a..."} 
[2026-09-21 17:54:31] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a000001a0c3..."} 
[2026-09-21 17:54:31] local.INFO: IMEI packet received {"connection_id":191545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":191545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:54:32] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ec2fd8012d1a89c0072058800044002f2b..."} 
[2026-09-21 17:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ec2fd8012d1a89c0072058800044002f2b..."} 
[2026-09-21 17:54:33] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a000001a0c3ebbaa8012d1a538007204870003900452a..."} 
[2026-09-21 17:54:33] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:54:33] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756700032,"raw_latitude":119556208,"longitude_deg":75.6700032,"latitude_deg":11.9556208,"altitude":57,"angle":69,"satellites":42,"speed":22,"hex_longitude":"2d1a5380","hex_latitude":"07204870","is_valid_coordinates":true} 
[2026-09-21 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238309376001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22546241841790976,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1894396992613113856,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789993401000,"timestamp_ms":1789993401000,"timestamp_seconds":1789993401,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebbaa8"} 
[2026-09-21 17:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-09-21 17:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238309376001,"66":14483,"101":206,"83":41984,"24":22,"16":22546241841790976,"45":1894396992613113856},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238309376001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22546241841790976,"km_value":22546241841790.977,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1894396992613113856,"description":"Unknown IO ID 45"} 
[2026-09-21 17:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238309376001,"power":14483,"unknown_101":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1894396992613113856}} 
[2026-09-21 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:54:33] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:54:33] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:54:33] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:54:33] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":756713920,"raw_latitude":119560320,"longitude_deg":75.671392,"latitude_deg":11.956032,"altitude":68,"angle":47,"satellites":43,"speed":10,"hex_longitude":"2d1a89c0","hex_latitude":"07205880","is_valid_coordinates":true} 
[2026-09-21 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238318080001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22547070770479104,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912129916147058688,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1789993431000,"timestamp_ms":1789993431000,"timestamp_seconds":1789993431,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ec2fd8"} 
[2026-09-21 17:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:54:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:54:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 17:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:54:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238318080001,"66":14102,"101":206,"83":41984,"24":10,"16":22547070770479104,"45":1912129916147058688},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238318080001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22547070770479104,"km_value":22547070770479.105,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912129916147058688,"description":"Unknown IO ID 45"} 
[2026-09-21 17:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238318080001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1912129916147058688}} 
[2026-09-21 17:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:54:33] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:54:33] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:54:34] local.INFO: TCP Data received {"connection_id":191545,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ec33c0012d1a8ac0072058f8004400412b..."} 
[2026-09-21 17:54:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191545,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ec33c0012d1a8ac0072058f8004400412b..."} 
[2026-09-21 17:54:34] local.INFO: Processing buffer {"connection_id":191545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ec33c0012d1a8ac0072058f8004400412b..."} 
[2026-09-21 17:54:34] local.INFO: Packet analysis {"connection_id":191545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:54:34] local.INFO: Extracted packet for processing {"connection_id":191545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":756714176,"raw_latitude":119560440,"longitude_deg":75.6714176,"latitude_deg":11.956044,"altitude":68,"angle":65,"satellites":43,"speed":10,"hex_longitude":"2d1a8ac0","hex_latitude":"072058f8","is_valid_coordinates":true} 
[2026-09-21 17:54:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:54:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238318336001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22547083655380992,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912270653635461120,"note":"Value kept but may cause issues"} 
[2026-09-21 17:54: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-09-21 17:54:34] local.INFO: AVL Record Parsed {"raw_timestamp":1789993432000,"timestamp_ms":1789993432000,"timestamp_seconds":1789993432,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ec33c0"} 
[2026-09-21 17:54:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:54:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-09-21 17:54:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:54:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:54:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:54:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:54:34] local.INFO: Teltonika packet parsed successfully {"connection_id":191545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:54:34] local.INFO: Passing IMEI to GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":191545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:54:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:54:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:54:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:54:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238318336001,"66":14102,"101":206,"83":41984,"24":10,"16":22547083655380992,"45":1912270653635461120},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:54:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:54:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:54:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238318336001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:54:34] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:54:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:54:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22547083655380992,"km_value":22547083655380.992,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:54:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912270653635461120,"description":"Unknown IO ID 45"} 
[2026-09-21 17:54:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238318336001,"power":14102,"unknown_101":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1912270653635461120}} 
[2026-09-21 17:54:34] local.INFO: DEBUG: GPS processor result {"connection_id":191545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:54:34] local.INFO: GPS data processed {"connection_id":191545,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:54:34] local.INFO: Acknowledgment sent {"connection_id":191545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:55:03] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:03] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:03] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:55:03] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:55:08] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:08] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:55:08] local.INFO: IMEI packet received {"connection_id":191546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:55:09] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:09] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:09] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:55:09] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:55:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:55:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17: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-09-21 17:55:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:55:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:55: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-09-21 17:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:55:09] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:55:09] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:55:11] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:11] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:11] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:55:12] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:12] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:12] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:55:13] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:13] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:13] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:55:13] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:55:17] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:17] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:55:17] local.INFO: IMEI packet received {"connection_id":188950,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188950,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:55:18] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ecb4a8012d1ab78007206b680047004829..."} 
[2026-09-21 17:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ecb4a8012d1ab78007206b680047004829..."} 
[2026-09-21 17:55:18] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ecb4a8012d1ab78007206b680047004829..."} 
[2026-09-21 17:55:18] local.INFO: Packet analysis {"connection_id":188950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:55:18] local.INFO: Extracted packet for processing {"connection_id":188950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ec"} 
[2026-09-21 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756725632,"raw_latitude":119565160,"longitude_deg":75.6725632,"latitude_deg":11.956516,"altitude":71,"angle":72,"satellites":41,"speed":18,"hex_longitude":"2d1ab780","hex_latitude":"07206b68","is_valid_coordinates":true} 
[2026-09-21 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238324992001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22547740785377280,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920926009170526208,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993465000,"timestamp_ms":1789993465000,"timestamp_seconds":1789993465,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ecb4a8"} 
[2026-09-21 17:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-09-21 17:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":968,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:55:18] 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-09-21 17:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238324992001,"66":14157,"101":206,"83":41984,"24":18,"16":22547740785377280,"45":1920926009170526208},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238324992001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:55:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22547740785377280,"km_value":22547740785377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920926009170526208,"description":"Unknown IO ID 45"} 
[2026-09-21 17:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238324992001,"power":14157,"unknown_101":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1920926009170526208}} 
[2026-09-21 17:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":188950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:55:18] local.INFO: GPS data processed {"connection_id":188950,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:55:18] local.INFO: Acknowledgment sent {"connection_id":188950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:55:40] local.INFO: TCP Data received {"connection_id":191546,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191546,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:40] local.INFO: Processing buffer {"connection_id":191546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:55:40] local.INFO: Packet analysis {"connection_id":191546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:55:40] local.INFO: Extracted packet for processing {"connection_id":191546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:55: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:55:40] 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-09-21 17:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:55: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-09-21 17:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 17:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":191546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:55:40] local.INFO: GPS data processed {"connection_id":191546,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:55:40] local.INFO: Acknowledgment sent {"connection_id":191546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:55:51] local.INFO: TCP Data received {"connection_id":188950,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ed25f0012d1adf00072060080048008727..."} 
[2026-09-21 17:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188950,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ed25f0012d1adf00072060080048008727..."} 
[2026-09-21 17:55:51] local.INFO: Processing buffer {"connection_id":188950,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ed25f0012d1adf00072060080048008727..."} 
[2026-09-21 17:55:51] local.INFO: Packet analysis {"connection_id":188950,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:55:51] local.INFO: Extracted packet for processing {"connection_id":188950,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:55:51] local.INFO: GPS Element Parsed {"raw_longitude":756735744,"raw_latitude":119562248,"longitude_deg":75.6735744,"latitude_deg":11.9562248,"altitude":72,"angle":135,"satellites":39,"speed":12,"hex_longitude":"2d1adf00","hex_latitude":"07206008","is_valid_coordinates":true} 
[2026-09-21 17:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:55:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238334208001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22548329195896832,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936055289168056320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:55:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:55:51] local.INFO: AVL Record Parsed {"raw_timestamp":1789993494000,"timestamp_ms":1789993494000,"timestamp_seconds":1789993494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ed25f0"} 
[2026-09-21 17:55:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:55:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:55:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 17:55:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:55:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:55:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:55:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:55:51] local.INFO: Teltonika packet parsed successfully {"connection_id":188950,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:55:51] local.INFO: Passing IMEI to GPS processor {"connection_id":188950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:55:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":188950,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:55:51] 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-09-21 17:55:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:55:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:55:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238334208001,"66":14113,"106":206,"83":41984,"24":12,"16":22548329195896832,"45":1936055289168056320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 17:55:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:55:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:55:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238334208001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:55:51] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 17:55:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:55:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22548329195896832,"km_value":22548329195896.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:55:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936055289168056320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:55:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238334208001,"power":14113,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1936055289168056320}} 
[2026-09-21 17:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":188950,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877436,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:55:51] local.INFO: GPS data processed {"connection_id":188950,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:55:51] local.INFO: Acknowledgment sent {"connection_id":188950,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:56:02] local.INFO: TCP Data received {"connection_id":190260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:02] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:02] local.INFO: IMEI packet received {"connection_id":190260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":190260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:56:08] local.INFO: TCP Data received {"connection_id":190260,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:08] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:56:08] local.INFO: IMEI packet received {"connection_id":190260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":190260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:56:10] local.INFO: TCP Data received {"connection_id":190260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:10] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:10] local.INFO: Packet analysis {"connection_id":190260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:56:10] local.INFO: Extracted packet for processing {"connection_id":190260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:56:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:56:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:56:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:56:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:56:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:56:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:56:10] 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-09-21 17:56:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:56:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:56:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:56:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:56:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:56:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:56: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-09-21 17:56:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:56:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:56:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:56:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:56:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:56:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:56:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:56:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:56:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:56:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:56:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:56:10] local.INFO: DEBUG: GPS processor result {"connection_id":190260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:56:10] local.INFO: GPS data processed {"connection_id":190260,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:56:10] local.INFO: Acknowledgment sent {"connection_id":190260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:56:18] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:18] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:18] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:56:35] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:35] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:56:35] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:56:35] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:56:37] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ed29d8012d1ae04007205fc00048006826..."} 
[2026-09-21 17:56:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ed29d8012d1ae04007205fc00048006826..."} 
[2026-09-21 17:56:37] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ed29d8012d1ae04007205fc00048006826..."} 
[2026-09-21 17:56:37] local.INFO: Packet analysis {"connection_id":188951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:56:37] local.INFO: Extracted packet for processing {"connection_id":188951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":756736064,"raw_latitude":119562176,"longitude_deg":75.6736064,"latitude_deg":11.9562176,"altitude":72,"angle":104,"satellites":38,"speed":11,"hex_longitude":"2d1ae040","hex_latitude":"07205fc0","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:56:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238334464001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22548346375766016,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936266395400538112,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:56:37] local.INFO: AVL Record Parsed {"raw_timestamp":1789993495000,"timestamp_ms":1789993495000,"timestamp_seconds":1789993495,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ed29d8"} 
[2026-09-21 17:56:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:56:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17: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":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-09-21 17:56:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:56:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:56:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:56:37] local.INFO: Teltonika packet parsed successfully {"connection_id":188951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:56:37] local.INFO: Passing IMEI to GPS processor {"connection_id":188951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:56:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":188951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:56:37] 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-09-21 17:56:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:56:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:56:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238334464001,"66":14189,"106":206,"83":41984,"24":11,"16":22548346375766016,"45":1936266395400538112},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 17:56:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:56:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:56:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238334464001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:56:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 17:56:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:56:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22548346375766016,"km_value":22548346375766.016,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:56:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936266395400538112,"description":"Unknown IO ID 45"} 
[2026-09-21 17:56:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238334464001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1936266395400538112}} 
[2026-09-21 17:56:37] local.INFO: DEBUG: GPS processor result {"connection_id":188951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:56:37] local.INFO: GPS data processed {"connection_id":188951,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:56:37] local.INFO: Acknowledgment sent {"connection_id":188951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:56:41] local.INFO: TCP Data received {"connection_id":190260,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190260,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:41] local.INFO: Processing buffer {"connection_id":190260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:56:41] local.INFO: Packet analysis {"connection_id":190260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:56:41] local.INFO: Extracted packet for processing {"connection_id":190260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17: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-09-21 17:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:56: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-09-21 17: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-09-21 17:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":190260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:56:41] local.INFO: GPS data processed {"connection_id":190260,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:56:41] local.INFO: Acknowledgment sent {"connection_id":190260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:57:02] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:02] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:02] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:57:07] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:07] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:57:07] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:57:08] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:08] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:08] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:57:08] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 17:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 17:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 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-09-21 17:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 17: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-09-21 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-09-21 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-09-21 17:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:57:08] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:57:08] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:57:12] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:12] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:12] local.INFO: IMEI packet received {"connection_id":188953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:57:17] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:17] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:57:17] local.INFO: IMEI packet received {"connection_id":188953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":188953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:57:18] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ed2dc0012d1ae18007205fb00048005427..."} 
[2026-09-21 17:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ed2dc0012d1ae18007205fb00048005427..."} 
[2026-09-21 17:57:18] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ed2dc0012d1ae18007205fb00048005427..."} 
[2026-09-21 17:57:18] local.INFO: Packet analysis {"connection_id":188953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:57:18] local.INFO: Extracted packet for processing {"connection_id":188953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ed"} 
[2026-09-21 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756736384,"raw_latitude":119562160,"longitude_deg":75.6736384,"latitude_deg":11.956216,"altitude":72,"angle":84,"satellites":39,"speed":12,"hex_longitude":"2d1ae180","hex_latitude":"07205fb0","is_valid_coordinates":true} 
[2026-09-21 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238334720001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22548359260667904,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936618239121408000,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993496000,"timestamp_ms":1789993496000,"timestamp_seconds":1789993496,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ed2dc0"} 
[2026-09-21 17:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-09-21 17:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1454,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:57:18] 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-09-21 17:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238334720001,"66":14189,"106":206,"83":41984,"24":12,"16":22548359260667904,"45":1936618239121408000},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 17:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238334720001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:57:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 17:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22548359260667904,"km_value":22548359260667.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936618239121408000,"description":"Unknown IO ID 45"} 
[2026-09-21 17:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238334720001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1936618239121408000}} 
[2026-09-21 17:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":188953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:57:18] local.INFO: GPS data processed {"connection_id":188953,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:57:18] local.INFO: Acknowledgment sent {"connection_id":188953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:57:40] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:40] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:57:40] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:57:40] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:57:40] 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-09-21 17: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-09-21 17:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:57:40] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:57:40] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:57:49] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3eed3a0012d1b32400720b7f00051003e2b..."} 
[2026-09-21 17:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3eed3a0012d1b32400720b7f00051003e2b..."} 
[2026-09-21 17:57:49] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3eed3a0012d1b32400720b7f00051003e2b..."} 
[2026-09-21 17:57:49] local.INFO: Packet analysis {"connection_id":188953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ee"} 
[2026-09-21 17:57:49] local.INFO: Extracted packet for processing {"connection_id":188953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ee"} 
[2026-09-21 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756757056,"raw_latitude":119584752,"longitude_deg":75.6757056,"latitude_deg":11.9584752,"altitude":81,"angle":62,"satellites":43,"speed":7,"hex_longitude":"2d1b3240","hex_latitude":"0720b7f0","is_valid_coordinates":true} 
[2026-09-21 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238362368001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550201801637888,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959417712240726016,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993604000,"timestamp_ms":1789993604000,"timestamp_seconds":1789993604,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3eed3a0"} 
[2026-09-21 17:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3287153864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":53249,"corrected_to":0} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250221792767274624,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":28,"raw_value":3724541952,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4001214465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":43,"raw_value":2818649371,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3221692537,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":7,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408633346,"note":"Value kept but may cause issues"} 
[2026-09-21 17:57:49] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,101,83,24,241,157,16,29,160,203,45,192,182,80,44,10,66,125,1,240,46,227,28,195,32,4,113,205,43,48,41,239,55,103,2,7,79,120,90,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":203,"original":53249,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 17:57:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836719182120943616,"timestamp_seconds":5836719182120944.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:57:49] 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-09-21 17:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238362368001,"66":12558,"101":206,"83":41984,"24":7,"16":22550201801637888,"45":1959417712240726016},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238362368001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:57:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550201801637888,"km_value":22550201801637.887,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959417712240726016,"description":"Unknown IO ID 45"} 
[2026-09-21 17:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238362368001,"power":12558,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1959417712240726016}} 
[2026-09-21 17:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":188953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:57:49] local.INFO: GPS data processed {"connection_id":188953,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:57:49] local.INFO: Acknowledgment sent {"connection_id":188953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:58:02] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:02] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:02] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:58:07] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:07] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:58:07] local.INFO: IMEI packet received {"connection_id":191550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":191550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:58:08] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:08] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:08] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:58:08] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17: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-09-21 17:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:58: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-09-21 17:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:58:08] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:58:08] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:58:12] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:12] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:12] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:58:17] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:17] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:58:17] local.INFO: IMEI packet received {"connection_id":190261,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":190261,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:58:18] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3eed788012d1b33000720b7f8005200552b..."} 
[2026-09-21 17:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3eed788012d1b33000720b7f8005200552b..."} 
[2026-09-21 17:58:18] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3eed788012d1b33000720b7f8005200552b..."} 
[2026-09-21 17:58:18] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ee"} 
[2026-09-21 17:58:18] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ee"} 
[2026-09-21 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756757248,"raw_latitude":119584760,"longitude_deg":75.6757248,"latitude_deg":11.958476,"altitude":82,"angle":85,"satellites":43,"speed":7,"hex_longitude":"2d1b3300","hex_latitude":"0720b7f8","is_valid_coordinates":true} 
[2026-09-21 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238362624001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550214686539776,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959699187217461248,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993605000,"timestamp_ms":1789993605000,"timestamp_seconds":1789993605,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3eed788"} 
[2026-09-21 17:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3287165864,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":53249,"corrected_to":0} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250244057877739312,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4001214465,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2476736589,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2020016334,"corrected_to":0} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":125,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":3,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7422159044535654400,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":90,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304408240130,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:18] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,29,160,207,45,64,183,81,44,10,66,203,192,182,80,1,240,46,227,195,32,4,113,205,125,51,42,239,103,2,7,79,3,120,90,206],"length":575,"final_offset":705,"validated_count":42,"validation_warnings":[{"io_id":203,"original":53249,"validated":0},{"io_id":205,"original":2020016334,"validated":0}]} 
[2026-09-21 17:58:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836733471477137408,"timestamp_seconds":5836733471477137.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 17:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:58:18] 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-09-21 17:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238362624001,"66":13135,"101":206,"83":41984,"24":7,"16":22550214686539776,"45":1959699187217461248},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238362624001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:58:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550214686539776,"km_value":22550214686539.777,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959699187217461248,"description":"Unknown IO ID 45"} 
[2026-09-21 17:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238362624001,"power":13135,"unknown_101":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1959699187217461248}} 
[2026-09-21 17:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:58:18] local.INFO: GPS data processed {"connection_id":190261,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:58:18] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:58:40] local.INFO: TCP Data received {"connection_id":191550,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191550,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:40] local.INFO: Processing buffer {"connection_id":191550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:58:40] local.INFO: Packet analysis {"connection_id":191550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:58:40] local.INFO: Extracted packet for processing {"connection_id":191550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:58:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:58:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:58:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:58:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:58:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:58:40] 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-09-21 17:58:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:58:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:58:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:58:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:58:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:58:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:58:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:58:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:58:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:58:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:58:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:58:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:58:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:58:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:58:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:58:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:58:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:58:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:58:40] local.INFO: DEBUG: GPS processor result {"connection_id":191550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:58:40] local.INFO: GPS data processed {"connection_id":191550,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:58:40] local.INFO: Acknowledgment sent {"connection_id":191550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:58:49] local.INFO: TCP Data received {"connection_id":190261,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ef2990012d1b35000720b8880053005b28..."} 
[2026-09-21 17:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190261,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ef2990012d1b35000720b8880053005b28..."} 
[2026-09-21 17:58:49] local.INFO: Processing buffer {"connection_id":190261,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ef2990012d1b35000720b8880053005b28..."} 
[2026-09-21 17:58:49] local.INFO: Packet analysis {"connection_id":190261,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:58:49] local.INFO: Extracted packet for processing {"connection_id":190261,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238362880001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959910293449996288,"note":"Value kept but may cause issues"} 
[2026-09-21 17:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993626000,"timestamp_ms":1789993626000,"timestamp_seconds":1789993626,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ef2990"} 
[2026-09-21 17:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 17:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-09-21 17:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190261,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190261,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:58:49] 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-09-21 17:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238362880001,"66":13124,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1959910293449996288},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238362880001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:58:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959910293449996288,"description":"Unknown IO ID 45"} 
[2026-09-21 17:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238362880001,"power":13124,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959910293449996288}} 
[2026-09-21 17:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":190261,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:58:49] local.INFO: GPS data processed {"connection_id":190261,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:58:49] local.INFO: Acknowledgment sent {"connection_id":190261,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:59:07] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:07] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:07] local.INFO: IMEI packet received {"connection_id":188787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 17:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":188787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:59:12] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:12] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 17:59:12] local.INFO: IMEI packet received {"connection_id":188787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 17:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":188787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:59:13] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:13] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:13] local.INFO: Packet analysis {"connection_id":188787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:59:13] local.INFO: Extracted packet for processing {"connection_id":188787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:59: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-09-21 17:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":188787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:59:13] local.INFO: GPS data processed {"connection_id":188787,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:59:13] local.INFO: Acknowledgment sent {"connection_id":188787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:59:17] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:17] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:17] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 17:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 17:59:18] local.INFO: TCP Data received {"connection_id":188787,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:18] local.INFO: Processing buffer {"connection_id":188787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ebfd10012d34c14006aa40600007000c2e..."} 
[2026-09-21 17:59:18] local.INFO: Packet analysis {"connection_id":188787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:59:18] local.INFO: Extracted packet for processing {"connection_id":188787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3eb"} 
[2026-09-21 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238237952001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993418000,"timestamp_ms":1789993418000,"timestamp_seconds":1789993418,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ebfd10"} 
[2026-09-21 17:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 17:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 17:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 17:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 17:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 17:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 17:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238237952001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 17:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 17:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 17:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238237952001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:59:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 17:59:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 17:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 17:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238237952001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 17:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":188787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:59:18] local.INFO: GPS data processed {"connection_id":188787,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:59:18] local.INFO: Acknowledgment sent {"connection_id":188787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:59:22] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:22] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 17:59:22] local.INFO: IMEI packet received {"connection_id":190262,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 17:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":190262,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 17:59:23] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ef7b98012d1b35000720b8880053005b28..."} 
[2026-09-21 17:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ef7b98012d1b35000720b8880053005b28..."} 
[2026-09-21 17:59:23] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ef7b98012d1b35000720b8880053005b28..."} 
[2026-09-21 17:59:23] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:59:23] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 17:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238368256001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 17:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789993647000,"timestamp_ms":1789993647000,"timestamp_seconds":1789993647,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ef7b98"} 
[2026-09-21 17:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:59: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-09-21 17:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 17:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 17:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:59:23] 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-09-21 17:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238368256001,"66":13080,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238368256001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:59:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 17:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238368256001,"power":13080,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 17:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:59:23] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:59:23] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:59:27] local.INFO: TCP Data received {"connection_id":190262,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3efcda0012d1b35000720b8880053005b2a..."} 
[2026-09-21 17:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190262,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3efcda0012d1b35000720b8880053005b2a..."} 
[2026-09-21 17:59:28] local.INFO: Processing buffer {"connection_id":190262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3efcda0012d1b35000720b8880053005b2a..."} 
[2026-09-21 17:59:28] local.INFO: Packet analysis {"connection_id":190262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:59:28] local.INFO: Extracted packet for processing {"connection_id":190262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ef"} 
[2026-09-21 17:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 17: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-09-21 17:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238373632001,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 17:59: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-09-21 17:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789993668000,"timestamp_ms":1789993668000,"timestamp_seconds":1789993668,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3efcda0"} 
[2026-09-21 17:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 17:59: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-09-21 17: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":24,"data_length":795,"current_offset":136} 
[2026-09-21 17:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 17: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-09-21 17:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 17:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 17:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 17:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190262,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 17:59:28] 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-09-21 17:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 17:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 17:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238373632001,"66":13048,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 17:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 17:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238373632001,"description":"Unknown IO ID 0"} 
[2026-09-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 17:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 17:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 17:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238373632001,"power":13048,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 17:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":190262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 17:59:28] local.INFO: GPS data processed {"connection_id":190262,"processed":1,"errors":0,"total":1} 
[2026-09-21 17:59:28] local.INFO: Acknowledgment sent {"connection_id":190262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 17:59:43] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:59:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:59:43] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 17:59:43] local.INFO: IMEI packet received {"connection_id":188955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 17:59:43] local.INFO: IMEI acknowledgment sent {"connection_id":188955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:00:02] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:02] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:02] local.INFO: IMEI packet received {"connection_id":188788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":188788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:00:08] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:08] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:00:08] local.INFO: IMEI packet received {"connection_id":188788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":188788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:00:10] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:10] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:10] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:10] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:00:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:00:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:00:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:00: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-09-21 18: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-09-21 18:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:00:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:00:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:00:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:00:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:00:10] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:00:10] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:00:11] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:11] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:11] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:00:12] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:12] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:12] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:00:14] local.INFO: TCP Data received {"connection_id":190264,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:00:14] local.INFO: Processing buffer {"connection_id":190264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:00:14] local.INFO: IMEI packet received {"connection_id":190264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":190264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:00:17] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:17] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:00:17] local.INFO: IMEI packet received {"connection_id":190263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":190263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:00:18] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f01fa8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f01fa8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:00:18] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f01fa8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:00:18] local.INFO: Packet analysis {"connection_id":190263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:18] local.INFO: Extracted packet for processing {"connection_id":190263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238379008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993689000,"timestamp_ms":1789993689000,"timestamp_seconds":1789993689,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f01fa8"} 
[2026-09-21 18:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 18:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:00:18] 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-09-21 18:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238379008001,"66":13015,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238379008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:00:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238379008001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":190263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:00:18] local.INFO: GPS data processed {"connection_id":190263,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:00:18] local.INFO: Acknowledgment sent {"connection_id":190263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:00:42] local.INFO: TCP Data received {"connection_id":188788,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:42] local.INFO: Processing buffer {"connection_id":188788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:00:42] local.INFO: Packet analysis {"connection_id":188788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:42] local.INFO: Extracted packet for processing {"connection_id":188788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:00:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:00:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:00:42] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:00:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:00:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:00: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-09-21 18:00:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:00:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:00:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:00:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:00:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:00:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:00:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:00:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:00:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:00:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:00:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:00:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:00:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:00:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:00:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:00:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:00:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:00:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:00:42] local.INFO: DEBUG: GPS processor result {"connection_id":188788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:00:42] local.INFO: GPS data processed {"connection_id":188788,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:00:42] local.INFO: Acknowledgment sent {"connection_id":188788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:00:49] local.INFO: TCP Data received {"connection_id":190263,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f071b0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190263,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f071b0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:00:49] local.INFO: Processing buffer {"connection_id":190263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f071b0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:00:49] local.INFO: Packet analysis {"connection_id":190263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:49] local.INFO: Extracted packet for processing {"connection_id":190263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238384384001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993710000,"timestamp_ms":1789993710000,"timestamp_seconds":1789993710,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f071b0"} 
[2026-09-21 18:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 18:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:00:49] 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-09-21 18:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238384384001,"66":13004,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238384384001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:00:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238384384001,"power":13004,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":190263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:00:49] local.INFO: GPS data processed {"connection_id":190263,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:00:49] local.INFO: Acknowledgment sent {"connection_id":190263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:01:02] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:02] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:02] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:01:07] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:08] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:01:08] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:01:08] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:08] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:08] local.INFO: Packet analysis {"connection_id":188956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:08] local.INFO: Extracted packet for processing {"connection_id":188956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 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-09-21 18:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 18:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:01: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-09-21 18:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":188956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:01:09] local.INFO: GPS data processed {"connection_id":188956,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:01:09] local.INFO: Acknowledgment sent {"connection_id":188956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:01:12] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:12] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:12] local.INFO: IMEI packet received {"connection_id":188789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":188789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:01:16] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:16] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:01:16] local.INFO: IMEI packet received {"connection_id":188789,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":188789,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:01:16] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f0c3b8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f0c3b8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:01:16] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f0c3b8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:01:16] local.INFO: Packet analysis {"connection_id":188789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:16] local.INFO: Extracted packet for processing {"connection_id":188789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238389760001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789993731000,"timestamp_ms":1789993731000,"timestamp_seconds":1789993731,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f0c3b8"} 
[2026-09-21 18:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:01:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:01:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-21 18:01:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:01:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":188789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:01:16] 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-09-21 18:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238389760001,"66":12950,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238389760001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:01:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:01:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238389760001,"power":12950,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":188789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:01:16] local.INFO: GPS data processed {"connection_id":188789,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:01:16] local.INFO: Acknowledgment sent {"connection_id":188789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:01:40] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:40] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:01:40] local.INFO: Packet analysis {"connection_id":188956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:40] local.INFO: Extracted packet for processing {"connection_id":188956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:01: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-09-21 18:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":188956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:01:40] local.INFO: GPS data processed {"connection_id":188956,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:01:40] local.INFO: Acknowledgment sent {"connection_id":188956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:01:47] local.INFO: TCP Data received {"connection_id":188789,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f115c0012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188789,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f115c0012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:01:47] local.INFO: Processing buffer {"connection_id":188789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f115c0012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:01:47] local.INFO: Packet analysis {"connection_id":188789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:01:47] local.INFO: Extracted packet for processing {"connection_id":188789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238395136001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789993752000,"timestamp_ms":1789993752000,"timestamp_seconds":1789993752,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f115c0"} 
[2026-09-21 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-09-21 18:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-09-21 18:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":188789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":188789,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:01:47] 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-09-21 18:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238395136001,"66":12961,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238395136001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:01:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:01:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238395136001,"power":12961,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":188789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:01:47] local.INFO: GPS data processed {"connection_id":188789,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:01:47] local.INFO: Acknowledgment sent {"connection_id":188789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:02:02] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:02] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:02] local.INFO: IMEI packet received {"connection_id":188957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":188957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:02:07] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:07] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:07] local.INFO: IMEI packet received {"connection_id":188957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":188957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:02:12] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:12] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:12] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:02:12] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:12] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:02:12] local.INFO: IMEI packet received {"connection_id":188957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:02:13] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:13] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:13] local.INFO: Packet analysis {"connection_id":188957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:02:13] local.INFO: Extracted packet for processing {"connection_id":188957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:02: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-09-21 18:02: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-09-21 18:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:02:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":188957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:02:13] local.INFO: GPS data processed {"connection_id":188957,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:02:13] local.INFO: Acknowledgment sent {"connection_id":188957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:02:17] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:17] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:02:17] local.INFO: IMEI packet received {"connection_id":188790,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188790,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:02:18] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f167c8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f167c8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:02:18] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f167c8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:02:18] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:02:18] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238400512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993773000,"timestamp_ms":1789993773000,"timestamp_seconds":1789993773,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f167c8"} 
[2026-09-21 18:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":161,"data_length":795,"current_offset":136} 
[2026-09-21 18:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1897,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:02:18] 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-09-21 18:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238400512001,"66":12885,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238400512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:02:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238400512001,"power":12885,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:02:18] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:02:18] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:02:45] local.INFO: TCP Data received {"connection_id":188957,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188957,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:45] local.INFO: Processing buffer {"connection_id":188957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:02:45] local.INFO: Packet analysis {"connection_id":188957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:02:45] local.INFO: Extracted packet for processing {"connection_id":188957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:02:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:02:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:02: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-09-21 18:02:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:02:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:02:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":188957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:02:45] local.INFO: GPS data processed {"connection_id":188957,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:02:45] local.INFO: Acknowledgment sent {"connection_id":188957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:02:49] local.INFO: TCP Data received {"connection_id":188790,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f1b9d0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f1b9d0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:02:49] local.INFO: Processing buffer {"connection_id":188790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f1b9d0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:02:49] local.INFO: Packet analysis {"connection_id":188790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:02:49] local.INFO: Extracted packet for processing {"connection_id":188790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f1"} 
[2026-09-21 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238405888001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993794000,"timestamp_ms":1789993794000,"timestamp_seconds":1789993794,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f1b9d0"} 
[2026-09-21 18:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-09-21 18:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1213,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188790,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:02:49] 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-09-21 18:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238405888001,"66":12928,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238405888001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:02:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238405888001,"power":12928,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":188790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:02:49] local.INFO: GPS data processed {"connection_id":188790,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:02:49] local.INFO: Acknowledgment sent {"connection_id":188790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:03:02] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:02] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:02] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:03:07] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:07] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:03:07] local.INFO: IMEI packet received {"connection_id":191553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:03:08] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:08] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:08] local.INFO: Packet analysis {"connection_id":191553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:03:08] local.INFO: Extracted packet for processing {"connection_id":191553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 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-09-21 18:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 18:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 18:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:03:08] local.INFO: GPS data processed {"connection_id":191553,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:03:08] local.INFO: Acknowledgment sent {"connection_id":191553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:03:13] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:13] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:13] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:03:13] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:03:17] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:17] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:03:17] local.INFO: IMEI packet received {"connection_id":190265,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":190265,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:03:18] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f20bd8012d1b35000720b8880053005b29..."} 
[2026-09-21 18:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f20bd8012d1b35000720b8880053005b29..."} 
[2026-09-21 18:03:18] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f20bd8012d1b35000720b8880053005b29..."} 
[2026-09-21 18:03:18] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:03:18] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238411264001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993815000,"timestamp_ms":1789993815000,"timestamp_seconds":1789993815,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f20bd8"} 
[2026-09-21 18:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-09-21 18:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:03:18] 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-09-21 18:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238411264001,"66":12841,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238411264001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:03:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238411264001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:03:18] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:03:18] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:03:40] local.INFO: TCP Data received {"connection_id":191553,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191553,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:40] local.INFO: Processing buffer {"connection_id":191553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:03:40] local.INFO: Packet analysis {"connection_id":191553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:03:40] local.INFO: Extracted packet for processing {"connection_id":191553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:03: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-09-21 18:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 18:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:03:40] local.INFO: GPS data processed {"connection_id":191553,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:03:40] local.INFO: Acknowledgment sent {"connection_id":191553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:03:49] local.INFO: TCP Data received {"connection_id":190265,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f25de0012d1b35000720b8880053005b26..."} 
[2026-09-21 18:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190265,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f25de0012d1b35000720b8880053005b26..."} 
[2026-09-21 18:03:49] local.INFO: Processing buffer {"connection_id":190265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f25de0012d1b35000720b8880053005b26..."} 
[2026-09-21 18:03:49] local.INFO: Packet analysis {"connection_id":190265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:03:49] local.INFO: Extracted packet for processing {"connection_id":190265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238416640001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993836000,"timestamp_ms":1789993836000,"timestamp_seconds":1789993836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f25de0"} 
[2026-09-21 18:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 18:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190265,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:03:49] 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-09-21 18:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238416640001,"66":12841,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238416640001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:03:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238416640001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":190265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:03:50] local.INFO: GPS data processed {"connection_id":190265,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:03:50] local.INFO: Acknowledgment sent {"connection_id":190265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:04:02] local.INFO: TCP Data received {"connection_id":188792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:02] local.INFO: Processing buffer {"connection_id":188792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:02] local.INFO: IMEI packet received {"connection_id":188792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":188792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:04:08] local.INFO: TCP Data received {"connection_id":188792,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:08] local.INFO: Processing buffer {"connection_id":188792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:04:08] local.INFO: IMEI packet received {"connection_id":188792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":188792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:04:09] local.INFO: TCP Data received {"connection_id":188792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:04:09] local.INFO: Processing buffer {"connection_id":188792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f094d8012d34c14006aa40600007000c2d..."} 
[2026-09-21 18:04:09] local.INFO: Packet analysis {"connection_id":188792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:04:09] local.INFO: Extracted packet for processing {"connection_id":188792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f0"} 
[2026-09-21 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:04:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:04:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238315008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:04:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789993719000,"timestamp_ms":1789993719000,"timestamp_seconds":1789993719,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f094d8"} 
[2026-09-21 18:04:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:04:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:04: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-09-21 18:04:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:04:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:04:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:04:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:04:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:04:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:04:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:04:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:04:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:04:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238315008001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:04:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:04:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:04:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238315008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:04:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:04:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:04:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:04:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:04:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238315008001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:04:09] local.INFO: DEBUG: GPS processor result {"connection_id":188792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:04:09] local.INFO: GPS data processed {"connection_id":188792,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:04:09] local.INFO: Acknowledgment sent {"connection_id":188792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:04:12] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:12] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:12] local.INFO: IMEI packet received {"connection_id":188958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":188958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:04:17] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:17] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:04:17] local.INFO: IMEI packet received {"connection_id":188958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":188958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:04:18] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f2afe8012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f2afe8012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:18] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f2afe8012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:18] local.INFO: Packet analysis {"connection_id":188958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:04:18] local.INFO: Extracted packet for processing {"connection_id":188958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f2"} 
[2026-09-21 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238422016001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993857000,"timestamp_ms":1789993857000,"timestamp_seconds":1789993857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f2afe8"} 
[2026-09-21 18:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 18:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:04:18] 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-09-21 18:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238422016001,"66":12863,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238422016001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:04:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238422016001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":188958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:04:18] local.INFO: GPS data processed {"connection_id":188958,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:04:18] local.INFO: Acknowledgment sent {"connection_id":188958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:04:40] local.INFO: TCP Data received {"connection_id":188792,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:04:40] local.INFO: Processing buffer {"connection_id":188792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:04:40] local.INFO: Packet analysis {"connection_id":188792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:04:40] local.INFO: Extracted packet for processing {"connection_id":188792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":188792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:04:40] local.INFO: GPS data processed {"connection_id":188792,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:04:40] local.INFO: Acknowledgment sent {"connection_id":188792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:04:50] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f301f0012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f301f0012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:50] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f301f0012d1b35000720b8880053005b27..."} 
[2026-09-21 18:04:50] local.INFO: Packet analysis {"connection_id":188958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:04:50] local.INFO: Extracted packet for processing {"connection_id":188958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:04:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238427392001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:04:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:04:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789993878000,"timestamp_ms":1789993878000,"timestamp_seconds":1789993878,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f301f0"} 
[2026-09-21 18:04:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:04:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:04:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 18:04:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:04:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:04:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:04:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:04:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:04:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:04:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:04:50] 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-09-21 18:04:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:04:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:04:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238427392001,"66":12841,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:04:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:04:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:04:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238427392001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:04:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:04:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:04:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:04:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:04:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238427392001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:04:50] local.INFO: DEBUG: GPS processor result {"connection_id":188958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877471,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:04:50] local.INFO: GPS data processed {"connection_id":188958,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:04:50] local.INFO: Acknowledgment sent {"connection_id":188958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:05:02] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:02] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:02] local.INFO: IMEI packet received {"connection_id":190266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:05:07] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:07] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:05:07] local.INFO: IMEI packet received {"connection_id":190266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":190266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:05:09] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:09] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:09] local.INFO: Packet analysis {"connection_id":190266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:05:09] local.INFO: Extracted packet for processing {"connection_id":190266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:05: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-09-21 18:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:05:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":190266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:05:09] local.INFO: GPS data processed {"connection_id":190266,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:05:09] local.INFO: Acknowledgment sent {"connection_id":190266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:05:17] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:17] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:17] local.INFO: IMEI packet received {"connection_id":190267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":190267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:05:22] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:22] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:05:22] local.INFO: IMEI packet received {"connection_id":190267,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":190267,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:05:23] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f353f8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f353f8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:23] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f353f8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:23] local.INFO: Packet analysis {"connection_id":190267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:05:23] local.INFO: Extracted packet for processing {"connection_id":190267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238432768001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789993899000,"timestamp_ms":1789993899000,"timestamp_seconds":1789993899,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f353f8"} 
[2026-09-21 18:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 18:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:05:23] 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-09-21 18:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238432768001,"66":12841,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238432768001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:05:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238432768001,"power":12841,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":190267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:05:23] local.INFO: GPS data processed {"connection_id":190267,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:05:23] local.INFO: Acknowledgment sent {"connection_id":190267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:05:27] local.INFO: TCP Data received {"connection_id":190267,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f3a600012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190267,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f3a600012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:27] local.INFO: Processing buffer {"connection_id":190267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f3a600012d1b35000720b8880053005b28..."} 
[2026-09-21 18:05:27] local.INFO: Packet analysis {"connection_id":190267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:05:27] local.INFO: Extracted packet for processing {"connection_id":190267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238438144001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789993920000,"timestamp_ms":1789993920000,"timestamp_seconds":1789993920,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f3a600"} 
[2026-09-21 18:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18: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-09-21 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-09-21 18:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190267,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:05: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-09-21 18:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238438144001,"66":12819,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238438144001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:05:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238438144001,"power":12819,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":190267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:05:27] local.INFO: GPS data processed {"connection_id":190267,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:05:27] local.INFO: Acknowledgment sent {"connection_id":190267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:05:40] local.INFO: TCP Data received {"connection_id":188793,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:05:40] local.INFO: Processing buffer {"connection_id":188793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:05:40] local.INFO: IMEI packet received {"connection_id":188793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:05:40] local.INFO: IMEI acknowledgment sent {"connection_id":188793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:05:40] local.INFO: TCP Data received {"connection_id":190266,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190266,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:40] local.INFO: Processing buffer {"connection_id":190266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:05:40] local.INFO: Packet analysis {"connection_id":190266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:05:40] local.INFO: Extracted packet for processing {"connection_id":190266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:05: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":190266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:05:40] local.INFO: GPS data processed {"connection_id":190266,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:05:40] local.INFO: Acknowledgment sent {"connection_id":190266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:06:02] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:02] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:02] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:06:08] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:08] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:06:08] local.INFO: IMEI packet received {"connection_id":190268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":190268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:06:08] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:08] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:08] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:06:08] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:08] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:08] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:06:08] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:06:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:06:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:06:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:06:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:06: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-09-21 18:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:06:08] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:06:08] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:06:12] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:12] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:12] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:06:14] local.INFO: TCP Data received {"connection_id":191555,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:06:14] local.INFO: Processing buffer {"connection_id":191555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:06:14] local.INFO: IMEI packet received {"connection_id":191555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":191555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:06:17] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:17] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:06:17] local.INFO: IMEI packet received {"connection_id":191554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":191554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:06:18] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f3f808012d1b35000720b8880053005b26..."} 
[2026-09-21 18:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f3f808012d1b35000720b8880053005b26..."} 
[2026-09-21 18:06:18] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f3f808012d1b35000720b8880053005b26..."} 
[2026-09-21 18:06:18] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:06:18] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f3"} 
[2026-09-21 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238443520001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993941000,"timestamp_ms":1789993941000,"timestamp_seconds":1789993941,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f3f808"} 
[2026-09-21 18:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3287398864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4503943716798464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":195,"raw_value":-1051652080590441216,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3095920723,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":113,"raw_value":6557504944541597952,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":8675341143365648408,"corrected_to":0} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":11,"raw_value":3623955739,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":136,"raw_value":23362814630428672,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182229709619456,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223146119880454573,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2357783939902364458,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84753882437591224,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:18] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,29,160,45,184,40,10,66,1,39,175,240,63,227,195,32,4,113,205,11,53,136,41,239,50,2,80,7,164,84,69,192],"length":625,"final_offset":755,"validated_count":38,"validation_warnings":[{"io_id":205,"original":8675341143365648408,"validated":0}]} 
[2026-09-21 18:06:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980880532504838144,"timestamp_seconds":5980880532504838.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:06:18] 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-09-21 18:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238443520001,"66":12722,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238443520001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:06:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238443520001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:06:18] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:06:18] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:06:40] local.INFO: TCP Data received {"connection_id":190268,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190268,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:40] local.INFO: Processing buffer {"connection_id":190268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:06:40] local.INFO: Packet analysis {"connection_id":190268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:06:40] local.INFO: Extracted packet for processing {"connection_id":190268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":190268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:06:40] local.INFO: GPS data processed {"connection_id":190268,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:06:40] local.INFO: Acknowledgment sent {"connection_id":190268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:06:49] local.INFO: TCP Data received {"connection_id":191554,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f44a10012d1b35000720b8880053005b27..."} 
[2026-09-21 18:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191554,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f44a10012d1b35000720b8880053005b27..."} 
[2026-09-21 18:06:49] local.INFO: Processing buffer {"connection_id":191554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f44a10012d1b35000720b8880053005b27..."} 
[2026-09-21 18:06:49] local.INFO: Packet analysis {"connection_id":191554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:06:49] local.INFO: Extracted packet for processing {"connection_id":191554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238448896001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789993962000,"timestamp_ms":1789993962000,"timestamp_seconds":1789993962,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f44a10"} 
[2026-09-21 18:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 18:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:06:49] 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-09-21 18:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238448896001,"66":12722,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238448896001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:06:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238448896001,"power":12722,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":191554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:06:49] local.INFO: GPS data processed {"connection_id":191554,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:06:49] local.INFO: Acknowledgment sent {"connection_id":191554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:07:02] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:02] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:02] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:07:07] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:07] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:07:07] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:07:08] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:08] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:08] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:08] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:07:08] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:07:08] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:07:13] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:07:13] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:13] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:07:13] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:07:17] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:17] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:07:17] local.INFO: IMEI packet received {"connection_id":191556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":191556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:07:18] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f49c18012d1b35000720b8880053005b27..."} 
[2026-09-21 18:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f49c18012d1b35000720b8880053005b27..."} 
[2026-09-21 18:07:18] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f49c18012d1b35000720b8880053005b27..."} 
[2026-09-21 18:07:18] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:07:18] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238454272001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789993983000,"timestamp_ms":1789993983000,"timestamp_seconds":1789993983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f49c18"} 
[2026-09-21 18:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 18:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:18] 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-09-21 18:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238454272001,"66":12776,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238454272001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:07:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238454272001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:07:18] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:07:18] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:07:22] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f4ee20012d1b35000720b8880053005b29..."} 
[2026-09-21 18:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f4ee20012d1b35000720b8880053005b29..."} 
[2026-09-21 18:07:22] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f4ee20012d1b35000720b8880053005b29..."} 
[2026-09-21 18:07:22] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:07:22] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f4"} 
[2026-09-21 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:07:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238459648001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:07:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789994004000,"timestamp_ms":1789994004000,"timestamp_seconds":1789994004,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f4ee20"} 
[2026-09-21 18:07:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:07:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:07:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 18:07: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-09-21 18:07:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:07:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:07:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:07:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:07:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:22] 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-09-21 18:07:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:07:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:07:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238459648001,"66":12776,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:07:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:07:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:07:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238459648001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:07:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:07:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:07:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:07:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:07:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238459648001,"power":12776,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:07:23] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:07:23] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:07:41] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:41] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:07:41] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:41] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:07:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:07: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-09-21 18: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-09-21 18:07:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:07: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-09-21 18:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:07:41] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:07:41] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:07:54] local.INFO: TCP Data received {"connection_id":191556,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f54028012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191556,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f54028012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:07:54] local.INFO: Processing buffer {"connection_id":191556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f54028012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:07:54] local.INFO: Packet analysis {"connection_id":191556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:54] local.INFO: Extracted packet for processing {"connection_id":191556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:07:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238465024001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:07:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:07:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789994025000,"timestamp_ms":1789994025000,"timestamp_seconds":1789994025,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f54028"} 
[2026-09-21 18:07:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:07:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23040,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:07:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 18:07:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:07:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:07:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:07:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:07:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:07:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:07:54] 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-09-21 18:07:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:07:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:07:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238465024001,"66":12743,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:07:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:07:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:07:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238465024001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:07:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:07:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:07:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:07:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:07:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238465024001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:07:54] local.INFO: DEBUG: GPS processor result {"connection_id":191556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:07:54] local.INFO: GPS data processed {"connection_id":191556,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:07:54] local.INFO: Acknowledgment sent {"connection_id":191556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:08:02] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:02] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:02] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:08:08] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:08] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:08:08] local.INFO: IMEI packet received {"connection_id":188794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:08:08] local.INFO: IMEI acknowledgment sent {"connection_id":188794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:08:09] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:09] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:09] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:09] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:08:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:08: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-09-21 18: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-09-21 18:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:08:09] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:08:09] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:08:12] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:12] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:12] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:08:17] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:08:17] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:08:17] local.INFO: IMEI packet received {"connection_id":191557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":191557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:08:18] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f59230012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f59230012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:18] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f59230012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:18] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:18] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238470400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994046000,"timestamp_ms":1789994046000,"timestamp_seconds":1789994046,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f59230"} 
[2026-09-21 18:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 18:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:18] 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-09-21 18:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238470400001,"66":12743,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238470400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:08:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238470400001,"power":12743,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:08:18] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:08:18] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:08:23] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f5e438012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f5e438012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:23] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f5e438012d1b35000720b8880053005b29..."} 
[2026-09-21 18:08:23] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:23] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:23] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:08:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238475776001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:08:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789994067000,"timestamp_ms":1789994067000,"timestamp_seconds":1789994067,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f5e438"} 
[2026-09-21 18:08:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:08:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:08:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-09-21 18:08:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:08:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:08:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:08:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:08:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:08:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:23] 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-09-21 18:08:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:08:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:08:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238475776001,"66":12667,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:08:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:08:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:08:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238475776001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:08:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:08:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:08:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:08:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:08:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238475776001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:08:23] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:08:23] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:08:23] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:08:40] local.INFO: TCP Data received {"connection_id":188794,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188794,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:40] local.INFO: Processing buffer {"connection_id":188794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:08:40] local.INFO: Packet analysis {"connection_id":188794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:40] local.INFO: Extracted packet for processing {"connection_id":188794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:08: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":188794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:08:40] local.INFO: GPS data processed {"connection_id":188794,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:08:40] local.INFO: Acknowledgment sent {"connection_id":188794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:08:54] local.INFO: TCP Data received {"connection_id":191557,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f63640012d1b35000720b8880053005b28..."} 
[2026-09-21 18:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191557,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f63640012d1b35000720b8880053005b28..."} 
[2026-09-21 18:08:54] local.INFO: Processing buffer {"connection_id":191557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f63640012d1b35000720b8880053005b28..."} 
[2026-09-21 18:08:54] local.INFO: Packet analysis {"connection_id":191557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:08:54] local.INFO: Extracted packet for processing {"connection_id":191557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:08:54] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:08:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238481152001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:08:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:08:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789994088000,"timestamp_ms":1789994088000,"timestamp_seconds":1789994088,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f63640"} 
[2026-09-21 18:08:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:08:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:08:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 18:08:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:08:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:08:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:08:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:08:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:08:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:08:54] 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-09-21 18:08:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:08:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:08:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238481152001,"66":12667,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:08:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:08:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:08:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238481152001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:08:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:08:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:08:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:08:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:08:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238481152001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:08:54] local.INFO: DEBUG: GPS processor result {"connection_id":191557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:08:54] local.INFO: GPS data processed {"connection_id":191557,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:08:54] local.INFO: Acknowledgment sent {"connection_id":191557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:09:02] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:02] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:02] local.INFO: IMEI packet received {"connection_id":188961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":188961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:09:07] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:07] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:09:07] local.INFO: IMEI packet received {"connection_id":188961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":188961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:09:08] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:09:08] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f52ca0012d34c14006aa40600009000c2d..."} 
[2026-09-21 18:09:08] local.INFO: Packet analysis {"connection_id":188961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:09:08] local.INFO: Extracted packet for processing {"connection_id":188961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f5"} 
[2026-09-21 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238392064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994020000,"timestamp_ms":1789994020000,"timestamp_seconds":1789994020,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f52ca0"} 
[2026-09-21 18:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238392064001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238392064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238392064001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":188961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:09:08] local.INFO: GPS data processed {"connection_id":188961,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:09:08] local.INFO: Acknowledgment sent {"connection_id":188961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:09:13] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:13] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:13] local.INFO: IMEI packet received {"connection_id":188796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:09:13] local.INFO: IMEI acknowledgment sent {"connection_id":188796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:09:17] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:17] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:09:17] local.INFO: IMEI packet received {"connection_id":188796,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":188796,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:09:18] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f68848012d1b35000720b8880053005b29..."} 
[2026-09-21 18:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f68848012d1b35000720b8880053005b29..."} 
[2026-09-21 18:09:18] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f68848012d1b35000720b8880053005b29..."} 
[2026-09-21 18:09:18] local.INFO: Packet analysis {"connection_id":188796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:09:18] local.INFO: Extracted packet for processing {"connection_id":188796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238486528001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994109000,"timestamp_ms":1789994109000,"timestamp_seconds":1789994109,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f68848"} 
[2026-09-21 18:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 18:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:09:18] 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-09-21 18:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238486528001,"66":12678,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238486528001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:09:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238486528001,"power":12678,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":188796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:09:18] local.INFO: GPS data processed {"connection_id":188796,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:09:18] local.INFO: Acknowledgment sent {"connection_id":188796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:09:40] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:09:40] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:09:40] local.INFO: Packet analysis {"connection_id":188961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:09:40] local.INFO: Extracted packet for processing {"connection_id":188961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:09: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":188961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:09:40] local.INFO: GPS data processed {"connection_id":188961,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:09:40] local.INFO: Acknowledgment sent {"connection_id":188961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:09:49] local.INFO: TCP Data received {"connection_id":188796,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f6da50012d1b35000720b8880053005b25..."} 
[2026-09-21 18:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f6da50012d1b35000720b8880053005b25..."} 
[2026-09-21 18:09:49] local.INFO: Processing buffer {"connection_id":188796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f6da50012d1b35000720b8880053005b25..."} 
[2026-09-21 18:09:49] local.INFO: Packet analysis {"connection_id":188796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:09:49] local.INFO: Extracted packet for processing {"connection_id":188796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f6"} 
[2026-09-21 18:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238491904001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994130000,"timestamp_ms":1789994130000,"timestamp_seconds":1789994130,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f6da50"} 
[2026-09-21 18:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-09-21 18:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1649,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188796,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:09:49] 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-09-21 18:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238491904001,"66":12689,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238491904001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:09:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238491904001,"power":12689,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":188796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:09:49] local.INFO: GPS data processed {"connection_id":188796,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:09:49] local.INFO: Acknowledgment sent {"connection_id":188796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:10:02] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:02] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:02] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:10:07] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:07] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:10:07] local.INFO: IMEI packet received {"connection_id":188797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":188797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:10:09] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:09] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:09] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:10:09] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:10:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:10:09] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:10:09] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:10:12] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:12] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:12] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:10:17] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:17] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:10:17] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:10:18] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f72c58012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f72c58012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:10:18] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f72c58012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:10:18] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:10:18] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238497280001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994151000,"timestamp_ms":1789994151000,"timestamp_seconds":1789994151,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f72c58"} 
[2026-09-21 18:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 18:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:10:18] 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-09-21 18:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238497280001,"66":12667,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238497280001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:10:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238497280001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:10:18] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:10:18] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:10:40] local.INFO: TCP Data received {"connection_id":188797,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188797,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:40] local.INFO: Processing buffer {"connection_id":188797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:10:40] local.INFO: Packet analysis {"connection_id":188797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:10:40] local.INFO: Extracted packet for processing {"connection_id":188797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":188797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:10:40] local.INFO: GPS data processed {"connection_id":188797,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:10:40] local.INFO: Acknowledgment sent {"connection_id":188797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:10:49] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f77e60012d1b35000720b8880053005b25..."} 
[2026-09-21 18:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f77e60012d1b35000720b8880053005b25..."} 
[2026-09-21 18:10:49] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f77e60012d1b35000720b8880053005b25..."} 
[2026-09-21 18:10:49] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:10:49] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238502656001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994172000,"timestamp_ms":1789994172000,"timestamp_seconds":1789994172,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f77e60"} 
[2026-09-21 18:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 18:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:10:49] 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-09-21 18:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238502656001,"66":12667,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238502656001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:10:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238502656001,"power":12667,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:10:49] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:10:49] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:11:02] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:02] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:02] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:11:07] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:07] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:11:07] local.INFO: IMEI packet received {"connection_id":191559,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":191559,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:11:08] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:08] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:08] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:11:08] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 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-09-21 18:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18: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-09-21 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-09-21 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-09-21 18:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:11:08] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:11:08] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:11:12] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:12] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:12] local.INFO: IMEI packet received {"connection_id":190271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":190271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:11:17] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:17] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:11:17] local.INFO: IMEI packet received {"connection_id":190271,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":190271,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:11:18] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f7d068012d1b35000720b8880053005b25..."} 
[2026-09-21 18:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f7d068012d1b35000720b8880053005b25..."} 
[2026-09-21 18:11:18] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f7d068012d1b35000720b8880053005b25..."} 
[2026-09-21 18:11:18] local.INFO: Packet analysis {"connection_id":190271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:11:18] local.INFO: Extracted packet for processing {"connection_id":190271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f7"} 
[2026-09-21 18:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238508032001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994193000,"timestamp_ms":1789994193000,"timestamp_seconds":1789994193,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f7d068"} 
[2026-09-21 18:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 18:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:11:18] 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-09-21 18:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238508032001,"66":12645,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238508032001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:11:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238508032001,"power":12645,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":190271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:11:18] local.INFO: GPS data processed {"connection_id":190271,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:11:18] local.INFO: Acknowledgment sent {"connection_id":190271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:11:39] local.INFO: TCP Data received {"connection_id":191559,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191559,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:39] local.INFO: Processing buffer {"connection_id":191559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:11:39] local.INFO: Packet analysis {"connection_id":191559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:11:39] local.INFO: Extracted packet for processing {"connection_id":191559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191559,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:11:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":191559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:11:39] local.INFO: GPS data processed {"connection_id":191559,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:11:39] local.INFO: Acknowledgment sent {"connection_id":191559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:11:40] local.INFO: TCP Data received {"connection_id":190272,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:11:40] local.INFO: Processing buffer {"connection_id":190272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:11:40] local.INFO: IMEI packet received {"connection_id":190272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":190272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:11:49] local.INFO: TCP Data received {"connection_id":190271,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fb56c0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190271,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fb56c0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:11:49] local.INFO: Processing buffer {"connection_id":190271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fb56c0012d1b35000720b8880053005b29..."} 
[2026-09-21 18:11:49] local.INFO: Packet analysis {"connection_id":190271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:11:49] local.INFO: Extracted packet for processing {"connection_id":190271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238567168001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994424000,"timestamp_ms":1789994424000,"timestamp_seconds":1789994424,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fb56c0"} 
[2026-09-21 18:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621440,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3287881864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250249830313801864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4189886465,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3095920723,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":2415996187,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":46,"raw_value":3103837560,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":91,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-09-21 18:11:49] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,29,160,178,45,184,41,10,66,96,43,14,1,240,227,195,32,4,113,205,106,53,136,40,239,46,2,80,7,120,91,206],"length":575,"final_offset":705,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 18:11:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980880545389740032,"timestamp_seconds":5980880545389740.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190271,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:11:49] 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-09-21 18:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238567168001,"66":12548,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238567168001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:11:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238567168001,"power":12548,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":190271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:11:49] local.INFO: GPS data processed {"connection_id":190271,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:11:49] local.INFO: Acknowledgment sent {"connection_id":190271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:12:02] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:02] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:02] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:12:07] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:07] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:12:07] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:12:09] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:09] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:09] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:12:09] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:12:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:12:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 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-09-21 18:12:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:12: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-09-21 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-09-21 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-09-21 18:12:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:12:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:12:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:12:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:12:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:12:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:12:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:12:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:12:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:12:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:12:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:12:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:12:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:12:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:12:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:12:09] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:12:09] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:12:09] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:12:17] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:17] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:17] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:12:19] local.INFO: TCP Data received {"connection_id":190274,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190274,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:12:19] local.INFO: Processing buffer {"connection_id":190274,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:12:19] local.INFO: IMEI packet received {"connection_id":190274,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":190274,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:12:22] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:22] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:12:22] local.INFO: IMEI packet received {"connection_id":190273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":190273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:12:23] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fba8c8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fba8c8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:12:23] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fba8c8012d1b35000720b8880053005b28..."} 
[2026-09-21 18:12:23] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:12:23] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238572544001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789994445000,"timestamp_ms":1789994445000,"timestamp_seconds":1789994445,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fba8c8"} 
[2026-09-21 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-09-21 18:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3287902864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184158560461,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":195,"raw_value":4195262465,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3095920723,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":188,"raw_value":2550213915,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3993030008,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:23] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,101,83,24,241,157,16,29,160,4,45,184,43,10,66,178,41,96,1,240,14,227,195,32,113,205,188,53,136,38,239,48,2,80,7,120],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 18:12:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5980880536799805440,"timestamp_seconds":5980880536799805.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 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-09-21 18:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:12:23] 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-09-21 18:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238572544001,"66":12526,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238572544001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:12:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238572544001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:12:23] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:12:23] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:12:26] local.INFO: TCP Data received {"connection_id":190273,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fbfad0012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190273,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fbfad0012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:12:26] local.INFO: Processing buffer {"connection_id":190273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fbfad0012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:12:26] local.INFO: Packet analysis {"connection_id":190273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:12:26] local.INFO: Extracted packet for processing {"connection_id":190273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fb"} 
[2026-09-21 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238577920001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1789994466000,"timestamp_ms":1789994466000,"timestamp_seconds":1789994466,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fbfad0"} 
[2026-09-21 18:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:12:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 18:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":190273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":190273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:12:26] 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-09-21 18:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238577920001,"66":12526,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238577920001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:12:26] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:12:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238577920001,"power":12526,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":190273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:12:27] local.INFO: GPS data processed {"connection_id":190273,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:12:27] local.INFO: Acknowledgment sent {"connection_id":190273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:12:40] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:40] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:12:40] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:12:40] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:12:40] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:12:40] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:13:07] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:07] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:07] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:13:12] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:12] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:13:12] local.INFO: IMEI packet received {"connection_id":188798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:13:12] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:12] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:12] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:13:13] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:13] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:13] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:13:13] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:13:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:13:13] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:13:13] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:13:17] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:17] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:13:17] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:13:18] local.INFO: TCP Data received {"connection_id":188798,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:18] local.INFO: Processing buffer {"connection_id":188798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:13:18] local.INFO: Packet analysis {"connection_id":188798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:13:18] local.INFO: Extracted packet for processing {"connection_id":188798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:13: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-09-21 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":188798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:13:18] local.INFO: GPS data processed {"connection_id":188798,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:13:18] local.INFO: Acknowledgment sent {"connection_id":188798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:13:18] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fc4cd8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fc4cd8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:13:18] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fc4cd8012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:13:18] local.INFO: Packet analysis {"connection_id":188964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:13:18] local.INFO: Extracted packet for processing {"connection_id":188964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238583296001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994487000,"timestamp_ms":1789994487000,"timestamp_seconds":1789994487,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fc4cd8"} 
[2026-09-21 18:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 18:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:13:18] 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-09-21 18:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238583296001,"66":11547,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238583296001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238583296001,"power":11547,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":188964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:13:18] local.INFO: GPS data processed {"connection_id":188964,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:13:18] local.INFO: Acknowledgment sent {"connection_id":188964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:13:49] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fc9ee0012d1b35000720b8880053005b28..."} 
[2026-09-21 18:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fc9ee0012d1b35000720b8880053005b28..."} 
[2026-09-21 18:13:49] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fc9ee0012d1b35000720b8880053005b28..."} 
[2026-09-21 18:13:49] local.INFO: Packet analysis {"connection_id":188964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:13:49] local.INFO: Extracted packet for processing {"connection_id":188964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238588672001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994508000,"timestamp_ms":1789994508000,"timestamp_seconds":1789994508,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fc9ee0"} 
[2026-09-21 18:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-09-21 18:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188964,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:13:49] 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-09-21 18:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238588672001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238588672001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:13:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238588672001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":188964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:13:49] local.INFO: GPS data processed {"connection_id":188964,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:13:49] local.INFO: Acknowledgment sent {"connection_id":188964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:14:02] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:02] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:02] local.INFO: IMEI packet received {"connection_id":190275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:14:07] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:07] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:14:07] local.INFO: IMEI packet received {"connection_id":190275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":190275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:14:09] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:14:09] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3f9c468012d34c14006aa40600008000c2e..."} 
[2026-09-21 18:14:09] local.INFO: Packet analysis {"connection_id":190275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:14:09] local.INFO: Extracted packet for processing {"connection_id":190275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3f9"} 
[2026-09-21 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238469120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994321000,"timestamp_ms":1789994321000,"timestamp_seconds":1789994321,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3f9c468"} 
[2026-09-21 18:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:14: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-09-21 18:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238469120001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238469120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238469120001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":190275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:14:09] local.INFO: GPS data processed {"connection_id":190275,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:14:09] local.INFO: Acknowledgment sent {"connection_id":190275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:14:12] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:14:12] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:12] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:14:17] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:17] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:14:17] local.INFO: IMEI packet received {"connection_id":190276,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":190276,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:14:18] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fcf0e8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fcf0e8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:14:18] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fcf0e8012d1b35000720b8880053005b26..."} 
[2026-09-21 18:14:18] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:14:18] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fc"} 
[2026-09-21 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238594048001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994529000,"timestamp_ms":1789994529000,"timestamp_seconds":1789994529,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fcf0e8"} 
[2026-09-21 18:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:14:18] 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-09-21 18:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238594048001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238594048001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:14:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238594048001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:14:18] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:14:18] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:14:40] local.INFO: TCP Data received {"connection_id":190275,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:14:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190275,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:14:40] local.INFO: Processing buffer {"connection_id":190275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:14:40] local.INFO: Packet analysis {"connection_id":190275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:14:40] local.INFO: Extracted packet for processing {"connection_id":190275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:14:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:14:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:14:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:14:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:14:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:14:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:14:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:14:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:14:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:14:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:14:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:14:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:14:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:14:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:14:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:14:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:14:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:14:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:14:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:14:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:14:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:14:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:14:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:14:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:14:40] local.INFO: DEBUG: GPS processor result {"connection_id":190275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:14:40] local.INFO: GPS data processed {"connection_id":190275,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:14:40] local.INFO: Acknowledgment sent {"connection_id":190275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:14:50] local.INFO: TCP Data received {"connection_id":190276,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fd42f0012d1b35000720b8880053005b25..."} 
[2026-09-21 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190276,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fd42f0012d1b35000720b8880053005b25..."} 
[2026-09-21 18:14:50] local.INFO: Processing buffer {"connection_id":190276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fd42f0012d1b35000720b8880053005b25..."} 
[2026-09-21 18:14:50] local.INFO: Packet analysis {"connection_id":190276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:14:50] local.INFO: Extracted packet for processing {"connection_id":190276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:14:50] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:14:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238599424001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:14:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:14:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789994550000,"timestamp_ms":1789994550000,"timestamp_seconds":1789994550,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fd42f0"} 
[2026-09-21 18:14:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:14:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:14:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:14:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:14:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:14:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:14:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:14:50] local.INFO: Teltonika packet parsed successfully {"connection_id":190276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:14:50] local.INFO: Passing IMEI to GPS processor {"connection_id":190276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:14:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":190276,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:14:50] 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-09-21 18:14:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:14:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:14:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238599424001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:14:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:14:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:14:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238599424001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:14:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:14:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:14:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:14:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:14:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238599424001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:14:50] local.INFO: DEBUG: GPS processor result {"connection_id":190276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:14:50] local.INFO: GPS data processed {"connection_id":190276,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:14:50] local.INFO: Acknowledgment sent {"connection_id":190276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:15:02] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:02] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:02] local.INFO: IMEI packet received {"connection_id":190277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:15:07] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:07] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:15:07] local.INFO: IMEI packet received {"connection_id":190277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":190277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:15:08] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:08] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:08] local.INFO: Packet analysis {"connection_id":190277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:15:08] local.INFO: Extracted packet for processing {"connection_id":190277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 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-09-21 18:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":190277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:15:08] local.INFO: GPS data processed {"connection_id":190277,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:15:08] local.INFO: Acknowledgment sent {"connection_id":190277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:15:14] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:15:14] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:14] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:15:14] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:15:17] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:17] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:15:17] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:15:18] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fd94f8012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fd94f8012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:18] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fd94f8012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:18] local.INFO: Packet analysis {"connection_id":188965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:15:18] local.INFO: Extracted packet for processing {"connection_id":188965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238604800001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994571000,"timestamp_ms":1789994571000,"timestamp_seconds":1789994571,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fd94f8"} 
[2026-09-21 18:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:15:18] 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-09-21 18:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238604800001,"66":12515,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238604800001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:15:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238604800001,"power":12515,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:15:18] local.INFO: GPS data processed {"connection_id":188965,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:15:18] local.INFO: Acknowledgment sent {"connection_id":188965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:15:39] local.INFO: TCP Data received {"connection_id":190277,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190277,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:39] local.INFO: Processing buffer {"connection_id":190277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:15:39] local.INFO: Packet analysis {"connection_id":190277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:15:39] local.INFO: Extracted packet for processing {"connection_id":190277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":190277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:15:40] local.INFO: GPS data processed {"connection_id":190277,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:15:40] local.INFO: Acknowledgment sent {"connection_id":190277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:15:49] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fde700012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fde700012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:49] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fde700012d1b35000720b8880053005b25..."} 
[2026-09-21 18:15:49] local.INFO: Packet analysis {"connection_id":188965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:15:49] local.INFO: Extracted packet for processing {"connection_id":188965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fd"} 
[2026-09-21 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":37,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238610176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994592000,"timestamp_ms":1789994592000,"timestamp_seconds":1789994592,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fde700"} 
[2026-09-21 18:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":227,"data_length":795,"current_offset":136} 
[2026-09-21 18:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2481,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:15:49] 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-09-21 18:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238610176001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238610176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:15:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238610176001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:15:49] local.INFO: GPS data processed {"connection_id":188965,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:15:49] local.INFO: Acknowledgment sent {"connection_id":188965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:16:02] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:02] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:02] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:16:07] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:07] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:16:07] local.INFO: IMEI packet received {"connection_id":191562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":191562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:16:08] local.INFO: TCP Data received {"connection_id":191562,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191562,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:16:08] local.INFO: Processing buffer {"connection_id":191562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:16:08] local.INFO: Packet analysis {"connection_id":191562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:08] local.INFO: Extracted packet for processing {"connection_id":191562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 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-09-21 18:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 18:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":191562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:16:08] local.INFO: GPS data processed {"connection_id":191562,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:16:08] local.INFO: Acknowledgment sent {"connection_id":191562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:16:12] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:12] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:12] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:16:17] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:17] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:16:17] local.INFO: IMEI packet received {"connection_id":190278,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":190278,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:16:18] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe3908012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe3908012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:18] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe3908012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:18] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:18] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238615552001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994613000,"timestamp_ms":1789994613000,"timestamp_seconds":1789994613,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe3908"} 
[2026-09-21 18:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:16:18] 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-09-21 18:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238615552001,"66":12461,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238615552001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:16:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238615552001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:16:18] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:16:18] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:16:49] local.INFO: TCP Data received {"connection_id":190278,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe8b10012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190278,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe8b10012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:49] local.INFO: Processing buffer {"connection_id":190278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe8b10012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:16:49] local.INFO: Packet analysis {"connection_id":190278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:49] local.INFO: Extracted packet for processing {"connection_id":190278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238620928001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994634000,"timestamp_ms":1789994634000,"timestamp_seconds":1789994634,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe8b10"} 
[2026-09-21 18:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190278,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:16:49] 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-09-21 18:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238620928001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238620928001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:16:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238620928001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":190278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:16:49] local.INFO: GPS data processed {"connection_id":190278,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:16:49] local.INFO: Acknowledgment sent {"connection_id":190278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:17:02] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:02] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:02] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:17:07] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:07] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:17:07] local.INFO: IMEI packet received {"connection_id":190279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":190279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:17:08] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:08] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:08] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:08] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18: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-09-21 18:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17: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-09-21 18:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:17:08] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:17:08] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:17:12] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:12] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:12] local.INFO: IMEI packet received {"connection_id":190280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":190280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:17:13] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:13] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:13] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:13] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:17:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:17:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:17:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:17:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:17:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:17:13] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:17:13] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:17:17] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:17] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:17:17] local.INFO: IMEI packet received {"connection_id":190280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":190280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:17:18] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fedd18012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fedd18012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:17:18] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fedd18012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:17:18] local.INFO: Packet analysis {"connection_id":190280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:18] local.INFO: Extracted packet for processing {"connection_id":190280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238626304001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994655000,"timestamp_ms":1789994655000,"timestamp_seconds":1789994655,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fedd18"} 
[2026-09-21 18:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:17:18] 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-09-21 18:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238626304001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238626304001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:17:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238626304001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":190280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:17:18] local.INFO: GPS data processed {"connection_id":190280,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:17:18] local.INFO: Acknowledgment sent {"connection_id":190280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:17:45] local.INFO: TCP Data received {"connection_id":190279,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190279,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:45] local.INFO: Processing buffer {"connection_id":190279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:17:45] local.INFO: Packet analysis {"connection_id":190279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:45] local.INFO: Extracted packet for processing {"connection_id":190279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17: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-09-21 18:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:17:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:17:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:17:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:17:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:17:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":190279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:17:45] local.INFO: GPS data processed {"connection_id":190279,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:17:45] local.INFO: Acknowledgment sent {"connection_id":190279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:17:45] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:17:45] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:17:45] local.INFO: IMEI packet received {"connection_id":188966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:17:45] local.INFO: IMEI acknowledgment sent {"connection_id":188966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:17:49] local.INFO: TCP Data received {"connection_id":190280,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ff2f20012d1b35000720b8880053005b28..."} 
[2026-09-21 18:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190280,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ff2f20012d1b35000720b8880053005b28..."} 
[2026-09-21 18:17:49] local.INFO: Processing buffer {"connection_id":190280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ff2f20012d1b35000720b8880053005b28..."} 
[2026-09-21 18:17:49] local.INFO: Packet analysis {"connection_id":190280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:17:49] local.INFO: Extracted packet for processing {"connection_id":190280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238631680001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994676000,"timestamp_ms":1789994676000,"timestamp_seconds":1789994676,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ff2f20"} 
[2026-09-21 18:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:17:49] 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-09-21 18:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238631680001,"66":12461,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238631680001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:17:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238631680001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":190280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:17:49] local.INFO: GPS data processed {"connection_id":190280,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:17:49] local.INFO: Acknowledgment sent {"connection_id":190280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:18:02] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:02] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:02] local.INFO: IMEI packet received {"connection_id":190281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":190281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:18:07] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:07] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:18:07] local.INFO: IMEI packet received {"connection_id":190281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":190281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:18:08] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:08] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:08] local.INFO: Packet analysis {"connection_id":190281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:18:08] local.INFO: Extracted packet for processing {"connection_id":190281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 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-09-21 18:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18: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-09-21 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-09-21 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-09-21 18:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":190281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:18:08] local.INFO: GPS data processed {"connection_id":190281,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:18:08] local.INFO: Acknowledgment sent {"connection_id":190281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:18:14] local.INFO: TCP Data received {"connection_id":191564,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:18:14] local.INFO: Processing buffer {"connection_id":191564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:18:14] local.INFO: IMEI packet received {"connection_id":191564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":191564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:18:17] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:17] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:17] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:18:22] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:22] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:18:22] local.INFO: IMEI packet received {"connection_id":191563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":191563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:18:23] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ff8128012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ff8128012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:18:23] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ff8128012d1b35000720b8880053005b2a..."} 
[2026-09-21 18:18:23] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:18:23] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":42,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238637056001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789994697000,"timestamp_ms":1789994697000,"timestamp_seconds":1789994697,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ff8128"} 
[2026-09-21 18:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:18:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:18:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:18:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:18:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:23] 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-09-21 18:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238637056001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238637056001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:18:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:18:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238637056001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:18:23] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:18:23] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:18:24] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3ffd330012d1b35000720b8880053005b29..."} 
[2026-09-21 18:18:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3ffd330012d1b35000720b8880053005b29..."} 
[2026-09-21 18:18:24] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3ffd330012d1b35000720b8880053005b29..."} 
[2026-09-21 18:18:24] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:18:24] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3ff"} 
[2026-09-21 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:18:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238642432001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18: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-09-21 18:18:24] local.INFO: AVL Record Parsed {"raw_timestamp":1789994718000,"timestamp_ms":1789994718000,"timestamp_seconds":1789994718,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3ffd330"} 
[2026-09-21 18:18:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:18:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:18:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:18:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:18:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:18:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:18:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:18:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:18:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:24] 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-09-21 18:18:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:18:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:18:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238642432001,"66":12461,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:18:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:18:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:18:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238642432001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:18:24] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:18:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:18:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:18:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:18:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238642432001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:18:24] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:18:24] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:18:24] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:18:39] local.INFO: TCP Data received {"connection_id":190281,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190281,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:39] local.INFO: Processing buffer {"connection_id":190281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:18:39] local.INFO: Packet analysis {"connection_id":190281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:18:39] local.INFO: Extracted packet for processing {"connection_id":190281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":190281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:18:39] local.INFO: GPS data processed {"connection_id":190281,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:18:39] local.INFO: Acknowledgment sent {"connection_id":190281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:18:55] local.INFO: TCP Data received {"connection_id":191563,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4002538012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191563,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4002538012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:18:55] local.INFO: Processing buffer {"connection_id":191563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4002538012d1b35000720b8880053005b2b..."} 
[2026-09-21 18:18:55] local.INFO: Packet analysis {"connection_id":191563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:18:55] local.INFO: Extracted packet for processing {"connection_id":191563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":43,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238647808001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:18:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789994739000,"timestamp_ms":1789994739000,"timestamp_seconds":1789994739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4002538"} 
[2026-09-21 18:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:18:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:18:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":191563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":191563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:18:55] 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-09-21 18:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238647808001,"66":12461,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238647808001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:18:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:18:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238647808001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":191563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:18:55] local.INFO: GPS data processed {"connection_id":191563,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:18:55] local.INFO: Acknowledgment sent {"connection_id":191563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:19:04] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:04] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:04] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:19:07] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:07] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:19:07] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:19:08] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:08] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:08] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:19:08] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 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-09-21 18:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:19:08] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:19:08] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:19:12] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:12] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:12] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:19:12] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:12] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c3fe5c30012d34c14006aa40600006000c2e..."} 
[2026-09-21 18:19:12] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:19:12] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c3fe"} 
[2026-09-21 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238546176001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1789994622000,"timestamp_ms":1789994622000,"timestamp_seconds":1789994622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c3fe5c30"} 
[2026-09-21 18:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:19:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18: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-09-21 18:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238546176001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238546176001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:19:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:19:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238546176001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:19:12] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:19:12] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:19:17] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:17] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:19:17] local.INFO: IMEI packet received {"connection_id":191565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:19:18] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4007740012d1b35000720b8880053005b28..."} 
[2026-09-21 18:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4007740012d1b35000720b8880053005b28..."} 
[2026-09-21 18:19:18] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4007740012d1b35000720b8880053005b28..."} 
[2026-09-21 18:19:18] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:19:18] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238653184001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994760000,"timestamp_ms":1789994760000,"timestamp_seconds":1789994760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4007740"} 
[2026-09-21 18:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:19: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-09-21 18:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:19:18] 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-09-21 18:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238653184001,"66":12493,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238653184001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:19:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238653184001,"power":12493,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:19:18] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:19:18] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:19:44] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:19:44] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:19:44] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:19:44] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:19:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:19:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:19:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:19: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-09-21 18:19: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-09-21 18:19:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:19: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-09-21 18:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:19:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:19:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:19:44] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:19:44] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:19:49] local.INFO: TCP Data received {"connection_id":191565,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c400c948012d1b35000720b8880053005b24..."} 
[2026-09-21 18:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191565,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c400c948012d1b35000720b8880053005b24..."} 
[2026-09-21 18:19:49] local.INFO: Processing buffer {"connection_id":191565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c400c948012d1b35000720b8880053005b24..."} 
[2026-09-21 18:19:49] local.INFO: Packet analysis {"connection_id":191565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:19:49] local.INFO: Extracted packet for processing {"connection_id":191565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c400"} 
[2026-09-21 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238658560001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994781000,"timestamp_ms":1789994781000,"timestamp_seconds":1789994781,"priority":1,"record_length":96,"hex_timestamp":"000001a0c400c948"} 
[2026-09-21 18:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-09-21 18:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2283,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:19:49] 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-09-21 18:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238658560001,"66":12428,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238658560001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:19:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238658560001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":191565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:19:49] local.INFO: GPS data processed {"connection_id":191565,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:19:49] local.INFO: Acknowledgment sent {"connection_id":191565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:20:03] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:03] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:03] local.INFO: IMEI packet received {"connection_id":190282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:20:03] local.INFO: IMEI acknowledgment sent {"connection_id":190282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:20:07] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:07] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:20:07] local.INFO: IMEI packet received {"connection_id":190282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":190282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:20:08] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:08] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:08] local.INFO: Packet analysis {"connection_id":190282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:20:08] local.INFO: Extracted packet for processing {"connection_id":190282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 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-09-21 18:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:20: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-09-21 18:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":190282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:20:08] local.INFO: GPS data processed {"connection_id":190282,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:20:08] local.INFO: Acknowledgment sent {"connection_id":190282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:20:12] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:12] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:12] local.INFO: IMEI packet received {"connection_id":190283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":190283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:20:17] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:17] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:20:17] local.INFO: IMEI packet received {"connection_id":190283,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":190283,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:20:18] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4011b50012d1b35000720b8880053005b27..."} 
[2026-09-21 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4011b50012d1b35000720b8880053005b27..."} 
[2026-09-21 18:20:18] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4011b50012d1b35000720b8880053005b27..."} 
[2026-09-21 18:20:18] local.INFO: Packet analysis {"connection_id":190283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:20:18] local.INFO: Extracted packet for processing {"connection_id":190283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":39,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238663936001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994802000,"timestamp_ms":1789994802000,"timestamp_seconds":1789994802,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4011b50"} 
[2026-09-21 18:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:20: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-09-21 18:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:20:18] 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-09-21 18:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238663936001,"66":11569,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238663936001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:20:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238663936001,"power":11569,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":190283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:20:18] local.INFO: GPS data processed {"connection_id":190283,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:20:18] local.INFO: Acknowledgment sent {"connection_id":190283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:20:40] local.INFO: TCP Data received {"connection_id":190282,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190282,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:40] local.INFO: Processing buffer {"connection_id":190282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:20:40] local.INFO: Packet analysis {"connection_id":190282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:20:40] local.INFO: Extracted packet for processing {"connection_id":190282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:20: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-09-21 18:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":190282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:20:40] local.INFO: GPS data processed {"connection_id":190282,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:20:40] local.INFO: Acknowledgment sent {"connection_id":190282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:20:49] local.INFO: TCP Data received {"connection_id":190283,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4016d58012d1b35000720b8880053005b28..."} 
[2026-09-21 18:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190283,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4016d58012d1b35000720b8880053005b28..."} 
[2026-09-21 18:20:49] local.INFO: Processing buffer {"connection_id":190283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4016d58012d1b35000720b8880053005b28..."} 
[2026-09-21 18:20:49] local.INFO: Packet analysis {"connection_id":190283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:20:49] local.INFO: Extracted packet for processing {"connection_id":190283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238669312001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994823000,"timestamp_ms":1789994823000,"timestamp_seconds":1789994823,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4016d58"} 
[2026-09-21 18:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-09-21 18:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":864,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190283,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:20:49] 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-09-21 18:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238669312001,"66":12461,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238669312001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:20:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238669312001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":190283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:20:49] local.INFO: GPS data processed {"connection_id":190283,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:20:49] local.INFO: Acknowledgment sent {"connection_id":190283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:21:02] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:02] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:02] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:21:07] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:07] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:21:07] local.INFO: IMEI packet received {"connection_id":188802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":188802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:21:09] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:09] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:09] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:09] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:21: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-09-21 18: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-09-21 18:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:21: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-09-21 18:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:21:09] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:21:09] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:21:12] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:12] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:12] local.INFO: IMEI packet received {"connection_id":190284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":190284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:21:17] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:17] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:21:17] local.INFO: IMEI packet received {"connection_id":190284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":190284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:21:18] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c401bf60012d1b35000720b8880053005b24..."} 
[2026-09-21 18:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c401bf60012d1b35000720b8880053005b24..."} 
[2026-09-21 18:21:18] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c401bf60012d1b35000720b8880053005b24..."} 
[2026-09-21 18:21:18] local.INFO: Packet analysis {"connection_id":190284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:21:18] local.INFO: Extracted packet for processing {"connection_id":190284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c401"} 
[2026-09-21 18:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":36,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238674688001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994844000,"timestamp_ms":1789994844000,"timestamp_seconds":1789994844,"priority":1,"record_length":96,"hex_timestamp":"000001a0c401bf60"} 
[2026-09-21 18:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:21: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-09-21 18:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:21:18] 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-09-21 18:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238674688001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238674688001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:21:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238674688001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":190284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:21:18] local.INFO: GPS data processed {"connection_id":190284,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:21:18] local.INFO: Acknowledgment sent {"connection_id":190284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:21:41] local.INFO: TCP Data received {"connection_id":188802,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188802,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:41] local.INFO: Processing buffer {"connection_id":188802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:21:41] local.INFO: Packet analysis {"connection_id":188802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:41] local.INFO: Extracted packet for processing {"connection_id":188802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21: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-09-21 18:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:21: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:21:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":188802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:21:41] local.INFO: GPS data processed {"connection_id":188802,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:21:41] local.INFO: Acknowledgment sent {"connection_id":188802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:21:49] local.INFO: TCP Data received {"connection_id":190284,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4021168012d1b35000720b8880053005b28..."} 
[2026-09-21 18:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190284,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4021168012d1b35000720b8880053005b28..."} 
[2026-09-21 18:21:49] local.INFO: Processing buffer {"connection_id":190284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4021168012d1b35000720b8880053005b28..."} 
[2026-09-21 18:21:49] local.INFO: Packet analysis {"connection_id":190284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:49] local.INFO: Extracted packet for processing {"connection_id":190284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238680064001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994865000,"timestamp_ms":1789994865000,"timestamp_seconds":1789994865,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4021168"} 
[2026-09-21 18:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:21:49] 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-09-21 18:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238680064001,"66":12428,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238680064001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:21:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238680064001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":190284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:21:49] local.INFO: GPS data processed {"connection_id":190284,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:21:49] local.INFO: Acknowledgment sent {"connection_id":190284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:22:02] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:02] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:02] local.INFO: IMEI packet received {"connection_id":188970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":188970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:22:07] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:07] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:22:07] local.INFO: IMEI packet received {"connection_id":188970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":188970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:22:08] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:08] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:08] local.INFO: Packet analysis {"connection_id":188970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:08] local.INFO: Extracted packet for processing {"connection_id":188970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 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-09-21 18:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:22:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":188970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:22:08] local.INFO: GPS data processed {"connection_id":188970,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:22:08] local.INFO: Acknowledgment sent {"connection_id":188970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:22:12] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:12] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:12] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:22:17] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:17] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:22:17] local.INFO: IMEI packet received {"connection_id":190285,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":190285,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:22:18] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4026370012d1b35000720b8880053005b29..."} 
[2026-09-21 18:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4026370012d1b35000720b8880053005b29..."} 
[2026-09-21 18:22:18] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4026370012d1b35000720b8880053005b29..."} 
[2026-09-21 18:22:18] local.INFO: Packet analysis {"connection_id":190285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:18] local.INFO: Extracted packet for processing {"connection_id":190285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":41,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238685440001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789994886000,"timestamp_ms":1789994886000,"timestamp_seconds":1789994886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4026370"} 
[2026-09-21 18:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:22: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-09-21 18:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:22:18] 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-09-21 18:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238685440001,"66":12504,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238685440001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:22:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238685440001,"power":12504,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":190285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:22:18] local.INFO: GPS data processed {"connection_id":190285,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:22:18] local.INFO: Acknowledgment sent {"connection_id":190285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:22:39] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:39] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:22:39] local.INFO: Packet analysis {"connection_id":188970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:39] local.INFO: Extracted packet for processing {"connection_id":188970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:22: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-09-21 18: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-09-21 18:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":188970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:22:39] local.INFO: GPS data processed {"connection_id":188970,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:22:39] local.INFO: Acknowledgment sent {"connection_id":188970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:22:49] local.INFO: TCP Data received {"connection_id":190285,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402b578012d1b35000720b8880053005b26..."} 
[2026-09-21 18:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190285,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402b578012d1b35000720b8880053005b26..."} 
[2026-09-21 18:22:49] local.INFO: Processing buffer {"connection_id":190285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402b578012d1b35000720b8880053005b26..."} 
[2026-09-21 18:22:49] local.INFO: Packet analysis {"connection_id":190285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:49] local.INFO: Extracted packet for processing {"connection_id":190285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":38,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238690816001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789994907000,"timestamp_ms":1789994907000,"timestamp_seconds":1789994907,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402b578"} 
[2026-09-21 18:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 18:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190285,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:22:49] 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-09-21 18:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238690816001,"66":12406,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238690816001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:22:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238690816001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":190285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:22:49] local.INFO: GPS data processed {"connection_id":190285,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:22:49] local.INFO: Acknowledgment sent {"connection_id":190285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:23:02] local.INFO: TCP Data received {"connection_id":188971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:02] local.INFO: Processing buffer {"connection_id":188971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:02] local.INFO: IMEI packet received {"connection_id":188971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":188971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:23:07] local.INFO: TCP Data received {"connection_id":188971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:07] local.INFO: Processing buffer {"connection_id":188971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:23:07] local.INFO: IMEI packet received {"connection_id":188971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":188971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:23:08] local.INFO: TCP Data received {"connection_id":188971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:08] local.INFO: Processing buffer {"connection_id":188971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:08] local.INFO: Packet analysis {"connection_id":188971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:23:08] local.INFO: Extracted packet for processing {"connection_id":188971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 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-09-21 18:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:23:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":188971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:23:08] local.INFO: GPS data processed {"connection_id":188971,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:23:08] local.INFO: Acknowledgment sent {"connection_id":188971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:23:12] local.INFO: TCP Data received {"connection_id":188804,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:12] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:12] local.INFO: IMEI packet received {"connection_id":188804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":188804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:23:17] local.INFO: TCP Data received {"connection_id":188804,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:17] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:23:17] local.INFO: IMEI packet received {"connection_id":188804,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":188804,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:23:17] local.INFO: TCP Data received {"connection_id":188804,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4030780012d1b35000720b8880053005b28..."} 
[2026-09-21 18:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4030780012d1b35000720b8880053005b28..."} 
[2026-09-21 18:23:17] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4030780012d1b35000720b8880053005b28..."} 
[2026-09-21 18:23:17] local.INFO: Packet analysis {"connection_id":188804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c403"} 
[2026-09-21 18:23:17] local.INFO: Extracted packet for processing {"connection_id":188804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c403"} 
[2026-09-21 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756757760,"raw_latitude":119584904,"longitude_deg":75.675776,"latitude_deg":11.9584904,"altitude":83,"angle":91,"satellites":40,"speed":0,"hex_longitude":"2d1b3500","hex_latitude":"0720b888","is_valid_coordinates":true} 
[2026-09-21 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238696192001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550244751310848,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960473243403454464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789994928000,"timestamp_ms":1789994928000,"timestamp_seconds":1789994928,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4030780"} 
[2026-09-21 18:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:23:17] 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-09-21 18:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238696192001,"66":12428,"101":206,"83":41984,"24":0,"16":22550244751310848,"45":1960473243403454464},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238696192001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:23:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550244751310848,"km_value":22550244751310.848,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960473243403454464,"description":"Unknown IO ID 45"} 
[2026-09-21 18:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238696192001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960473243403454464}} 
[2026-09-21 18:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":188804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:23:18] local.INFO: GPS data processed {"connection_id":188804,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:23:18] local.INFO: Acknowledgment sent {"connection_id":188804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:23:39] local.INFO: TCP Data received {"connection_id":188971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188971,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:39] local.INFO: Processing buffer {"connection_id":188971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:23:39] local.INFO: Packet analysis {"connection_id":188971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:23:39] local.INFO: Extracted packet for processing {"connection_id":188971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 18:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18: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-09-21 18:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":188971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:23:39] local.INFO: GPS data processed {"connection_id":188971,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:23:39] local.INFO: Acknowledgment sent {"connection_id":188971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:23:40] local.INFO: TCP Data received {"connection_id":188803,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:23:40] local.INFO: Processing buffer {"connection_id":188803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:23:40] local.INFO: IMEI packet received {"connection_id":188803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:23:40] local.INFO: IMEI acknowledgment sent {"connection_id":188803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:23:48] local.INFO: TCP Data received {"connection_id":188804,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4065ef8012d1b31c00720b7400064004529..."} 
[2026-09-21 18:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4065ef8012d1b31c00720b7400064004529..."} 
[2026-09-21 18:23:48] local.INFO: Processing buffer {"connection_id":188804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4065ef8012d1b31c00720b7400064004529..."} 
[2026-09-21 18:23:48] local.INFO: Packet analysis {"connection_id":188804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c406"} 
[2026-09-21 18:23:48] local.INFO: Extracted packet for processing {"connection_id":188804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c406"} 
[2026-09-21 18:23:48] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":41,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:23:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238752256001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:23:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:23:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789995147000,"timestamp_ms":1789995147000,"timestamp_seconds":1789995147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4065ef8"} 
[2026-09-21 18:23:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:23:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:23:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:23:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:23:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:23:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:23:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:23:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188804,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:23:48] 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-09-21 18:23:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:23:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:23:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238752256001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:23:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:23:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:23:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238752256001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:23:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:23:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:23:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:23:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:23:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238752256001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:23:48] local.INFO: DEBUG: GPS processor result {"connection_id":188804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:23:48] local.INFO: GPS data processed {"connection_id":188804,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:23:48] local.INFO: Acknowledgment sent {"connection_id":188804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:24:02] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:02] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:02] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:24:07] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:07] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:24:07] local.INFO: IMEI packet received {"connection_id":191567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":191567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:24:08] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:24:08] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c402f3f8012d34c14006aa40600006000c30..."} 
[2026-09-21 18:24:08] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:24:08] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c402"} 
[2026-09-21 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238623232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789994923000,"timestamp_ms":1789994923000,"timestamp_seconds":1789994923,"priority":1,"record_length":96,"hex_timestamp":"000001a0c402f3f8"} 
[2026-09-21 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-09-21 18:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:24:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238623232001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238623232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238623232001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:24:08] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:24:08] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:24:14] local.INFO: TCP Data received {"connection_id":190287,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:24:14] local.INFO: Processing buffer {"connection_id":190287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:24:14] local.INFO: IMEI packet received {"connection_id":190287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":190287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:24:17] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:17] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:17] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:24:22] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:22] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:24:22] local.INFO: IMEI packet received {"connection_id":190286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":190286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:24:23] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c406b100012d1b31c00720b7400064004527..."} 
[2026-09-21 18:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c406b100012d1b31c00720b7400064004527..."} 
[2026-09-21 18:24:23] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c406b100012d1b31c00720b7400064004527..."} 
[2026-09-21 18:24:23] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c406"} 
[2026-09-21 18:24:23] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c406"} 
[2026-09-21 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238757632001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789995168000,"timestamp_ms":1789995168000,"timestamp_seconds":1789995168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c406b100"} 
[2026-09-21 18:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:24:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:24:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:24:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:24:23] 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-09-21 18:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238757632001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238757632001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:24:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:24:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238757632001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:24:23] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:24:23] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:24:28] local.INFO: TCP Data received {"connection_id":190286,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4070308012d1b31c00720b7400064004524..."} 
[2026-09-21 18:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190286,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4070308012d1b31c00720b7400064004524..."} 
[2026-09-21 18:24:28] local.INFO: Processing buffer {"connection_id":190286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4070308012d1b31c00720b7400064004524..."} 
[2026-09-21 18:24:28] local.INFO: Packet analysis {"connection_id":190286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:24:28] local.INFO: Extracted packet for processing {"connection_id":190286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":36,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:24:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238763008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24: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-09-21 18:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1789995189000,"timestamp_ms":1789995189000,"timestamp_seconds":1789995189,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4070308"} 
[2026-09-21 18:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:24: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-09-21 18: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":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:24:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:24:28] 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-09-21 18:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238763008001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238763008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238763008001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":190286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:24:28] local.INFO: GPS data processed {"connection_id":190286,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:24:28] local.INFO: Acknowledgment sent {"connection_id":190286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:24:40] local.INFO: TCP Data received {"connection_id":191567,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191567,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:24:40] local.INFO: Processing buffer {"connection_id":191567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:24:40] local.INFO: Packet analysis {"connection_id":191567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:24:40] local.INFO: Extracted packet for processing {"connection_id":191567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":191567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877555,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:24:40] local.INFO: GPS data processed {"connection_id":191567,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:24:40] local.INFO: Acknowledgment sent {"connection_id":191567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:25:05] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:05] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:05] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:25:07] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:07] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:25:07] local.INFO: IMEI packet received {"connection_id":188805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":188805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:25:08] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:08] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:08] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:08] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 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-09-21 18:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:25:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:25:08] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:25:08] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:25:11] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:11] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:11] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:25:12] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:12] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:12] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:25:13] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:13] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:13] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:13] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:25:13] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:25:13] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:25:17] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:17] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:25:17] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:25:18] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4075510012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4075510012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:18] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4075510012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:18] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:18] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":35,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238768384001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995210000,"timestamp_ms":1789995210000,"timestamp_seconds":1789995210,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4075510"} 
[2026-09-21 18:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:25:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:25:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:25:18] 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-09-21 18:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238768384001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238768384001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:25:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238768384001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:25:18] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:25:18] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:25:45] local.INFO: TCP Data received {"connection_id":188805,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:45] local.INFO: Processing buffer {"connection_id":188805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:25:45] local.INFO: Packet analysis {"connection_id":188805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:45] local.INFO: Extracted packet for processing {"connection_id":188805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25: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-09-21 18:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:25:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:25:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":188805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":188805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:25:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:25:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":188805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:25:45] local.INFO: GPS data processed {"connection_id":188805,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:25:45] local.INFO: Acknowledgment sent {"connection_id":188805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:25:49] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c407a718012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c407a718012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:49] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c407a718012d1b31c00720b7400064004523..."} 
[2026-09-21 18:25:49] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:49] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":35,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238773760001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995231000,"timestamp_ms":1789995231000,"timestamp_seconds":1789995231,"priority":1,"record_length":96,"hex_timestamp":"000001a0c407a718"} 
[2026-09-21 18:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:25:49] 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-09-21 18:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238773760001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238773760001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:25:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238773760001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:25:49] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:25:49] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:26:02] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:02] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:02] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:26:07] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:07] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:26:07] local.INFO: IMEI packet received {"connection_id":191568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":191568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:26:09] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:09] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:09] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:09] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:26:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:26:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:26:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:26:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:26:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:26:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:26:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:26:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:26:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:26:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:26:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:26:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:26:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:26:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:26:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:26:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:26:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:26:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:26:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:26:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:26:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:26:09] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:26:09] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:26:09] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:26:12] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:12] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:12] local.INFO: IMEI packet received {"connection_id":190289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":190289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:26:15] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:15] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:26:15] local.INFO: IMEI packet received {"connection_id":190289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":190289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:26:16] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c407f920012d1b31c00720b7400064004526..."} 
[2026-09-21 18:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c407f920012d1b31c00720b7400064004526..."} 
[2026-09-21 18:26:16] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c407f920012d1b31c00720b7400064004526..."} 
[2026-09-21 18:26:16] local.INFO: Packet analysis {"connection_id":190289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:16] local.INFO: Extracted packet for processing {"connection_id":190289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:16] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238779136001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789995252000,"timestamp_ms":1789995252000,"timestamp_seconds":1789995252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c407f920"} 
[2026-09-21 18:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:26:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:26:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:26:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:26:16] 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-09-21 18:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238779136001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238779136001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:26:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:26:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238779136001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":190289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:26:16] local.INFO: GPS data processed {"connection_id":190289,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:26:16] local.INFO: Acknowledgment sent {"connection_id":190289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:26:40] local.INFO: TCP Data received {"connection_id":191568,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191568,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:40] local.INFO: Processing buffer {"connection_id":191568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:26:40] local.INFO: Packet analysis {"connection_id":191568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:40] local.INFO: Extracted packet for processing {"connection_id":191568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":191568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:26:40] local.INFO: GPS data processed {"connection_id":191568,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:26:40] local.INFO: Acknowledgment sent {"connection_id":191568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:26:47] local.INFO: TCP Data received {"connection_id":190289,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4084b28012d1b31c00720b7400064004525..."} 
[2026-09-21 18:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190289,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4084b28012d1b31c00720b7400064004525..."} 
[2026-09-21 18:26:47] local.INFO: Processing buffer {"connection_id":190289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4084b28012d1b31c00720b7400064004525..."} 
[2026-09-21 18:26:47] local.INFO: Packet analysis {"connection_id":190289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:26:47] local.INFO: Extracted packet for processing {"connection_id":190289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:26:47] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238784512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:26:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789995273000,"timestamp_ms":1789995273000,"timestamp_seconds":1789995273,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4084b28"} 
[2026-09-21 18:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:26:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:26:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:26:47] 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-09-21 18:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238784512001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238784512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:26:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:26:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:26:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238784512001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":190289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:26:47] local.INFO: GPS data processed {"connection_id":190289,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:26:47] local.INFO: Acknowledgment sent {"connection_id":190289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:27:02] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:02] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:02] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:27:07] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:07] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:27:07] local.INFO: IMEI packet received {"connection_id":191569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":191569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:27:08] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:08] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:08] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:27:08] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 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-09-21 18:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:27:08] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:27:08] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:27:14] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:14] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:14] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:27:18] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:18] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:27:18] local.INFO: IMEI packet received {"connection_id":188806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:27:18] local.INFO: IMEI acknowledgment sent {"connection_id":188806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:27:19] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4089d30012d1b31c00720b7400064004525..."} 
[2026-09-21 18:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4089d30012d1b31c00720b7400064004525..."} 
[2026-09-21 18:27:19] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4089d30012d1b31c00720b7400064004525..."} 
[2026-09-21 18:27:19] local.INFO: Packet analysis {"connection_id":188806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:27:19] local.INFO: Extracted packet for processing {"connection_id":188806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:27:19] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:27:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238789888001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:27:19] local.INFO: AVL Record Parsed {"raw_timestamp":1789995294000,"timestamp_ms":1789995294000,"timestamp_seconds":1789995294,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4089d30"} 
[2026-09-21 18:27:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:27:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:27:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:27:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:27:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:27:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:27:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:27:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:27:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:27:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:27:19] 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-09-21 18:27:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:27:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:27:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238789888001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:27:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:27:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:27:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238789888001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:27:19] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:27:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:27:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:27:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:27:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238789888001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:27:19] local.INFO: DEBUG: GPS processor result {"connection_id":188806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:27:19] local.INFO: GPS data processed {"connection_id":188806,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:27:19] local.INFO: Acknowledgment sent {"connection_id":188806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:27:40] local.INFO: TCP Data received {"connection_id":191569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191569,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:40] local.INFO: Processing buffer {"connection_id":191569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:27:40] local.INFO: Packet analysis {"connection_id":191569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:27:40] local.INFO: Extracted packet for processing {"connection_id":191569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":191569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:27:40] local.INFO: GPS data processed {"connection_id":191569,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:27:40] local.INFO: Acknowledgment sent {"connection_id":191569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:27:50] local.INFO: TCP Data received {"connection_id":188806,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c408ef38012d1b31c00720b7400064004527..."} 
[2026-09-21 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c408ef38012d1b31c00720b7400064004527..."} 
[2026-09-21 18:27:50] local.INFO: Processing buffer {"connection_id":188806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c408ef38012d1b31c00720b7400064004527..."} 
[2026-09-21 18:27:50] local.INFO: Packet analysis {"connection_id":188806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:27:50] local.INFO: Extracted packet for processing {"connection_id":188806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c408"} 
[2026-09-21 18:27:50] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":39,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:27:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238795264001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:27:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:27:50] local.INFO: AVL Record Parsed {"raw_timestamp":1789995315000,"timestamp_ms":1789995315000,"timestamp_seconds":1789995315,"priority":1,"record_length":96,"hex_timestamp":"000001a0c408ef38"} 
[2026-09-21 18:27:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:27:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:27:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:27:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:27:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:27:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:27:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:27:50] local.INFO: Teltonika packet parsed successfully {"connection_id":188806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:27:50] local.INFO: Passing IMEI to GPS processor {"connection_id":188806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:27:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":188806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:27:50] 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-09-21 18:27:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:27:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:27:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238795264001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:27:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:27:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:27:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238795264001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:27:50] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:27:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:27:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:27:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:27:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238795264001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:27:50] local.INFO: DEBUG: GPS processor result {"connection_id":188806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:27:50] local.INFO: GPS data processed {"connection_id":188806,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:27:50] local.INFO: Acknowledgment sent {"connection_id":188806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:28:02] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:02] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:02] local.INFO: IMEI packet received {"connection_id":188975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:28:08] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:08] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:28:08] local.INFO: IMEI packet received {"connection_id":188975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:28:08] local.INFO: IMEI acknowledgment sent {"connection_id":188975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:28:09] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:09] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:09] local.INFO: Packet analysis {"connection_id":188975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:28:09] local.INFO: Extracted packet for processing {"connection_id":188975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18: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-09-21 18:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:28:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":188975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:28:09] local.INFO: GPS data processed {"connection_id":188975,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:28:09] local.INFO: Acknowledgment sent {"connection_id":188975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:28:12] local.INFO: TCP Data received {"connection_id":188807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:12] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:12] local.INFO: IMEI packet received {"connection_id":188807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:28:17] local.INFO: TCP Data received {"connection_id":188807,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:17] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:28:17] local.INFO: IMEI packet received {"connection_id":188807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:28:18] local.INFO: TCP Data received {"connection_id":188807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4094140012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4094140012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:18] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4094140012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:18] local.INFO: Packet analysis {"connection_id":188807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:28:18] local.INFO: Extracted packet for processing {"connection_id":188807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238800640001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995336000,"timestamp_ms":1789995336000,"timestamp_seconds":1789995336,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4094140"} 
[2026-09-21 18:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:28:18] 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-09-21 18:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238800640001,"66":12439,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238800640001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:28:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238800640001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":188807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:28:18] local.INFO: GPS data processed {"connection_id":188807,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:28:18] local.INFO: Acknowledgment sent {"connection_id":188807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:28:40] local.INFO: TCP Data received {"connection_id":188975,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188975,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:40] local.INFO: Processing buffer {"connection_id":188975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:28:40] local.INFO: Packet analysis {"connection_id":188975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:28:40] local.INFO: Extracted packet for processing {"connection_id":188975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 18:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 18:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:28:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":188975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:28:40] local.INFO: GPS data processed {"connection_id":188975,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:28:40] local.INFO: Acknowledgment sent {"connection_id":188975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:28:49] local.INFO: TCP Data received {"connection_id":188807,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4099348012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4099348012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:49] local.INFO: Processing buffer {"connection_id":188807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4099348012d1b31c00720b7400064004525..."} 
[2026-09-21 18:28:49] local.INFO: Packet analysis {"connection_id":188807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:28:49] local.INFO: Extracted packet for processing {"connection_id":188807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238806016001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995357000,"timestamp_ms":1789995357000,"timestamp_seconds":1789995357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4099348"} 
[2026-09-21 18:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:28:49] 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-09-21 18:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238806016001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238806016001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:28:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238806016001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":188807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877572,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:28:49] local.INFO: GPS data processed {"connection_id":188807,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:28:49] local.INFO: Acknowledgment sent {"connection_id":188807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:29:02] local.INFO: TCP Data received {"connection_id":191571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:02] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:02] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:29:07] local.INFO: TCP Data received {"connection_id":191571,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:07] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:29:07] local.INFO: IMEI packet received {"connection_id":191571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":191571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:29:08] local.INFO: TCP Data received {"connection_id":191571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:29:08] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4078bc0012d34c14006aa40600005000c30..."} 
[2026-09-21 18:29:08] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:29:08] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c407"} 
[2026-09-21 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238700288001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995224000,"timestamp_ms":1789995224000,"timestamp_seconds":1789995224,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4078bc0"} 
[2026-09-21 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-09-21 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 18: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-09-21 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-09-21 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-09-21 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238700288001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238700288001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238700288001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:29:08] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:29:08] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:29:12] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:12] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:12] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:29:17] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:17] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:29:17] local.INFO: IMEI packet received {"connection_id":190291,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":190291,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:29:18] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c409e550012d1b31c00720b7400064004525..."} 
[2026-09-21 18:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c409e550012d1b31c00720b7400064004525..."} 
[2026-09-21 18:29:18] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c409e550012d1b31c00720b7400064004525..."} 
[2026-09-21 18:29:18] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:29:18] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c409"} 
[2026-09-21 18:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238811392001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995378000,"timestamp_ms":1789995378000,"timestamp_seconds":1789995378,"priority":1,"record_length":96,"hex_timestamp":"000001a0c409e550"} 
[2026-09-21 18:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:29: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-09-21 18:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:29:18] 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-09-21 18:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238811392001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238811392001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:29:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238811392001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:29:18] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:29:18] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:29:25] local.INFO: TCP Data received {"connection_id":191572,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:29:25] local.INFO: Processing buffer {"connection_id":191572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:29:25] local.INFO: IMEI packet received {"connection_id":191572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":191572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:29:40] local.INFO: TCP Data received {"connection_id":191571,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191571,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:29:40] local.INFO: Processing buffer {"connection_id":191571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:29:40] local.INFO: Packet analysis {"connection_id":191571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:29:40] local.INFO: Extracted packet for processing {"connection_id":191571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:29:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":191571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:29:40] local.INFO: GPS data processed {"connection_id":191571,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:29:40] local.INFO: Acknowledgment sent {"connection_id":191571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:29:49] local.INFO: TCP Data received {"connection_id":190291,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40a3758012d1b31c00720b7400064004526..."} 
[2026-09-21 18:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190291,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40a3758012d1b31c00720b7400064004526..."} 
[2026-09-21 18:29:49] local.INFO: Processing buffer {"connection_id":190291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40a3758012d1b31c00720b7400064004526..."} 
[2026-09-21 18:29:49] local.INFO: Packet analysis {"connection_id":190291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:29:49] local.INFO: Extracted packet for processing {"connection_id":190291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238816768001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995399000,"timestamp_ms":1789995399000,"timestamp_seconds":1789995399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40a3758"} 
[2026-09-21 18:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190291,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:29:49] 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-09-21 18:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238816768001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238816768001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:29:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238816768001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":190291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:29:49] local.INFO: GPS data processed {"connection_id":190291,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:29:49] local.INFO: Acknowledgment sent {"connection_id":190291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:30:02] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:02] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:02] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:30:07] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:07] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:30:07] local.INFO: IMEI packet received {"connection_id":188808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":188808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:30:08] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:08] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:08] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:30:08] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:30:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:30:08] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:30:08] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:30:17] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:17] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:17] local.INFO: IMEI packet received {"connection_id":188809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":188809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:30:18] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:18] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:30:18] local.INFO: IMEI packet received {"connection_id":188809,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":188809,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:30:18] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40a8960012d1b31c00720b7400064004526..."} 
[2026-09-21 18:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40a8960012d1b31c00720b7400064004526..."} 
[2026-09-21 18:30:18] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40a8960012d1b31c00720b7400064004526..."} 
[2026-09-21 18:30:18] local.INFO: Packet analysis {"connection_id":188809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:30:18] local.INFO: Extracted packet for processing {"connection_id":188809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238822144001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995420000,"timestamp_ms":1789995420000,"timestamp_seconds":1789995420,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40a8960"} 
[2026-09-21 18:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:30: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-09-21 18:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:18] 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-09-21 18:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238822144001,"66":11471,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238822144001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:30:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238822144001,"power":11471,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:30:19] local.INFO: DEBUG: GPS processor result {"connection_id":188809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:30:19] local.INFO: GPS data processed {"connection_id":188809,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:30:19] local.INFO: Acknowledgment sent {"connection_id":188809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:30:22] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40adb68012d1b31c00720b7400064004528..."} 
[2026-09-21 18:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40adb68012d1b31c00720b7400064004528..."} 
[2026-09-21 18:30:22] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40adb68012d1b31c00720b7400064004528..."} 
[2026-09-21 18:30:22] local.INFO: Packet analysis {"connection_id":188809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:30:22] local.INFO: Extracted packet for processing {"connection_id":188809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40a"} 
[2026-09-21 18:30:22] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":40,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238827520001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789995441000,"timestamp_ms":1789995441000,"timestamp_seconds":1789995441,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40adb68"} 
[2026-09-21 18:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:30: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-09-21 18:30:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":44,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-09-21 18:30:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2281,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:30:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:22] 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-09-21 18:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238827520001,"66":12406,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238827520001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:30:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:30:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:30:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238827520001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:30:23] local.INFO: DEBUG: GPS processor result {"connection_id":188809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:30:23] local.INFO: GPS data processed {"connection_id":188809,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:30:23] local.INFO: Acknowledgment sent {"connection_id":188809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:30:40] local.INFO: TCP Data received {"connection_id":188808,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188808,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:40] local.INFO: Processing buffer {"connection_id":188808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:30:40] local.INFO: Packet analysis {"connection_id":188808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:30:40] local.INFO: Extracted packet for processing {"connection_id":188808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":188808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:30:40] local.INFO: GPS data processed {"connection_id":188808,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:30:40] local.INFO: Acknowledgment sent {"connection_id":188808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:30:54] local.INFO: TCP Data received {"connection_id":188809,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40b2d70012d1b31c00720b7400064004523..."} 
[2026-09-21 18:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40b2d70012d1b31c00720b7400064004523..."} 
[2026-09-21 18:30:54] local.INFO: Processing buffer {"connection_id":188809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40b2d70012d1b31c00720b7400064004523..."} 
[2026-09-21 18:30:54] local.INFO: Packet analysis {"connection_id":188809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:30:54] local.INFO: Extracted packet for processing {"connection_id":188809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":35,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:30:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238832896001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:30:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:30:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789995462000,"timestamp_ms":1789995462000,"timestamp_seconds":1789995462,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40b2d70"} 
[2026-09-21 18:30:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:30:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:30:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:30:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:30:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:30:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:30:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:30:54] local.INFO: Teltonika packet parsed successfully {"connection_id":188809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:30:54] local.INFO: Passing IMEI to GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":188809,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:30:54] 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-09-21 18:30:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:30:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:30:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238832896001,"66":12406,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:30:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:30:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:30:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238832896001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:30:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:30:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:30:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:30:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:30:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238832896001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:30:54] local.INFO: DEBUG: GPS processor result {"connection_id":188809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:30:54] local.INFO: GPS data processed {"connection_id":188809,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:30:54] local.INFO: Acknowledgment sent {"connection_id":188809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:31:02] local.INFO: TCP Data received {"connection_id":188811,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:02] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:02] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:31:07] local.INFO: TCP Data received {"connection_id":188811,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:07] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:31:07] local.INFO: IMEI packet received {"connection_id":188811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":188811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:31:09] local.INFO: TCP Data received {"connection_id":188811,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:09] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:09] local.INFO: Packet analysis {"connection_id":188811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:31:09] local.INFO: Extracted packet for processing {"connection_id":188811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18: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-09-21 18:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":188811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:31:09] local.INFO: GPS data processed {"connection_id":188811,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:31:09] local.INFO: Acknowledgment sent {"connection_id":188811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:31:12] local.INFO: TCP Data received {"connection_id":188812,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:12] local.INFO: Processing buffer {"connection_id":188812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:12] local.INFO: IMEI packet received {"connection_id":188812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":188812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:31:17] local.INFO: TCP Data received {"connection_id":188812,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:17] local.INFO: Processing buffer {"connection_id":188812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:31:17] local.INFO: IMEI packet received {"connection_id":188812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":188812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:31:18] local.INFO: TCP Data received {"connection_id":188812,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40b7f78012d1b31c00720b7400064004526..."} 
[2026-09-21 18:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40b7f78012d1b31c00720b7400064004526..."} 
[2026-09-21 18:31:18] local.INFO: Processing buffer {"connection_id":188812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40b7f78012d1b31c00720b7400064004526..."} 
[2026-09-21 18:31:18] local.INFO: Packet analysis {"connection_id":188812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:31:18] local.INFO: Extracted packet for processing {"connection_id":188812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":38,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238838272001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995483000,"timestamp_ms":1789995483000,"timestamp_seconds":1789995483,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40b7f78"} 
[2026-09-21 18:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:31:18] 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-09-21 18:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238838272001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238838272001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238838272001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":188812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:31:18] local.INFO: GPS data processed {"connection_id":188812,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:31:18] local.INFO: Acknowledgment sent {"connection_id":188812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:31:40] local.INFO: TCP Data received {"connection_id":188811,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:40] local.INFO: Processing buffer {"connection_id":188811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:31:40] local.INFO: Packet analysis {"connection_id":188811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:31:40] local.INFO: Extracted packet for processing {"connection_id":188811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":188811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:31:40] local.INFO: GPS data processed {"connection_id":188811,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:31:40] local.INFO: Acknowledgment sent {"connection_id":188811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:31:49] local.INFO: TCP Data received {"connection_id":188812,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40bd180012d1b31c00720b7400064004525..."} 
[2026-09-21 18:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40bd180012d1b31c00720b7400064004525..."} 
[2026-09-21 18:31:49] local.INFO: Processing buffer {"connection_id":188812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40bd180012d1b31c00720b7400064004525..."} 
[2026-09-21 18:31:49] local.INFO: Packet analysis {"connection_id":188812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:31:49] local.INFO: Extracted packet for processing {"connection_id":188812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40b"} 
[2026-09-21 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":37,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238843648001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995504000,"timestamp_ms":1789995504000,"timestamp_seconds":1789995504,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40bd180"} 
[2026-09-21 18:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:31:49] 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-09-21 18:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238843648001,"66":12406,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238843648001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:31:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238843648001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":188812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:31:49] local.INFO: GPS data processed {"connection_id":188812,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:31:49] local.INFO: Acknowledgment sent {"connection_id":188812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:32:02] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:02] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:02] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:32:07] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:07] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:32:07] local.INFO: IMEI packet received {"connection_id":188813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":188813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:32:08] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:08] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:08] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:08] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:32:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:32:08] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:32:08] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:32:12] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:12] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:12] local.INFO: IMEI packet received {"connection_id":190293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":190293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:32:17] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:17] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:32:17] local.INFO: IMEI packet received {"connection_id":190293,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":190293,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:32:17] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d1b31c00720b7400064004520..."} 
[2026-09-21 18:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d1b31c00720b7400064004520..."} 
[2026-09-21 18:32:17] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d1b31c00720b7400064004520..."} 
[2026-09-21 18:32:17] local.INFO: Packet analysis {"connection_id":190293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:17] local.INFO: Extracted packet for processing {"connection_id":190293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:17] local.INFO: GPS Element Parsed {"raw_longitude":756756928,"raw_latitude":119584576,"longitude_deg":75.6756928,"latitude_deg":11.9584576,"altitude":100,"angle":69,"satellites":32,"speed":0,"hex_longitude":"2d1b31c0","hex_latitude":"0720b740","is_valid_coordinates":true} 
[2026-09-21 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:32:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238849024001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550287700983808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:32:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:32:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:32:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:32:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:32:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:32:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:32:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:32:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:32:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:32:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:32:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:32:17] 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-09-21 18:32:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:32:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:32:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238849024001,"66":12461,"101":206,"83":41984,"24":0,"16":22550287700983808,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:32:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:32:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:32:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238849024001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:32:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:32:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:32:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550287700983808,"km_value":22550287700983.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:32:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:32:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238849024001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":190293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:32:18] local.INFO: GPS data processed {"connection_id":190293,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:32:18] local.INFO: Acknowledgment sent {"connection_id":190293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:32:39] local.INFO: TCP Data received {"connection_id":188813,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188813,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:39] local.INFO: Processing buffer {"connection_id":188813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:32:39] local.INFO: Packet analysis {"connection_id":188813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:39] local.INFO: Extracted packet for processing {"connection_id":188813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:32: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-09-21 18:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:32: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-09-21 18:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":188813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:32:39] local.INFO: GPS data processed {"connection_id":188813,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:32:39] local.INFO: Acknowledgment sent {"connection_id":188813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:32:48] local.INFO: TCP Data received {"connection_id":190293,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c5650012d1b34400720b9c0006000c724..."} 
[2026-09-21 18:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190293,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c5650012d1b34400720b9c0006000c724..."} 
[2026-09-21 18:32:48] local.INFO: Processing buffer {"connection_id":190293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c5650012d1b34400720b9c0006000c724..."} 
[2026-09-21 18:32:48] local.INFO: Packet analysis {"connection_id":190293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:48] local.INFO: Extracted packet for processing {"connection_id":190293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":756757568,"raw_latitude":119585216,"longitude_deg":75.6757568,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3440","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:32:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550334945624064,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1959558449729060864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:32:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:32:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789995538000,"timestamp_ms":1789995538000,"timestamp_seconds":1789995538,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c5650"} 
[2026-09-21 18:32:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:32:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:32:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:32:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:32:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:32:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:32:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:32:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:32:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:32:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190293,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:32:48] 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-09-21 18:32:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:32:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:32:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":12461,"101":206,"83":41984,"24":0,"16":22550334945624064,"45":1959558449729060864},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:32:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:32:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:32:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:32:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:32:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:32:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550334945624064,"km_value":22550334945624.062,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:32:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1959558449729060864,"description":"Unknown IO ID 45"} 
[2026-09-21 18:32:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1959558449729060864}} 
[2026-09-21 18:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":190293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:32:49] local.INFO: GPS data processed {"connection_id":190293,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:32:49] local.INFO: Acknowledgment sent {"connection_id":190293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:33:02] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:02] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:02] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:33:08] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:08] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:33:08] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:33:08] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:33:09] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:09] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:09] local.INFO: Packet analysis {"connection_id":188976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:09] local.INFO: Extracted packet for processing {"connection_id":188976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:33:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:33:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:33:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:33:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:33:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:33: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-09-21 18:33:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:33:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:33:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:33:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:33:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:33:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:33:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:33:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:33:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:33:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:33:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:33:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:33:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:33:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:33:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:33:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:33:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:33:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:33:09] local.INFO: DEBUG: GPS processor result {"connection_id":188976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:33:09] local.INFO: GPS data processed {"connection_id":188976,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:33:09] local.INFO: Acknowledgment sent {"connection_id":188976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:33:12] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:12] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:12] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:33:17] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:17] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:33:17] local.INFO: IMEI packet received {"connection_id":191574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":191574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:33:17] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40ca858012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40ca858012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:33:17] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40ca858012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:33:17] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:17] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238857728001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960262137171001344,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789995559000,"timestamp_ms":1789995559000,"timestamp_seconds":1789995559,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40ca858"} 
[2026-09-21 18:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:33: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-09-21 18:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:33:17] 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-09-21 18:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238857728001,"66":12298,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960262137171001344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238857728001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:33:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:33:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960262137171001344,"description":"Unknown IO ID 45"} 
[2026-09-21 18:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238857728001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960262137171001344}} 
[2026-09-21 18:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:33:18] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:33:18] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:33:40] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:40] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:33:40] local.INFO: Packet analysis {"connection_id":188976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:40] local.INFO: Extracted packet for processing {"connection_id":188976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":188976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:33:40] local.INFO: GPS data processed {"connection_id":188976,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:33:40] local.INFO: Acknowledgment sent {"connection_id":188976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:33:48] local.INFO: TCP Data received {"connection_id":191574,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40cfa60012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191574,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40cfa60012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:33:48] local.INFO: Processing buffer {"connection_id":191574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40cfa60012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:33:48] local.INFO: Packet analysis {"connection_id":191574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:48] local.INFO: Extracted packet for processing {"connection_id":191574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238863104001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:33:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789995580000,"timestamp_ms":1789995580000,"timestamp_seconds":1789995580,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40cfa60"} 
[2026-09-21 18:33:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:33:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:33:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":29,"raw_value":6773413839565225985,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-4320489847078970575,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832604,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443560579278,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513611843032580165,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":100,"raw_value":19465753858146304,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3074424932,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 18:33:48] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221692599,"note":"Value kept but may cause issues"} 
[2026-09-21 18:33:48] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,101,83,24,241,157,16,29,160,86,45,64,185,96,36,10,66,35,192,183,100,32,209,1,240,118,227,196,4,113,205,49,239,48,2,80,7,38],"length":534,"final_offset":664,"validated_count":38,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 18:33:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6917747985073831936,"timestamp_seconds":6917747985073832.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:33:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:33:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:33:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:33:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:33:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:33:48] 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-09-21 18:33:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:33:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:33:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238863104001,"66":12374,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:33:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:33:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:33:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238863104001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:33:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:33:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:33:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:33:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:33:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238863104001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":191574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:33:49] local.INFO: GPS data processed {"connection_id":191574,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:33:49] local.INFO: Acknowledgment sent {"connection_id":191574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:34:02] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:02] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:02] local.INFO: IMEI packet received {"connection_id":190294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:34:07] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:07] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:34:07] local.INFO: IMEI packet received {"connection_id":190294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:34:09] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:34:09] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40c2388012d34c14006aa40600001000c30..."} 
[2026-09-21 18:34:09] local.INFO: Packet analysis {"connection_id":190294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:34:09] local.INFO: Extracted packet for processing {"connection_id":190294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40c"} 
[2026-09-21 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":1,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238777344001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995525000,"timestamp_ms":1789995525000,"timestamp_seconds":1789995525,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40c2388"} 
[2026-09-21 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18: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-09-21 18:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238777344001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238777344001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238777344001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:34:09] local.INFO: GPS data processed {"connection_id":190294,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:34:09] local.INFO: Acknowledgment sent {"connection_id":190294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:34:12] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:12] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:12] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:34:17] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:17] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:34:17] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:34:18] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40d4c68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40d4c68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:34:18] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40d4c68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:34:18] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:34:18] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238868480001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995601000,"timestamp_ms":1789995601000,"timestamp_seconds":1789995601,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40d4c68"} 
[2026-09-21 18:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:34: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-09-21 18:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:34:18] 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-09-21 18:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238868480001,"66":12406,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238868480001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:34:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238868480001,"power":12406,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:34:18] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:34:18] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:34:40] local.INFO: TCP Data received {"connection_id":190294,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190294,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:34:40] local.INFO: Processing buffer {"connection_id":190294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:34:40] local.INFO: Packet analysis {"connection_id":190294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:34:40] local.INFO: Extracted packet for processing {"connection_id":190294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:34: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":190294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:34:40] local.INFO: GPS data processed {"connection_id":190294,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:34:40] local.INFO: Acknowledgment sent {"connection_id":190294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:34:49] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40d9e70012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40d9e70012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:34:49] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40d9e70012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:34:49] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:34:49] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238873856001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995622000,"timestamp_ms":1789995622000,"timestamp_seconds":1789995622,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40d9e70"} 
[2026-09-21 18:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:34:49] 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-09-21 18:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238873856001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238873856001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:34:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238873856001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:34:49] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:34:49] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:35:02] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:02] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:02] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:35:07] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:07] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:35:07] local.INFO: IMEI packet received {"connection_id":190295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":190295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:35:09] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:09] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:09] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:35:09] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:35:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:35: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-09-21 18:35:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:35:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:35:09] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:35:09] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:35:12] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:35:12] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:12] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:35:14] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:35:14] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:35:14] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:35:17] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:17] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:17] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:35:22] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:22] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:35:22] local.INFO: IMEI packet received {"connection_id":188979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":188979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:35:23] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40df078012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40df078012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:35:23] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40df078012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:35:23] local.INFO: Packet analysis {"connection_id":188979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:35:23] local.INFO: Extracted packet for processing {"connection_id":188979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40d"} 
[2026-09-21 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238879232001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789995643000,"timestamp_ms":1789995643000,"timestamp_seconds":1789995643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40df078"} 
[2026-09-21 18:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:35:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:35:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:35:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:35:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:35:23] 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-09-21 18:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:35:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238879232001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:35:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:35:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:35:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238879232001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:35:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:35:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:35:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:35:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:35:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238879232001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":188979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:35:23] local.INFO: GPS data processed {"connection_id":188979,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:35:23] local.INFO: Acknowledgment sent {"connection_id":188979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:35:27] local.INFO: TCP Data received {"connection_id":188979,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c40e4280012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188979,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c40e4280012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:35:27] local.INFO: Processing buffer {"connection_id":188979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c40e4280012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:35:27] local.INFO: Packet analysis {"connection_id":188979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c40e"} 
[2026-09-21 18:35:27] local.INFO: Extracted packet for processing {"connection_id":188979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c40e"} 
[2026-09-21 18:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238884608001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789995664000,"timestamp_ms":1789995664000,"timestamp_seconds":1789995664,"priority":1,"record_length":96,"hex_timestamp":"000001a0c40e4280"} 
[2026-09-21 18:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188979,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:35: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-09-21 18:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238884608001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238884608001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:35:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238884608001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":188979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:35:28] local.INFO: GPS data processed {"connection_id":188979,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:35:28] local.INFO: Acknowledgment sent {"connection_id":188979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:35:40] local.INFO: TCP Data received {"connection_id":190295,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190295,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:40] local.INFO: Processing buffer {"connection_id":190295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:35:40] local.INFO: Packet analysis {"connection_id":190295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:35:40] local.INFO: Extracted packet for processing {"connection_id":190295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:35:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:35:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:35:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:35:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:35:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:35:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":190295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:35:40] local.INFO: GPS data processed {"connection_id":190295,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:35:40] local.INFO: Acknowledgment sent {"connection_id":190295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:36:02] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:02] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:02] local.INFO: IMEI packet received {"connection_id":188981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":188981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:36:07] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:07] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:36:07] local.INFO: IMEI packet received {"connection_id":188981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":188981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:36:08] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:08] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:08] local.INFO: Packet analysis {"connection_id":188981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:36:08] local.INFO: Extracted packet for processing {"connection_id":188981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:36: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-09-21 18:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":188981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:36:08] local.INFO: GPS data processed {"connection_id":188981,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:36:08] local.INFO: Acknowledgment sent {"connection_id":188981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:36:12] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:12] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:12] local.INFO: IMEI packet received {"connection_id":190296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":190296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:36:15] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:15] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:36:15] local.INFO: IMEI packet received {"connection_id":190296,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":190296,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:36:16] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c411c8d8012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c411c8d8012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:16] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c411c8d8012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:16] local.INFO: Packet analysis {"connection_id":190296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c411"} 
[2026-09-21 18:36:16] local.INFO: Extracted packet for processing {"connection_id":190296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c411"} 
[2026-09-21 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238943744001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789995895000,"timestamp_ms":1789995895000,"timestamp_seconds":1789995895,"priority":1,"record_length":96,"hex_timestamp":"000001a0c411c8d8"} 
[2026-09-21 18:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:36:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:36:16] 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-09-21 18:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:36:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238943744001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:36:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:36:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:36:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238943744001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:36:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:36:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:36:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:36:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:36:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238943744001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":190296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:36:16] local.INFO: GPS data processed {"connection_id":190296,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:36:16] local.INFO: Acknowledgment sent {"connection_id":190296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:36:39] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:39] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:36:39] local.INFO: Packet analysis {"connection_id":188981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:36:39] local.INFO: Extracted packet for processing {"connection_id":188981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:36: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-09-21 18:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:36:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":188981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:36:39] local.INFO: GPS data processed {"connection_id":188981,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:36:39] local.INFO: Acknowledgment sent {"connection_id":188981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:36:47] local.INFO: TCP Data received {"connection_id":190296,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4121ae0012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190296,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4121ae0012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:47] local.INFO: Processing buffer {"connection_id":190296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4121ae0012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:36:47] local.INFO: Packet analysis {"connection_id":190296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:36:47] local.INFO: Extracted packet for processing {"connection_id":190296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238949120001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:36:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789995916000,"timestamp_ms":1789995916000,"timestamp_seconds":1789995916,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4121ae0"} 
[2026-09-21 18:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:36:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:36:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190296,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:36:47] 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-09-21 18:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238949120001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238949120001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:36:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:36:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238949120001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":190296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:36:47] local.INFO: GPS data processed {"connection_id":190296,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:36:47] local.INFO: Acknowledgment sent {"connection_id":190296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:37:02] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:02] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:02] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:37:07] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:07] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:37:07] local.INFO: IMEI packet received {"connection_id":188814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":188814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:37:09] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:09] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:09] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:37:09] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:37:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:37: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-09-21 18:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:37: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-09-21 18:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:37:09] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:37:09] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:37:12] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:12] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:12] local.INFO: IMEI packet received {"connection_id":188815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":188815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:37:17] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:17] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:37:17] local.INFO: IMEI packet received {"connection_id":188815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":188815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:37:18] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4126ce8012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4126ce8012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:37:18] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4126ce8012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:37:18] local.INFO: Packet analysis {"connection_id":188815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:37:18] local.INFO: Extracted packet for processing {"connection_id":188815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238954496001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789995937000,"timestamp_ms":1789995937000,"timestamp_seconds":1789995937,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4126ce8"} 
[2026-09-21 18:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:37: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-09-21 18:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:37:18] 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-09-21 18:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238954496001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238954496001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:37:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238954496001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":188815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:37:18] local.INFO: GPS data processed {"connection_id":188815,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:37:18] local.INFO: Acknowledgment sent {"connection_id":188815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:37:41] local.INFO: TCP Data received {"connection_id":188814,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:41] local.INFO: Processing buffer {"connection_id":188814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:37:41] local.INFO: Packet analysis {"connection_id":188814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:37:41] local.INFO: Extracted packet for processing {"connection_id":188814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:37:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37: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-09-21 18:37:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:37:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:37:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:37:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:37: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-09-21 18:37:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:37:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:37:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:37:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:37:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:37:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:37:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:37:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:37:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:37:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:37:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:37:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:37:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:37:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:37:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:37:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:37:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:37:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:37:41] local.INFO: DEBUG: GPS processor result {"connection_id":188814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:37:41] local.INFO: GPS data processed {"connection_id":188814,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:37:41] local.INFO: Acknowledgment sent {"connection_id":188814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:37:49] local.INFO: TCP Data received {"connection_id":188815,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c412bef0012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188815,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c412bef0012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:37:49] local.INFO: Processing buffer {"connection_id":188815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c412bef0012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:37:49] local.INFO: Packet analysis {"connection_id":188815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:37:49] local.INFO: Extracted packet for processing {"connection_id":188815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c412"} 
[2026-09-21 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238959872001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789995958000,"timestamp_ms":1789995958000,"timestamp_seconds":1789995958,"priority":1,"record_length":96,"hex_timestamp":"000001a0c412bef0"} 
[2026-09-21 18:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:37:49] 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-09-21 18:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238959872001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238959872001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:37:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238959872001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":188815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:37:49] local.INFO: GPS data processed {"connection_id":188815,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:37:49] local.INFO: Acknowledgment sent {"connection_id":188815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:38:02] local.INFO: TCP Data received {"connection_id":190297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:02] local.INFO: Processing buffer {"connection_id":190297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:02] local.INFO: IMEI packet received {"connection_id":190297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":190297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:38:08] local.INFO: TCP Data received {"connection_id":190297,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:08] local.INFO: Processing buffer {"connection_id":190297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:38:08] local.INFO: IMEI packet received {"connection_id":190297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:38:08] local.INFO: IMEI acknowledgment sent {"connection_id":190297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:38:09] local.INFO: TCP Data received {"connection_id":190297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:09] local.INFO: Processing buffer {"connection_id":190297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:09] local.INFO: Packet analysis {"connection_id":190297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:38:09] local.INFO: Extracted packet for processing {"connection_id":190297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:38:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:38: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-09-21 18:38:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":190297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:38:09] local.INFO: GPS data processed {"connection_id":190297,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:38:09] local.INFO: Acknowledgment sent {"connection_id":190297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:38:12] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:12] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:12] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:38:17] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:17] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:38:17] local.INFO: IMEI packet received {"connection_id":188982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":188982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:38:17] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41310f8012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41310f8012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:38:17] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41310f8012d1b34000720b9c0006000c723..."} 
[2026-09-21 18:38:17] local.INFO: Packet analysis {"connection_id":188982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:38:17] local.INFO: Extracted packet for processing {"connection_id":188982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":35,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238965248001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789995979000,"timestamp_ms":1789995979000,"timestamp_seconds":1789995979,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41310f8"} 
[2026-09-21 18:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:38:17] 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-09-21 18:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238965248001,"66":12385,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238965248001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:38:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:38:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238965248001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":188982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:38:18] local.INFO: GPS data processed {"connection_id":188982,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:38:18] local.INFO: Acknowledgment sent {"connection_id":188982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:38:41] local.INFO: TCP Data received {"connection_id":190297,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190297,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:41] local.INFO: Processing buffer {"connection_id":190297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:38:41] local.INFO: Packet analysis {"connection_id":190297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:38:41] local.INFO: Extracted packet for processing {"connection_id":190297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 18:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:38:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:38: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-09-21 18:38:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:38:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":190297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:38:41] local.INFO: GPS data processed {"connection_id":190297,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:38:41] local.INFO: Acknowledgment sent {"connection_id":190297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:38:49] local.INFO: TCP Data received {"connection_id":188982,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4136300012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188982,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4136300012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:38:49] local.INFO: Processing buffer {"connection_id":188982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4136300012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:38:49] local.INFO: Packet analysis {"connection_id":188982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:38:49] local.INFO: Extracted packet for processing {"connection_id":188982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238970624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996000000,"timestamp_ms":1789996000000,"timestamp_seconds":1789996000,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4136300"} 
[2026-09-21 18:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18: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-09-21 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:38:49] 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-09-21 18:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238970624001,"66":12385,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238970624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:38:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238970624001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":188982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:38:49] local.INFO: GPS data processed {"connection_id":188982,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:38:49] local.INFO: Acknowledgment sent {"connection_id":188982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:39:02] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:02] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:02] local.INFO: IMEI packet received {"connection_id":191578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":191578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:39:07] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:07] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:39:07] local.INFO: IMEI packet received {"connection_id":191578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":191578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:39:08] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:39:08] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c410bb50012d34c14006aa40600008000c30..."} 
[2026-09-21 18:39:08] local.INFO: Packet analysis {"connection_id":191578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:39:08] local.INFO: Extracted packet for processing {"connection_id":191578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c410"} 
[2026-09-21 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238854400001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789995826000,"timestamp_ms":1789995826000,"timestamp_seconds":1789995826,"priority":1,"record_length":96,"hex_timestamp":"000001a0c410bb50"} 
[2026-09-21 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-09-21 18:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238854400001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238854400001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238854400001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":191578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:39:08] local.INFO: GPS data processed {"connection_id":191578,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:39:08] local.INFO: Acknowledgment sent {"connection_id":191578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:39:13] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:13] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:13] local.INFO: IMEI packet received {"connection_id":188984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:39:13] local.INFO: IMEI acknowledgment sent {"connection_id":188984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:39:17] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:17] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:39:17] local.INFO: IMEI packet received {"connection_id":188984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":188984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:39:17] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c413b508012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c413b508012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:39:17] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c413b508012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:39:17] local.INFO: Packet analysis {"connection_id":188984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:39:17] local.INFO: Extracted packet for processing {"connection_id":188984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c413"} 
[2026-09-21 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238976000001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996021000,"timestamp_ms":1789996021000,"timestamp_seconds":1789996021,"priority":1,"record_length":96,"hex_timestamp":"000001a0c413b508"} 
[2026-09-21 18:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:39:17] 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-09-21 18:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238976000001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238976000001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:39:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:39:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238976000001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:39:17] local.INFO: DEBUG: GPS processor result {"connection_id":188984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:39:17] local.INFO: GPS data processed {"connection_id":188984,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:39:17] local.INFO: Acknowledgment sent {"connection_id":188984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:39:40] local.INFO: TCP Data received {"connection_id":191578,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191578,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:39:40] local.INFO: Processing buffer {"connection_id":191578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:39:40] local.INFO: Packet analysis {"connection_id":191578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:39:40] local.INFO: Extracted packet for processing {"connection_id":191578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":191578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:39:40] local.INFO: GPS data processed {"connection_id":191578,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:39:40] local.INFO: Acknowledgment sent {"connection_id":191578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:39:48] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4140710012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4140710012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:39:48] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4140710012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:39:48] local.INFO: Packet analysis {"connection_id":188984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:39:48] local.INFO: Extracted packet for processing {"connection_id":188984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238981376001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789996042000,"timestamp_ms":1789996042000,"timestamp_seconds":1789996042,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4140710"} 
[2026-09-21 18:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:39:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:39:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:39:48] 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-09-21 18:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238981376001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238981376001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:39:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238981376001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":188984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:39:49] local.INFO: GPS data processed {"connection_id":188984,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:39:49] local.INFO: Acknowledgment sent {"connection_id":188984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:40:02] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:02] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:02] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:40:07] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:07] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:40:07] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:40:08] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:08] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:08] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:40:08] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 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-09-21 18:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:40: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-09-21 18:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:40:08] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:40:08] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:40:12] local.INFO: TCP Data received {"connection_id":188817,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:12] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:12] local.INFO: IMEI packet received {"connection_id":188817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:40:17] local.INFO: TCP Data received {"connection_id":188817,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:17] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:40:17] local.INFO: IMEI packet received {"connection_id":188817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:40:18] local.INFO: TCP Data received {"connection_id":188817,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4145918012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4145918012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:18] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4145918012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:18] local.INFO: Packet analysis {"connection_id":188817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:40:18] local.INFO: Extracted packet for processing {"connection_id":188817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238986752001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789996063000,"timestamp_ms":1789996063000,"timestamp_seconds":1789996063,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4145918"} 
[2026-09-21 18:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:40: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-09-21 18:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:40:18] 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-09-21 18:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238986752001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238986752001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:40:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238986752001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":188817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:40:18] local.INFO: GPS data processed {"connection_id":188817,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:40:18] local.INFO: Acknowledgment sent {"connection_id":188817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:40:39] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:39] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:40:39] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:40:39] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:40: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-09-21 18: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-09-21 18:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:40: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-09-21 18:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:40:39] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:40:39] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:40:45] local.INFO: TCP Data received {"connection_id":188816,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:40:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:40:45] local.INFO: Processing buffer {"connection_id":188816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:40:45] local.INFO: IMEI packet received {"connection_id":188816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:40:45] local.INFO: IMEI acknowledgment sent {"connection_id":188816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:40:49] local.INFO: TCP Data received {"connection_id":188817,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c414ab20012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188817,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c414ab20012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:49] local.INFO: Processing buffer {"connection_id":188817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c414ab20012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:40:49] local.INFO: Packet analysis {"connection_id":188817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:40:49] local.INFO: Extracted packet for processing {"connection_id":188817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238992128001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996084000,"timestamp_ms":1789996084000,"timestamp_seconds":1789996084,"priority":1,"record_length":96,"hex_timestamp":"000001a0c414ab20"} 
[2026-09-21 18:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:40:49] 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-09-21 18:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238992128001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238992128001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:40:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238992128001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":188817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:40:49] local.INFO: GPS data processed {"connection_id":188817,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:40:49] local.INFO: Acknowledgment sent {"connection_id":188817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:41:02] local.INFO: TCP Data received {"connection_id":188818,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:02] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:02] local.INFO: IMEI packet received {"connection_id":188818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":188818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:41:07] local.INFO: TCP Data received {"connection_id":188818,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:07] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:41:07] local.INFO: IMEI packet received {"connection_id":188818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":188818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:41:08] local.INFO: TCP Data received {"connection_id":188818,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:08] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:08] local.INFO: Packet analysis {"connection_id":188818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:08] local.INFO: Extracted packet for processing {"connection_id":188818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 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-09-21 18:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:41:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":188818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:41:08] local.INFO: GPS data processed {"connection_id":188818,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:41:08] local.INFO: Acknowledgment sent {"connection_id":188818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:41:14] local.INFO: TCP Data received {"connection_id":188820,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:41:14] local.INFO: Processing buffer {"connection_id":188820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:41:14] local.INFO: IMEI packet received {"connection_id":188820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:41:14] local.INFO: IMEI acknowledgment sent {"connection_id":188820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:41:17] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:17] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:17] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:41:22] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:22] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:41:22] local.INFO: IMEI packet received {"connection_id":188819,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":188819,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:41:23] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c414fd28012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:41:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c414fd28012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:41:23] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c414fd28012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:41:23] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:41:23] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c414"} 
[2026-09-21 18:41:23] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:41:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238997504001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:41:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789996105000,"timestamp_ms":1789996105000,"timestamp_seconds":1789996105,"priority":1,"record_length":96,"hex_timestamp":"000001a0c414fd28"} 
[2026-09-21 18:41:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:41:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:41:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:41:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:41:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:41:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:41:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:41:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:41:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:41:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:41:23] 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-09-21 18:41:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:41:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:41:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238997504001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:41:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:41:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:41:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238997504001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:41:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:41:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:41:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:41:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:41:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238997504001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:41:23] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:41:23] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:41:23] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:41:27] local.INFO: TCP Data received {"connection_id":188819,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4154f30012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188819,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4154f30012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:41:27] local.INFO: Processing buffer {"connection_id":188819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4154f30012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:41:27] local.INFO: Packet analysis {"connection_id":188819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:27] local.INFO: Extracted packet for processing {"connection_id":188819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239002880001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789996126000,"timestamp_ms":1789996126000,"timestamp_seconds":1789996126,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4154f30"} 
[2026-09-21 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-09-21 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188819,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:41: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-09-21 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239002880001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239002880001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:41:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239002880001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":188819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:41:28] local.INFO: GPS data processed {"connection_id":188819,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:41:28] local.INFO: Acknowledgment sent {"connection_id":188819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:41:40] local.INFO: TCP Data received {"connection_id":188818,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188818,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:40] local.INFO: Processing buffer {"connection_id":188818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:41:40] local.INFO: Packet analysis {"connection_id":188818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:40] local.INFO: Extracted packet for processing {"connection_id":188818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":188818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:41:40] local.INFO: GPS data processed {"connection_id":188818,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:41:40] local.INFO: Acknowledgment sent {"connection_id":188818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:42:02] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:02] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:02] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:42:07] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:07] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:42:07] local.INFO: IMEI packet received {"connection_id":188821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":188821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:42:09] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:09] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:09] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:09] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:42:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:42:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:42:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:42:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:42: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-09-21 18: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:42: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-09-21 18:42:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:42:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:42:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:42:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:42:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:42:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:42: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-09-21 18:42:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:42:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:42:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:42:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:42:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:42:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:42:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:42:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:42:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:42:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:42:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:42:09] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:42:09] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:42:09] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:42:12] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:12] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:12] local.INFO: IMEI packet received {"connection_id":190298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":190298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:42:13] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:13] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:13] local.INFO: IMEI packet received {"connection_id":190298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:42:13] local.INFO: IMEI acknowledgment sent {"connection_id":190298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:42:17] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:17] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:42:17] local.INFO: IMEI packet received {"connection_id":190298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":190298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:42:17] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c415a138012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c415a138012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:42:17] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c415a138012d1b34000720b9c0006000c728..."} 
[2026-09-21 18:42:17] local.INFO: Packet analysis {"connection_id":190298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:17] local.INFO: Extracted packet for processing {"connection_id":190298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":40,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008256001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996147000,"timestamp_ms":1789996147000,"timestamp_seconds":1789996147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c415a138"} 
[2026-09-21 18:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:42:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:42:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:17] 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-09-21 18:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008256001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008256001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:42:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:42:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008256001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":190298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:42:17] local.INFO: GPS data processed {"connection_id":190298,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:42:17] local.INFO: Acknowledgment sent {"connection_id":190298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:42:22] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c415f340012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c415f340012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:42:22] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c415f340012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:42:22] local.INFO: Packet analysis {"connection_id":190298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:22] local.INFO: Extracted packet for processing {"connection_id":190298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239013632001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789996168000,"timestamp_ms":1789996168000,"timestamp_seconds":1789996168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c415f340"} 
[2026-09-21 18:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:42: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-09-21 18:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:22] 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-09-21 18:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239013632001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239013632001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:42:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239013632001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":190298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:42:22] local.INFO: GPS data processed {"connection_id":190298,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:42:22] local.INFO: Acknowledgment sent {"connection_id":190298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:42:40] local.INFO: TCP Data received {"connection_id":188821,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188821,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:40] local.INFO: Processing buffer {"connection_id":188821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:42:40] local.INFO: Packet analysis {"connection_id":188821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:40] local.INFO: Extracted packet for processing {"connection_id":188821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":188821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:42:40] local.INFO: GPS data processed {"connection_id":188821,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:42:40] local.INFO: Acknowledgment sent {"connection_id":188821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:42:54] local.INFO: TCP Data received {"connection_id":190298,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4164548012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190298,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4164548012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:42:54] local.INFO: Processing buffer {"connection_id":190298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4164548012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:42:54] local.INFO: Packet analysis {"connection_id":190298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:42:54] local.INFO: Extracted packet for processing {"connection_id":190298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:42:54] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:42:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:42:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239019008001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:42:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:42:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789996189000,"timestamp_ms":1789996189000,"timestamp_seconds":1789996189,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4164548"} 
[2026-09-21 18:42:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:42: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-09-21 18: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:42:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:42:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:42:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:42:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:42:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:42:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:42:54] 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-09-21 18:42:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:42:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:42:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239019008001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:42:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:42:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:42:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239019008001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:42:54] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:42:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:42:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:42:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:42:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239019008001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:42:54] local.INFO: DEBUG: GPS processor result {"connection_id":190298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:42:54] local.INFO: GPS data processed {"connection_id":190298,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:42:54] local.INFO: Acknowledgment sent {"connection_id":190298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:43:02] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:02] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:02] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:43:07] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:07] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:43:07] local.INFO: IMEI packet received {"connection_id":188822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":188822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:43:08] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:08] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:08] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:43:08] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 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-09-21 18:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:43:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:43:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:43:08] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:43:08] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:43:12] local.INFO: TCP Data received {"connection_id":190299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:12] local.INFO: Processing buffer {"connection_id":190299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:12] local.INFO: IMEI packet received {"connection_id":190299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":190299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:43:15] local.INFO: TCP Data received {"connection_id":190299,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:15] local.INFO: Processing buffer {"connection_id":190299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:43:15] local.INFO: IMEI packet received {"connection_id":190299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":190299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:43:16] local.INFO: TCP Data received {"connection_id":190299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4169750012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4169750012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:43:16] local.INFO: Processing buffer {"connection_id":190299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4169750012d1b34000720b9c0006000c725..."} 
[2026-09-21 18:43:16] local.INFO: Packet analysis {"connection_id":190299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:43:16] local.INFO: Extracted packet for processing {"connection_id":190299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:43:16] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":37,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:43:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239024384001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:43:16] local.INFO: AVL Record Parsed {"raw_timestamp":1789996210000,"timestamp_ms":1789996210000,"timestamp_seconds":1789996210,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4169750"} 
[2026-09-21 18:43:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:43:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:43:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:43:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:43:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:43:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:43:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:43:16] local.INFO: Teltonika packet parsed successfully {"connection_id":190299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:43:16] local.INFO: Passing IMEI to GPS processor {"connection_id":190299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:43:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":190299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:43:16] 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-09-21 18:43:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:43:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:43:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239024384001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:43:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:43:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:43:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239024384001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:43:16] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:43:16] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:43:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:43:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:43:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239024384001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:43:16] local.INFO: DEBUG: GPS processor result {"connection_id":190299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:43:16] local.INFO: GPS data processed {"connection_id":190299,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:43:16] local.INFO: Acknowledgment sent {"connection_id":190299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:43:41] local.INFO: TCP Data received {"connection_id":188822,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188822,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:41] local.INFO: Processing buffer {"connection_id":188822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:43:41] local.INFO: Packet analysis {"connection_id":188822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:43:41] local.INFO: Extracted packet for processing {"connection_id":188822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 18:43:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:43:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:43:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:43:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:43:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:43:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:43:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":188822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:43:41] local.INFO: GPS data processed {"connection_id":188822,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:43:41] local.INFO: Acknowledgment sent {"connection_id":188822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:43:47] local.INFO: TCP Data received {"connection_id":190299,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c416e958012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190299,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c416e958012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:43:47] local.INFO: Processing buffer {"connection_id":190299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c416e958012d1b34000720b9c0006000c727..."} 
[2026-09-21 18:43:47] local.INFO: Packet analysis {"connection_id":190299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:43:47] local.INFO: Extracted packet for processing {"connection_id":190299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c416"} 
[2026-09-21 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":39,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239029760001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:43:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789996231000,"timestamp_ms":1789996231000,"timestamp_seconds":1789996231,"priority":1,"record_length":96,"hex_timestamp":"000001a0c416e958"} 
[2026-09-21 18:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:43:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:43:47] 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-09-21 18:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239029760001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239029760001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:43:47] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:43:47] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239029760001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":190299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:43:47] local.INFO: GPS data processed {"connection_id":190299,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:43:47] local.INFO: Acknowledgment sent {"connection_id":190299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:44:02] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:02] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:02] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:44:07] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:07] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:44:07] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:44:08] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:44:08] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4155318012d34c14006aa40600006000c30..."} 
[2026-09-21 18:44:08] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:44:08] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c415"} 
[2026-09-21 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458238931456001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996127000,"timestamp_ms":1789996127000,"timestamp_seconds":1789996127,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4155318"} 
[2026-09-21 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-09-21 18:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 18:44:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:44: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-09-21 18:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458238931456001,"66":25451,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458238931456001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458238931456001,"power":25451,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:44:08] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:44:08] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:44:13] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:13] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:13] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:44:13] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:44:17] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:17] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:44:17] local.INFO: IMEI packet received {"connection_id":188823,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":188823,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:44:17] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4173b60012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4173b60012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:44:17] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4173b60012d1b34000720b9c0006000c726..."} 
[2026-09-21 18:44:17] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:44:17] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":38,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239035136001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996252000,"timestamp_ms":1789996252000,"timestamp_seconds":1789996252,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4173b60"} 
[2026-09-21 18:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:44:17] 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-09-21 18:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239035136001,"66":12385,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239035136001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239035136001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877636,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:44:17] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:44:17] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:44:40] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:44:40] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:44:40] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:44:40] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:44: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:44:40] 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-09-21 18:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:44:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:44:40] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:44:40] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:44:48] local.INFO: TCP Data received {"connection_id":188823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4178d68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188823,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4178d68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:44:48] local.INFO: Processing buffer {"connection_id":188823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4178d68012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:44:48] local.INFO: Packet analysis {"connection_id":188823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:44:48] local.INFO: Extracted packet for processing {"connection_id":188823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:44:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239040512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:44:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:44:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789996273000,"timestamp_ms":1789996273000,"timestamp_seconds":1789996273,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4178d68"} 
[2026-09-21 18:44:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:44:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:44:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:44:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:44:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:44:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:44:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:44:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188823,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:44:48] 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-09-21 18:44:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:44:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:44:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239040512001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:44:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:44:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:44:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239040512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:44:48] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:44:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:44:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:44:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:44:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239040512001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":188823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:44:49] local.INFO: GPS data processed {"connection_id":188823,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:44:49] local.INFO: Acknowledgment sent {"connection_id":188823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:45:07] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:07] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:07] local.INFO: IMEI packet received {"connection_id":190300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":190300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:45:12] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:12] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:12] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:45:12] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:12] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:45:12] local.INFO: IMEI packet received {"connection_id":190300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":190300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:45:13] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:13] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:13] local.INFO: Packet analysis {"connection_id":190300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:45:13] local.INFO: Extracted packet for processing {"connection_id":190300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:45: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-09-21 18: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-09-21 18:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":190300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:45:13] local.INFO: GPS data processed {"connection_id":190300,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:45:13] local.INFO: Acknowledgment sent {"connection_id":190300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:45:17] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:17] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:45:17] local.INFO: IMEI packet received {"connection_id":190301,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":190301,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:45:17] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c417df70012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c417df70012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:45:17] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c417df70012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:45:17] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:45:17] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c417"} 
[2026-09-21 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239045888001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996294000,"timestamp_ms":1789996294000,"timestamp_seconds":1789996294,"priority":1,"record_length":96,"hex_timestamp":"000001a0c417df70"} 
[2026-09-21 18:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:45:17] 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-09-21 18:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239045888001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239045888001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:45:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239045888001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877640,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:45:18] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:45:18] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:45:18] local.INFO: TCP Data received {"connection_id":190300,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190300,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:18] local.INFO: Processing buffer {"connection_id":190300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:45:18] local.INFO: Packet analysis {"connection_id":190300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:45:18] local.INFO: Extracted packet for processing {"connection_id":190300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:45:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:45:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":190300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:45:18] local.INFO: GPS data processed {"connection_id":190300,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:45:18] local.INFO: Acknowledgment sent {"connection_id":190300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:45:49] local.INFO: TCP Data received {"connection_id":190301,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4183178012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190301,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4183178012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:45:49] local.INFO: Processing buffer {"connection_id":190301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4183178012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:45:49] local.INFO: Packet analysis {"connection_id":190301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:45:49] local.INFO: Extracted packet for processing {"connection_id":190301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239051264001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996315000,"timestamp_ms":1789996315000,"timestamp_seconds":1789996315,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4183178"} 
[2026-09-21 18:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190301,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:45:49] 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-09-21 18:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239051264001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239051264001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:45:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239051264001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":190301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877642,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:45:49] local.INFO: GPS data processed {"connection_id":190301,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:45:49] local.INFO: Acknowledgment sent {"connection_id":190301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:46:02] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:02] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:02] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:46:07] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:07] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:46:07] local.INFO: IMEI packet received {"connection_id":191579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":191579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:46:09] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:09] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:09] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:46:09] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:46:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:46:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:46:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:46:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:46:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:46: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-09-21 18:46:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:46:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:46:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:46:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:46:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:46:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:46: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-09-21 18:46:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:46:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:46:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:46:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:46:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:46:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:46:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:46:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:46:09] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:46:09] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:46:09] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:46:12] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:12] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:12] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:46:17] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:17] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:46:17] local.INFO: IMEI packet received {"connection_id":191580,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":191580,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:46:17] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4188380012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4188380012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:17] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4188380012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:17] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:46:17] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239056640001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996336000,"timestamp_ms":1789996336000,"timestamp_seconds":1789996336,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4188380"} 
[2026-09-21 18:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:46:17] 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-09-21 18:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239056640001,"66":12439,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239056640001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:46:17] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239056640001,"power":12439,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:46:18] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:46:18] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:46:30] local.INFO: TCP Data received {"connection_id":190303,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:46:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190303,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:46:30] local.INFO: Processing buffer {"connection_id":190303,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:46:30] local.INFO: IMEI packet received {"connection_id":190303,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:46:30] local.INFO: IMEI acknowledgment sent {"connection_id":190303,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:46:41] local.INFO: TCP Data received {"connection_id":191579,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191579,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:41] local.INFO: Processing buffer {"connection_id":191579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:46:41] local.INFO: Packet analysis {"connection_id":191579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:46:41] local.INFO: Extracted packet for processing {"connection_id":191579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:46:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:46:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 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-09-21 18:46:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:46: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-09-21 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-09-21 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-09-21 18:46:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:46:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:46:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:46:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:46:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:46:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:46:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:46:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:46:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:46:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:46:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:46:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:46:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:46:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:46:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:46:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:46:41] local.INFO: DEBUG: GPS processor result {"connection_id":191579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:46:41] local.INFO: GPS data processed {"connection_id":191579,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:46:41] local.INFO: Acknowledgment sent {"connection_id":191579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:46:49] local.INFO: TCP Data received {"connection_id":191580,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c418d588012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191580,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c418d588012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:49] local.INFO: Processing buffer {"connection_id":191580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c418d588012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:46:49] local.INFO: Packet analysis {"connection_id":191580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:46:49] local.INFO: Extracted packet for processing {"connection_id":191580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c418"} 
[2026-09-21 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239062016001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996357000,"timestamp_ms":1789996357000,"timestamp_seconds":1789996357,"priority":1,"record_length":96,"hex_timestamp":"000001a0c418d588"} 
[2026-09-21 18:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 18:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191580,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:46:49] 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-09-21 18:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239062016001,"66":12428,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239062016001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:46:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239062016001,"power":12428,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":191580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:46:49] local.INFO: GPS data processed {"connection_id":191580,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:46:49] local.INFO: Acknowledgment sent {"connection_id":191580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:47:03] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:03] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:03] local.INFO: IMEI packet received {"connection_id":190304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":190304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:47:07] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:07] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:47:07] local.INFO: IMEI packet received {"connection_id":190304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":190304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:47:09] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:09] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:09] local.INFO: Packet analysis {"connection_id":190304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:09] local.INFO: Extracted packet for processing {"connection_id":190304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:47:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:47:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:47:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:47:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:47:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:47: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-09-21 18:47:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:47:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:47:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:47:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:47:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:47:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:47:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:47:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:47:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 18:47:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:47:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:47:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:47:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:47:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:47:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:47:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:47:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:47:09] local.INFO: DEBUG: GPS processor result {"connection_id":190304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:47:09] local.INFO: GPS data processed {"connection_id":190304,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:47:09] local.INFO: Acknowledgment sent {"connection_id":190304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:47:17] local.INFO: TCP Data received {"connection_id":191581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:17] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:17] local.INFO: IMEI packet received {"connection_id":191581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":191581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:47:20] local.INFO: TCP Data received {"connection_id":188825,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:47:20] local.INFO: Processing buffer {"connection_id":188825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:47:20] local.INFO: IMEI packet received {"connection_id":188825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:47:20] local.INFO: IMEI acknowledgment sent {"connection_id":188825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:47:22] local.INFO: TCP Data received {"connection_id":191581,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:22] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:47:22] local.INFO: IMEI packet received {"connection_id":191581,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":191581,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:47:23] local.INFO: TCP Data received {"connection_id":191581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4192790012d1b34000720b9c0006000c720..."} 
[2026-09-21 18:47:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4192790012d1b34000720b9c0006000c720..."} 
[2026-09-21 18:47:23] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4192790012d1b34000720b9c0006000c720..."} 
[2026-09-21 18:47:23] local.INFO: Packet analysis {"connection_id":191581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:23] local.INFO: Extracted packet for processing {"connection_id":191581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":32,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:47:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239067392001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:47:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789996378000,"timestamp_ms":1789996378000,"timestamp_seconds":1789996378,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4192790"} 
[2026-09-21 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-09-21 18:47:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 18:47:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:47:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:47:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:47:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:47:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:47:23] 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-09-21 18:47:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:47:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:47:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239067392001,"66":12461,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:47:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:47:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:47:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239067392001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:47:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:47:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:47:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:47:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:47:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239067392001,"power":12461,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:47:23] local.INFO: DEBUG: GPS processor result {"connection_id":191581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:47:23] local.INFO: GPS data processed {"connection_id":191581,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:47:23] local.INFO: Acknowledgment sent {"connection_id":191581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:47:27] local.INFO: TCP Data received {"connection_id":191581,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4197998012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191581,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4197998012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:47:27] local.INFO: Processing buffer {"connection_id":191581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4197998012d1b34000720b9c0006000c71f..."} 
[2026-09-21 18:47:27] local.INFO: Packet analysis {"connection_id":191581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:27] local.INFO: Extracted packet for processing {"connection_id":191581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":31,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239072768001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789996399000,"timestamp_ms":1789996399000,"timestamp_seconds":1789996399,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4197998"} 
[2026-09-21 18:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 18:47: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-09-21 18:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191581,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:47: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-09-21 18:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239072768001,"66":12298,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239072768001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:47:27] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239072768001,"power":12298,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":191581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:47:27] local.INFO: GPS data processed {"connection_id":191581,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:47:27] local.INFO: Acknowledgment sent {"connection_id":191581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:47:41] local.INFO: TCP Data received {"connection_id":190304,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190304,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:41] local.INFO: Processing buffer {"connection_id":190304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:47:41] local.INFO: Packet analysis {"connection_id":190304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:41] local.INFO: Extracted packet for processing {"connection_id":190304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:47:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:47: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-09-21 18:47:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:47:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:47:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:47:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:47: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-09-21 18:47:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:47:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:47:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:47:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:47:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:47:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:47:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:47:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:47:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:47:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 18:47:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:47:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:47:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:47:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:47:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:47:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:47:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:47:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:47:41] local.INFO: DEBUG: GPS processor result {"connection_id":190304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:47:41] local.INFO: GPS data processed {"connection_id":190304,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:47:41] local.INFO: Acknowledgment sent {"connection_id":190304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:48:02] local.INFO: TCP Data received {"connection_id":188826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:02] local.INFO: Processing buffer {"connection_id":188826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:02] local.INFO: IMEI packet received {"connection_id":188826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":188826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:48:07] local.INFO: TCP Data received {"connection_id":188826,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:07] local.INFO: Processing buffer {"connection_id":188826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:48:07] local.INFO: IMEI packet received {"connection_id":188826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":188826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:48:08] local.INFO: TCP Data received {"connection_id":188826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:08] local.INFO: Processing buffer {"connection_id":188826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:08] local.INFO: Packet analysis {"connection_id":188826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:08] local.INFO: Extracted packet for processing {"connection_id":188826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 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-09-21 18:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:48: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-09-21 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-09-21 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-09-21 18:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:48: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-09-21 18:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":188826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:48:08] local.INFO: GPS data processed {"connection_id":188826,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:48:08] local.INFO: Acknowledgment sent {"connection_id":188826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:48:09] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:09] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:09] local.INFO: IMEI packet received {"connection_id":188827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":188827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:48:12] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:12] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:12] local.INFO: IMEI packet received {"connection_id":188827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:48:17] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:17] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:48:17] local.INFO: IMEI packet received {"connection_id":188827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":188827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:48:18] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419cba0012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419cba0012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:18] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419cba0012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:18] local.INFO: Packet analysis {"connection_id":188827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:18] local.INFO: Extracted packet for processing {"connection_id":188827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239078144001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789996420000,"timestamp_ms":1789996420000,"timestamp_seconds":1789996420,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419cba0"} 
[2026-09-21 18:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":513614591811387591,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272263210302976,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284185680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":29,"raw_value":7638104968020361217,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":-4316916434288698572,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":96,"raw_value":56053102784020480,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3116367968,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832605,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3498171893048213710,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 18:48:18] local.WARNING: Large IO value detected {"io_id":48,"raw_value":2348862840,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:18] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,101,83,24,241,157,16,29,160,39,45,185,96,32,10,66,213,34,131,1,240,151,227,196,4,113,205,223,52,192,31,239,48,2,80,7,38],"length":534,"final_offset":664,"validated_count":37,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 18:48:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":6917747963598995456,"timestamp_seconds":6917747963598995.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:48:18] 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-09-21 18:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239078144001,"66":11993,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239078144001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:48:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239078144001,"power":11993,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":188827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:48:18] local.INFO: GPS data processed {"connection_id":188827,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:48:18] local.INFO: Acknowledgment sent {"connection_id":188827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:48:39] local.INFO: TCP Data received {"connection_id":188826,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188826,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:39] local.INFO: Processing buffer {"connection_id":188826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:48:39] local.INFO: Packet analysis {"connection_id":188826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:39] local.INFO: Extracted packet for processing {"connection_id":188826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 18:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:48:39] 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-09-21 18: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-09-21 18:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:48: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-09-21 18:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":188826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:48:39] local.INFO: GPS data processed {"connection_id":188826,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:48:39] local.INFO: Acknowledgment sent {"connection_id":188826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:48:49] local.INFO: TCP Data received {"connection_id":188827,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41a1da8012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188827,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41a1da8012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:49] local.INFO: Processing buffer {"connection_id":188827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41a1da8012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:48:49] local.INFO: Packet analysis {"connection_id":188827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41a"} 
[2026-09-21 18:48:49] local.INFO: Extracted packet for processing {"connection_id":188827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41a"} 
[2026-09-21 18:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239083520001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996441000,"timestamp_ms":1789996441000,"timestamp_seconds":1789996441,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41a1da8"} 
[2026-09-21 18:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-09-21 18:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2381,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:48:49] 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-09-21 18:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239083520001,"66":12385,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239083520001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:48:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239083520001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":188827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:48:49] local.INFO: GPS data processed {"connection_id":188827,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:48:49] local.INFO: Acknowledgment sent {"connection_id":188827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:49:02] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:02] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:02] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:49:07] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:07] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:49:07] local.INFO: IMEI packet received {"connection_id":191582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:49:08] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:49:08] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c419eae0012d34c14006aa40600003000c30..."} 
[2026-09-21 18:49:08] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:49:08] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c419"} 
[2026-09-21 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":48,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239008512001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996428000,"timestamp_ms":1789996428000,"timestamp_seconds":1789996428,"priority":1,"record_length":96,"hex_timestamp":"000001a0c419eae0"} 
[2026-09-21 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-09-21 18:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 18:49: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-09-21 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-09-21 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-09-21 18:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239008512001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239008512001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239008512001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:49:08] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:49:08] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:49:12] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:12] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:12] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:49:13] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:13] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:13] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:49:13] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:49:17] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:17] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:49:17] local.INFO: IMEI packet received {"connection_id":188829,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":188829,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:49:18] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41da400012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41da400012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:49:18] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41da400012d1b34000720b9c0006000c724..."} 
[2026-09-21 18:49:18] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41d"} 
[2026-09-21 18:49:18] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41d"} 
[2026-09-21 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":36,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239142656001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789996672000,"timestamp_ms":1789996672000,"timestamp_seconds":1789996672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41da400"} 
[2026-09-21 18:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 18:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2530,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:49:18] 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-09-21 18:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239142656001,"66":12374,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239142656001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:49:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239142656001,"power":12374,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:49:18] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:49:18] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:49:39] local.INFO: TCP Data received {"connection_id":191582,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191582,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:49:39] local.INFO: Processing buffer {"connection_id":191582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:49:39] local.INFO: Packet analysis {"connection_id":191582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:49:39] local.INFO: Extracted packet for processing {"connection_id":191582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:49:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:49:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:49:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:49:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":191582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:49:39] local.INFO: GPS data processed {"connection_id":191582,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:49:39] local.INFO: Acknowledgment sent {"connection_id":191582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:49:49] local.INFO: TCP Data received {"connection_id":188829,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41df608012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188829,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41df608012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:49:49] local.INFO: Processing buffer {"connection_id":188829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41df608012d1b34000720b9c0006000c722..."} 
[2026-09-21 18:49:49] local.INFO: Packet analysis {"connection_id":188829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41d"} 
[2026-09-21 18:49:49] local.INFO: Extracted packet for processing {"connection_id":188829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41d"} 
[2026-09-21 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756757504,"raw_latitude":119585216,"longitude_deg":75.6757504,"latitude_deg":11.9585216,"altitude":96,"angle":199,"satellites":34,"speed":0,"hex_longitude":"2d1b3400","hex_latitude":"0720b9c0","is_valid_coordinates":true} 
[2026-09-21 18:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239148032001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22550339240591360,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960191768426823680,"note":"Value kept but may cause issues"} 
[2026-09-21 18:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996693000,"timestamp_ms":1789996693000,"timestamp_seconds":1789996693,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41df608"} 
[2026-09-21 18:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188829,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:49:49] 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-09-21 18:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239148032001,"66":12341,"101":206,"83":41984,"24":0,"16":22550339240591360,"45":1960191768426823680},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 18:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239148032001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:49:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 18:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22550339240591360,"km_value":22550339240591.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960191768426823680,"description":"Unknown IO ID 45"} 
[2026-09-21 18:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239148032001,"power":12341,"unknown_101":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1960191768426823680}} 
[2026-09-21 18:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":188829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:49:49] local.INFO: GPS data processed {"connection_id":188829,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:49:49] local.INFO: Acknowledgment sent {"connection_id":188829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:50:02] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:02] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:02] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:50:07] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:07] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:50:07] local.INFO: IMEI packet received {"connection_id":191583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":191583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:50:09] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:09] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:09] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:50:09] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:50:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:50:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:50:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:50:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:50:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:50:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:50:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:50: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-09-21 18: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-09-21 18: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-09-21 18:50:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:50:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:50:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:50:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:50:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:50:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:50:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:50:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:50:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:50:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:50:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:50:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:50:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:50:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:50:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:50:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:50:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:50:09] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:50:09] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:50:09] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:50:12] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:12] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:12] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:50:13] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:50:13] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:13] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:50:14] local.INFO: TCP Data received {"connection_id":191584,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191584,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:14] local.INFO: Processing buffer {"connection_id":191584,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:50:14] local.INFO: IMEI packet received {"connection_id":191584,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:50:14] local.INFO: IMEI acknowledgment sent {"connection_id":191584,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:50:43] local.INFO: TCP Data received {"connection_id":191583,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191583,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:43] local.INFO: Processing buffer {"connection_id":191583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:50:43] local.INFO: Packet analysis {"connection_id":191583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:50:43] local.INFO: Extracted packet for processing {"connection_id":191583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:50: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-09-21 18:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":191583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:50:43] local.INFO: GPS data processed {"connection_id":191583,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:50:43] local.INFO: Acknowledgment sent {"connection_id":191583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:51:03] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:03] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:03] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:51:03] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:51:07] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:07] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:51:07] local.INFO: IMEI packet received {"connection_id":190306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":190306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:51:08] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:08] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:08] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:51:08] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:51:08] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:51:08] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:51:40] local.INFO: TCP Data received {"connection_id":190306,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190306,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:40] local.INFO: Processing buffer {"connection_id":190306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:51:40] local.INFO: Packet analysis {"connection_id":190306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:51:40] local.INFO: Extracted packet for processing {"connection_id":190306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":190306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:51:40] local.INFO: GPS data processed {"connection_id":190306,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:51:40] local.INFO: Acknowledgment sent {"connection_id":190306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:52:02] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:02] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:02] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:52:07] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:07] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:52:07] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:52:08] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:08] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:08] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:52:08] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 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-09-21 18:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 18:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:52: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-09-21 18:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:52:08] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:52:08] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:52:35] local.INFO: TCP Data received {"connection_id":191586,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:52:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:52:35] local.INFO: Processing buffer {"connection_id":191586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:52:35] local.INFO: IMEI packet received {"connection_id":191586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:52:35] local.INFO: IMEI acknowledgment sent {"connection_id":191586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:52:40] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:40] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:52:40] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:52:40] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:52: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:52: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-09-21 18:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:52:40] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:52:40] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:53:02] local.INFO: TCP Data received {"connection_id":191587,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:02] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:02] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:53:07] local.INFO: TCP Data received {"connection_id":191587,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:07] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:53:07] local.INFO: IMEI packet received {"connection_id":191587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":191587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:53:08] local.INFO: TCP Data received {"connection_id":191587,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:08] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:08] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:53:08] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 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-09-21 18:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 18:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:53:08] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:53:08] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:53:16] local.INFO: TCP Data received {"connection_id":190307,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190307,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:53:16] local.INFO: Processing buffer {"connection_id":190307,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:53:16] local.INFO: IMEI packet received {"connection_id":190307,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":190307,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:53:40] local.INFO: TCP Data received {"connection_id":191587,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191587,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:40] local.INFO: Processing buffer {"connection_id":191587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:53:40] local.INFO: Packet analysis {"connection_id":191587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:53:40] local.INFO: Extracted packet for processing {"connection_id":191587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 18:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:53: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:53: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-09-21 18:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":191587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:53:40] local.INFO: GPS data processed {"connection_id":191587,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:53:40] local.INFO: Acknowledgment sent {"connection_id":191587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:54:02] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:02] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:02] local.INFO: IMEI packet received {"connection_id":188831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":188831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:54:07] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:07] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:54:07] local.INFO: IMEI packet received {"connection_id":188831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":188831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:54:08] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:54:08] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c41e82a8012d34c14006aa40600007000c31..."} 
[2026-09-21 18:54:08] local.INFO: Packet analysis {"connection_id":188831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:54:08] local.INFO: Extracted packet for processing {"connection_id":188831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c41e"} 
[2026-09-21 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":49,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239085568001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789996729000,"timestamp_ms":1789996729000,"timestamp_seconds":1789996729,"priority":1,"record_length":96,"hex_timestamp":"000001a0c41e82a8"} 
[2026-09-21 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-09-21 18:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 18:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239085568001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239085568001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239085568001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":188831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:54:08] local.INFO: GPS data processed {"connection_id":188831,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:54:08] local.INFO: Acknowledgment sent {"connection_id":188831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:54:41] local.INFO: TCP Data received {"connection_id":188831,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188831,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:54:41] local.INFO: Processing buffer {"connection_id":188831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:54:41] local.INFO: Packet analysis {"connection_id":188831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:54:41] local.INFO: Extracted packet for processing {"connection_id":188831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:54:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:54:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:54:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:54: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-09-21 18:54:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:54:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:54:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:54:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:54: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-09-21 18:54:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:54:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:54:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:54:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:54:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:54:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:54: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-09-21 18:54:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:54:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:54:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:54:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:54:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:54:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:54:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:54:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:54:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:54:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:54:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:54:41] local.INFO: DEBUG: GPS processor result {"connection_id":188831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:54:41] local.INFO: GPS data processed {"connection_id":188831,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:54:41] local.INFO: Acknowledgment sent {"connection_id":188831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:55:02] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:02] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:02] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:55:07] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:07] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:55:07] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:55:09] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:09] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:09] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:55:09] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:55:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:55:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 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-09-21 18:55:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:55: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-09-21 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-09-21 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-09-21 18:55:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:55:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:55:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:55:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:55: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-09-21 18:55:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:55:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:55:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:55:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:55:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:55:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:55:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:55:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:55:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:55:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:55:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:55:09] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:55:09] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:55:09] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:55:17] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:55:17] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:55:17] local.INFO: IMEI packet received {"connection_id":188832,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188832,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:55:18] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4220130012d19cc4007201b30002c008c27..."} 
[2026-09-21 18:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4220130012d19cc4007201b30002c008c27..."} 
[2026-09-21 18:55:18] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4220130012d19cc4007201b30002c008c27..."} 
[2026-09-21 18:55:18] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:55:18] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544624,"longitude_deg":75.6665408,"latitude_deg":11.9544624,"altitude":44,"angle":140,"satellites":39,"speed":9,"hex_longitude":"2d19cc40","hex_latitude":"07201b30","is_valid_coordinates":true} 
[2026-09-21 18:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239220992001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556193281015808,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858860776800643072,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789996958000,"timestamp_ms":1789996958000,"timestamp_seconds":1789996958,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4220130"} 
[2026-09-21 18:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3290538864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249924099994042456,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4451808506549118464,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":198,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":221,"raw_value":2147950631,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":138,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":33,"raw_value":8680689574978519047,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":26,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:18] local.INFO: IO Element Parsed {"io_data_count":46,"io_data_keys":[0,106,83,24,241,157,16,34,160,249,45,192,28,39,10,66,245,29,222,128,1,240,7,227,196,32,4,113,205,17,198,221,184,36,239,52,101,2,80,55,20,138,33,26,120,93],"length":626,"final_offset":756,"validated_count":46,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 18:55:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170717923614916608,"timestamp_seconds":3170717923614916.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:55:18] 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-09-21 18:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239220992001,"66":13330,"106":206,"83":41984,"24":9,"16":22556193281015808,"45":1858860776800643072},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239220992001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:55:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556193281015808,"km_value":22556193281015.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858860776800643072,"description":"Unknown IO ID 45"} 
[2026-09-21 18:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239220992001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1858860776800643072}} 
[2026-09-21 18:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:55:18] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:55:18] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:55:40] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:40] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:55:40] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:55:40] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:55: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:55:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:55:40] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:55:40] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:55:49] local.INFO: TCP Data received {"connection_id":188832,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4220518012d19cd0007201a88002b007f27..."} 
[2026-09-21 18:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188832,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4220518012d19cd0007201a88002b007f27..."} 
[2026-09-21 18:55:49] local.INFO: Processing buffer {"connection_id":188832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4220518012d19cd0007201a88002b007f27..."} 
[2026-09-21 18:55:49] local.INFO: Packet analysis {"connection_id":188832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:55:49] local.INFO: Extracted packet for processing {"connection_id":188832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756665600,"raw_latitude":119544456,"longitude_deg":75.66656,"latitude_deg":11.9544456,"altitude":43,"angle":127,"satellites":39,"speed":9,"hex_longitude":"2d19cd00","hex_latitude":"07201a88","is_valid_coordinates":true} 
[2026-09-21 18:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239221248001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556201870950400,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858931145544773632,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789996959000,"timestamp_ms":1789996959000,"timestamp_seconds":1789996959,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4220518"} 
[2026-09-21 18:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3053453312,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3290547864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249918877313809864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":32,"raw_value":3249347367387276032,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":211,"raw_value":2147950630,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-6669829754915291129,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":20,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.WARNING: Large IO value detected {"io_id":93,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 18:55:49] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,106,83,24,241,157,16,34,160,253,45,27,44,39,10,66,249,192,28,245,1,240,40,227,196,32,4,113,205,17,218,211,36,239,52,101,2,80,7,50,84,33,20,120,93],"length":626,"final_offset":756,"validated_count":45,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 18:55:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170688236801032192,"timestamp_seconds":3170688236801032.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188832,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:55:49] 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-09-21 18:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239221248001,"66":13319,"106":206,"83":41984,"24":9,"16":22556201870950400,"45":1858931145544773632},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239221248001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:55:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556201870950400,"km_value":22556201870950.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858931145544773632,"description":"Unknown IO ID 45"} 
[2026-09-21 18:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239221248001,"power":13319,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1858931145544773632}} 
[2026-09-21 18:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":188832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:55:49] local.INFO: GPS data processed {"connection_id":188832,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:55:49] local.INFO: Acknowledgment sent {"connection_id":188832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:56:02] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:02] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:02] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:56:07] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:07] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:56:07] local.INFO: IMEI packet received {"connection_id":188834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":188834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:56:09] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:09] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:09] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:56:09] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:56: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-09-21 18:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:56:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:56:09] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:56:09] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:56:12] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:12] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:12] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:56:17] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:17] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:56:17] local.INFO: IMEI packet received {"connection_id":191590,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":191590,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:56:17] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4220ce8012d19ce0007201960002b009827..."} 
[2026-09-21 18:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4220ce8012d19ce0007201960002b009827..."} 
[2026-09-21 18:56:17] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4220ce8012d19ce0007201960002b009827..."} 
[2026-09-21 18:56:17] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:56:17] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544160,"longitude_deg":75.6665856,"latitude_deg":11.954416,"altitude":43,"angle":152,"satellites":39,"speed":5,"hex_longitude":"2d19ce00","hex_latitude":"07201960","is_valid_coordinates":true} 
[2026-09-21 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239221504001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556223345786880,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859142251777263616,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789996961000,"timestamp_ms":1789996961000,"timestamp_seconds":1789996961,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4220ce8"} 
[2026-09-21 18:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":7,"data_length":795,"current_offset":136} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3087007744,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3290552864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":1,"raw_value":19422872971788852,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2862037777959363584,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":210,"raw_value":2147950628,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":84,"raw_value":57834745426236324,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-4136554964520697849,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:17] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,106,83,24,241,157,16,34,160,1,45,64,27,44,39,10,66,253,249,192,240,40,227,196,32,4,113,205,7,222,210,37,239,52,2,80,50,17,84,33],"length":527,"final_offset":657,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 18:56:17] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098616349111943168,"timestamp_seconds":3098616349111943.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:56:17] 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-09-21 18:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239221504001,"66":13330,"106":206,"83":41984,"24":5,"16":22556223345786880,"45":1859142251777263616},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239221504001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:56:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556223345786880,"km_value":22556223345786.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859142251777263616,"description":"Unknown IO ID 45"} 
[2026-09-21 18:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239221504001,"power":13330,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1859142251777263616}} 
[2026-09-21 18:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:56:17] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:56:17] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:56:41] local.INFO: TCP Data received {"connection_id":188834,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188834,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:41] local.INFO: Processing buffer {"connection_id":188834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:56:41] local.INFO: Packet analysis {"connection_id":188834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:56:41] local.INFO: Extracted packet for processing {"connection_id":188834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:56:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:56:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:56:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:56:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:56:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:56:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:56: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-09-21 18: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-09-21 18:56:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:56:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:56:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:56:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:56:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:56:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:56:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:56:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:56:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:56:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:56:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:56:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:56:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:56:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:56:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:56:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:56:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:56:41] local.INFO: DEBUG: GPS processor result {"connection_id":188834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:56:41] local.INFO: GPS data processed {"connection_id":188834,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:56:41] local.INFO: Acknowledgment sent {"connection_id":188834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:56:48] local.INFO: TCP Data received {"connection_id":191590,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4225ef0012d19ce00072018e8002c009825..."} 
[2026-09-21 18:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191590,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4225ef0012d19ce00072018e8002c009825..."} 
[2026-09-21 18:56:48] local.INFO: Processing buffer {"connection_id":191590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4225ef0012d19ce00072018e8002c009825..."} 
[2026-09-21 18:56:48] local.INFO: Packet analysis {"connection_id":191590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:56:48] local.INFO: Extracted packet for processing {"connection_id":191590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239222016001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753898496,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789996982000,"timestamp_ms":1789996982000,"timestamp_seconds":1789996982,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4225ef0"} 
[2026-09-21 18:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:56:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":18,"data_length":795,"current_offset":136} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":720580342435610737,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3120562176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3290553864,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249872148069623736,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2738188788205036544,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":7,"raw_value":57819373738283940,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Invalid LAC detected {"io_id":204,"raw_value":466973,"corrected_to":0} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":17,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":33,"raw_value":-2729180080968073209,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":120,"raw_value":7278043856459798528,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.WARNING: Large IO value detected {"io_id":92,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-09-21 18:56:48] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,34,160,5,45,26,43,39,10,66,1,64,27,44,253,240,18,227,196,32,4,113,205,7,245,204,88,239,52,2,80,49,17,33,120,92],"length":626,"final_offset":756,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0},{"io_id":204,"original":466973,"validated":0}]} 
[2026-09-21 18:56:48] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3098643836902375424,"timestamp_seconds":3098643836902375.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 18:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191590,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:56:48] 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-09-21 18:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239222016001,"66":13254,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753898496},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239222016001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:56:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:56:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753898496,"description":"Unknown IO ID 45"} 
[2026-09-21 18:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239222016001,"power":13254,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753898496}} 
[2026-09-21 18:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":191590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:56:49] local.INFO: GPS data processed {"connection_id":191590,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:56:49] local.INFO: Acknowledgment sent {"connection_id":191590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:57:02] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:02] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:02] local.INFO: IMEI packet received {"connection_id":190309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":190309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:57:07] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:07] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:57:07] local.INFO: IMEI packet received {"connection_id":190309,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":190309,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:57:08] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:08] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:08] local.INFO: Packet analysis {"connection_id":190309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:08] local.INFO: Extracted packet for processing {"connection_id":190309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 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-09-21 18:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:57: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-09-21 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-09-21 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-09-21 18:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18: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-09-21 18:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":190309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:57:08] local.INFO: GPS data processed {"connection_id":190309,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:57:08] local.INFO: Acknowledgment sent {"connection_id":190309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:57:12] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:12] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:12] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:57:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:57:17] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:57:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c422b0f8012d19ce00072018e8002c009825..."} 
[2026-09-21 18:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c422b0f8012d19ce00072018e8002c009825..."} 
[2026-09-21 18:57:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c422b0f8012d19ce00072018e8002c009825..."} 
[2026-09-21 18:57:17] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:57:17] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c422"} 
[2026-09-21 18:57:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239227392001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997003000,"timestamp_ms":1789997003000,"timestamp_seconds":1789997003,"priority":1,"record_length":96,"hex_timestamp":"000001a0c422b0f8"} 
[2026-09-21 18:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23808,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-09-21 18:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2235,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:57:17] 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-09-21 18:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239227392001,"66":13167,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239227392001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:57:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:57:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239227392001,"power":13167,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:57:17] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:57:17] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:57:40] local.INFO: TCP Data received {"connection_id":190309,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190309,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:40] local.INFO: Processing buffer {"connection_id":190309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:57:40] local.INFO: Packet analysis {"connection_id":190309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:40] local.INFO: Extracted packet for processing {"connection_id":190309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18: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-09-21 18:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190309,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 18:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":190309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:57:40] local.INFO: GPS data processed {"connection_id":190309,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:57:40] local.INFO: Acknowledgment sent {"connection_id":190309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:57:48] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4230300012d19ce00072018e8002c009827..."} 
[2026-09-21 18:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4230300012d19ce00072018e8002c009827..."} 
[2026-09-21 18:57:48] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4230300012d19ce00072018e8002c009827..."} 
[2026-09-21 18:57:48] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:48] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239232768001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789997024000,"timestamp_ms":1789997024000,"timestamp_seconds":1789997024,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4230300"} 
[2026-09-21 18:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:57:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-09-21 18:57:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:57:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:57:48] 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-09-21 18:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239232768001,"66":13156,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239232768001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:57:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:57:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:57:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239232768001,"power":13156,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877680,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:57:49] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:57:49] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:58:02] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:02] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:02] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:58:07] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:07] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:58:07] local.INFO: IMEI packet received {"connection_id":190310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":190310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:58:08] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:08] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:08] local.INFO: Packet analysis {"connection_id":190310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:08] local.INFO: Extracted packet for processing {"connection_id":190310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 18:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 18:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 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-09-21 18:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 18:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:58: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-09-21 18:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":190310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:58:08] local.INFO: GPS data processed {"connection_id":190310,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:58:08] local.INFO: Acknowledgment sent {"connection_id":190310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:58:12] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:12] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:12] local.INFO: IMEI packet received {"connection_id":190311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":190311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:58:13] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:13] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:13] local.INFO: IMEI packet received {"connection_id":190311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:58:13] local.INFO: IMEI acknowledgment sent {"connection_id":190311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:58:17] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:17] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:58:17] local.INFO: IMEI packet received {"connection_id":190311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":190311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:58:17] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4235508012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4235508012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:17] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4235508012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:17] local.INFO: Packet analysis {"connection_id":190311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:17] local.INFO: Extracted packet for processing {"connection_id":190311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239238144001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997045000,"timestamp_ms":1789997045000,"timestamp_seconds":1789997045,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4235508"} 
[2026-09-21 18:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:58:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-09-21 18:58:17] 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-09-21 18:58:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:58:17] 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-09-21 18:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239238144001,"66":13124,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239238144001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:58:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239238144001,"power":13124,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":190311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:58:18] local.INFO: GPS data processed {"connection_id":190311,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:58:18] local.INFO: Acknowledgment sent {"connection_id":190311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:58:30] local.INFO: TCP Data received {"connection_id":191591,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:58:30] local.INFO: Processing buffer {"connection_id":191591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:58:30] local.INFO: IMEI packet received {"connection_id":191591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":191591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:58:39] local.INFO: TCP Data received {"connection_id":190310,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190310,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:39] local.INFO: Processing buffer {"connection_id":190310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:58:39] local.INFO: Packet analysis {"connection_id":190310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:39] local.INFO: Extracted packet for processing {"connection_id":190310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18: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-09-21 18:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:58: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-09-21 18: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-09-21 18:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:58: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-09-21 18:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":190310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:58:39] local.INFO: GPS data processed {"connection_id":190310,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:58:39] local.INFO: Acknowledgment sent {"connection_id":190310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:58:48] local.INFO: TCP Data received {"connection_id":190311,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c423a710012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190311,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c423a710012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:48] local.INFO: Processing buffer {"connection_id":190311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c423a710012d19ce00072018e8002c009825..."} 
[2026-09-21 18:58:48] local.INFO: Packet analysis {"connection_id":190311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:48] local.INFO: Extracted packet for processing {"connection_id":190311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239243520001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:58:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789997066000,"timestamp_ms":1789997066000,"timestamp_seconds":1789997066,"priority":1,"record_length":96,"hex_timestamp":"000001a0c423a710"} 
[2026-09-21 18:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:58:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:58:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-09-21 18:58:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1065,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:58:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:58:48] 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-09-21 18:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239243520001,"66":13080,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239243520001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:58:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:58:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239243520001,"power":13080,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":190311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:58:49] local.INFO: GPS data processed {"connection_id":190311,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:58:49] local.INFO: Acknowledgment sent {"connection_id":190311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:59:02] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:02] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:02] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 18:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:59:07] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:07] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 18:59:07] local.INFO: IMEI packet received {"connection_id":191592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 18:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":191592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:59:09] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:59:09] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4231a70012d34c14006aa40600007000c2e..."} 
[2026-09-21 18:59:09] local.INFO: Packet analysis {"connection_id":191592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:59:09] local.INFO: Extracted packet for processing {"connection_id":191592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239162624001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18: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-09-21 18:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997030000,"timestamp_ms":1789997030000,"timestamp_seconds":1789997030,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4231a70"} 
[2026-09-21 18:59:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:59:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 18:59: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-09-21 18:59:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:59:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:59: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-09-21 18:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239162624001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239162624001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239162624001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":191592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:59:09] local.INFO: GPS data processed {"connection_id":191592,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:59:09] local.INFO: Acknowledgment sent {"connection_id":191592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:59:15] local.INFO: TCP Data received {"connection_id":190312,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190312,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:59:15] local.INFO: Processing buffer {"connection_id":190312,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 18:59:15] local.INFO: IMEI packet received {"connection_id":190312,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 18:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":190312,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:59:16] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:16] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:16] local.INFO: IMEI packet received {"connection_id":190313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 18:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":190313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 18:59:17] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:17] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:17] local.INFO: IMEI packet received {"connection_id":190313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":190313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:59:22] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:22] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 18:59:22] local.INFO: IMEI packet received {"connection_id":190313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 18:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":190313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 18:59:23] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c423f918012d19ce00072018e8002c009824..."} 
[2026-09-21 18:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c423f918012d19ce00072018e8002c009824..."} 
[2026-09-21 18:59:23] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c423f918012d19ce00072018e8002c009824..."} 
[2026-09-21 18:59:23] local.INFO: Packet analysis {"connection_id":190313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:59:23] local.INFO: Extracted packet for processing {"connection_id":190313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c423"} 
[2026-09-21 18:59:23] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:59:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239248896001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:59:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789997087000,"timestamp_ms":1789997087000,"timestamp_seconds":1789997087,"priority":1,"record_length":96,"hex_timestamp":"000001a0c423f918"} 
[2026-09-21 18:59:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:59:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:59:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-09-21 18:59:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":669,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:59:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:59:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:59:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:59:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:59:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:59:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:59:23] 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-09-21 18:59:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:59:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:59:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239248896001,"66":13048,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:59:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:59:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:59:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239248896001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:59:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:59:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:59:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:59:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:59:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239248896001,"power":13048,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:59:23] local.INFO: DEBUG: GPS processor result {"connection_id":190313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:59:23] local.INFO: GPS data processed {"connection_id":190313,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:59:23] local.INFO: Acknowledgment sent {"connection_id":190313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:59:41] local.INFO: TCP Data received {"connection_id":191592,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 18:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191592,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 18:59:41] local.INFO: Processing buffer {"connection_id":191592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 18:59:41] local.INFO: Packet analysis {"connection_id":191592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 18:59:41] local.INFO: Extracted packet for processing {"connection_id":191592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59: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-09-21 18:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 18:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 18:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 18:59: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-09-21 18:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 18:59: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-09-21 18:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 18:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 18:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 18:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 18:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 18:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 18:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 18:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":191592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:59:41] local.INFO: GPS data processed {"connection_id":191592,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:59:41] local.INFO: Acknowledgment sent {"connection_id":191592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 18:59:54] local.INFO: TCP Data received {"connection_id":190313,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4244b20012d19ce00072018e8002c009825..."} 
[2026-09-21 18:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190313,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4244b20012d19ce00072018e8002c009825..."} 
[2026-09-21 18:59:54] local.INFO: Processing buffer {"connection_id":190313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4244b20012d19ce00072018e8002c009825..."} 
[2026-09-21 18:59:54] local.INFO: Packet analysis {"connection_id":190313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c424"} 
[2026-09-21 18:59:54] local.INFO: Extracted packet for processing {"connection_id":190313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c424"} 
[2026-09-21 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 18:59:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239254272001,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 18:59:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 18:59:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789997108000,"timestamp_ms":1789997108000,"timestamp_seconds":1789997108,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4244b20"} 
[2026-09-21 18:59:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 18:59:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 18:59:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-09-21 18:59:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 18:59:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 18:59:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 18:59:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 18:59:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 18:59:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:59:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 18:59:54] 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-09-21 18:59:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 18:59:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 18:59:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239254272001,"66":13004,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 18:59:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 18:59:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 18:59:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239254272001,"description":"Unknown IO ID 0"} 
[2026-09-21 18:59:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 18:59:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 18:59:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 18:59:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 18:59:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239254272001,"power":13004,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 18:59:54] local.INFO: DEBUG: GPS processor result {"connection_id":190313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 18:59:54] local.INFO: GPS data processed {"connection_id":190313,"processed":1,"errors":0,"total":1} 
[2026-09-21 18:59:54] local.INFO: Acknowledgment sent {"connection_id":190313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:00:02] local.INFO: TCP Data received {"connection_id":188836,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:02] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:02] local.INFO: IMEI packet received {"connection_id":188836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":188836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:00:07] local.INFO: TCP Data received {"connection_id":188836,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:07] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:00:07] local.INFO: IMEI packet received {"connection_id":188836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":188836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:00:08] local.INFO: TCP Data received {"connection_id":188836,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:08] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:08] local.INFO: Packet analysis {"connection_id":188836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:00:08] local.INFO: Extracted packet for processing {"connection_id":188836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 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-09-21 19:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19: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-09-21 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-09-21 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-09-21 19:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:00: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-09-21 19:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":188836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:00:08] local.INFO: GPS data processed {"connection_id":188836,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:00:08] local.INFO: Acknowledgment sent {"connection_id":188836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:00:12] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:12] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:12] local.INFO: IMEI packet received {"connection_id":188999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":188999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:00:17] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:17] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:00:17] local.INFO: IMEI packet received {"connection_id":188999,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":188999,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:00:18] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4249d28012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4249d28012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:00:18] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4249d28012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:00:18] local.INFO: Packet analysis {"connection_id":188999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c424"} 
[2026-09-21 19:00:18] local.INFO: Extracted packet for processing {"connection_id":188999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c424"} 
[2026-09-21 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239259648001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789997129000,"timestamp_ms":1789997129000,"timestamp_seconds":1789997129,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4249d28"} 
[2026-09-21 19:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-09-21 19:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:00:18] 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-09-21 19:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239259648001,"66":12993,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239259648001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:00:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239259648001,"power":12993,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":188999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:00:18] local.INFO: GPS data processed {"connection_id":188999,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:00:18] local.INFO: Acknowledgment sent {"connection_id":188999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:00:40] local.INFO: TCP Data received {"connection_id":188836,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188836,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:40] local.INFO: Processing buffer {"connection_id":188836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:00:40] local.INFO: Packet analysis {"connection_id":188836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:00:40] local.INFO: Extracted packet for processing {"connection_id":188836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:00:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:00:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:00:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:00:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:00:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:00:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:00: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:00:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:00:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:00:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:00:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:00:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:00:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:00:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:00:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:00:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:00:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:00:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:00:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:00:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:00:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:00:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:00:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:00:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:00:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:00:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:00:40] local.INFO: DEBUG: GPS processor result {"connection_id":188836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:00:40] local.INFO: GPS data processed {"connection_id":188836,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:00:40] local.INFO: Acknowledgment sent {"connection_id":188836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:00:49] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4282380012d19ce00072018e8002c009827..."} 
[2026-09-21 19:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4282380012d19ce00072018e8002c009827..."} 
[2026-09-21 19:00:49] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4282380012d19ce00072018e8002c009827..."} 
[2026-09-21 19:00:49] local.INFO: Packet analysis {"connection_id":188999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:00:49] local.INFO: Extracted packet for processing {"connection_id":188999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239318784001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997360000,"timestamp_ms":1789997360000,"timestamp_seconds":1789997360,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4282380"} 
[2026-09-21 19:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-09-21 19:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188999,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:00:49] 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-09-21 19:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239318784001,"66":12722,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239318784001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:00:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239318784001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":188999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:00:49] local.INFO: GPS data processed {"connection_id":188999,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:00:49] local.INFO: Acknowledgment sent {"connection_id":188999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:01:02] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:02] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:02] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:01:08] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:08] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:01:08] local.INFO: IMEI packet received {"connection_id":191594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:01:08] local.INFO: IMEI acknowledgment sent {"connection_id":191594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:01:09] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:09] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:09] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:01:09] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:01:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:01:09] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:01:09] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:01:12] local.INFO: TCP Data received {"connection_id":191595,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:12] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:12] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:01:17] local.INFO: TCP Data received {"connection_id":191595,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:17] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:01:17] local.INFO: IMEI packet received {"connection_id":191595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":191595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:01:18] local.INFO: TCP Data received {"connection_id":191595,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4287588012d19ce00072018e8002c009828..."} 
[2026-09-21 19:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4287588012d19ce00072018e8002c009828..."} 
[2026-09-21 19:01:18] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4287588012d19ce00072018e8002c009828..."} 
[2026-09-21 19:01:18] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:01:18] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239324160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789997381000,"timestamp_ms":1789997381000,"timestamp_seconds":1789997381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4287588"} 
[2026-09-21 19:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:01:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 19:01:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:01:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:01:18] 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-09-21 19:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239324160001,"66":12765,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239324160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:01:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:01:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:01:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239324160001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:01:18] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:01:18] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:01:40] local.INFO: TCP Data received {"connection_id":191594,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191594,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:40] local.INFO: Processing buffer {"connection_id":191594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:01:40] local.INFO: Packet analysis {"connection_id":191594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:01:40] local.INFO: Extracted packet for processing {"connection_id":191594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:01:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:01:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:01:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:01:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:01:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:01:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:01:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:01:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:01:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:01:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:01:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:01:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:01:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:01:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:01:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:01:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:01:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:01:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:01:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:01:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:01:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:01:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:01:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:01:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:01:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:01:40] local.INFO: DEBUG: GPS processor result {"connection_id":191594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:01:40] local.INFO: GPS data processed {"connection_id":191594,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:01:40] local.INFO: Acknowledgment sent {"connection_id":191594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:01:49] local.INFO: TCP Data received {"connection_id":191595,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c428c790012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191595,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c428c790012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:01:49] local.INFO: Processing buffer {"connection_id":191595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c428c790012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:01:49] local.INFO: Packet analysis {"connection_id":191595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:01:49] local.INFO: Extracted packet for processing {"connection_id":191595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c428"} 
[2026-09-21 19:01:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:01:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239329536001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:01:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997402000,"timestamp_ms":1789997402000,"timestamp_seconds":1789997402,"priority":1,"record_length":96,"hex_timestamp":"000001a0c428c790"} 
[2026-09-21 19:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:01:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:01:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 19:01:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:01:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:01:49] 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-09-21 19:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239329536001,"66":12765,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239329536001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:01:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:01:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:01:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:01:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239329536001,"power":12765,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":191595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:01:49] local.INFO: GPS data processed {"connection_id":191595,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:01:49] local.INFO: Acknowledgment sent {"connection_id":191595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:02:02] local.INFO: TCP Data received {"connection_id":190315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:02] local.INFO: Processing buffer {"connection_id":190315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:02] local.INFO: IMEI packet received {"connection_id":190315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":190315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:02:07] local.INFO: TCP Data received {"connection_id":190315,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:07] local.INFO: Processing buffer {"connection_id":190315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:02:07] local.INFO: IMEI packet received {"connection_id":190315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":190315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:02:09] local.INFO: TCP Data received {"connection_id":190315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:09] local.INFO: Processing buffer {"connection_id":190315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:09] local.INFO: Packet analysis {"connection_id":190315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:02:09] local.INFO: Extracted packet for processing {"connection_id":190315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:02:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:02:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:02:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:02:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:02:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:02: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-09-21 19:02:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:02:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:02:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:02:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:02:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:02:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:02:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:02:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:02:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:02:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:02:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:02:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:02:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:02:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:02:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:02:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:02:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:02:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:02:09] local.INFO: DEBUG: GPS processor result {"connection_id":190315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:02:09] local.INFO: GPS data processed {"connection_id":190315,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:02:09] local.INFO: Acknowledgment sent {"connection_id":190315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:02:12] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:12] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:12] local.INFO: IMEI packet received {"connection_id":188837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":188837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:02:17] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:17] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:02:17] local.INFO: IMEI packet received {"connection_id":188837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":188837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:02:18] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4291998012d19ce00072018e8002c00982b..."} 
[2026-09-21 19:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4291998012d19ce00072018e8002c00982b..."} 
[2026-09-21 19:02:18] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4291998012d19ce00072018e8002c00982b..."} 
[2026-09-21 19:02:18] local.INFO: Packet analysis {"connection_id":188837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:02:18] local.INFO: Extracted packet for processing {"connection_id":188837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":43,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239334912001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789997423000,"timestamp_ms":1789997423000,"timestamp_seconds":1789997423,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4291998"} 
[2026-09-21 19:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-09-21 19:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:02:18] 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-09-21 19:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239334912001,"66":12722,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239334912001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:02:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239334912001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":188837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:02:18] local.INFO: GPS data processed {"connection_id":188837,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:02:18] local.INFO: Acknowledgment sent {"connection_id":188837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:02:41] local.INFO: TCP Data received {"connection_id":190315,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190315,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:41] local.INFO: Processing buffer {"connection_id":190315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:02:41] local.INFO: Packet analysis {"connection_id":190315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:02:41] local.INFO: Extracted packet for processing {"connection_id":190315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:02:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:02:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:02:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:02:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:02:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:02: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-09-21 19:02:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:02:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:02:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:02:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:02:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:02:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:02:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:02:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:02:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:02:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:02:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:02:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:02:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:02:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:02:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:02:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:02:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:02:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:02:41] local.INFO: DEBUG: GPS processor result {"connection_id":190315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:02:41] local.INFO: GPS data processed {"connection_id":190315,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:02:41] local.INFO: Acknowledgment sent {"connection_id":190315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:02:49] local.INFO: TCP Data received {"connection_id":188837,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4296ba0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188837,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4296ba0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:02:49] local.INFO: Processing buffer {"connection_id":188837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4296ba0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:02:49] local.INFO: Packet analysis {"connection_id":188837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:02:49] local.INFO: Extracted packet for processing {"connection_id":188837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239340288001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997444000,"timestamp_ms":1789997444000,"timestamp_seconds":1789997444,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4296ba0"} 
[2026-09-21 19:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 19:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:02:49] 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-09-21 19:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239340288001,"66":12722,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239340288001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:02:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239340288001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":188837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877700,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:02:49] local.INFO: GPS data processed {"connection_id":188837,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:02:49] local.INFO: Acknowledgment sent {"connection_id":188837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:03:02] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:02] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:02] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:03:07] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:07] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:03:07] local.INFO: IMEI packet received {"connection_id":191596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:03:08] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:08] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:08] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:03:08] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19: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-09-21 19:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:03:08] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:03:08] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:03:12] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:12] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:12] local.INFO: IMEI packet received {"connection_id":189000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":189000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:03:17] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:17] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:03:17] local.INFO: IMEI packet received {"connection_id":189000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":189000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:03:17] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c429bda8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c429bda8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:03:17] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c429bda8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:03:17] local.INFO: Packet analysis {"connection_id":189000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:03:17] local.INFO: Extracted packet for processing {"connection_id":189000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c429"} 
[2026-09-21 19:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239345664001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997465000,"timestamp_ms":1789997465000,"timestamp_seconds":1789997465,"priority":1,"record_length":96,"hex_timestamp":"000001a0c429bda8"} 
[2026-09-21 19:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:03: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-09-21 19:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 19:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:03:17] 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-09-21 19:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239345664001,"66":12689,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239345664001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:03:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239345664001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":189000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:03:17] local.INFO: GPS data processed {"connection_id":189000,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:03:17] local.INFO: Acknowledgment sent {"connection_id":189000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:03:40] local.INFO: TCP Data received {"connection_id":191596,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191596,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:40] local.INFO: Processing buffer {"connection_id":191596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:03:40] local.INFO: Packet analysis {"connection_id":191596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:03:40] local.INFO: Extracted packet for processing {"connection_id":191596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:03: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-09-21 19:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:03:40] local.INFO: GPS data processed {"connection_id":191596,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:03:40] local.INFO: Acknowledgment sent {"connection_id":191596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:03:49] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42a0fb0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42a0fb0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:03:49] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42a0fb0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:03:49] local.INFO: Packet analysis {"connection_id":189000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:03:49] local.INFO: Extracted packet for processing {"connection_id":189000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239351040001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997486000,"timestamp_ms":1789997486000,"timestamp_seconds":1789997486,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42a0fb0"} 
[2026-09-21 19:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 19:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:03:49] 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-09-21 19:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239351040001,"66":12711,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239351040001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:03:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239351040001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":189000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877704,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:03:49] local.INFO: GPS data processed {"connection_id":189000,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:03:49] local.INFO: Acknowledgment sent {"connection_id":189000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:04:02] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:02] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:02] local.INFO: IMEI packet received {"connection_id":188839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":188839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:04:07] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:07] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:04:07] local.INFO: IMEI packet received {"connection_id":188839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":188839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:04:08] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:04:08] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c427b238012d34c14006aa40600005000c2f..."} 
[2026-09-21 19:04:08] local.INFO: Packet analysis {"connection_id":188839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:04:08] local.INFO: Extracted packet for processing {"connection_id":188839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c427"} 
[2026-09-21 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239239680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997331000,"timestamp_ms":1789997331000,"timestamp_seconds":1789997331,"priority":1,"record_length":96,"hex_timestamp":"000001a0c427b238"} 
[2026-09-21 19:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:04: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-09-21 19:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239239680001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239239680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239239680001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":188839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:04:08] local.INFO: GPS data processed {"connection_id":188839,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:04:08] local.INFO: Acknowledgment sent {"connection_id":188839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:04:12] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:12] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:12] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:04:17] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:17] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:04:17] local.INFO: IMEI packet received {"connection_id":188840,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":188840,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:04:17] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42a61b8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42a61b8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:04:17] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42a61b8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:04:17] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:04:17] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239356416001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997507000,"timestamp_ms":1789997507000,"timestamp_seconds":1789997507,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42a61b8"} 
[2026-09-21 19:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:04: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-09-21 19:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 19:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:04:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:04:17] 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-09-21 19:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239356416001,"66":12711,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239356416001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:04:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:04:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239356416001,"power":12711,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:04:17] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:04:17] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:04:40] local.INFO: TCP Data received {"connection_id":188839,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188839,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:04:40] local.INFO: Processing buffer {"connection_id":188839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:04:40] local.INFO: Packet analysis {"connection_id":188839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:04:40] local.INFO: Extracted packet for processing {"connection_id":188839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:04: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-09-21 19:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":188839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:04:40] local.INFO: GPS data processed {"connection_id":188839,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:04:40] local.INFO: Acknowledgment sent {"connection_id":188839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:04:44] local.INFO: TCP Data received {"connection_id":190317,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:04:44] local.INFO: Processing buffer {"connection_id":190317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:04:44] local.INFO: IMEI packet received {"connection_id":190317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:04:44] local.INFO: IMEI acknowledgment sent {"connection_id":190317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:04:49] local.INFO: TCP Data received {"connection_id":188840,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42ab3c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188840,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42ab3c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:04:49] local.INFO: Processing buffer {"connection_id":188840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42ab3c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:04:49] local.INFO: Packet analysis {"connection_id":188840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:04:49] local.INFO: Extracted packet for processing {"connection_id":188840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42a"} 
[2026-09-21 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239361792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997528000,"timestamp_ms":1789997528000,"timestamp_seconds":1789997528,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42ab3c0"} 
[2026-09-21 19:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-09-21 19:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188840,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:04:49] 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-09-21 19:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239361792001,"66":12689,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239361792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:04:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239361792001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":188840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:04:49] local.INFO: GPS data processed {"connection_id":188840,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:04:49] local.INFO: Acknowledgment sent {"connection_id":188840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:05:02] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:02] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:02] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:05:07] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:07] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:05:07] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:05:09] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:09] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:09] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:05:09] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:05:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:05:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:05:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:05:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:05:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:05: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-09-21 19:05:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:05:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:05:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:05:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:05:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:05:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:05: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-09-21 19:05:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:05:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:05:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:05:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:05:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:05:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:05:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:05:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:05:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:05:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:05:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:05:09] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:05:09] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:05:09] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:05:13] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:13] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:13] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:05:13] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:05:14] local.INFO: TCP Data received {"connection_id":188841,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188841,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:05:14] local.INFO: Processing buffer {"connection_id":188841,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:05:14] local.INFO: IMEI packet received {"connection_id":188841,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":188841,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:05:17] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:17] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:17] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:05:22] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:22] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:05:22] local.INFO: IMEI packet received {"connection_id":191597,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":191597,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:05:23] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42b05c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42b05c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:05:23] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42b05c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:05:23] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:05:23] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239367168001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789997549000,"timestamp_ms":1789997549000,"timestamp_seconds":1789997549,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42b05c8"} 
[2026-09-21 19:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-09-21 19:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:05:23] 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-09-21 19:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239367168001,"66":12667,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239367168001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:05:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239367168001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877710,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:05:23] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:05:23] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:05:27] local.INFO: TCP Data received {"connection_id":191597,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42b57d0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191597,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42b57d0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:05:27] local.INFO: Processing buffer {"connection_id":191597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42b57d0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:05:27] local.INFO: Packet analysis {"connection_id":191597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:05:27] local.INFO: Extracted packet for processing {"connection_id":191597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239372544001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789997570000,"timestamp_ms":1789997570000,"timestamp_seconds":1789997570,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42b57d0"} 
[2026-09-21 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-09-21 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 19:05: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-09-21 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-09-21 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-09-21 19:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191597,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:05: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-09-21 19:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239372544001,"66":12667,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239372544001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:05:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239372544001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":191597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:05:28] local.INFO: GPS data processed {"connection_id":191597,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:05:28] local.INFO: Acknowledgment sent {"connection_id":191597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:05:40] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:40] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:05:40] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:05:40] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:05: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:05: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-09-21 19:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:05:40] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:05:40] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:06:02] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:02] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:02] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:06:07] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:07] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:06:07] local.INFO: IMEI packet received {"connection_id":188842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":188842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:06:08] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:08] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:08] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:06:08] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 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-09-21 19:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 19:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:06:08] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:06:08] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:06:12] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:12] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:12] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:06:16] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:16] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:06:16] local.INFO: IMEI packet received {"connection_id":190318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":190318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:06:17] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42ba9d8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42ba9d8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:06:17] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42ba9d8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:06:17] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:06:17] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239377920001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997591000,"timestamp_ms":1789997591000,"timestamp_seconds":1789997591,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42ba9d8"} 
[2026-09-21 19:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:06:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 19:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:06:17] 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-09-21 19:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239377920001,"66":12613,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239377920001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:06:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239377920001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877714,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:06:17] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:06:17] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:06:40] local.INFO: TCP Data received {"connection_id":188842,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188842,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:40] local.INFO: Processing buffer {"connection_id":188842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:06:40] local.INFO: Packet analysis {"connection_id":188842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:06:40] local.INFO: Extracted packet for processing {"connection_id":188842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":188842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:06:40] local.INFO: GPS data processed {"connection_id":188842,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:06:40] local.INFO: Acknowledgment sent {"connection_id":188842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:06:48] local.INFO: TCP Data received {"connection_id":190318,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42bfbe0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190318,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42bfbe0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:06:48] local.INFO: Processing buffer {"connection_id":190318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42bfbe0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:06:48] local.INFO: Packet analysis {"connection_id":190318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:06:48] local.INFO: Extracted packet for processing {"connection_id":190318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42b"} 
[2026-09-21 19:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239383296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:06:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789997612000,"timestamp_ms":1789997612000,"timestamp_seconds":1789997612,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42bfbe0"} 
[2026-09-21 19:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:06:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:06:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 19:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:06:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:06:48] 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-09-21 19:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239383296001,"66":12667,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239383296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:06:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:06:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239383296001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":190318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:06:48] local.INFO: GPS data processed {"connection_id":190318,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:06:48] local.INFO: Acknowledgment sent {"connection_id":190318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:07:02] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:02] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:02] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:07:08] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:08] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:07:08] local.INFO: IMEI packet received {"connection_id":188843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:07:08] local.INFO: IMEI acknowledgment sent {"connection_id":188843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:07:09] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:09] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:09] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:09] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:07:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:07:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:07:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:07:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:07:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:07: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-09-21 19:07:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:07:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:07:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:07:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:07:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:07:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:07:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:07:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:07:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:07:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:07:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:07:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:07:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:07:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:07:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:07:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:07:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:07:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:07:09] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:07:09] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:07:09] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:07:12] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:12] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:12] local.INFO: IMEI packet received {"connection_id":189002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":189002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:07:17] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:17] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:07:17] local.INFO: IMEI packet received {"connection_id":189002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":189002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:07:17] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4de8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4de8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:07:17] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4de8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:07:17] local.INFO: Packet analysis {"connection_id":189002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:17] local.INFO: Extracted packet for processing {"connection_id":189002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239388672001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997633000,"timestamp_ms":1789997633000,"timestamp_seconds":1789997633,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4de8"} 
[2026-09-21 19:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-09-21 19:07:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:07:17] 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-09-21 19:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239388672001,"66":12645,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239388672001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:07:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:07:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:07:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239388672001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":189002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877718,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:07:18] local.INFO: GPS data processed {"connection_id":189002,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:07:18] local.INFO: Acknowledgment sent {"connection_id":189002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:07:41] local.INFO: TCP Data received {"connection_id":188843,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188843,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:41] local.INFO: Processing buffer {"connection_id":188843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:07:41] local.INFO: Packet analysis {"connection_id":188843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:41] local.INFO: Extracted packet for processing {"connection_id":188843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:07:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:07:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 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-09-21 19:07:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 19:07:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:07:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:07:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:07:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:07:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:07:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:07:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:07:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:07:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:07:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:07:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:07:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:07:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:07:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:07:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:07:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:07:41] local.INFO: DEBUG: GPS processor result {"connection_id":188843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:07:41] local.INFO: GPS data processed {"connection_id":188843,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:07:41] local.INFO: Acknowledgment sent {"connection_id":188843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:07:49] local.INFO: TCP Data received {"connection_id":189002,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c9ff0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189002,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c9ff0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:07:49] local.INFO: Processing buffer {"connection_id":189002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c9ff0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:07:49] local.INFO: Packet analysis {"connection_id":189002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:49] local.INFO: Extracted packet for processing {"connection_id":189002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239394048001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997654000,"timestamp_ms":1789997654000,"timestamp_seconds":1789997654,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c9ff0"} 
[2026-09-21 19:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-09-21 19:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:07:49] 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-09-21 19:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239394048001,"66":12613,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239394048001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:07:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239394048001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":189002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:07:49] local.INFO: GPS data processed {"connection_id":189002,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:07:49] local.INFO: Acknowledgment sent {"connection_id":189002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:08:02] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:02] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:02] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:08:07] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:07] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:08:07] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:08:08] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:08] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:08] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:08] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:08:08] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:08:08] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:08:12] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:12] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:12] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:08:17] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:17] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:08:17] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:08:17] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42cf1f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42cf1f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:08:17] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42cf1f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:08:17] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:17] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239399424001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997675000,"timestamp_ms":1789997675000,"timestamp_seconds":1789997675,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42cf1f8"} 
[2026-09-21 19:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-09-21 19:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:08:17] 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-09-21 19:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239399424001,"66":12548,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239399424001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:08:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:08:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239399424001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877722,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:08:18] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:08:18] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:08:40] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:40] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:08:40] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:40] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 19:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:08: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:08:40] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:08:40] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:08:49] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42d4400012d19ce00072018e8002c009825..."} 
[2026-09-21 19:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42d4400012d19ce00072018e8002c009825..."} 
[2026-09-21 19:08:49] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42d4400012d19ce00072018e8002c009825..."} 
[2026-09-21 19:08:49] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:08:49] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":37,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239404800001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997696000,"timestamp_ms":1789997696000,"timestamp_seconds":1789997696,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42d4400"} 
[2026-09-21 19:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3291153864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184204828877,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 19:08:49] local.WARNING: Large IO value detected {"io_id":87,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-09-21 19:08:49] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,34,160,159,45,44,40,10,66,77,38,251,1,240,123,227,196,32,4,113,205,87,206,232,42,239,49,2,80,7],"length":485,"final_offset":615,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 19:08:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3170701426645008384,"timestamp_seconds":3170701426645008.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:08:49] 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-09-21 19:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239404800001,"66":12602,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239404800001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:08:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239404800001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877724,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:08:49] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:08:49] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:09:02] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:02] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:02] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:09:07] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:07] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:09:07] local.INFO: IMEI packet received {"connection_id":188844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":188844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:09:08] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:09:08] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42c4a00012d34c14006aa40600007000c2d..."} 
[2026-09-21 19:09:08] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:09:08] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42c"} 
[2026-09-21 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239316736001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997632000,"timestamp_ms":1789997632000,"timestamp_seconds":1789997632,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42c4a00"} 
[2026-09-21 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-09-21 19:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 19:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239316736001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239316736001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239316736001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:09:08] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:09:08] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:09:12] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:12] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:12] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:09:17] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:17] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:09:17] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:09:17] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42d9608012d19ce00072018e8002c009826..."} 
[2026-09-21 19:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42d9608012d19ce00072018e8002c009826..."} 
[2026-09-21 19:09:17] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42d9608012d19ce00072018e8002c009826..."} 
[2026-09-21 19:09:17] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:09:17] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239410176001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997717000,"timestamp_ms":1789997717000,"timestamp_seconds":1789997717,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42d9608"} 
[2026-09-21 19:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-09-21 19:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":965,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:09:17] 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-09-21 19:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239410176001,"66":12591,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239410176001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:09:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239410176001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:09:18] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:09:18] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:09:40] local.INFO: TCP Data received {"connection_id":188844,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188844,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:09:40] local.INFO: Processing buffer {"connection_id":188844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:09:40] local.INFO: Packet analysis {"connection_id":188844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:09:40] local.INFO: Extracted packet for processing {"connection_id":188844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:09: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:09: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-09-21 19:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":188844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:09:40] local.INFO: GPS data processed {"connection_id":188844,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:09:40] local.INFO: Acknowledgment sent {"connection_id":188844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:09:48] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42de810012d19ce00072018e8002c009827..."} 
[2026-09-21 19:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42de810012d19ce00072018e8002c009827..."} 
[2026-09-21 19:09:48] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42de810012d19ce00072018e8002c009827..."} 
[2026-09-21 19:09:48] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:09:48] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42d"} 
[2026-09-21 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239415552001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789997738000,"timestamp_ms":1789997738000,"timestamp_seconds":1789997738,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42de810"} 
[2026-09-21 19:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 19:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:09:48] 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-09-21 19:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239415552001,"66":12591,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239415552001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:09:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239415552001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877728,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:09:48] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:09:48] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:10:02] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:02] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:02] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:10:08] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:08] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:10:08] local.INFO: IMEI packet received {"connection_id":191600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":191600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:10:10] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:10] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:10] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:10:10] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:10:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:10:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:10:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:10:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19: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-09-21 19:10:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:10:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:10:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:10:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:10:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:10:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:10:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:10:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:10:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:10:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:10:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:10:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:10:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:10:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:10:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:10:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:10:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:10:10] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:10:10] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:10:10] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:10:12] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:12] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:12] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:10:17] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:17] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:10:17] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:10:17] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42e3a18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42e3a18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:10:17] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42e3a18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:10:17] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:10:17] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239420928001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997759000,"timestamp_ms":1789997759000,"timestamp_seconds":1789997759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42e3a18"} 
[2026-09-21 19:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-09-21 19:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:10:17] 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-09-21 19:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239420928001,"66":12526,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239420928001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:10:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239420928001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:10:18] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:10:18] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:10:30] local.INFO: TCP Data received {"connection_id":190321,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190321,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:10:30] local.INFO: Processing buffer {"connection_id":190321,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:10:30] local.INFO: IMEI packet received {"connection_id":190321,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:10:30] local.INFO: IMEI acknowledgment sent {"connection_id":190321,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:10:41] local.INFO: TCP Data received {"connection_id":191600,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191600,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:41] local.INFO: Processing buffer {"connection_id":191600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:10:41] local.INFO: Packet analysis {"connection_id":191600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:10:41] local.INFO: Extracted packet for processing {"connection_id":191600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10: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-09-21 19:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:10: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-09-21 19:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:10: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-09-21 19:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":191600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:10:41] local.INFO: GPS data processed {"connection_id":191600,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:10:41] local.INFO: Acknowledgment sent {"connection_id":191600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:10:49] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42e8c20012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42e8c20012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:10:49] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42e8c20012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:10:49] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:10:49] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239426304001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789997780000,"timestamp_ms":1789997780000,"timestamp_seconds":1789997780,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42e8c20"} 
[2026-09-21 19:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 19:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:10:49] 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-09-21 19:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239426304001,"66":12428,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239426304001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:10:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239426304001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877732,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:10:49] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:10:49] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:11:02] local.INFO: TCP Data received {"connection_id":191601,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:02] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:02] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:11:07] local.INFO: TCP Data received {"connection_id":191601,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:07] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:11:07] local.INFO: IMEI packet received {"connection_id":191601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":191601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:11:08] local.INFO: TCP Data received {"connection_id":191601,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:08] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:08] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:11:08] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 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-09-21 19:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19: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-09-21 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-09-21 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-09-21 19:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:11: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-09-21 19:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:11:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:11:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:11:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:11:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:11:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:11:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:11:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:11:09] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:11:09] local.INFO: GPS data processed {"connection_id":191601,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:11:09] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:11:12] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:12] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:12] local.INFO: IMEI packet received {"connection_id":189007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":189007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:11:16] local.INFO: TCP Data received {"connection_id":188845,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188845,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:11:16] local.INFO: Processing buffer {"connection_id":188845,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:11:16] local.INFO: IMEI packet received {"connection_id":188845,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":188845,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:11:17] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:17] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:11:17] local.INFO: IMEI packet received {"connection_id":189007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":189007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:11:17] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42ede28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42ede28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:11:17] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42ede28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:11:17] local.INFO: Packet analysis {"connection_id":189007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:11:17] local.INFO: Extracted packet for processing {"connection_id":189007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42e"} 
[2026-09-21 19:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239431680001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789997801000,"timestamp_ms":1789997801000,"timestamp_seconds":1789997801,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42ede28"} 
[2026-09-21 19:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 19:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:11:17] 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-09-21 19:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239431680001,"66":12526,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239431680001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:11:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239431680001,"power":12526,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":189007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:11:17] local.INFO: GPS data processed {"connection_id":189007,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:11:17] local.INFO: Acknowledgment sent {"connection_id":189007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:11:40] local.INFO: TCP Data received {"connection_id":191601,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191601,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:40] local.INFO: Processing buffer {"connection_id":191601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:11:40] local.INFO: Packet analysis {"connection_id":191601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:11:40] local.INFO: Extracted packet for processing {"connection_id":191601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":191601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:11:40] local.INFO: GPS data processed {"connection_id":191601,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:11:40] local.INFO: Acknowledgment sent {"connection_id":191601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:11:48] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c42f3030012d19ce00072018e8002c009828..."} 
[2026-09-21 19:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c42f3030012d19ce00072018e8002c009828..."} 
[2026-09-21 19:11:48] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c42f3030012d19ce00072018e8002c009828..."} 
[2026-09-21 19:11:48] local.INFO: Packet analysis {"connection_id":189007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c42f"} 
[2026-09-21 19:11:48] local.INFO: Extracted packet for processing {"connection_id":189007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c42f"} 
[2026-09-21 19:11:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239437056001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789997822000,"timestamp_ms":1789997822000,"timestamp_seconds":1789997822,"priority":1,"record_length":96,"hex_timestamp":"000001a0c42f3030"} 
[2026-09-21 19:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:11:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-09-21 19:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:11:48] 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-09-21 19:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239437056001,"66":12537,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239437056001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:11:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:11:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239437056001,"power":12537,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":189007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877736,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:11:48] local.INFO: GPS data processed {"connection_id":189007,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:11:48] local.INFO: Acknowledgment sent {"connection_id":189007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:12:02] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:02] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:02] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:12:07] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:07] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:12:07] local.INFO: IMEI packet received {"connection_id":188846,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":188846,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:12:10] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:10] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:10] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:12:10] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:12:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:12:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:12:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:12:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:12:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:12: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-09-21 19: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-09-21 19:12:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:12:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:12:10] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:12:10] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:12:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:12:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:12:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:12:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:12:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:12:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:12:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:12:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:12:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:12:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:12:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:12:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:12:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:12:10] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:12:10] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:12:10] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:12:13] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:13] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:13] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:12:17] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:17] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:17] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:12:22] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:22] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:12:22] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:12:23] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c432b688012d19ce00072018e8002c009828..."} 
[2026-09-21 19:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c432b688012d19ce00072018e8002c009828..."} 
[2026-09-21 19:12:23] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c432b688012d19ce00072018e8002c009828..."} 
[2026-09-21 19:12:23] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c432"} 
[2026-09-21 19:12:23] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c432"} 
[2026-09-21 19:12:23] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:12:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239496192001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:12:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789998053000,"timestamp_ms":1789998053000,"timestamp_seconds":1789998053,"priority":1,"record_length":96,"hex_timestamp":"000001a0c432b688"} 
[2026-09-21 19:12:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:12:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:12:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:12:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:12:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:12:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:12:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:12:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:12:23] 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-09-21 19:12:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:12:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:12:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239496192001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:12:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:12:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:12:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239496192001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:12:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:12:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:12:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:12:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:12:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239496192001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:12:23] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:12:23] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:12:23] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:12:27] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4330890012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4330890012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:12:27] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4330890012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:12:27] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:12:27] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239501568001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12: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-09-21 19:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789998074000,"timestamp_ms":1789998074000,"timestamp_seconds":1789998074,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4330890"} 
[2026-09-21 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-09-21 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-09-21 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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:12: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-09-21 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-09-21 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-09-21 19:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:12: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-09-21 19:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239501568001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239501568001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:12:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:12:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239501568001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:12:27] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:12:27] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:12:41] local.INFO: TCP Data received {"connection_id":188846,"ip":"42.106.6.54","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188846,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:41] local.INFO: Processing buffer {"connection_id":188846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:12:41] local.INFO: Packet analysis {"connection_id":188846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:12:41] local.INFO: Extracted packet for processing {"connection_id":188846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:12:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:12: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-09-21 19:12:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:12:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:12:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:12:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:12: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-09-21 19:12:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:12:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:12:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:12:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:12:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:12:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188846,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:12:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.54","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:12:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:12:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:12:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.54","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:12:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:12:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:12:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:12:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:12:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:12:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:12:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:12:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:12:41] local.INFO: DEBUG: GPS processor result {"connection_id":188846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:12:41] local.INFO: GPS data processed {"connection_id":188846,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:12:41] local.INFO: Acknowledgment sent {"connection_id":188846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:13:02] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:02] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:02] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:13:07] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:07] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:13:07] local.INFO: IMEI packet received {"connection_id":190324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":190324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:13:09] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:09] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:09] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:13:09] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:13:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:13:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:13:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:13:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:13:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:13: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-09-21 19:13:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:13:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:13:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:13:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:13:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:13:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:13: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-09-21 19:13:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:13:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:13:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:13:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:13:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:13:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:13:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:13:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:13:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:13:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:13:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:13:09] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:13:09] local.INFO: GPS data processed {"connection_id":190324,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:13:09] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:13:12] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:12] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:12] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:13:16] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:16] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:13:16] local.INFO: IMEI packet received {"connection_id":191602,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":191602,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:13:17] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4335a98012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4335a98012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:17] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4335a98012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:17] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:13:17] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239506944001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998095000,"timestamp_ms":1789998095000,"timestamp_seconds":1789998095,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4335a98"} 
[2026-09-21 19:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:13:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:13:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:13:17] 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-09-21 19:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239506944001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239506944001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:13:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:13:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239506944001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877742,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:13:17] local.INFO: GPS data processed {"connection_id":191602,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:13:17] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:13:41] local.INFO: TCP Data received {"connection_id":190324,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190324,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:41] local.INFO: Processing buffer {"connection_id":190324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:13:41] local.INFO: Packet analysis {"connection_id":190324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:13:41] local.INFO: Extracted packet for processing {"connection_id":190324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13: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-09-21 19:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:13:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:13: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-09-21 19:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":190324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:13:41] local.INFO: GPS data processed {"connection_id":190324,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:13:41] local.INFO: Acknowledgment sent {"connection_id":190324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:13:48] local.INFO: TCP Data received {"connection_id":191602,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c433aca0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191602,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c433aca0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:48] local.INFO: Processing buffer {"connection_id":191602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c433aca0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:13:48] local.INFO: Packet analysis {"connection_id":191602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:13:48] local.INFO: Extracted packet for processing {"connection_id":191602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:13:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239512320001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789998116000,"timestamp_ms":1789998116000,"timestamp_seconds":1789998116,"priority":1,"record_length":96,"hex_timestamp":"000001a0c433aca0"} 
[2026-09-21 19:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:13:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191602,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:13:48] 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-09-21 19:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239512320001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239512320001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:13:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:13:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239512320001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":191602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877744,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:13:48] local.INFO: GPS data processed {"connection_id":191602,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:13:48] local.INFO: Acknowledgment sent {"connection_id":191602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:14:02] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:02] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:02] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:14:08] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:08] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:14:08] local.INFO: IMEI packet received {"connection_id":190325,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":190325,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:14:09] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:14:09] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c430e1c8012d34c14006aa40600007000c2f..."} 
[2026-09-21 19:14:09] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:14:09] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c430"} 
[2026-09-21 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239393792001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789997933000,"timestamp_ms":1789997933000,"timestamp_seconds":1789997933,"priority":1,"record_length":96,"hex_timestamp":"000001a0c430e1c8"} 
[2026-09-21 19:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:14:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:14: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-09-21 19:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:14: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-09-21 19:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239393792001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239393792001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239393792001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:14:09] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:14:09] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:14:12] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:12] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:12] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:14:17] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:17] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:14:17] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:14:18] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c433fea8012d19ce00072018e8002c009827..."} 
[2026-09-21 19:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c433fea8012d19ce00072018e8002c009827..."} 
[2026-09-21 19:14:18] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c433fea8012d19ce00072018e8002c009827..."} 
[2026-09-21 19:14:18] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:14:18] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c433"} 
[2026-09-21 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239517696001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998137000,"timestamp_ms":1789998137000,"timestamp_seconds":1789998137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c433fea8"} 
[2026-09-21 19:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:14:18] 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-09-21 19:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239517696001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239517696001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:14:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239517696001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:14:18] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:14:18] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:14:41] local.INFO: TCP Data received {"connection_id":190325,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:14:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190325,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:14:41] local.INFO: Processing buffer {"connection_id":190325,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:14:41] local.INFO: Packet analysis {"connection_id":190325,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:14:41] local.INFO: Extracted packet for processing {"connection_id":190325,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:14:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:14:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:14:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:14:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:14:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:14: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-09-21 19: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-09-21 19:14:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:14:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:14:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190325,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:14:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:14:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190325,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:14: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-09-21 19:14:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:14:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:14:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:14:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:14:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:14:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:14:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:14:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:14:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:14:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:14:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:14:41] local.INFO: DEBUG: GPS processor result {"connection_id":190325,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:14:41] local.INFO: GPS data processed {"connection_id":190325,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:14:41] local.INFO: Acknowledgment sent {"connection_id":190325,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:14:49] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43450b0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43450b0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:14:49] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43450b0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:14:49] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:14:49] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239523072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998158000,"timestamp_ms":1789998158000,"timestamp_seconds":1789998158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43450b0"} 
[2026-09-21 19:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:14:49] 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-09-21 19:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239523072001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239523072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:14:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239523072001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877748,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:14:49] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:14:49] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:15:02] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:02] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:02] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:15:07] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:07] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:15:07] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:15:08] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:08] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:08] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:15:08] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:15: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-09-21 19:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:15:08] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:15:08] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:15:12] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:12] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:12] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:15:17] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:17] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:15:17] local.INFO: IMEI packet received {"connection_id":188847,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":188847,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:15:17] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c434a2b8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c434a2b8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:17] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c434a2b8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:17] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:15:17] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239528448001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998179000,"timestamp_ms":1789998179000,"timestamp_seconds":1789998179,"priority":1,"record_length":96,"hex_timestamp":"000001a0c434a2b8"} 
[2026-09-21 19:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:15: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-09-21 19:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:15:17] 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-09-21 19:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239528448001,"66":12439,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239528448001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:15:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239528448001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877750,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:15:18] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:15:18] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:15:40] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:40] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:15:40] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:15:40] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:15:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:15:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:15:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:15:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:15:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:15:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:15:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:15:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:15:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:15:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:15:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:15:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:15:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:15:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:15:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:15:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:15:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:15:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:15:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:15:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:15:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:15:40] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:15:40] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:15:40] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:15:49] local.INFO: TCP Data received {"connection_id":188847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c434f4c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188847,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c434f4c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:49] local.INFO: Processing buffer {"connection_id":188847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c434f4c0012d19ce00072018e8002c009826..."} 
[2026-09-21 19:15:49] local.INFO: Packet analysis {"connection_id":188847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:15:49] local.INFO: Extracted packet for processing {"connection_id":188847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c434"} 
[2026-09-21 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239533824001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998200000,"timestamp_ms":1789998200000,"timestamp_seconds":1789998200,"priority":1,"record_length":96,"hex_timestamp":"000001a0c434f4c0"} 
[2026-09-21 19:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 19:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188847,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:15:49] 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-09-21 19:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239533824001,"66":12428,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239533824001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:15:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239533824001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":188847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877752,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:15:49] local.INFO: GPS data processed {"connection_id":188847,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:15:49] local.INFO: Acknowledgment sent {"connection_id":188847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:16:02] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:02] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:02] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:16:07] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:07] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:16:07] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:16:09] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:09] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:09] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:09] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:16:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:16:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:16:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:16:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:16:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:16:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:16:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:16:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:16:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:16:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:16:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:16:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:16:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:16:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:16:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:16:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:16:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:16:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:16:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:16:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:16:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:16:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:16:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:16:09] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:16:09] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:16:09] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:16:12] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:12] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:12] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:16:17] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:17] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:16:17] local.INFO: IMEI packet received {"connection_id":191605,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":191605,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:16:17] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43546c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43546c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:17] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43546c8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:17] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:17] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239539200001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998221000,"timestamp_ms":1789998221000,"timestamp_seconds":1789998221,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43546c8"} 
[2026-09-21 19:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:16: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-09-21 19:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 19:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:16:17] 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-09-21 19:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239539200001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239539200001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:16:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239539200001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:16:18] local.INFO: GPS data processed {"connection_id":191605,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:16:18] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:16:24] local.INFO: TCP Data received {"connection_id":188848,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:16:24] local.INFO: Processing buffer {"connection_id":188848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:16:24] local.INFO: IMEI packet received {"connection_id":188848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":188848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:16:41] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:41] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:16:41] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:41] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:16:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16: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-09-21 19:16:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:16:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:16:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:16:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:16: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-09-21 19:16:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:16:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:16:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:16:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:16:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:16:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:16: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-09-21 19:16:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:16:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:16:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:16:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:16:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:16:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:16:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:16:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:16:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:16:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:16:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:16:41] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:16:41] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:16:41] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:16:49] local.INFO: TCP Data received {"connection_id":191605,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43598d0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191605,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43598d0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:49] local.INFO: Processing buffer {"connection_id":191605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43598d0012d19ce00072018e8002c009828..."} 
[2026-09-21 19:16:49] local.INFO: Packet analysis {"connection_id":191605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:49] local.INFO: Extracted packet for processing {"connection_id":191605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239544576001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998242000,"timestamp_ms":1789998242000,"timestamp_seconds":1789998242,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43598d0"} 
[2026-09-21 19:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191605,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:16:49] 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-09-21 19:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239544576001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239544576001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:16:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239544576001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":191605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:16:49] local.INFO: GPS data processed {"connection_id":191605,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:16:49] local.INFO: Acknowledgment sent {"connection_id":191605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:17:02] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:02] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:02] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:17:08] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:08] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:17:08] local.INFO: IMEI packet received {"connection_id":190327,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:17:08] local.INFO: IMEI acknowledgment sent {"connection_id":190327,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:17:09] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:09] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:09] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:09] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:17:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:17:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:17:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:17:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:17:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:17: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-09-21 19:17:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:17:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:17:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:17:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:17:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:17:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:17: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-09-21 19:17:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:17:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:17:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:17:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:17:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:17:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:17:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:17:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:17:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:17:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:17:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:17:09] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:17:09] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:17:09] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:17:12] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:12] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:12] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:17:17] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:17] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:17:17] local.INFO: IMEI packet received {"connection_id":188849,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":188849,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:17:17] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c435ead8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c435ead8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:17:17] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c435ead8012d19ce00072018e8002c009828..."} 
[2026-09-21 19:17:17] local.INFO: Packet analysis {"connection_id":188849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:17] local.INFO: Extracted packet for processing {"connection_id":188849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239549952001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998263000,"timestamp_ms":1789998263000,"timestamp_seconds":1789998263,"priority":1,"record_length":96,"hex_timestamp":"000001a0c435ead8"} 
[2026-09-21 19:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:17:17] 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-09-21 19:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239549952001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239549952001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:17:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239549952001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":188849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877758,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:17:17] local.INFO: GPS data processed {"connection_id":188849,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:17:17] local.INFO: Acknowledgment sent {"connection_id":188849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:17:40] local.INFO: TCP Data received {"connection_id":190327,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190327,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:40] local.INFO: Processing buffer {"connection_id":190327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:17:40] local.INFO: Packet analysis {"connection_id":190327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:40] local.INFO: Extracted packet for processing {"connection_id":190327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190327,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":190327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:17:40] local.INFO: GPS data processed {"connection_id":190327,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:17:40] local.INFO: Acknowledgment sent {"connection_id":190327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:17:48] local.INFO: TCP Data received {"connection_id":188849,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4363ce0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188849,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4363ce0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:17:48] local.INFO: Processing buffer {"connection_id":188849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4363ce0012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:17:48] local.INFO: Packet analysis {"connection_id":188849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:17:48] local.INFO: Extracted packet for processing {"connection_id":188849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239555328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789998284000,"timestamp_ms":1789998284000,"timestamp_seconds":1789998284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4363ce0"} 
[2026-09-21 19:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:17:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188849,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:17:48] 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-09-21 19:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239555328001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239555328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:17:48] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239555328001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":188849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:17:48] local.INFO: GPS data processed {"connection_id":188849,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:17:48] local.INFO: Acknowledgment sent {"connection_id":188849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:18:02] local.INFO: TCP Data received {"connection_id":189012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:02] local.INFO: Processing buffer {"connection_id":189012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:02] local.INFO: IMEI packet received {"connection_id":189012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":189012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:18:07] local.INFO: TCP Data received {"connection_id":189012,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:07] local.INFO: Processing buffer {"connection_id":189012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:18:07] local.INFO: IMEI packet received {"connection_id":189012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":189012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:18:09] local.INFO: TCP Data received {"connection_id":189012,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:09] local.INFO: Processing buffer {"connection_id":189012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:09] local.INFO: Packet analysis {"connection_id":189012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:18:09] local.INFO: Extracted packet for processing {"connection_id":189012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:18: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-09-21 19:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:18: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-09-21 19:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":189012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:18:09] local.INFO: GPS data processed {"connection_id":189012,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:18:09] local.INFO: Acknowledgment sent {"connection_id":189012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:18:12] local.INFO: TCP Data received {"connection_id":188850,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:12] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:12] local.INFO: IMEI packet received {"connection_id":188850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":188850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:18:17] local.INFO: TCP Data received {"connection_id":188850,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:17] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:18:17] local.INFO: IMEI packet received {"connection_id":188850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":188850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:18:17] local.INFO: TCP Data received {"connection_id":188850,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4368ee8012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4368ee8012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:18:17] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4368ee8012d19ce00072018e8002c00982a..."} 
[2026-09-21 19:18:17] local.INFO: Packet analysis {"connection_id":188850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:18:17] local.INFO: Extracted packet for processing {"connection_id":188850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":42,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239560704001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998305000,"timestamp_ms":1789998305000,"timestamp_seconds":1789998305,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4368ee8"} 
[2026-09-21 19:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:18: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-09-21 19:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:18:17] 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-09-21 19:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239560704001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239560704001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:18:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239560704001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":188850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:18:18] local.INFO: GPS data processed {"connection_id":188850,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:18:18] local.INFO: Acknowledgment sent {"connection_id":188850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:18:40] local.INFO: TCP Data received {"connection_id":189012,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189012,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:40] local.INFO: Processing buffer {"connection_id":189012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:18:40] local.INFO: Packet analysis {"connection_id":189012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:18:40] local.INFO: Extracted packet for processing {"connection_id":189012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:18:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:18:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:18:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:18:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:18:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:18:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:18:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:18:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:18:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:18:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:18:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:18:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:18:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:18:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:18:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:18:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:18:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:18:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:18:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:18:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:18:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:18:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:18:40] local.INFO: DEBUG: GPS processor result {"connection_id":189012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:18:40] local.INFO: GPS data processed {"connection_id":189012,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:18:40] local.INFO: Acknowledgment sent {"connection_id":189012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:18:49] local.INFO: TCP Data received {"connection_id":188850,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c436e0f0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188850,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c436e0f0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:18:49] local.INFO: Processing buffer {"connection_id":188850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c436e0f0012d19ce00072018e8002c009829..."} 
[2026-09-21 19:18:49] local.INFO: Packet analysis {"connection_id":188850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:18:49] local.INFO: Extracted packet for processing {"connection_id":188850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c436"} 
[2026-09-21 19:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239566080001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998326000,"timestamp_ms":1789998326000,"timestamp_seconds":1789998326,"priority":1,"record_length":96,"hex_timestamp":"000001a0c436e0f0"} 
[2026-09-21 19:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:18:49] 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-09-21 19:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239566080001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239566080001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:18:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239566080001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":188850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877764,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:18:49] local.INFO: GPS data processed {"connection_id":188850,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:18:49] local.INFO: Acknowledgment sent {"connection_id":188850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:19:07] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:07] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:07] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:19:12] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:12] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:19:12] local.INFO: IMEI packet received {"connection_id":191607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:19:13] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:13] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:13] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:19:13] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:19:13] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:13] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:13] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:19:13] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:19:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:19:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:19:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:19:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:19:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:19:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:19:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:19:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:19:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:19:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:19:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:19:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:19:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:19:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:19:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:19:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:19:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:19:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:19:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:19:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:19:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:19:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:19:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:19:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:19:13] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:19:13] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:19:13] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:19:17] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:17] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:17] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:19:18] local.INFO: TCP Data received {"connection_id":191607,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191607,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:18] local.INFO: Processing buffer {"connection_id":191607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4357990012d34c14006aa40600007000c2e..."} 
[2026-09-21 19:19:18] local.INFO: Packet analysis {"connection_id":191607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:19:18] local.INFO: Extracted packet for processing {"connection_id":191607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c435"} 
[2026-09-21 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239470848001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998234000,"timestamp_ms":1789998234000,"timestamp_seconds":1789998234,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4357990"} 
[2026-09-21 19:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239470848001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239470848001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:19:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:19:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239470848001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:19:18] local.INFO: GPS data processed {"connection_id":191607,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:19:18] local.INFO: Acknowledgment sent {"connection_id":191607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:19:22] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:22] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:19:22] local.INFO: IMEI packet received {"connection_id":191608,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":191608,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:19:23] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43732f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43732f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:19:23] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43732f8012d19ce00072018e8002c009826..."} 
[2026-09-21 19:19:23] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:19:23] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:19:23] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239571456001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789998347000,"timestamp_ms":1789998347000,"timestamp_seconds":1789998347,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43732f8"} 
[2026-09-21 19:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:19:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:19:23] 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-09-21 19:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239571456001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239571456001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:19:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:19:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239571456001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:19:23] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:19:23] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:19:54] local.INFO: TCP Data received {"connection_id":191608,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4378500012d19ce00072018e8002c009824..."} 
[2026-09-21 19:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191608,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4378500012d19ce00072018e8002c009824..."} 
[2026-09-21 19:19:54] local.INFO: Processing buffer {"connection_id":191608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4378500012d19ce00072018e8002c009824..."} 
[2026-09-21 19:19:54] local.INFO: Packet analysis {"connection_id":191608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:19:54] local.INFO: Extracted packet for processing {"connection_id":191608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":36,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:19:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239576832001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:19:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:19:54] local.INFO: AVL Record Parsed {"raw_timestamp":1789998368000,"timestamp_ms":1789998368000,"timestamp_seconds":1789998368,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4378500"} 
[2026-09-21 19:19:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:19:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:19:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:19:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:19:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:19:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:19:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:19:54] local.INFO: Teltonika packet parsed successfully {"connection_id":191608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:19:54] local.INFO: Passing IMEI to GPS processor {"connection_id":191608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:19:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":191608,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:19:54] 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-09-21 19:19:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:19:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:19:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239576832001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:19:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:19:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:19:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239576832001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:19:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:19:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:19:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:19:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:19:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239576832001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":191608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:19:54] local.INFO: GPS data processed {"connection_id":191608,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:19:54] local.INFO: Acknowledgment sent {"connection_id":191608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:20:02] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:02] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:02] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:20:07] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:07] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:20:07] local.INFO: IMEI packet received {"connection_id":188852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":188852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:20:08] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:08] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:08] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:20:08] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:20: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-09-21 19:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:20:08] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:20:08] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:20:12] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:12] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:12] local.INFO: IMEI packet received {"connection_id":190329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":190329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:20:16] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:16] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:20:16] local.INFO: IMEI packet received {"connection_id":190329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":190329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:20:17] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c437d708012d19ce00072018e8002c009826..."} 
[2026-09-21 19:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c437d708012d19ce00072018e8002c009826..."} 
[2026-09-21 19:20:17] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c437d708012d19ce00072018e8002c009826..."} 
[2026-09-21 19:20:17] local.INFO: Packet analysis {"connection_id":190329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:20:17] local.INFO: Extracted packet for processing {"connection_id":190329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c437"} 
[2026-09-21 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":38,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239582208001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998389000,"timestamp_ms":1789998389000,"timestamp_seconds":1789998389,"priority":1,"record_length":96,"hex_timestamp":"000001a0c437d708"} 
[2026-09-21 19:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:20:17] 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-09-21 19:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239582208001,"66":12439,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239582208001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:20:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239582208001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":190329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:20:18] local.INFO: GPS data processed {"connection_id":190329,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:20:18] local.INFO: Acknowledgment sent {"connection_id":190329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:20:39] local.INFO: TCP Data received {"connection_id":188852,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188852,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:39] local.INFO: Processing buffer {"connection_id":188852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:20:39] local.INFO: Packet analysis {"connection_id":188852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:20:39] local.INFO: Extracted packet for processing {"connection_id":188852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:20:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:20: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-09-21 19:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":188852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:20:39] local.INFO: GPS data processed {"connection_id":188852,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:20:39] local.INFO: Acknowledgment sent {"connection_id":188852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:20:49] local.INFO: TCP Data received {"connection_id":190329,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4382910012d19ce00072018e8002c009828..."} 
[2026-09-21 19:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190329,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4382910012d19ce00072018e8002c009828..."} 
[2026-09-21 19:20:49] local.INFO: Processing buffer {"connection_id":190329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4382910012d19ce00072018e8002c009828..."} 
[2026-09-21 19:20:49] local.INFO: Packet analysis {"connection_id":190329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:20:49] local.INFO: Extracted packet for processing {"connection_id":190329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239587584001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998410000,"timestamp_ms":1789998410000,"timestamp_seconds":1789998410,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4382910"} 
[2026-09-21 19:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 19:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:20:49] 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-09-21 19:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239587584001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239587584001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:20:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239587584001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":190329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:20:49] local.INFO: GPS data processed {"connection_id":190329,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:20:49] local.INFO: Acknowledgment sent {"connection_id":190329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:21:02] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:02] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:02] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:21:07] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:07] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:21:07] local.INFO: IMEI packet received {"connection_id":188853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":188853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:21:08] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:08] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:08] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:21:08] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 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-09-21 19:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:21:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 19:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:21:08] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:21:08] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:21:12] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:12] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:12] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:21:17] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:17] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:21:17] local.INFO: IMEI packet received {"connection_id":191609,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":191609,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:21:17] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4387b18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4387b18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:17] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4387b18012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:17] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:21:17] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239592960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998431000,"timestamp_ms":1789998431000,"timestamp_seconds":1789998431,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4387b18"} 
[2026-09-21 19:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:21: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-09-21 19:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:21:17] 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-09-21 19:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239592960001,"66":12461,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239592960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:21:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239592960001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:21:17] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:21:17] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:21:40] local.INFO: TCP Data received {"connection_id":188853,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188853,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:40] local.INFO: Processing buffer {"connection_id":188853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:21:40] local.INFO: Packet analysis {"connection_id":188853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:21:40] local.INFO: Extracted packet for processing {"connection_id":188853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":188853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:21:40] local.INFO: GPS data processed {"connection_id":188853,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:21:40] local.INFO: Acknowledgment sent {"connection_id":188853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:21:49] local.INFO: TCP Data received {"connection_id":191609,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c438cd20012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191609,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c438cd20012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:49] local.INFO: Processing buffer {"connection_id":191609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c438cd20012d19ce00072018e8002c009828..."} 
[2026-09-21 19:21:49] local.INFO: Packet analysis {"connection_id":191609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:21:49] local.INFO: Extracted packet for processing {"connection_id":191609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c438"} 
[2026-09-21 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239598336001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998452000,"timestamp_ms":1789998452000,"timestamp_seconds":1789998452,"priority":1,"record_length":96,"hex_timestamp":"000001a0c438cd20"} 
[2026-09-21 19:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-09-21 19:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191609,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:21:49] 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-09-21 19:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239598336001,"66":12428,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239598336001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:21:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239598336001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":191609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:21:49] local.INFO: GPS data processed {"connection_id":191609,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:21:49] local.INFO: Acknowledgment sent {"connection_id":191609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:22:02] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:02] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:02] local.INFO: IMEI packet received {"connection_id":189014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":189014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:22:07] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:07] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:22:07] local.INFO: IMEI packet received {"connection_id":189014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":189014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:22:08] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:08] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:08] local.INFO: Packet analysis {"connection_id":189014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:22:08] local.INFO: Extracted packet for processing {"connection_id":189014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":189014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:22:08] local.INFO: GPS data processed {"connection_id":189014,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:22:08] local.INFO: Acknowledgment sent {"connection_id":189014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:22:12] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:12] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:12] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:22:15] local.INFO: TCP Data received {"connection_id":188854,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188854,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:22:15] local.INFO: Processing buffer {"connection_id":188854,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:22:15] local.INFO: IMEI packet received {"connection_id":188854,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":188854,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:22:17] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:17] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:22:17] local.INFO: IMEI packet received {"connection_id":191610,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":191610,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:22:17] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4391f28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4391f28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:22:17] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4391f28012d19ce00072018e8002c009829..."} 
[2026-09-21 19:22:17] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c439"} 
[2026-09-21 19:22:17] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c439"} 
[2026-09-21 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239603712001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789998473000,"timestamp_ms":1789998473000,"timestamp_seconds":1789998473,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4391f28"} 
[2026-09-21 19:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-09-21 19:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:22:17] 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-09-21 19:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239603712001,"66":12439,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239603712001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:22:17] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239603712001,"power":12439,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:22:18] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:22:18] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:22:40] local.INFO: TCP Data received {"connection_id":189014,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189014,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:40] local.INFO: Processing buffer {"connection_id":189014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:22:40] local.INFO: Packet analysis {"connection_id":189014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:22:40] local.INFO: Extracted packet for processing {"connection_id":189014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":189014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:22:40] local.INFO: GPS data processed {"connection_id":189014,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:22:40] local.INFO: Acknowledgment sent {"connection_id":189014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:22:49] local.INFO: TCP Data received {"connection_id":191610,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4397130012d19ce00072018e8002c009827..."} 
[2026-09-21 19:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191610,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4397130012d19ce00072018e8002c009827..."} 
[2026-09-21 19:22:49] local.INFO: Processing buffer {"connection_id":191610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4397130012d19ce00072018e8002c009827..."} 
[2026-09-21 19:22:49] local.INFO: Packet analysis {"connection_id":191610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c439"} 
[2026-09-21 19:22:49] local.INFO: Extracted packet for processing {"connection_id":191610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c439"} 
[2026-09-21 19:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":39,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239609088001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998494000,"timestamp_ms":1789998494000,"timestamp_seconds":1789998494,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4397130"} 
[2026-09-21 19:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-09-21 19:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191610,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:22:49] 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-09-21 19:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239609088001,"66":12428,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239609088001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:22:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239609088001,"power":12428,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":191610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:22:49] local.INFO: GPS data processed {"connection_id":191610,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:22:49] local.INFO: Acknowledgment sent {"connection_id":191610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:23:02] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:02] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:02] local.INFO: IMEI packet received {"connection_id":190331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":190331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:23:07] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:07] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:23:07] local.INFO: IMEI packet received {"connection_id":190331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":190331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:23:08] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:08] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:08] local.INFO: Packet analysis {"connection_id":190331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:23:08] local.INFO: Extracted packet for processing {"connection_id":190331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19: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-09-21 19:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":190331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:23:08] local.INFO: GPS data processed {"connection_id":190331,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:23:08] local.INFO: Acknowledgment sent {"connection_id":190331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:23:13] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: IMEI packet received {"connection_id":189015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":189015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:23:13] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:13] local.INFO: IMEI packet received {"connection_id":189015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:23:13] local.INFO: IMEI acknowledgment sent {"connection_id":189015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:23:17] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:17] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:23:17] local.INFO: IMEI packet received {"connection_id":189015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":189015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:23:18] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43cf788012d19ce00072018e8002c009828..."} 
[2026-09-21 19:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43cf788012d19ce00072018e8002c009828..."} 
[2026-09-21 19:23:18] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43cf788012d19ce00072018e8002c009828..."} 
[2026-09-21 19:23:18] local.INFO: Packet analysis {"connection_id":189015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43c"} 
[2026-09-21 19:23:18] local.INFO: Extracted packet for processing {"connection_id":189015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43c"} 
[2026-09-21 19:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":40,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239668224001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998725000,"timestamp_ms":1789998725000,"timestamp_seconds":1789998725,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43cf788"} 
[2026-09-21 19:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-09-21 19:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:23:18] 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-09-21 19:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239668224001,"66":13559,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239668224001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:23:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239668224001,"power":13559,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":189015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:23:18] local.INFO: GPS data processed {"connection_id":189015,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:23:18] local.INFO: Acknowledgment sent {"connection_id":189015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:23:40] local.INFO: TCP Data received {"connection_id":190331,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190331,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:40] local.INFO: Processing buffer {"connection_id":190331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:23:40] local.INFO: Packet analysis {"connection_id":190331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:23:40] local.INFO: Extracted packet for processing {"connection_id":190331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 19:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":190331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:23:40] local.INFO: GPS data processed {"connection_id":190331,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:23:40] local.INFO: Acknowledgment sent {"connection_id":190331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:23:49] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43d4990012d19ce00072018e8002c009829..."} 
[2026-09-21 19:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43d4990012d19ce00072018e8002c009829..."} 
[2026-09-21 19:23:49] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43d4990012d19ce00072018e8002c009829..."} 
[2026-09-21 19:23:49] local.INFO: Packet analysis {"connection_id":189015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:23:49] local.INFO: Extracted packet for processing {"connection_id":189015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756665856,"raw_latitude":119544040,"longitude_deg":75.6665856,"latitude_deg":11.954404,"altitude":44,"angle":152,"satellites":41,"speed":0,"hex_longitude":"2d19ce00","hex_latitude":"072018e8","is_valid_coordinates":true} 
[2026-09-21 19:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239673600001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556227640754176,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998746000,"timestamp_ms":1789998746000,"timestamp_seconds":1789998746,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43d4990"} 
[2026-09-21 19:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-09-21 19:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:23:49] 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-09-21 19:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239673600001,"66":12504,"106":206,"83":41984,"24":0,"16":22556227640754176,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239673600001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:23:49] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556227640754176,"km_value":22556227640754.176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239673600001,"power":12504,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":189015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:23:49] local.INFO: GPS data processed {"connection_id":189015,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:23:49] local.INFO: Acknowledgment sent {"connection_id":189015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:24:02] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:02] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:02] local.INFO: IMEI packet received {"connection_id":188855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":188855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:24:07] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:07] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:24:07] local.INFO: IMEI packet received {"connection_id":188855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":188855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:24:08] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:24:08] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43a1158012d34c14006aa40600003000c2d..."} 
[2026-09-21 19:24:08] local.INFO: Packet analysis {"connection_id":188855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:24:08] local.INFO: Extracted packet for processing {"connection_id":188855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43a"} 
[2026-09-21 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239547904001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998535000,"timestamp_ms":1789998535000,"timestamp_seconds":1789998535,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43a1158"} 
[2026-09-21 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-09-21 19:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 19: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-09-21 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-09-21 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-09-21 19:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 19:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239547904001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239547904001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239547904001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":188855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:24:08] local.INFO: GPS data processed {"connection_id":188855,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:24:08] local.INFO: Acknowledgment sent {"connection_id":188855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:24:12] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:12] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:12] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:24:17] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:17] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:24:17] local.INFO: IMEI packet received {"connection_id":191612,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":191612,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:24:18] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43d5d18012d19cf80072015b00036008928..."} 
[2026-09-21 19:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43d5d18012d19cf80072015b00036008928..."} 
[2026-09-21 19:24:18] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43d5d18012d19cf80072015b00036008928..."} 
[2026-09-21 19:24:18] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:24:18] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756666240,"raw_latitude":119543216,"longitude_deg":75.666624,"latitude_deg":11.9543216,"altitude":54,"angle":137,"satellites":40,"speed":12,"hex_longitude":"2d19cf80","hex_latitude":"072015b0","is_valid_coordinates":true} 
[2026-09-21 19:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239678976001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556274885394432,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859423726753867776,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998751000,"timestamp_ms":1789998751000,"timestamp_seconds":1789998751,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43d5d18"} 
[2026-09-21 19:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 19:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:24:18] 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-09-21 19:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239678976001,"66":12548,"106":206,"83":41984,"24":12,"16":22556274885394432,"45":1859423726753867776},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-09-21 19:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239678976001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:24:18] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-09-21 19:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556274885394432,"km_value":22556274885394.434,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859423726753867776,"description":"Unknown IO ID 45"} 
[2026-09-21 19:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239678976001,"power":12548,"unknown_106":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1859423726753867776}} 
[2026-09-21 19:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:24:18] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:24:18] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:24:39] local.INFO: TCP Data received {"connection_id":188855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188855,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:24:39] local.INFO: Processing buffer {"connection_id":188855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:24:39] local.INFO: Packet analysis {"connection_id":188855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:24:39] local.INFO: Extracted packet for processing {"connection_id":188855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:24: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-09-21 19: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-09-21 19:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":188855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:24:39] local.INFO: GPS data processed {"connection_id":188855,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:24:39] local.INFO: Acknowledgment sent {"connection_id":188855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:24:49] local.INFO: TCP Data received {"connection_id":191612,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43d6cb8012d19d380072011c80036007e29..."} 
[2026-09-21 19:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191612,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43d6cb8012d19d380072011c80036007e29..."} 
[2026-09-21 19:24:49] local.INFO: Processing buffer {"connection_id":191612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43d6cb8012d19d380072011c80036007e29..."} 
[2026-09-21 19:24:49] local.INFO: Packet analysis {"connection_id":191612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:24:49] local.INFO: Extracted packet for processing {"connection_id":191612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756667264,"raw_latitude":119542216,"longitude_deg":75.6667264,"latitude_deg":11.9542216,"altitude":54,"angle":126,"satellites":41,"speed":14,"hex_longitude":"2d19d380","hex_latitude":"072011c8","is_valid_coordinates":true} 
[2026-09-21 19:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239680256001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556343604871168,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859845939218722816,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998755000,"timestamp_ms":1789998755000,"timestamp_seconds":1789998755,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43d6cb8"} 
[2026-09-21 19:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7638331826649438208,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3292245864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":34817,"corrected_to":0} 
[2026-09-21 19:24:49] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184185626829,"note":"Value kept but may cause issues"} 
[2026-09-21 19:24:49] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 19:24:49] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,106,83,24,241,157,16,34,160,73,45,44,41,10,66,247,40,165,1,240,117,227,196,32,4,113,205,206,232,239,48,2,80,7],"length":485,"final_offset":615,"validated_count":34,"validation_warnings":[{"io_id":247,"original":34817,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 19:24:49] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891260882940592128,"timestamp_seconds":3891260882940592.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191612,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:24:49] 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-09-21 19:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239680256001,"66":12385,"101":206,"83":41984,"24":14,"16":22556343604871168,"45":1859845939218722816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239680256001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:24:49] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556343604871168,"km_value":22556343604871.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859845939218722816,"description":"Unknown IO ID 45"} 
[2026-09-21 19:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239680256001,"power":12385,"unknown_101":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1859845939218722816}} 
[2026-09-21 19:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":191612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:24:49] local.INFO: GPS data processed {"connection_id":191612,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:24:49] local.INFO: Acknowledgment sent {"connection_id":191612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:25:07] local.INFO: TCP Data received {"connection_id":189016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:07] local.INFO: Processing buffer {"connection_id":189016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:07] local.INFO: IMEI packet received {"connection_id":189016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":189016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:25:12] local.INFO: TCP Data received {"connection_id":189016,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189016,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:12] local.INFO: Processing buffer {"connection_id":189016,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:25:12] local.INFO: IMEI packet received {"connection_id":189016,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":189016,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:25:13] local.INFO: TCP Data received {"connection_id":189016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:13] local.INFO: Processing buffer {"connection_id":189016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:13] local.INFO: Packet analysis {"connection_id":189016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:25:13] local.INFO: Extracted packet for processing {"connection_id":189016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:25:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:25:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:25: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-09-21 19:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:25:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:25:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":189016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:25:13] local.INFO: GPS data processed {"connection_id":189016,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:25:13] local.INFO: Acknowledgment sent {"connection_id":189016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:25:17] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:17] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:17] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:25:21] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:21] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:25:21] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:25:22] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43d8bf8012d19de4007200af00036009428..."} 
[2026-09-21 19:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43d8bf8012d19de4007200af00036009428..."} 
[2026-09-21 19:25:22] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43d8bf8012d19de4007200af00036009428..."} 
[2026-09-21 19:25:22] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:25:22] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:25:22] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119540464,"longitude_deg":75.6670016,"latitude_deg":11.9540464,"altitude":54,"angle":148,"satellites":40,"speed":12,"hex_longitude":"2d19de40","hex_latitude":"07200af0","is_valid_coordinates":true} 
[2026-09-21 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239681280001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556498223693824,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860971839125309440,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789998763000,"timestamp_ms":1789998763000,"timestamp_seconds":1789998763,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43d8bf8"} 
[2026-09-21 19:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:25:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 19:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:25:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:22] 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-09-21 19:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239681280001,"66":13580,"101":206,"83":41984,"24":12,"16":22556498223693824,"45":1860971839125309440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239681280001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:25:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:25:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556498223693824,"km_value":22556498223693.824,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860971839125309440,"description":"Unknown IO ID 45"} 
[2026-09-21 19:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239681280001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1860971839125309440}} 
[2026-09-21 19:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:25:22] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:25:22] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:25:23] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43d8fe0012d19de80072009c0003600ab28..."} 
[2026-09-21 19:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43d8fe0012d19de80072009c0003600ab28..."} 
[2026-09-21 19:25:23] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43d8fe0012d19de80072009c0003600ab28..."} 
[2026-09-21 19:25:23] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:25:23] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43d"} 
[2026-09-21 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756670080,"raw_latitude":119540160,"longitude_deg":75.667008,"latitude_deg":11.954016,"altitude":54,"angle":171,"satellites":40,"speed":11,"hex_longitude":"2d19de80","hex_latitude":"072009c0","is_valid_coordinates":true} 
[2026-09-21 19:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239683328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22556515403563008,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1863997695124500480,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1789998764000,"timestamp_ms":1789998764000,"timestamp_seconds":1789998764,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43d8fe0"} 
[2026-09-21 19:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23296,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534114,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3292287864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":34,"raw_value":3305111552,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630726329920106,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":165,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3602871867458191316,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":48,"raw_value":6197178944190467667,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:23] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,35,160,108,45,128,17,54,41,10,66,34,93,21,40,106,73,1,240,216,227,196,32,4,113,205,165,206,232,239,50,2,80,7,44,25,48,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-09-21 19:25:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891272977568497664,"timestamp_seconds":3891272977568497.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:23] 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-09-21 19:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239683328001,"66":13580,"101":206,"83":41984,"24":11,"16":22556515403563008,"45":1863997695124500480},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239683328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:25:23] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22556515403563008,"km_value":22556515403563.008,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1863997695124500480,"description":"Unknown IO ID 45"} 
[2026-09-21 19:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239683328001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1863997695124500480}} 
[2026-09-21 19:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:25:23] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:25:23] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:25:44] local.INFO: TCP Data received {"connection_id":189016,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189016,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:44] local.INFO: Processing buffer {"connection_id":189016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:25:44] local.INFO: Packet analysis {"connection_id":189016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:25:44] local.INFO: Extracted packet for processing {"connection_id":189016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:25:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:25:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:25:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189016,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:25: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-09-21 19:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:25:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":189016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:25:44] local.INFO: GPS data processed {"connection_id":189016,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:25:44] local.INFO: Acknowledgment sent {"connection_id":189016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:25:55] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fc648012d19b080071fef28002f011327..."} 
[2026-09-21 19:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fc648012d19b080071fef28002f011327..."} 
[2026-09-21 19:25:55] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fc648012d19b080071fef28002f011327..."} 
[2026-09-21 19:25:55] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:25:55] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119533352,"longitude_deg":75.6658304,"latitude_deg":11.9533352,"altitude":47,"angle":275,"satellites":39,"speed":23,"hex_longitude":"2d19b080","hex_latitude":"071fef28","is_valid_coordinates":true} 
[2026-09-21 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239718144001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557245548003328,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1857242295681798144,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1789998909000,"timestamp_ms":1789998909000,"timestamp_seconds":1789998909,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fc648"} 
[2026-09-21 19:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:25:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534115,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3292466864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4183818285,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937935461,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692409,"corrected_to":0} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":96,"raw_value":3087084825,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":52,"raw_value":4144024952,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3620886266499825615,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2017838550036303443,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-09-21 19:25:55] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,101,83,24,241,157,16,35,160,151,45,64,242,40,10,66,147,128,243,39,143,192,1,240,227,196,31,4,113,205,9,96,48,239,52,2,80,7,49,25,54,164],"length":577,"final_offset":707,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3221692409,"validated":0}]} 
[2026-09-21 19:25:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3242879975553105920,"timestamp_seconds":3242879975553106.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:25:55] 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-09-21 19:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239718144001,"66":12863,"101":206,"83":41984,"24":23,"16":22557245548003328,"45":1857242295681798144},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239718144001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:25:55] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:25:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557245548003328,"km_value":22557245548003.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1857242295681798144,"description":"Unknown IO ID 45"} 
[2026-09-21 19:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239718144001,"power":12863,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1857242295681798144}} 
[2026-09-21 19:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877793,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:25:55] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:25:55] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:26:02] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:02] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:02] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:26:07] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:07] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:26:07] local.INFO: IMEI packet received {"connection_id":190333,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":190333,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:26:08] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:08] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:08] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:26:08] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 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-09-21 19:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:26: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-09-21 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-09-21 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-09-21 19:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:26:08] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:26:08] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:26:12] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:26:12] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:12] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:26:17] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:17] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:26:17] local.INFO: IMEI packet received {"connection_id":188856,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":188856,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:26:18] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fd200012d19a9c0071ff0980030012126..."} 
[2026-09-21 19:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fd200012d19a9c0071ff0980030012126..."} 
[2026-09-21 19:26:18] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fd200012d19a9c0071ff0980030012126..."} 
[2026-09-21 19:26:18] local.INFO: Packet analysis {"connection_id":188856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:18] local.INFO: Extracted packet for processing {"connection_id":188856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756656576,"raw_latitude":119533720,"longitude_deg":75.6656576,"latitude_deg":11.953372,"altitude":48,"angle":289,"satellites":38,"speed":23,"hex_longitude":"2d19a9c0","hex_latitude":"071ff098","is_valid_coordinates":true} 
[2026-09-21 19:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239720704001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557331447349248,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214938167296,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998912000,"timestamp_ms":1789998912000,"timestamp_seconds":1789998912,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fd200"} 
[2026-09-21 19:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-09-21 19:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:18] 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-09-21 19:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239720704001,"66":13015,"101":206,"83":41984,"24":23,"16":22557331447349248,"45":1851120214938167296},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239720704001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:26:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557331447349248,"km_value":22557331447349.246,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214938167296,"description":"Unknown IO ID 45"} 
[2026-09-21 19:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239720704001,"power":13015,"unknown_101":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1851120214938167296}} 
[2026-09-21 19:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":188856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:26:18] local.INFO: GPS data processed {"connection_id":188856,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:26:18] local.INFO: Acknowledgment sent {"connection_id":188856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:26:22] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fddb8012d19a4c0071ff1e00032010d27..."} 
[2026-09-21 19:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fddb8012d19a4c0071ff1e00032010d27..."} 
[2026-09-21 19:26:22] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fddb8012d19a4c0071ff1e00032010d27..."} 
[2026-09-21 19:26:22] local.INFO: Packet analysis {"connection_id":188856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:22] local.INFO: Extracted packet for processing {"connection_id":188856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756655296,"raw_latitude":119534048,"longitude_deg":75.6655296,"latitude_deg":11.9534048,"altitude":50,"angle":269,"satellites":39,"speed":12,"hex_longitude":"2d19a4c0","hex_latitude":"071ff1e0","is_valid_coordinates":true} 
[2026-09-21 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239721472001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557395871858688,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849220258845464576,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789998915000,"timestamp_ms":1789998915000,"timestamp_seconds":1789998915,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fddb8"} 
[2026-09-21 19:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-09-21 19:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:22] 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-09-21 19:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239721472001,"66":13580,"101":206,"83":41984,"24":12,"16":22557395871858688,"45":1849220258845464576},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239721472001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:26:22] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557395871858688,"km_value":22557395871858.688,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849220258845464576,"description":"Unknown IO ID 45"} 
[2026-09-21 19:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239721472001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1849220258845464576}} 
[2026-09-21 19:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":188856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:26:22] local.INFO: GPS data processed {"connection_id":188856,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:26:22] local.INFO: Acknowledgment sent {"connection_id":188856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:26:40] local.INFO: TCP Data received {"connection_id":190333,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190333,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:40] local.INFO: Processing buffer {"connection_id":190333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:26:40] local.INFO: Packet analysis {"connection_id":190333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:26:40] local.INFO: Extracted packet for processing {"connection_id":190333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190333,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":190333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:26:40] local.INFO: GPS data processed {"connection_id":190333,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:26:40] local.INFO: Acknowledgment sent {"connection_id":190333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:26:53] local.INFO: TCP Data received {"connection_id":188856,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fe1a0012d19a3c0071ff180003200f627..."} 
[2026-09-21 19:26:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188856,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fe1a0012d19a3c0071ff180003200f627..."} 
[2026-09-21 19:26:53] local.INFO: Processing buffer {"connection_id":188856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fe1a0012d19a3c0071ff180003200f627..."} 
[2026-09-21 19:26:53] local.INFO: Packet analysis {"connection_id":188856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:53] local.INFO: Extracted packet for processing {"connection_id":188856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533952,"longitude_deg":75.665504,"latitude_deg":11.9533952,"altitude":50,"angle":246,"satellites":39,"speed":11,"hex_longitude":"2d19a3c0","hex_latitude":"071ff180","is_valid_coordinates":true} 
[2026-09-21 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239722240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557404461793280,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961995264,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26: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-09-21 19:26:53] local.INFO: AVL Record Parsed {"raw_timestamp":1789998916000,"timestamp_ms":1789998916000,"timestamp_seconds":1789998916,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fe1a0"} 
[2026-09-21 19:26:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:26:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:26:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534115,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3292499864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4070047789,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275780709,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":147,"raw_value":2147560729,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":2147950579,"corrected_to":0} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407160,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3638900665006161875,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":53,"raw_value":5620718251932700243,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-09-21 19:26:53] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,101,83,24,241,157,16,35,160,210,45,192,240,48,38,10,66,198,128,239,47,39,159,64,1,12,227,196,31,4,113,205,14,147,202,72,52,2,80,7,13,25,53,164],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0},{"io_id":202,"original":2147950579,"validated":0}]} 
[2026-09-21 19:26:53] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603175638028779520,"timestamp_seconds":3603175638028779.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:26:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:26:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:26:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:26:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188856,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:26:53] 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-09-21 19:26:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:26:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:26:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239722240001,"66":13580,"101":206,"83":41984,"24":11,"16":22557404461793280,"45":1847812883961995264},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:26:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:26:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:26:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239722240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:26:53] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:26:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:26:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557404461793280,"km_value":22557404461793.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:26:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961995264,"description":"Unknown IO ID 45"} 
[2026-09-21 19:26:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239722240001,"power":13580,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1847812883961995264}} 
[2026-09-21 19:26:54] local.INFO: DEBUG: GPS processor result {"connection_id":188856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:26:54] local.INFO: GPS data processed {"connection_id":188856,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:26:54] local.INFO: Acknowledgment sent {"connection_id":188856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:27:03] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:03] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:03] local.INFO: IMEI packet received {"connection_id":189019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:27:03] local.INFO: IMEI acknowledgment sent {"connection_id":189019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:27:07] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:07] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:27:07] local.INFO: IMEI packet received {"connection_id":189019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":189019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:27:08] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:08] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:08] local.INFO: Packet analysis {"connection_id":189019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:27:08] local.INFO: Extracted packet for processing {"connection_id":189019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":189019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:27:08] local.INFO: GPS data processed {"connection_id":189019,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:27:08] local.INFO: Acknowledgment sent {"connection_id":189019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:27:12] local.INFO: TCP Data received {"connection_id":188857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:12] local.INFO: Processing buffer {"connection_id":188857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:12] local.INFO: IMEI packet received {"connection_id":188857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":188857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:27:17] local.INFO: TCP Data received {"connection_id":188857,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:17] local.INFO: Processing buffer {"connection_id":188857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:27:17] local.INFO: IMEI packet received {"connection_id":188857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":188857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:27:18] local.INFO: TCP Data received {"connection_id":188857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fe588012d19a2c0071ff0f0003300eb26..."} 
[2026-09-21 19:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fe588012d19a2c0071ff0f0003300eb26..."} 
[2026-09-21 19:27:18] local.INFO: Processing buffer {"connection_id":188857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fe588012d19a2c0071ff0f0003300eb26..."} 
[2026-09-21 19:27:18] local.INFO: Packet analysis {"connection_id":188857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:27:18] local.INFO: Extracted packet for processing {"connection_id":188857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756654784,"raw_latitude":119533808,"longitude_deg":75.6654784,"latitude_deg":11.9533808,"altitude":51,"angle":235,"satellites":38,"speed":11,"hex_longitude":"2d19a2c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-09-21 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239722496001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557417346695168,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985260032,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998917000,"timestamp_ms":1789998917000,"timestamp_seconds":1789998917,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fe588"} 
[2026-09-21 19:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751534115,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":157,"raw_value":3808432128,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":35,"raw_value":2986344448,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":160,"raw_value":3292500864,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4056940589,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635210275780709,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":2019885262,"corrected_to":0} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-6917303110666760621,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3765001454659043283,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755455275761905,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:18] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,101,83,24,241,157,16,35,160,221,45,192,50,39,10,66,210,240,48,38,198,128,1,63,227,196,31,4,113,205,18,151,201,152,40,239,52,2,80,7,14,25,164],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":2019885262,"validated":0}]} 
[2026-09-21 19:27:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603150349261275136,"timestamp_seconds":3603150349261275.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-09-21 19:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:27:18] 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-09-21 19:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239722496001,"66":13352,"101":206,"83":41984,"24":11,"16":22557417346695168,"45":1847531408985260032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,83,24,16,45]} 
[2026-09-21 19:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239722496001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:27:18] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-09-21 19:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557417346695168,"km_value":22557417346695.168,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985260032,"description":"Unknown IO ID 45"} 
[2026-09-21 19:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239722496001,"power":13352,"unknown_101":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1847531408985260032}} 
[2026-09-21 19:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":188857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:27:18] local.INFO: GPS data processed {"connection_id":188857,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:27:18] local.INFO: Acknowledgment sent {"connection_id":188857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:27:39] local.INFO: TCP Data received {"connection_id":189019,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189019,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:39] local.INFO: Processing buffer {"connection_id":189019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:27:39] local.INFO: Packet analysis {"connection_id":189019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:27:39] local.INFO: Extracted packet for processing {"connection_id":189019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:27: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-09-21 19:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:27: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-09-21 19:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":189019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:27:39] local.INFO: GPS data processed {"connection_id":189019,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:27:39] local.INFO: Acknowledgment sent {"connection_id":189019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:27:44] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:27:44] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:27:44] local.INFO: IMEI packet received {"connection_id":189020,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":189020,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:27:49] local.INFO: TCP Data received {"connection_id":188857,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43fed58012d19a080071fefe00034010426..."} 
[2026-09-21 19:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188857,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43fed58012d19a080071fefe00034010426..."} 
[2026-09-21 19:27:49] local.INFO: Processing buffer {"connection_id":188857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43fed58012d19a080071fefe00034010426..."} 
[2026-09-21 19:27:49] local.INFO: Packet analysis {"connection_id":188857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:27:49] local.INFO: Extracted packet for processing {"connection_id":188857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533536,"longitude_deg":75.6654208,"latitude_deg":11.9533536,"altitude":52,"angle":260,"satellites":38,"speed":14,"hex_longitude":"2d19a080","hex_latitude":"071fefe0","is_valid_coordinates":true} 
[2026-09-21 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239722752001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557451706433536,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847249934008512512,"note":"Value kept but may cause issues"} 
[2026-09-21 19:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998919000,"timestamp_ms":1789998919000,"timestamp_seconds":1789998919,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43fed58"} 
[2026-09-21 19:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-09-21 19:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":818,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:27:49] 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-09-21 19:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239722752001,"66":13526,"102":206,"83":41984,"24":14,"16":22557451706433536,"45":1847249934008512512},"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-09-21 19:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239722752001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557451706433536,"km_value":22557451706433.535,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847249934008512512,"description":"Unknown IO ID 45"} 
[2026-09-21 19:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239722752001,"power":13526,"unknown_102":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1847249934008512512}} 
[2026-09-21 19:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":188857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:27:49] local.INFO: GPS data processed {"connection_id":188857,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:27:49] local.INFO: Acknowledgment sent {"connection_id":188857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:28:02] local.INFO: TCP Data received {"connection_id":190334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:02] local.INFO: Processing buffer {"connection_id":190334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:02] local.INFO: IMEI packet received {"connection_id":190334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":190334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:28:07] local.INFO: TCP Data received {"connection_id":190334,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:07] local.INFO: Processing buffer {"connection_id":190334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:28:07] local.INFO: IMEI packet received {"connection_id":190334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":190334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:28:08] local.INFO: TCP Data received {"connection_id":190334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:08] local.INFO: Processing buffer {"connection_id":190334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:08] local.INFO: Packet analysis {"connection_id":190334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:28:08] local.INFO: Extracted packet for processing {"connection_id":190334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 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-09-21 19:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19: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-09-21 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-09-21 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-09-21 19:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":190334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:28:08] local.INFO: GPS data processed {"connection_id":190334,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:28:08] local.INFO: Acknowledgment sent {"connection_id":190334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:28:13] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:13] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:13] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:28:13] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:28:14] local.INFO: TCP Data received {"connection_id":189021,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:28:14] local.INFO: Processing buffer {"connection_id":189021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:28:14] local.INFO: IMEI packet received {"connection_id":189021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":189021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:28:17] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:17] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:28:17] local.INFO: IMEI packet received {"connection_id":188858,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":188858,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:28:18] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ff528012d199d80071fefd00035011027..."} 
[2026-09-21 19:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ff528012d199d80071fefd00035011027..."} 
[2026-09-21 19:28:18] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ff528012d199d80071fefd00035011027..."} 
[2026-09-21 19:28:18] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:28:18] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43f"} 
[2026-09-21 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756653440,"raw_latitude":119533520,"longitude_deg":75.665344,"latitude_deg":11.953352,"altitude":53,"angle":272,"satellites":39,"speed":15,"hex_longitude":"2d199d80","hex_latitude":"071fefd0","is_valid_coordinates":true} 
[2026-09-21 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239723264001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557486066171904,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310843904,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998921000,"timestamp_ms":1789998921000,"timestamp_seconds":1789998921,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ff528"} 
[2026-09-21 19:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-09-21 19:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2384,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239723264001,"66":13515,"102":206,"83":41984,"24":15,"16":22557486066171904,"45":1846616615310843904},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239723264001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557486066171904,"km_value":22557486066171.902,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310843904,"description":"Unknown IO ID 45"} 
[2026-09-21 19:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239723264001,"power":13515,"unknown_102":206,"unknown_83":41984,"ignition":15,"odometer":null,"unknown_45":1846616615310843904}} 
[2026-09-21 19:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877804,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:28:18] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:28:18] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:28:39] local.INFO: TCP Data received {"connection_id":190334,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190334,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:39] local.INFO: Processing buffer {"connection_id":190334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:28:39] local.INFO: Packet analysis {"connection_id":190334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:28:39] local.INFO: Extracted packet for processing {"connection_id":190334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 19:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:28: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-09-21 19: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-09-21 19:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19: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-09-21 19:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":190334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:28:39] local.INFO: GPS data processed {"connection_id":190334,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:28:39] local.INFO: Acknowledgment sent {"connection_id":190334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:28:49] local.INFO: TCP Data received {"connection_id":188858,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188858,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:28:49] local.INFO: Processing buffer {"connection_id":188858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:28:49] local.INFO: Packet analysis {"connection_id":188858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:28:49] local.INFO: Extracted packet for processing {"connection_id":188858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119533928,"longitude_deg":75.665056,"latitude_deg":11.9533928,"altitude":57,"angle":274,"satellites":38,"speed":16,"hex_longitude":"2d199240","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-21 19:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239723776001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845772190380707840,"note":"Value kept but may cause issues"} 
[2026-09-21 19:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998929000,"timestamp_ms":1789998929000,"timestamp_seconds":1789998929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4401468"} 
[2026-09-21 19:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":23552,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-09-21 19:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-09-21 19:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188858,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239723776001,"66":14070,"102":206,"83":41984,"24":16,"16":22557627800092672,"45":1845772190380707840},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239723776001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845772190380707840,"description":"Unknown IO ID 45"} 
[2026-09-21 19:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239723776001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1845772190380707840}} 
[2026-09-21 19:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":188858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:28:49] local.INFO: GPS data processed {"connection_id":188858,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:28:49] local.INFO: Acknowledgment sent {"connection_id":188858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:29:02] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:02] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:02] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:29:07] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:07] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:29:07] local.INFO: IMEI packet received {"connection_id":191614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":191614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:29:08] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:29:08] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c43ea920012d34c14006aa40600000000c2f..."} 
[2026-09-21 19:29:08] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:29:08] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c43e"} 
[2026-09-21 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239624960001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789998836000,"timestamp_ms":1789998836000,"timestamp_seconds":1789998836,"priority":1,"record_length":96,"hex_timestamp":"000001a0c43ea920"} 
[2026-09-21 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-09-21 19:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19: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-09-21 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-09-21 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-09-21 19:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239624960001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239624960001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239624960001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:29:08] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:29:08] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:29:12] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:12] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:12] local.INFO: IMEI packet received {"connection_id":189022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":189022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:29:17] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:17] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:29:17] local.INFO: IMEI packet received {"connection_id":189022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":189022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:29:18] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:18] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:18] local.INFO: Packet analysis {"connection_id":189022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:29:18] local.INFO: Extracted packet for processing {"connection_id":189022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119533928,"longitude_deg":75.665056,"latitude_deg":11.9533928,"altitude":57,"angle":274,"satellites":38,"speed":16,"hex_longitude":"2d199240","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-21 19:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":31,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239725824001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596892817408,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998929000,"timestamp_ms":1789998929000,"timestamp_seconds":1789998929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4401468"} 
[2026-09-21 19:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 19:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239725824001,"66":14070,"102":206,"83":41984,"24":16,"16":22557627800092672,"45":1842605596892817408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239725824001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596892817408,"description":"Unknown IO ID 45"} 
[2026-09-21 19:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239725824001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1842605596892817408}} 
[2026-09-21 19:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":189022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877808,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:29:18] local.INFO: GPS data processed {"connection_id":189022,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:29:18] local.INFO: Acknowledgment sent {"connection_id":189022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:29:40] local.INFO: TCP Data received {"connection_id":191614,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:29:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191614,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:29:40] local.INFO: Processing buffer {"connection_id":191614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:29:40] local.INFO: Packet analysis {"connection_id":191614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:29:40] local.INFO: Extracted packet for processing {"connection_id":191614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:29:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:29:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:29:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:29:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:29:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:29:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:29:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:29:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:29:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:29:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:29:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:29:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:29:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:29:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:29:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:29:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:29:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:29:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:29:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:29:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:29:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:29:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:29:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:29:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:29:40] local.INFO: DEBUG: GPS processor result {"connection_id":191614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:29:40] local.INFO: GPS data processed {"connection_id":191614,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:29:40] local.INFO: Acknowledgment sent {"connection_id":191614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:29:49] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:49] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4401468012d199240071ff1680039011226..."} 
[2026-09-21 19:29:49] local.INFO: Packet analysis {"connection_id":189022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:29:49] local.INFO: Extracted packet for processing {"connection_id":189022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756650560,"raw_latitude":119533928,"longitude_deg":75.665056,"latitude_deg":11.9533928,"altitude":57,"angle":274,"satellites":38,"speed":16,"hex_longitude":"2d199240","hex_latitude":"071ff168","is_valid_coordinates":true} 
[2026-09-21 19:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239725824001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596892817408,"note":"Value kept but may cause issues"} 
[2026-09-21 19:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998929000,"timestamp_ms":1789998929000,"timestamp_seconds":1789998929,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4401468"} 
[2026-09-21 19:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:29: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-09-21 19:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 19:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239725824001,"66":14070,"102":206,"83":41984,"24":16,"16":22557627800092672,"45":1842605596892817408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239725824001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596892817408,"description":"Unknown IO ID 45"} 
[2026-09-21 19:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239725824001,"power":14070,"unknown_102":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1842605596892817408}} 
[2026-09-21 19:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":189022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:29:49] local.INFO: GPS data processed {"connection_id":189022,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:29:49] local.INFO: Acknowledgment sent {"connection_id":189022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:30:07] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:07] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:07] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:30:12] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:12] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:12] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:30:12] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:12] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:30:12] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:30:13] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:13] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:13] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:30:13] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:30:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:30:13] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:30:13] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:30:17] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:17] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:30:17] local.INFO: IMEI packet received {"connection_id":191615,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":191615,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:30:18] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:18] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:18] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:30:18] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533888,"longitude_deg":75.6648128,"latitude_deg":11.9533888,"altitude":58,"angle":262,"satellites":39,"speed":17,"hex_longitude":"2d1988c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-21 19:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239725824001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596892817408,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789998934000,"timestamp_ms":1789998934000,"timestamp_seconds":1789998934,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44027f0"} 
[2026-09-21 19:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":23552,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 19:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239725824001,"66":2416,"102":206,"83":41984,"24":17,"16":22557627800092672,"45":1842605596892817408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239725824001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596892817408,"description":"Unknown IO ID 45"} 
[2026-09-21 19:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239725824001,"power":2416,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1842605596892817408}} 
[2026-09-21 19:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:30:18] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:30:18] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:30:45] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:45] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:30:45] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:30:45] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:30:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30: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-09-21 19:30:45] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:30:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:30:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:30:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:30:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:30:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:30:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:30:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:30:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:30:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:30:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:30:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:30:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:30:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:30:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:30:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:30:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:30:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:30:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:30:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:30:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:30:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:30:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:30:45] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:30:45] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:30:45] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:30:49] local.INFO: TCP Data received {"connection_id":191615,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191615,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:49] local.INFO: Processing buffer {"connection_id":191615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44027f0012d1988c0071ff140003a010627..."} 
[2026-09-21 19:30:49] local.INFO: Packet analysis {"connection_id":191615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:30:49] local.INFO: Extracted packet for processing {"connection_id":191615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c440"} 
[2026-09-21 19:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533888,"longitude_deg":75.6648128,"latitude_deg":11.9533888,"altitude":58,"angle":262,"satellites":39,"speed":17,"hex_longitude":"2d1988c0","hex_latitude":"071ff140","is_valid_coordinates":true} 
[2026-09-21 19:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239725824001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842605596892817408,"note":"Value kept but may cause issues"} 
[2026-09-21 19:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789998934000,"timestamp_ms":1789998934000,"timestamp_seconds":1789998934,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44027f0"} 
[2026-09-21 19:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:30: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-09-21 19:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-09-21 19:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191615,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239725824001,"66":2416,"102":206,"83":41984,"24":17,"16":22557627800092672,"45":1842605596892817408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239725824001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:30:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842605596892817408,"description":"Unknown IO ID 45"} 
[2026-09-21 19:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239725824001,"power":2416,"unknown_102":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1842605596892817408}} 
[2026-09-21 19:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":191615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:30:49] local.INFO: GPS data processed {"connection_id":191615,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:30:49] local.INFO: Acknowledgment sent {"connection_id":191615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:31:02] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:02] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:02] local.INFO: IMEI packet received {"connection_id":189025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":189025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:31:07] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:07] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:31:07] local.INFO: IMEI packet received {"connection_id":189025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":189025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:31:08] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:08] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:08] local.INFO: Packet analysis {"connection_id":189025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:31:08] local.INFO: Extracted packet for processing {"connection_id":189025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:31:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":189025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:31:09] local.INFO: GPS data processed {"connection_id":189025,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:31:09] local.INFO: Acknowledgment sent {"connection_id":189025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:31:13] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:13] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:13] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:31:17] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:17] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:17] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:31:22] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:22] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:31:22] local.INFO: IMEI packet received {"connection_id":191617,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":191617,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:31:22] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:22] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:22] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:31:22] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:31:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:31:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:31:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:31:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:31:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:31:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:31:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:31:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:31:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:31:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:31:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:31:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:31:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:31:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:31:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:31:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:31:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:31:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:31:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:31:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:31:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:31:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:31:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:31:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:31:23] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:31:23] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:31:27] local.INFO: TCP Data received {"connection_id":191617,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191617,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:27] local.INFO: Processing buffer {"connection_id":191617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:31:27] local.INFO: Packet analysis {"connection_id":191617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:31:27] local.INFO: Extracted packet for processing {"connection_id":191617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:31: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-09-21 19: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191617,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":191617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877817,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:31:28] local.INFO: GPS data processed {"connection_id":191617,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:31:28] local.INFO: Acknowledgment sent {"connection_id":191617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:31:40] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:40] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:31:40] local.INFO: Packet analysis {"connection_id":189025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:31:40] local.INFO: Extracted packet for processing {"connection_id":189025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":189025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:31:40] local.INFO: GPS data processed {"connection_id":189025,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:31:40] local.INFO: Acknowledgment sent {"connection_id":189025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:32:02] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:02] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:02] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:32:07] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:07] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:32:07] local.INFO: IMEI packet received {"connection_id":188859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":188859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:32:08] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:08] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:08] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:32:08] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:32:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19: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-09-21 19:32:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:32:08] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:32:08] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:32:12] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:12] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:12] local.INFO: IMEI packet received {"connection_id":190336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":190336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:32:17] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:17] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:32:17] local.INFO: IMEI packet received {"connection_id":190336,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":190336,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:32:18] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:18] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:18] local.INFO: Packet analysis {"connection_id":190336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:32:18] local.INFO: Extracted packet for processing {"connection_id":190336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":190336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:32:18] local.INFO: GPS data processed {"connection_id":190336,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:32:18] local.INFO: Acknowledgment sent {"connection_id":190336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:32:39] local.INFO: TCP Data received {"connection_id":188859,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188859,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:39] local.INFO: Processing buffer {"connection_id":188859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:32:39] local.INFO: Packet analysis {"connection_id":188859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:32:39] local.INFO: Extracted packet for processing {"connection_id":188859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:32: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-09-21 19:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":188859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:32:39] local.INFO: GPS data processed {"connection_id":188859,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:32:39] local.INFO: Acknowledgment sent {"connection_id":188859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:32:49] local.INFO: TCP Data received {"connection_id":190336,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190336,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:49] local.INFO: Processing buffer {"connection_id":190336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:32:49] local.INFO: Packet analysis {"connection_id":190336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:32:49] local.INFO: Extracted packet for processing {"connection_id":190336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190336,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":190336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:32:49] local.INFO: GPS data processed {"connection_id":190336,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:32:49] local.INFO: Acknowledgment sent {"connection_id":190336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:33:02] local.INFO: TCP Data received {"connection_id":189026,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:02] local.INFO: Processing buffer {"connection_id":189026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:02] local.INFO: IMEI packet received {"connection_id":189026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":189026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:33:07] local.INFO: TCP Data received {"connection_id":189026,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:07] local.INFO: Processing buffer {"connection_id":189026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:33:07] local.INFO: IMEI packet received {"connection_id":189026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":189026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:33:08] local.INFO: TCP Data received {"connection_id":189026,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:08] local.INFO: Processing buffer {"connection_id":189026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:08] local.INFO: Packet analysis {"connection_id":189026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:33:08] local.INFO: Extracted packet for processing {"connection_id":189026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":189026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:33:08] local.INFO: GPS data processed {"connection_id":189026,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:33:08] local.INFO: Acknowledgment sent {"connection_id":189026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:33:12] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:12] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:12] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:33:17] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:17] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:33:17] local.INFO: IMEI packet received {"connection_id":188860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:33:18] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:18] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:18] local.INFO: Packet analysis {"connection_id":188860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:33:18] local.INFO: Extracted packet for processing {"connection_id":188860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":188860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:33:18] local.INFO: GPS data processed {"connection_id":188860,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:33:18] local.INFO: Acknowledgment sent {"connection_id":188860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:33:30] local.INFO: TCP Data received {"connection_id":188861,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:33:30] local.INFO: Processing buffer {"connection_id":188861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:33:30] local.INFO: IMEI packet received {"connection_id":188861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:33:30] local.INFO: IMEI acknowledgment sent {"connection_id":188861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:33:40] local.INFO: TCP Data received {"connection_id":189026,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189026,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:40] local.INFO: Processing buffer {"connection_id":189026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:33:40] local.INFO: Packet analysis {"connection_id":189026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:33:40] local.INFO: Extracted packet for processing {"connection_id":189026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":189026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:33:40] local.INFO: GPS data processed {"connection_id":189026,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:33:40] local.INFO: Acknowledgment sent {"connection_id":189026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:33:49] local.INFO: TCP Data received {"connection_id":188860,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188860,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:49] local.INFO: Processing buffer {"connection_id":188860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:33:49] local.INFO: Packet analysis {"connection_id":188860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:33:49] local.INFO: Extracted packet for processing {"connection_id":188860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":188860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:33:49] local.INFO: GPS data processed {"connection_id":188860,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:33:49] local.INFO: Acknowledgment sent {"connection_id":188860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:34:02] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:02] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:02] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:34:07] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.57","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:07] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:34:07] local.INFO: IMEI packet received {"connection_id":190337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:34:10] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:34:10] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44340e8012d34c14006aa40600005000c2c..."} 
[2026-09-21 19:34:10] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:34:10] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c443"} 
[2026-09-21 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:34:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:34:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239702016001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:34:10] local.INFO: AVL Record Parsed {"raw_timestamp":1789999137000,"timestamp_ms":1789999137000,"timestamp_seconds":1789999137,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44340e8"} 
[2026-09-21 19:34:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:34:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 19:34: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-09-21 19:34:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:34:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:34:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:34:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:34:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:34:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:34:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:34:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:34:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:34:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239702016001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:34:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:34:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:34:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239702016001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:34:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:34:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:34:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:34:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:34:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239702016001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:34:10] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:34:10] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:34:10] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:34:13] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:13] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:13] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:34:14] local.INFO: TCP Data received {"connection_id":189028,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:34:14] local.INFO: Processing buffer {"connection_id":189028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:34:14] local.INFO: IMEI packet received {"connection_id":189028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":189028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:34:17] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:17] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:34:17] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:34:18] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:18] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:18] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:34:18] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:34:18] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:34:18] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:34:41] local.INFO: TCP Data received {"connection_id":190337,"ip":"42.106.6.57","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:34:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190337,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:34:41] local.INFO: Processing buffer {"connection_id":190337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:34:41] local.INFO: Packet analysis {"connection_id":190337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:34:41] local.INFO: Extracted packet for processing {"connection_id":190337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:34:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34: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-09-21 19:34:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:34:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:34:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:34:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:34: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-09-21 19:34:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:34:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:34:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:34:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:34:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:34:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:34:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.57","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:34:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:34:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:34:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.57","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:34:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:34:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:34:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:34:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:34:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:34:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:34:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:34:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:34:41] local.INFO: DEBUG: GPS processor result {"connection_id":190337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:34:41] local.INFO: GPS data processed {"connection_id":190337,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:34:41] local.INFO: Acknowledgment sent {"connection_id":190337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:34:49] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:49] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:34:49] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:34:49] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:34:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:34:49] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:34:49] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:35:09] local.INFO: TCP Data received {"connection_id":188863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:09] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:09] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:35:09] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:35:12] local.INFO: TCP Data received {"connection_id":190338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:12] local.INFO: Processing buffer {"connection_id":190338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:12] local.INFO: IMEI packet received {"connection_id":190338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":190338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:35:12] local.INFO: TCP Data received {"connection_id":188863,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:12] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:35:12] local.INFO: IMEI packet received {"connection_id":188863,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188863,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:35:14] local.INFO: TCP Data received {"connection_id":188863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:14] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:14] local.INFO: Packet analysis {"connection_id":188863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:35:14] local.INFO: Extracted packet for processing {"connection_id":188863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:35: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-09-21 19:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":188863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:35:14] local.INFO: GPS data processed {"connection_id":188863,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:35:14] local.INFO: Acknowledgment sent {"connection_id":188863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:35:17] local.INFO: TCP Data received {"connection_id":190338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190338,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:17] local.INFO: Processing buffer {"connection_id":190338,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:35:17] local.INFO: IMEI packet received {"connection_id":190338,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":190338,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:35:18] local.INFO: TCP Data received {"connection_id":190338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:18] local.INFO: Processing buffer {"connection_id":190338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:18] local.INFO: Packet analysis {"connection_id":190338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:35:18] local.INFO: Extracted packet for processing {"connection_id":190338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:35:18] local.INFO: TCP Data received {"connection_id":188863,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188863,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:18] local.INFO: Processing buffer {"connection_id":188863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:35:18] local.INFO: Packet analysis {"connection_id":188863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:35:18] local.INFO: Extracted packet for processing {"connection_id":188863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188863,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":188863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:35:18] local.INFO: GPS data processed {"connection_id":188863,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:35:18] local.INFO: Acknowledgment sent {"connection_id":188863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":190338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:35:18] local.INFO: GPS data processed {"connection_id":190338,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:35:18] local.INFO: Acknowledgment sent {"connection_id":190338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:35:49] local.INFO: TCP Data received {"connection_id":190338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190338,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:49] local.INFO: Processing buffer {"connection_id":190338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c444bfb8012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:35:49] local.INFO: Packet analysis {"connection_id":190338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:35:49] local.INFO: Extracted packet for processing {"connection_id":190338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c444"} 
[2026-09-21 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239727104001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614055936,"note":"Value kept but may cause issues"} 
[2026-09-21 19:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999235000,"timestamp_ms":1789999235000,"timestamp_seconds":1789999235,"priority":1,"record_length":96,"hex_timestamp":"000001a0c444bfb8"} 
[2026-09-21 19:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22272,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":9,"n8_eight_byte":112,"data_length":795,"current_offset":136} 
[2026-09-21 19:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1251,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190338,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239727104001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1839931584614055936},"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-09-21 19:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239727104001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:35:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614055936,"description":"Unknown IO ID 45"} 
[2026-09-21 19:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239727104001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1839931584614055936}} 
[2026-09-21 19:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":190338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:35:49] local.INFO: GPS data processed {"connection_id":190338,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:35:49] local.INFO: Acknowledgment sent {"connection_id":190338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:36:02] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:02] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:02] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:36:07] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:07] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:36:07] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:36:08] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:08] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:08] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:36:08] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 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-09-21 19:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:36: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-09-21 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-09-21 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-09-21 19:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:36: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-09-21 19:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:36:08] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:36:08] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:36:14] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:14] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:14] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:36:17] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:17] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:17] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:36:22] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:22] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:36:22] local.INFO: IMEI packet received {"connection_id":191619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":191619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:36:22] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:22] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:22] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:36:22] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:36:22] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:36:22] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:36:27] local.INFO: TCP Data received {"connection_id":191619,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191619,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:27] local.INFO: Processing buffer {"connection_id":191619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:36:27] local.INFO: Packet analysis {"connection_id":191619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:36:27] local.INFO: Extracted packet for processing {"connection_id":191619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19: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-09-21 19:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:36:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":191619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877837,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:36:27] local.INFO: GPS data processed {"connection_id":191619,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:36:27] local.INFO: Acknowledgment sent {"connection_id":191619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:36:39] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:39] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:36:39] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:36:39] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:36: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-09-21 19:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:36: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-09-21 19:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:36:39] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:36:39] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:37:02] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:02] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:02] local.INFO: IMEI packet received {"connection_id":190340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":190340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:37:07] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:07] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:37:07] local.INFO: IMEI packet received {"connection_id":190340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":190340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:37:08] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:08] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:08] local.INFO: Packet analysis {"connection_id":190340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:37:08] local.INFO: Extracted packet for processing {"connection_id":190340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:37: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-09-21 19:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:37: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-09-21 19:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:37:08] local.INFO: GPS data processed {"connection_id":190340,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:37:08] local.INFO: Acknowledgment sent {"connection_id":190340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:37:12] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:12] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:12] local.INFO: IMEI packet received {"connection_id":190341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":190341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:37:17] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:17] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:37:17] local.INFO: IMEI packet received {"connection_id":190341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":190341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:37:18] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:18] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:18] local.INFO: Packet analysis {"connection_id":190341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:37:18] local.INFO: Extracted packet for processing {"connection_id":190341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:37:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":190341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:37:18] local.INFO: GPS data processed {"connection_id":190341,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:37:18] local.INFO: Acknowledgment sent {"connection_id":190341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:37:40] local.INFO: TCP Data received {"connection_id":190340,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190340,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:40] local.INFO: Processing buffer {"connection_id":190340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:37:40] local.INFO: Packet analysis {"connection_id":190340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:37:40] local.INFO: Extracted packet for processing {"connection_id":190340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":190340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:37:40] local.INFO: GPS data processed {"connection_id":190340,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:37:40] local.INFO: Acknowledgment sent {"connection_id":190340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:37:49] local.INFO: TCP Data received {"connection_id":190341,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190341,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:49] local.INFO: Processing buffer {"connection_id":190341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:37:49] local.INFO: Packet analysis {"connection_id":190341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:37:49] local.INFO: Extracted packet for processing {"connection_id":190341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":190341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:37:49] local.INFO: GPS data processed {"connection_id":190341,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:37:49] local.INFO: Acknowledgment sent {"connection_id":190341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:38:02] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:02] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:02] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:38:07] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:07] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:38:07] local.INFO: IMEI packet received {"connection_id":191621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":191621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:38:09] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:09] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:09] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:38:09] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:38:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:38:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:38:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:38:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:38: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-09-21 19: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-09-21 19:38:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:38:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:38:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:38:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:38:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:38:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:38:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:38:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:38:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:38:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:38:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:38:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:38:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:38:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:38:09] local.INFO: DEBUG: GPS processor result {"connection_id":191621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:38:09] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:38:09] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:38:12] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:12] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:12] local.INFO: IMEI packet received {"connection_id":188865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":188865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:38:17] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:17] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:38:17] local.INFO: IMEI packet received {"connection_id":188865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":188865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:38:18] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:18] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:18] local.INFO: Packet analysis {"connection_id":188865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:38:18] local.INFO: Extracted packet for processing {"connection_id":188865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":188865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:38:18] local.INFO: GPS data processed {"connection_id":188865,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:38:18] local.INFO: Acknowledgment sent {"connection_id":188865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:38:41] local.INFO: TCP Data received {"connection_id":191621,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191621,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:41] local.INFO: Processing buffer {"connection_id":191621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:38:41] local.INFO: Packet analysis {"connection_id":191621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:38:41] local.INFO: Extracted packet for processing {"connection_id":191621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:38:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:38:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:38:41] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:38:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:38:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:38: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-09-21 19: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-09-21 19:38:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:38:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:38:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:38:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:38:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19: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-09-21 19:38:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:38:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:38:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:38:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:38:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:38:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:38:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:38:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:38:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:38:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:38:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:38:41] local.INFO: DEBUG: GPS processor result {"connection_id":191621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:38:41] local.INFO: GPS data processed {"connection_id":191621,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:38:41] local.INFO: Acknowledgment sent {"connection_id":191621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:38:49] local.INFO: TCP Data received {"connection_id":188865,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188865,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:49] local.INFO: Processing buffer {"connection_id":188865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:38:49] local.INFO: Packet analysis {"connection_id":188865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:38:49] local.INFO: Extracted packet for processing {"connection_id":188865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:38:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":188865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:38:49] local.INFO: GPS data processed {"connection_id":188865,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:38:49] local.INFO: Acknowledgment sent {"connection_id":188865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:39:02] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:02] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:02] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:39:07] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:07] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:39:07] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:39:08] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:39:08] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c447d8b0012d34c14006aa40600008000c2d..."} 
[2026-09-21 19:39:08] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:39:08] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c447"} 
[2026-09-21 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239779072001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999438000,"timestamp_ms":1789999438000,"timestamp_seconds":1789999438,"priority":1,"record_length":96,"hex_timestamp":"000001a0c447d8b0"} 
[2026-09-21 19:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239779072001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239779072001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239779072001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:39:08] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:39:08] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:39:12] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:12] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:12] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:39:17] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:17] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:39:17] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:39:18] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:18] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:18] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:39:18] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:39:18] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:39:18] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:39:39] local.INFO: TCP Data received {"connection_id":190343,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190343,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:39:39] local.INFO: Processing buffer {"connection_id":190343,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:39:39] local.INFO: IMEI packet received {"connection_id":190343,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":190343,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:39:40] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:39:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:39:40] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:39:40] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:39:40] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:39:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:39:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:39:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:39:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:39:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:39:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:39:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:39:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:39:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:39:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:39:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:39:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:39:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:39:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:39:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:39:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:39:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:39:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:39:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:39:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:39:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:39:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:39:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:39:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:39:40] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:39:40] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:39:40] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:39:49] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:49] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:39:49] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:39:49] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877850,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:39:49] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:39:49] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:40:07] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:07] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:07] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:40:12] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:12] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:12] local.INFO: IMEI packet received {"connection_id":189032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":189032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:40:12] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:12] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:40:12] local.INFO: IMEI packet received {"connection_id":190344,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":190344,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:40:15] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:15] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:15] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:40:15] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:40:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40: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-09-21 19:40:15] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:40:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:40:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:40:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:40:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:40:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:40:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:40:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:40:15] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:40:15] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:40:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:40:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:40:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:40:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:40:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:40:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:40:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:40:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:40:15] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:40:15] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:40:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:40:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:40:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:40:15] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:40:15] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:40:15] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:40:17] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:17] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:40:17] local.INFO: IMEI packet received {"connection_id":189032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":189032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:40:18] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:18] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:18] local.INFO: Packet analysis {"connection_id":189032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:40:18] local.INFO: Extracted packet for processing {"connection_id":189032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":189032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:40:18] local.INFO: GPS data processed {"connection_id":189032,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:40:18] local.INFO: Acknowledgment sent {"connection_id":189032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:40:20] local.INFO: TCP Data received {"connection_id":188866,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:40:20] local.INFO: Processing buffer {"connection_id":188866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:40:20] local.INFO: IMEI packet received {"connection_id":188866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":188866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:40:47] local.INFO: TCP Data received {"connection_id":190344,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190344,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:47] local.INFO: Processing buffer {"connection_id":190344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:40:47] local.INFO: Packet analysis {"connection_id":190344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:40:47] local.INFO: Extracted packet for processing {"connection_id":190344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:40:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:40:47] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:40:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:40:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:40:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:40: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-09-21 19:40:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:40:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:40:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:40:47] local.INFO: Teltonika packet parsed successfully {"connection_id":190344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:40:47] local.INFO: Passing IMEI to GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:40:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":190344,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:40: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-09-21 19:40:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:40:47] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:40:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:40:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:40:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:40:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:40:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:40:47] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:40:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:40:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:40:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:40:47] local.INFO: DEBUG: GPS processor result {"connection_id":190344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:40:47] local.INFO: GPS data processed {"connection_id":190344,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:40:47] local.INFO: Acknowledgment sent {"connection_id":190344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:40:49] local.INFO: TCP Data received {"connection_id":189032,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189032,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:49] local.INFO: Processing buffer {"connection_id":189032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4495780012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:40:49] local.INFO: Packet analysis {"connection_id":189032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:40:49] local.INFO: Extracted packet for processing {"connection_id":189032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c449"} 
[2026-09-21 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239804160001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999536000,"timestamp_ms":1789999536000,"timestamp_seconds":1789999536,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4495780"} 
[2026-09-21 19:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21504,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239804160001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239804160001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239804160001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":189032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:40:49] local.INFO: GPS data processed {"connection_id":189032,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:40:49] local.INFO: Acknowledgment sent {"connection_id":189032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:41:03] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:03] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:03] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:41:07] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:07] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:41:07] local.INFO: IMEI packet received {"connection_id":188867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":188867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:41:08] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:08] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:08] local.INFO: Packet analysis {"connection_id":188867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:41:08] local.INFO: Extracted packet for processing {"connection_id":188867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 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-09-21 19:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:41: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-09-21 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-09-21 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-09-21 19:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":188867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:41:08] local.INFO: GPS data processed {"connection_id":188867,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:41:08] local.INFO: Acknowledgment sent {"connection_id":188867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:41:12] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:12] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:12] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:41:15] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:15] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:15] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:41:17] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:17] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:41:17] local.INFO: IMEI packet received {"connection_id":188868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":188868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:41:17] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:17] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:17] local.INFO: Packet analysis {"connection_id":188868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:41:17] local.INFO: Extracted packet for processing {"connection_id":188868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:41:17] 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-09-21 19:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":188868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:41:17] local.INFO: GPS data processed {"connection_id":188868,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:41:17] local.INFO: Acknowledgment sent {"connection_id":188868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:41:40] local.INFO: TCP Data received {"connection_id":188867,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188867,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:40] local.INFO: Processing buffer {"connection_id":188867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:41:40] local.INFO: Packet analysis {"connection_id":188867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:41:40] local.INFO: Extracted packet for processing {"connection_id":188867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":188867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:41:40] local.INFO: GPS data processed {"connection_id":188867,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:41:40] local.INFO: Acknowledgment sent {"connection_id":188867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:41:48] local.INFO: TCP Data received {"connection_id":188868,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188868,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:48] local.INFO: Processing buffer {"connection_id":188868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:41:48] local.INFO: Packet analysis {"connection_id":188868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:41:48] local.INFO: Extracted packet for processing {"connection_id":188868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:41:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:41:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:41:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:41:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:41:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:41:48] 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-09-21 19:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:41:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:41:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":188868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877858,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:41:48] local.INFO: GPS data processed {"connection_id":188868,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:41:48] local.INFO: Acknowledgment sent {"connection_id":188868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:42:02] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:02] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:02] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:42:07] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:07] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:42:07] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:42:08] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:08] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:08] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:42:08] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 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-09-21 19:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:42: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-09-21 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-09-21 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-09-21 19:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:42:08] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:42:08] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:42:17] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:17] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:17] local.INFO: IMEI packet received {"connection_id":188869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":188869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:42:22] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:22] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:42:22] local.INFO: IMEI packet received {"connection_id":188869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":188869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:42:22] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:22] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:22] local.INFO: Packet analysis {"connection_id":188869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:42:22] local.INFO: Extracted packet for processing {"connection_id":188869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:42:22] 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-09-21 19:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":188869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:42:22] local.INFO: GPS data processed {"connection_id":188869,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:42:22] local.INFO: Acknowledgment sent {"connection_id":188869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:42:27] local.INFO: TCP Data received {"connection_id":188869,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188869,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:27] local.INFO: Processing buffer {"connection_id":188869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:42:27] local.INFO: Packet analysis {"connection_id":188869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:42:27] local.INFO: Extracted packet for processing {"connection_id":188869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:42: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-09-21 19: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":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:42: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-09-21 19: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-09-21 19:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:42: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-09-21 19:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":188869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:42:27] local.INFO: GPS data processed {"connection_id":188869,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:42:27] local.INFO: Acknowledgment sent {"connection_id":188869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:42:40] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:40] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:42:40] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:42:40] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:42:40] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:42:40] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:43:02] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:02] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:02] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:43:07] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:07] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:43:07] local.INFO: IMEI packet received {"connection_id":191624,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":191624,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:43:09] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:09] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:09] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:43:09] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:43:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:43: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-09-21 19:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:43: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-09-21 19:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:43:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:43:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":191624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:43:09] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:43:09] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:43:12] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:12] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:12] local.INFO: IMEI packet received {"connection_id":188870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":188870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:43:17] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:17] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:43:17] local.INFO: IMEI packet received {"connection_id":188870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":188870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:43:18] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:18] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:18] local.INFO: Packet analysis {"connection_id":188870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:43:18] local.INFO: Extracted packet for processing {"connection_id":188870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":188870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877864,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:43:18] local.INFO: GPS data processed {"connection_id":188870,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:43:18] local.INFO: Acknowledgment sent {"connection_id":188870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:43:43] local.INFO: TCP Data received {"connection_id":191624,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191624,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:43] local.INFO: Processing buffer {"connection_id":191624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:43:43] local.INFO: Packet analysis {"connection_id":191624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:43:43] local.INFO: Extracted packet for processing {"connection_id":191624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:43:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:43:43] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 19:43:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:43:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:43:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:43:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:43:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:43:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:43:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:43:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191624,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:43: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-09-21 19:43:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:43:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:43:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:43:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:43:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:43:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:43:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:43:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:43:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:43:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:43:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:43:43] local.INFO: DEBUG: GPS processor result {"connection_id":191624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:43:43] local.INFO: GPS data processed {"connection_id":191624,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:43:43] local.INFO: Acknowledgment sent {"connection_id":191624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:43:49] local.INFO: TCP Data received {"connection_id":188870,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188870,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:49] local.INFO: Processing buffer {"connection_id":188870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:43:49] local.INFO: Packet analysis {"connection_id":188870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:43:49] local.INFO: Extracted packet for processing {"connection_id":188870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":188870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:43:49] local.INFO: GPS data processed {"connection_id":188870,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:43:49] local.INFO: Acknowledgment sent {"connection_id":188870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:44:02] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:02] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:02] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:44:07] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:07] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:44:07] local.INFO: IMEI packet received {"connection_id":190347,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":190347,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:44:08] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:44:08] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44c7078012d34c14006aa40600002000c2f..."} 
[2026-09-21 19:44:08] local.INFO: Packet analysis {"connection_id":190347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:44:08] local.INFO: Extracted packet for processing {"connection_id":190347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44c"} 
[2026-09-21 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":47,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239856128001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1789999739000,"timestamp_ms":1789999739000,"timestamp_seconds":1789999739,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44c7078"} 
[2026-09-21 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-09-21 19:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:44: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-09-21 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-09-21 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-09-21 19:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:44: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-09-21 19:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239856128001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239856128001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239856128001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":190347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:44:08] local.INFO: GPS data processed {"connection_id":190347,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:44:08] local.INFO: Acknowledgment sent {"connection_id":190347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:44:12] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:12] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:12] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:44:17] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:17] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:44:17] local.INFO: IMEI packet received {"connection_id":191625,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":191625,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:44:18] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:18] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:18] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:44:18] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:44:18] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:44:18] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:44:40] local.INFO: TCP Data received {"connection_id":190347,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:44:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190347,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:44:40] local.INFO: Processing buffer {"connection_id":190347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:44:40] local.INFO: Packet analysis {"connection_id":190347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:44:40] local.INFO: Extracted packet for processing {"connection_id":190347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:44:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:44:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:44:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:44:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:44:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:44:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:44:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:44:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:44:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:44:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:44:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:44:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190347,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:44: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-09-21 19:44:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:44:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:44:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 19:44:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:44:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:44:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:44:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:44:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:44:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:44:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:44:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:44:40] local.INFO: DEBUG: GPS processor result {"connection_id":190347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:44:40] local.INFO: GPS data processed {"connection_id":190347,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:44:40] local.INFO: Acknowledgment sent {"connection_id":190347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:44:49] local.INFO: TCP Data received {"connection_id":191625,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191625,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:49] local.INFO: Processing buffer {"connection_id":191625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:44:49] local.INFO: Packet analysis {"connection_id":191625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:44:49] local.INFO: Extracted packet for processing {"connection_id":191625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191625,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":191625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:44:49] local.INFO: GPS data processed {"connection_id":191625,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:44:49] local.INFO: Acknowledgment sent {"connection_id":191625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:45:07] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:07] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:07] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:45:12] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:12] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:12] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:45:12] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:12] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:45:12] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:45:13] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:13] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:13] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:45:13] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:45: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-09-21 19:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:45:13] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:45:13] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:45:17] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:17] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:45:17] local.INFO: IMEI packet received {"connection_id":191626,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":191626,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:45:18] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:18] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:18] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:45:18] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:45:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":191626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:45:18] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:45:18] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:45:45] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:45] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:45:45] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:45:45] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45: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-09-21 19:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:45:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:45:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:45:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:45:45] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:45:45] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:45:49] local.INFO: TCP Data received {"connection_id":191626,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191626,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:49] local.INFO: Processing buffer {"connection_id":191626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c44def48012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:45:49] local.INFO: Packet analysis {"connection_id":191626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:45:49] local.INFO: Extracted packet for processing {"connection_id":191626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c44d"} 
[2026-09-21 19:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239881216001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1789999837000,"timestamp_ms":1789999837000,"timestamp_seconds":1789999837,"priority":1,"record_length":96,"hex_timestamp":"000001a0c44def48"} 
[2026-09-21 19:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20992,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191626,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239881216001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239881216001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239881216001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":191626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:45:49] local.INFO: GPS data processed {"connection_id":191626,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:45:49] local.INFO: Acknowledgment sent {"connection_id":191626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:45:49] local.INFO: TCP Data received {"connection_id":191627,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191627,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:45:49] local.INFO: Processing buffer {"connection_id":191627,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:45:49] local.INFO: IMEI packet received {"connection_id":191627,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":191627,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:46:02] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:02] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:02] local.INFO: IMEI packet received {"connection_id":190349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":190349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:46:07] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:07] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:46:07] local.INFO: IMEI packet received {"connection_id":190349,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":190349,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:46:08] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:08] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:08] local.INFO: Packet analysis {"connection_id":190349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:46:08] local.INFO: Extracted packet for processing {"connection_id":190349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:46: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-09-21 19:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":190349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:46:08] local.INFO: GPS data processed {"connection_id":190349,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:46:08] local.INFO: Acknowledgment sent {"connection_id":190349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:46:12] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:12] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:12] local.INFO: IMEI packet received {"connection_id":190350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":190350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:46:14] local.INFO: TCP Data received {"connection_id":191628,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:46:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:46:14] local.INFO: Processing buffer {"connection_id":191628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:46:14] local.INFO: IMEI packet received {"connection_id":191628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:46:14] local.INFO: IMEI acknowledgment sent {"connection_id":191628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:46:16] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:16] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:16] local.INFO: IMEI packet received {"connection_id":190350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":190350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:46:17] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:17] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:46:17] local.INFO: IMEI packet received {"connection_id":190350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":190350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:46:17] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:17] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:17] local.INFO: Packet analysis {"connection_id":190350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:17] local.INFO: Extracted packet for processing {"connection_id":190350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:46:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:46:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:17] 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-09-21 19:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:46:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:46:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":190350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:46:17] local.INFO: GPS data processed {"connection_id":190350,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:46:17] local.INFO: Acknowledgment sent {"connection_id":190350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:46:22] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:22] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:22] local.INFO: Packet analysis {"connection_id":190350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:22] local.INFO: Extracted packet for processing {"connection_id":190350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:22] 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-09-21 19:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":190350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:46:22] local.INFO: GPS data processed {"connection_id":190350,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:46:22] local.INFO: Acknowledgment sent {"connection_id":190350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:46:40] local.INFO: TCP Data received {"connection_id":190349,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190349,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:40] local.INFO: Processing buffer {"connection_id":190349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:46:40] local.INFO: Packet analysis {"connection_id":190349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:46:40] local.INFO: Extracted packet for processing {"connection_id":190349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190349,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:46: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-09-21 19:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":190349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:46:40] local.INFO: GPS data processed {"connection_id":190349,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:46:40] local.INFO: Acknowledgment sent {"connection_id":190349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:46:53] local.INFO: TCP Data received {"connection_id":190350,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190350,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:53] local.INFO: Processing buffer {"connection_id":190350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:46:53] local.INFO: Packet analysis {"connection_id":190350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:53] local.INFO: Extracted packet for processing {"connection_id":190350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:46:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:46:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":190350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":190350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:46:53] 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-09-21 19:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:46:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:46:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":190350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:46:53] local.INFO: GPS data processed {"connection_id":190350,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:46:53] local.INFO: Acknowledgment sent {"connection_id":190350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:47:07] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:07] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:07] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:47:12] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:12] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:12] local.INFO: IMEI packet received {"connection_id":190351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":190351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:47:12] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:12] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:47:12] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:47:13] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:13] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:13] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:47:13] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:47:13] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:47:13] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:47:17] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:17] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:47:17] local.INFO: IMEI packet received {"connection_id":190351,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":190351,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:47:18] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:18] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:18] local.INFO: Packet analysis {"connection_id":190351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:47:18] local.INFO: Extracted packet for processing {"connection_id":190351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":190351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:47:18] local.INFO: GPS data processed {"connection_id":190351,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:47:18] local.INFO: Acknowledgment sent {"connection_id":190351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:47:18] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:18] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:47:18] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:47:18] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:47:18] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:47:18] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:47:49] local.INFO: TCP Data received {"connection_id":190351,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190351,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:49] local.INFO: Processing buffer {"connection_id":190351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:47:49] local.INFO: Packet analysis {"connection_id":190351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:47:49] local.INFO: Extracted packet for processing {"connection_id":190351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190351,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":190351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:47:49] local.INFO: GPS data processed {"connection_id":190351,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:47:49] local.INFO: Acknowledgment sent {"connection_id":190351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:48:02] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:02] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:02] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:48:08] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:08] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:48:08] local.INFO: IMEI packet received {"connection_id":190352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:48:08] local.INFO: IMEI acknowledgment sent {"connection_id":190352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:48:10] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:10] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:10] local.INFO: Packet analysis {"connection_id":190352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:48:10] local.INFO: Extracted packet for processing {"connection_id":190352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:48:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":190352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:48:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:48:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":190352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:48:10] local.INFO: GPS data processed {"connection_id":190352,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:48:10] local.INFO: Acknowledgment sent {"connection_id":190352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:48:12] local.INFO: TCP Data received {"connection_id":189036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:12] local.INFO: Processing buffer {"connection_id":189036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:12] local.INFO: IMEI packet received {"connection_id":189036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":189036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:48:17] local.INFO: TCP Data received {"connection_id":189036,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:17] local.INFO: Processing buffer {"connection_id":189036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:48:17] local.INFO: IMEI packet received {"connection_id":189036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":189036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:48:18] local.INFO: TCP Data received {"connection_id":189036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:18] local.INFO: Processing buffer {"connection_id":189036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:18] local.INFO: Packet analysis {"connection_id":189036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:48:18] local.INFO: Extracted packet for processing {"connection_id":189036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":189036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:48:18] local.INFO: GPS data processed {"connection_id":189036,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:48:18] local.INFO: Acknowledgment sent {"connection_id":189036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:48:41] local.INFO: TCP Data received {"connection_id":190352,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190352,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:41] local.INFO: Processing buffer {"connection_id":190352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:48:41] local.INFO: Packet analysis {"connection_id":190352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:48:41] local.INFO: Extracted packet for processing {"connection_id":190352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:48:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:48:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:48:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:48:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:48:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:48: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-09-21 19: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-09-21 19:48:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:48:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:48:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:48:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:48:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:48:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:48:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:48:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:48:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:48:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:48:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:48:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:48:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:48:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:48:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:48:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:48:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:48:41] local.INFO: DEBUG: GPS processor result {"connection_id":190352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:48:41] local.INFO: GPS data processed {"connection_id":190352,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:48:41] local.INFO: Acknowledgment sent {"connection_id":190352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:48:49] local.INFO: TCP Data received {"connection_id":189036,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189036,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:49] local.INFO: Processing buffer {"connection_id":189036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:48:49] local.INFO: Packet analysis {"connection_id":189036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:48:49] local.INFO: Extracted packet for processing {"connection_id":189036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":189036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:48:49] local.INFO: GPS data processed {"connection_id":189036,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:48:49] local.INFO: Acknowledgment sent {"connection_id":189036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:49:02] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:02] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:02] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:49:07] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:07] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:49:07] local.INFO: IMEI packet received {"connection_id":188871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":188871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:49:09] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:49:09] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4510840012d34c14006aa40600004000c2e..."} 
[2026-09-21 19:49:09] local.INFO: Packet analysis {"connection_id":188871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:49:09] local.INFO: Extracted packet for processing {"connection_id":188871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c451"} 
[2026-09-21 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239933184001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790000040000,"timestamp_ms":1790000040000,"timestamp_seconds":1790000040,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4510840"} 
[2026-09-21 19:49:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:49:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 19:49:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:49:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:49:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239933184001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239933184001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:49:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:49:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239933184001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":188871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:49:09] local.INFO: GPS data processed {"connection_id":188871,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:49:09] local.INFO: Acknowledgment sent {"connection_id":188871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:49:12] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:12] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:12] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:49:17] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:17] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:49:17] local.INFO: IMEI packet received {"connection_id":191630,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":191630,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:49:18] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:18] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:18] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:49:18] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":191630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877889,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:49:18] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:49:18] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:49:41] local.INFO: TCP Data received {"connection_id":188871,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:49:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188871,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:49:41] local.INFO: Processing buffer {"connection_id":188871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:49:41] local.INFO: Packet analysis {"connection_id":188871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:49:41] local.INFO: Extracted packet for processing {"connection_id":188871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:49:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49: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-09-21 19:49:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:49:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:49:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:49:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:49: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-09-21 19:49:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:49:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:49:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:49:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:49:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:49:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:49:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:49:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:49:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:49:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:49:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:49:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:49:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:49:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:49:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:49:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:49:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:49:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:49:41] local.INFO: DEBUG: GPS processor result {"connection_id":188871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:49:41] local.INFO: GPS data processed {"connection_id":188871,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:49:41] local.INFO: Acknowledgment sent {"connection_id":188871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:49:49] local.INFO: TCP Data received {"connection_id":191630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191630,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:49] local.INFO: Processing buffer {"connection_id":191630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:49:49] local.INFO: Packet analysis {"connection_id":191630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:49:49] local.INFO: Extracted packet for processing {"connection_id":191630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191630,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":191630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:49:49] local.INFO: GPS data processed {"connection_id":191630,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:49:49] local.INFO: Acknowledgment sent {"connection_id":191630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:50:02] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:02] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:02] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:50:09] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:09] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:50:09] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:50:11] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:11] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:11] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:50:11] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:50:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:50: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-09-21 19:50:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:50:11] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:50:11] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:50:11] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:50:11] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:50:13] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:13] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:13] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:50:13] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:50:17] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:17] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:50:17] local.INFO: IMEI packet received {"connection_id":191631,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":191631,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:50:18] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:18] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:18] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:50:18] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:50:18] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:50:18] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:50:43] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:43] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:50:43] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:50:43] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:50:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:50:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:50:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:50:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:50:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:50:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:50:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:50:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:50:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:50:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:50:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:50:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:50:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:50:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:50:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:50:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:50:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:50:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:50:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:50:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:50:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:50:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:50:43] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:50:43] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:50:43] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:50:49] local.INFO: TCP Data received {"connection_id":191631,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191631,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:49] local.INFO: Processing buffer {"connection_id":191631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4528710012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:50:49] local.INFO: Packet analysis {"connection_id":191631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:50:49] local.INFO: Extracted packet for processing {"connection_id":191631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c452"} 
[2026-09-21 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458239958272001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000138000,"timestamp_ms":1790000138000,"timestamp_seconds":1790000138,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4528710"} 
[2026-09-21 19:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 19:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191631,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458239958272001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458239958272001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458239958272001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":191631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:50:49] local.INFO: GPS data processed {"connection_id":191631,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:50:49] local.INFO: Acknowledgment sent {"connection_id":191631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:51:02] local.INFO: TCP Data received {"connection_id":190356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:02] local.INFO: Processing buffer {"connection_id":190356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:02] local.INFO: IMEI packet received {"connection_id":190356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:51:07] local.INFO: TCP Data received {"connection_id":190356,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190356,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:07] local.INFO: Processing buffer {"connection_id":190356,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:51:07] local.INFO: IMEI packet received {"connection_id":190356,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":190356,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:51:08] local.INFO: TCP Data received {"connection_id":190356,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:08] local.INFO: Processing buffer {"connection_id":190356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:08] local.INFO: Packet analysis {"connection_id":190356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:51:08] local.INFO: Extracted packet for processing {"connection_id":190356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:51: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-09-21 19:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:51:08] local.INFO: GPS data processed {"connection_id":190356,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:51:08] local.INFO: Acknowledgment sent {"connection_id":190356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:51:12] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:12] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:12] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:51:17] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:17] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:51:17] local.INFO: IMEI packet received {"connection_id":191632,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":191632,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:51:18] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:18] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:18] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:51:18] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":191632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:51:18] local.INFO: GPS data processed {"connection_id":191632,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:51:18] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:51:39] local.INFO: TCP Data received {"connection_id":188872,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:51:39] local.INFO: Processing buffer {"connection_id":188872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:51:39] local.INFO: IMEI packet received {"connection_id":188872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":188872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:51:39] local.INFO: TCP Data received {"connection_id":190356,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190356,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:39] local.INFO: Processing buffer {"connection_id":190356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:51:39] local.INFO: Packet analysis {"connection_id":190356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:51:39] local.INFO: Extracted packet for processing {"connection_id":190356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:51: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-09-21 19: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-09-21 19:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190356,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:51:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":190356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:51:39] local.INFO: GPS data processed {"connection_id":190356,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:51:39] local.INFO: Acknowledgment sent {"connection_id":190356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:51:49] local.INFO: TCP Data received {"connection_id":191632,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191632,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:49] local.INFO: Processing buffer {"connection_id":191632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:51:49] local.INFO: Packet analysis {"connection_id":191632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:51:49] local.INFO: Extracted packet for processing {"connection_id":191632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191632,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":191632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:51:49] local.INFO: GPS data processed {"connection_id":191632,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:51:49] local.INFO: Acknowledgment sent {"connection_id":191632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:52:07] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:07] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:07] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:52:12] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:12] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:12] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:52:12] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:12] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:52:12] local.INFO: IMEI packet received {"connection_id":188873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":188873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:52:14] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:14] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:14] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:52:14] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:52: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-09-21 19:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:52:14] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:52:14] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:52:17] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:17] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:52:17] local.INFO: IMEI packet received {"connection_id":190357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":190357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:52:18] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:18] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:18] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:52:18] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:52:18] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:52:18] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:52:19] local.INFO: TCP Data received {"connection_id":188873,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188873,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:19] local.INFO: Processing buffer {"connection_id":188873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:52:19] local.INFO: Packet analysis {"connection_id":188873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:52:19] local.INFO: Extracted packet for processing {"connection_id":188873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:52:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:52:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:52:20] local.INFO: DEBUG: GPS processor result {"connection_id":188873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:52:20] local.INFO: GPS data processed {"connection_id":188873,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:52:20] local.INFO: Acknowledgment sent {"connection_id":188873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:52:20] local.INFO: TCP Data received {"connection_id":191633,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:52:20] local.INFO: Processing buffer {"connection_id":191633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:52:20] local.INFO: IMEI packet received {"connection_id":191633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":191633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:52:49] local.INFO: TCP Data received {"connection_id":190357,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190357,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:49] local.INFO: Processing buffer {"connection_id":190357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:52:49] local.INFO: Packet analysis {"connection_id":190357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:52:49] local.INFO: Extracted packet for processing {"connection_id":190357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:52:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":190357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:52:49] local.INFO: GPS data processed {"connection_id":190357,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:52:49] local.INFO: Acknowledgment sent {"connection_id":190357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:53:02] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:02] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:02] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:53:07] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:07] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:53:07] local.INFO: IMEI packet received {"connection_id":191634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":191634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:53:09] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:09] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:09] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:53:09] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:53:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:53:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:53:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:53:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:53:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:53: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-09-21 19:53:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:53:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:53:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:53:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:53:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:53:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:53:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:53:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:53:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:53:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:53:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:53:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:53:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:53:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:53:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:53:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:53:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:53:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:53:09] local.INFO: DEBUG: GPS processor result {"connection_id":191634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877904,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:53:09] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:53:09] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:53:12] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:12] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:12] local.INFO: IMEI packet received {"connection_id":191635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":191635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:53:17] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:17] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:53:17] local.INFO: IMEI packet received {"connection_id":191635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:53:18] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:18] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:18] local.INFO: Packet analysis {"connection_id":191635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:53:18] local.INFO: Extracted packet for processing {"connection_id":191635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":191635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:53:18] local.INFO: GPS data processed {"connection_id":191635,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:53:18] local.INFO: Acknowledgment sent {"connection_id":191635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:53:41] local.INFO: TCP Data received {"connection_id":191634,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191634,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:41] local.INFO: Processing buffer {"connection_id":191634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:53:41] local.INFO: Packet analysis {"connection_id":191634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:53:41] local.INFO: Extracted packet for processing {"connection_id":191634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:53:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:53:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:53:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:53:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:53:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:53: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-09-21 19:53:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:53:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:53:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:53:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:53:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:53:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:53: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-09-21 19:53:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:53:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:53:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:53:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:53:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:53:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:53:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:53:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:53:41] local.INFO: DEBUG: GPS processor result {"connection_id":191634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:53:41] local.INFO: GPS data processed {"connection_id":191634,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:53:41] local.INFO: Acknowledgment sent {"connection_id":191634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:53:49] local.INFO: TCP Data received {"connection_id":191635,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191635,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:49] local.INFO: Processing buffer {"connection_id":191635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:53:49] local.INFO: Packet analysis {"connection_id":191635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:53:49] local.INFO: Extracted packet for processing {"connection_id":191635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":191635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:53:49] local.INFO: GPS data processed {"connection_id":191635,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:53:49] local.INFO: Acknowledgment sent {"connection_id":191635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:54:02] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:02] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:02] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:54:07] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:07] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:54:07] local.INFO: IMEI packet received {"connection_id":190358,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":190358,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:54:08] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:08] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:08] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:54:08] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 19:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 19:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 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-09-21 19:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 19:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:54:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:54:08] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:54:08] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:54:12] local.INFO: TCP Data received {"connection_id":189038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:12] local.INFO: Processing buffer {"connection_id":189038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:12] local.INFO: IMEI packet received {"connection_id":189038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":189038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:54:17] local.INFO: TCP Data received {"connection_id":189038,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:17] local.INFO: Processing buffer {"connection_id":189038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:54:17] local.INFO: IMEI packet received {"connection_id":189038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":189038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:54:18] local.INFO: TCP Data received {"connection_id":189038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:18] local.INFO: Processing buffer {"connection_id":189038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:18] local.INFO: Packet analysis {"connection_id":189038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:54:18] local.INFO: Extracted packet for processing {"connection_id":189038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":189038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:54:18] local.INFO: GPS data processed {"connection_id":189038,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:54:18] local.INFO: Acknowledgment sent {"connection_id":189038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:54:40] local.INFO: TCP Data received {"connection_id":190358,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190358,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:40] local.INFO: Processing buffer {"connection_id":190358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c455a008012d34c14006aa40600006000c2d..."} 
[2026-09-21 19:54:40] local.INFO: Packet analysis {"connection_id":190358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:54:40] local.INFO: Extracted packet for processing {"connection_id":190358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c455"} 
[2026-09-21 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240010240001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000341000,"timestamp_ms":1790000341000,"timestamp_seconds":1790000341,"priority":1,"record_length":96,"hex_timestamp":"000001a0c455a008"} 
[2026-09-21 19:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 19:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190358,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240010240001,"66":25462,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240010240001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240010240001,"power":25462,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":190358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:54:40] local.INFO: GPS data processed {"connection_id":190358,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:54:40] local.INFO: Acknowledgment sent {"connection_id":190358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:54:49] local.INFO: TCP Data received {"connection_id":189038,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189038,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:49] local.INFO: Processing buffer {"connection_id":189038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:54:49] local.INFO: Packet analysis {"connection_id":189038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:54:49] local.INFO: Extracted packet for processing {"connection_id":189038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":189038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:54:49] local.INFO: GPS data processed {"connection_id":189038,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:54:49] local.INFO: Acknowledgment sent {"connection_id":189038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:55:08] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:08] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:08] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:55:12] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:12] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:12] local.INFO: IMEI packet received {"connection_id":189040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":189040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:55:12] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:12] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:55:12] local.INFO: IMEI packet received {"connection_id":191637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":191637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:55:14] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:14] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:14] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:55:14] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:55:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:55:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:55:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:55: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-09-21 19:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:55:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:55:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:55:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:55:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:55:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:55:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:55:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:55:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:55:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":191637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:55:14] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:55:14] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:55:17] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:17] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:55:17] local.INFO: IMEI packet received {"connection_id":189040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":189040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:55:18] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:18] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:18] local.INFO: Packet analysis {"connection_id":189040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:55:18] local.INFO: Extracted packet for processing {"connection_id":189040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":189040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:55:18] local.INFO: GPS data processed {"connection_id":189040,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:55:18] local.INFO: Acknowledgment sent {"connection_id":189040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:55:18] local.INFO: TCP Data received {"connection_id":191637,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191637,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:18] local.INFO: Processing buffer {"connection_id":191637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:55:18] local.INFO: Packet analysis {"connection_id":191637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:55:18] local.INFO: Extracted packet for processing {"connection_id":191637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":191637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:55:18] local.INFO: GPS data processed {"connection_id":191637,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:55:18] local.INFO: Acknowledgment sent {"connection_id":191637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:55:49] local.INFO: TCP Data received {"connection_id":189040,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189040,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:49] local.INFO: Processing buffer {"connection_id":189040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:55:49] local.INFO: Packet analysis {"connection_id":189040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:55:49] local.INFO: Extracted packet for processing {"connection_id":189040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":189040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:55:49] local.INFO: GPS data processed {"connection_id":189040,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:55:49] local.INFO: Acknowledgment sent {"connection_id":189040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:56:02] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:02] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:02] local.INFO: IMEI packet received {"connection_id":188874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":188874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:56:08] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:08] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:56:08] local.INFO: IMEI packet received {"connection_id":188874,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:56:08] local.INFO: IMEI acknowledgment sent {"connection_id":188874,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:56:09] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:09] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:09] local.INFO: Packet analysis {"connection_id":188874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:56:09] local.INFO: Extracted packet for processing {"connection_id":188874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:56:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:56:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:56:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:56:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:56:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:56: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-09-21 19:56:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:56:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:56:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:56:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:56:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:56:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:56: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-09-21 19:56:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:56:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:56:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:56:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:56:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:56:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:56:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:56:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:56:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:56:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:56:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:56:09] local.INFO: DEBUG: GPS processor result {"connection_id":188874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:56:09] local.INFO: GPS data processed {"connection_id":188874,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:56:09] local.INFO: Acknowledgment sent {"connection_id":188874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:56:12] local.INFO: TCP Data received {"connection_id":191639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:12] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:12] local.INFO: IMEI packet received {"connection_id":191639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":191639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:56:17] local.INFO: TCP Data received {"connection_id":191639,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:17] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:56:17] local.INFO: IMEI packet received {"connection_id":191639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":191639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:56:18] local.INFO: TCP Data received {"connection_id":191639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:56:18] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4571ed8012d196f40071fef40003c00ff2b..."} 
[2026-09-21 19:56:18] local.INFO: Packet analysis {"connection_id":191639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:56:18] local.INFO: Extracted packet for processing {"connection_id":191639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c457"} 
[2026-09-21 19:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240035328001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000439000,"timestamp_ms":1790000439000,"timestamp_seconds":1790000439,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4571ed8"} 
[2026-09-21 19:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240035328001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240035328001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240035328001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":191639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:56:18] local.INFO: GPS data processed {"connection_id":191639,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:56:18] local.INFO: Acknowledgment sent {"connection_id":191639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:56:42] local.INFO: TCP Data received {"connection_id":188874,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188874,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:42] local.INFO: Processing buffer {"connection_id":188874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:56:42] local.INFO: Packet analysis {"connection_id":188874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:56:42] local.INFO: Extracted packet for processing {"connection_id":188874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:56:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56: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-09-21 19:56:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:56:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:56:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:56:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:56: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-09-21 19:56:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:56:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:56:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:56:42] local.INFO: Teltonika packet parsed successfully {"connection_id":188874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:56:42] local.INFO: Passing IMEI to GPS processor {"connection_id":188874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:56:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":188874,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:56: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-09-21 19:56:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:56:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:56:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:56:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:56:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:56:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:56:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:56:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:56:42] local.INFO: DEBUG: GPS processor result {"connection_id":188874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:56:42] local.INFO: GPS data processed {"connection_id":188874,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:56:42] local.INFO: Acknowledgment sent {"connection_id":188874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:56:49] local.INFO: TCP Data received {"connection_id":191639,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191639,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:56:49] local.INFO: Processing buffer {"connection_id":191639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:56:49] local.INFO: Packet analysis {"connection_id":191639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:56:49] local.INFO: Extracted packet for processing {"connection_id":191639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":191639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:56:49] local.INFO: GPS data processed {"connection_id":191639,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:56:49] local.INFO: Acknowledgment sent {"connection_id":191639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:57:02] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:02] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:02] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:57:07] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:07] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:57:07] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:57:09] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:09] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:09] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:57:09] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:57:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:57:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:57:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:57:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:57:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:57:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:57:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:57:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:57:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:57:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:57:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19: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-09-21 19:57:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:57:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:57:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:57:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:57:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:57:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:57:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:57:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:57:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:57:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:57:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:57:09] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:57:09] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:57:09] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:57:12] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:12] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:12] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:57:17] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:17] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:57:17] local.INFO: IMEI packet received {"connection_id":191640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":191640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:57:18] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:18] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:18] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:57:18] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:57:18] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:57:18] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:57:39] local.INFO: TCP Data received {"connection_id":189042,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:57:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:57:39] local.INFO: Processing buffer {"connection_id":189042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:57:39] local.INFO: IMEI packet received {"connection_id":189042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:57:39] local.INFO: IMEI acknowledgment sent {"connection_id":189042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:57:41] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:41] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:57:41] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:57:41] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:57:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:57:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:57:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:57:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:57:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:57:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:57:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:57:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:57:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:57:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:57:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:57:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:57:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:57:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:57:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:57:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:57:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:57:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:57:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:57:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:57:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:57:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:57:41] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:57:41] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:57:41] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:57:49] local.INFO: TCP Data received {"connection_id":191640,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191640,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:49] local.INFO: Processing buffer {"connection_id":191640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:57:49] local.INFO: Packet analysis {"connection_id":191640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:57:49] local.INFO: Extracted packet for processing {"connection_id":191640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 19:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:57:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":191640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:57:49] local.INFO: GPS data processed {"connection_id":191640,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:57:49] local.INFO: Acknowledgment sent {"connection_id":191640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:58:02] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:02] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:02] local.INFO: IMEI packet received {"connection_id":188875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":188875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:58:07] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:07] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:58:07] local.INFO: IMEI packet received {"connection_id":188875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":188875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:58:09] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:09] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:09] local.INFO: Packet analysis {"connection_id":188875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:58:09] local.INFO: Extracted packet for processing {"connection_id":188875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:58:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:58:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:58:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:58:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:58:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:58: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-09-21 19:58:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:58:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:58:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:58:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:58:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:58:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19: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-09-21 19:58:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:58:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:58:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:58:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:58:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:58:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:58:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:58:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:58:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:58:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:58:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:58:09] local.INFO: DEBUG: GPS processor result {"connection_id":188875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:58:09] local.INFO: GPS data processed {"connection_id":188875,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:58:09] local.INFO: Acknowledgment sent {"connection_id":188875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:58:12] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:12] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:12] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:58:14] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:58:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:58:14] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 19:58:14] local.INFO: IMEI packet received {"connection_id":189044,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 19:58:14] local.INFO: IMEI acknowledgment sent {"connection_id":189044,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:58:17] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:17] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:58:17] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:58:18] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:18] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:18] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:58:18] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:58:18] 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-09-21 19:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:58:18] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:58:18] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:58:41] local.INFO: TCP Data received {"connection_id":188875,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188875,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:41] local.INFO: Processing buffer {"connection_id":188875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:58:41] local.INFO: Packet analysis {"connection_id":188875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:58:41] local.INFO: Extracted packet for processing {"connection_id":188875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:58:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:58:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:58:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:58:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:58:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:58:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:58:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:58:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:58:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:58:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:58:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:58: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-09-21 19:58:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:58:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:58:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:58:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:58:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:58:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:58:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:58:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:58:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:58:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:58:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:58:41] local.INFO: DEBUG: GPS processor result {"connection_id":188875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877926,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:58:41] local.INFO: GPS data processed {"connection_id":188875,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:58:41] local.INFO: Acknowledgment sent {"connection_id":188875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:58:49] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:49] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:58:49] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:58:49] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:58:49] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:58:49] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:59:02] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:02] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:02] local.INFO: IMEI packet received {"connection_id":188876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 19:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":188876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:59:07] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:07] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 19:59:07] local.INFO: IMEI packet received {"connection_id":188876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 19:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":188876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:59:08] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:08] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:08] local.INFO: Packet analysis {"connection_id":188876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:59:08] local.INFO: Extracted packet for processing {"connection_id":188876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19: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-09-21 19:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19: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-09-21 19:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19: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-09-21 19:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:59:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:59:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":188876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:59:08] local.INFO: GPS data processed {"connection_id":188876,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:59:08] local.INFO: Acknowledgment sent {"connection_id":188876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:59:12] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:12] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:12] local.INFO: IMEI packet received {"connection_id":190360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 19:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":190360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 19:59:17] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:17] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 19:59:17] local.INFO: IMEI packet received {"connection_id":190360,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 19:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":190360,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 19:59:18] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:18] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:18] local.INFO: Packet analysis {"connection_id":190360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:59:18] local.INFO: Extracted packet for processing {"connection_id":190360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":190360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:59:18] local.INFO: GPS data processed {"connection_id":190360,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:59:18] local.INFO: Acknowledgment sent {"connection_id":190360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:59:40] local.INFO: TCP Data received {"connection_id":188876,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188876,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:40] local.INFO: Processing buffer {"connection_id":188876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45a37d0012d34c14006aa40600009000c2d..."} 
[2026-09-21 19:59:40] local.INFO: Packet analysis {"connection_id":188876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:59:40] local.INFO: Extracted packet for processing {"connection_id":188876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45a"} 
[2026-09-21 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 19:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240087296001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000642000,"timestamp_ms":1790000642000,"timestamp_seconds":1790000642,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45a37d0"} 
[2026-09-21 19:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 19:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 19:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 19:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 19:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240087296001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 19:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 19:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 19:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240087296001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:59:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 19:59:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 19:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 19:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240087296001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 19:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":188876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:59:40] local.INFO: GPS data processed {"connection_id":188876,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:59:40] local.INFO: Acknowledgment sent {"connection_id":188876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 19:59:49] local.INFO: TCP Data received {"connection_id":190360,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190360,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:49] local.INFO: Processing buffer {"connection_id":190360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 19:59:49] local.INFO: Packet analysis {"connection_id":190360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:59:49] local.INFO: Extracted packet for processing {"connection_id":190360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 19:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 19:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 19:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 19:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 19:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 19:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 19:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 19:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 19:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 19:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 19:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 19:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 19:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190360,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 19:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 19:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 19:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 19:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 19:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 19:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 19:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 19:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 19:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 19:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 19:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 19:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 19:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":190360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 19:59:49] local.INFO: GPS data processed {"connection_id":190360,"processed":1,"errors":0,"total":1} 
[2026-09-21 19:59:49] local.INFO: Acknowledgment sent {"connection_id":190360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:00:07] local.INFO: TCP Data received {"connection_id":188877,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:07] local.INFO: Processing buffer {"connection_id":188877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:07] local.INFO: IMEI packet received {"connection_id":188877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":188877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:00:12] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:12] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:12] local.INFO: IMEI packet received {"connection_id":189046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":189046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:00:12] local.INFO: TCP Data received {"connection_id":188877,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:12] local.INFO: Processing buffer {"connection_id":188877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:00:12] local.INFO: IMEI packet received {"connection_id":188877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":188877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:00:14] local.INFO: TCP Data received {"connection_id":188877,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:14] local.INFO: Processing buffer {"connection_id":188877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:14] local.INFO: Packet analysis {"connection_id":188877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:00:14] local.INFO: Extracted packet for processing {"connection_id":188877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:00:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:00: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-09-21 20:00:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:00:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:00:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":188877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:00:14] local.INFO: GPS data processed {"connection_id":188877,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:00:14] local.INFO: Acknowledgment sent {"connection_id":188877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:00:17] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:17] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:00:17] local.INFO: IMEI packet received {"connection_id":189046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":189046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:00:18] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:18] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:18] local.INFO: Packet analysis {"connection_id":189046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 20:00:18] local.INFO: Extracted packet for processing {"connection_id":189046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 20:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 20:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":189046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:00:18] local.INFO: GPS data processed {"connection_id":189046,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:00:18] local.INFO: Acknowledgment sent {"connection_id":189046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:00:46] local.INFO: TCP Data received {"connection_id":188877,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188877,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:46] local.INFO: Processing buffer {"connection_id":188877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:00:46] local.INFO: Packet analysis {"connection_id":188877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:00:46] local.INFO: Extracted packet for processing {"connection_id":188877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:00:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:00:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:00:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:00:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:00:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:00:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:00: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-09-21 20: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-09-21 20:00:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:00:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:00:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:00:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:00:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:00:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:00:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:00:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:00:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:00:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:00:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:00:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:00:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:00:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:00:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:00:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:00:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:00:46] local.INFO: DEBUG: GPS processor result {"connection_id":188877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:00:46] local.INFO: GPS data processed {"connection_id":188877,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:00:46] local.INFO: Acknowledgment sent {"connection_id":188877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:00:49] local.INFO: TCP Data received {"connection_id":189046,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189046,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:49] local.INFO: Processing buffer {"connection_id":189046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45bb6a0012d196f40071fef40003c00ff2a..."} 
[2026-09-21 20:00:49] local.INFO: Packet analysis {"connection_id":189046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 20:00:49] local.INFO: Extracted packet for processing {"connection_id":189046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45b"} 
[2026-09-21 20:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":42,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240112384001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790000740000,"timestamp_ms":1790000740000,"timestamp_seconds":1790000740,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45bb6a0"} 
[2026-09-21 20:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240112384001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240112384001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240112384001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":189046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:00:49] local.INFO: GPS data processed {"connection_id":189046,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:00:49] local.INFO: Acknowledgment sent {"connection_id":189046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:01:02] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:02] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:02] local.INFO: IMEI packet received {"connection_id":191641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":191641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:01:07] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:07] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:01:07] local.INFO: IMEI packet received {"connection_id":191641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":191641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:01:08] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:08] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:08] local.INFO: Packet analysis {"connection_id":191641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:01:08] local.INFO: Extracted packet for processing {"connection_id":191641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:01:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":191641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:01:08] local.INFO: GPS data processed {"connection_id":191641,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:01:08] local.INFO: Acknowledgment sent {"connection_id":191641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:01:17] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:17] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:17] local.INFO: IMEI packet received {"connection_id":188879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":188879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:01:19] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:19] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:01:19] local.INFO: IMEI packet received {"connection_id":188879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:01:19] local.INFO: IMEI acknowledgment sent {"connection_id":188879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:01:19] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:19] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:19] local.INFO: Packet analysis {"connection_id":188879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:01:19] local.INFO: Extracted packet for processing {"connection_id":188879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:01:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:01:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:01:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:01:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:01:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:01:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:01:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:01:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:01:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:01:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:01:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:01:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:01:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:01:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:01:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:01:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:01:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:01:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:01:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:01:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:01:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:01:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:01:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:01:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:01:19] local.INFO: DEBUG: GPS processor result {"connection_id":188879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:01:19] local.INFO: GPS data processed {"connection_id":188879,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:01:19] local.INFO: Acknowledgment sent {"connection_id":188879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:01:27] local.INFO: TCP Data received {"connection_id":188879,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188879,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:27] local.INFO: Processing buffer {"connection_id":188879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:01:27] local.INFO: Packet analysis {"connection_id":188879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:01:27] local.INFO: Extracted packet for processing {"connection_id":188879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:01: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-09-21 20:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:01: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-09-21 20:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":188879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:01:27] local.INFO: GPS data processed {"connection_id":188879,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:01:27] local.INFO: Acknowledgment sent {"connection_id":188879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:01:39] local.INFO: TCP Data received {"connection_id":191641,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191641,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:39] local.INFO: Processing buffer {"connection_id":191641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:01:39] local.INFO: Packet analysis {"connection_id":191641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:01:39] local.INFO: Extracted packet for processing {"connection_id":191641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":191641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:01:39] local.INFO: GPS data processed {"connection_id":191641,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:01:39] local.INFO: Acknowledgment sent {"connection_id":191641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:02:02] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:02] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:02] local.INFO: IMEI packet received {"connection_id":189047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":189047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:02:07] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:07] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:02:07] local.INFO: IMEI packet received {"connection_id":189047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":189047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:02:08] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:08] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:08] local.INFO: Packet analysis {"connection_id":189047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:02:08] local.INFO: Extracted packet for processing {"connection_id":189047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 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-09-21 20:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:02: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-09-21 20:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":189047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:02:08] local.INFO: GPS data processed {"connection_id":189047,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:02:08] local.INFO: Acknowledgment sent {"connection_id":189047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:02:12] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:12] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:12] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:02:17] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:17] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:02:17] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:02:18] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:18] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:18] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:02:18] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:02:18] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:02:18] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:02:40] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:40] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:02:40] local.INFO: Packet analysis {"connection_id":189047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:02:40] local.INFO: Extracted packet for processing {"connection_id":189047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:02:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:02:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:02:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":189047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:02:40] local.INFO: GPS data processed {"connection_id":189047,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:02:40] local.INFO: Acknowledgment sent {"connection_id":189047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:02:49] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:49] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:02:49] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:02:49] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:02:49] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:02:49] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:03:02] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:02] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:02] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:03:07] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:07] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:03:07] local.INFO: IMEI packet received {"connection_id":191642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:03:08] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:08] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:08] local.INFO: Packet analysis {"connection_id":191642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:03:08] local.INFO: Extracted packet for processing {"connection_id":191642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:03:08] local.INFO: GPS data processed {"connection_id":191642,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:03:08] local.INFO: Acknowledgment sent {"connection_id":191642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:03:12] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:12] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:12] local.INFO: IMEI packet received {"connection_id":190362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":190362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:03:17] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:17] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:03:17] local.INFO: IMEI packet received {"connection_id":190362,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":190362,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:03:18] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:18] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:18] local.INFO: Packet analysis {"connection_id":190362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:03:18] local.INFO: Extracted packet for processing {"connection_id":190362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":190362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:03:18] local.INFO: GPS data processed {"connection_id":190362,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:03:18] local.INFO: Acknowledgment sent {"connection_id":190362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:03:39] local.INFO: TCP Data received {"connection_id":189050,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:03:39] local.INFO: Processing buffer {"connection_id":189050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:03:39] local.INFO: IMEI packet received {"connection_id":189050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:03:39] local.INFO: IMEI acknowledgment sent {"connection_id":189050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:03:41] local.INFO: TCP Data received {"connection_id":191642,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191642,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:41] local.INFO: Processing buffer {"connection_id":191642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:03:41] local.INFO: Packet analysis {"connection_id":191642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:03:41] local.INFO: Extracted packet for processing {"connection_id":191642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:03:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:03:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:03:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:03:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:03:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:03: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-09-21 20:03:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:03:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:03:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:03:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:03:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:03:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:03: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-09-21 20:03:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:03:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:03:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:03:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:03:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:03:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:03:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:03:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:03:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:03:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:03:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:03:41] local.INFO: DEBUG: GPS processor result {"connection_id":191642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:03:41] local.INFO: GPS data processed {"connection_id":191642,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:03:41] local.INFO: Acknowledgment sent {"connection_id":191642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:03:51] local.INFO: TCP Data received {"connection_id":190362,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190362,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:51] local.INFO: Processing buffer {"connection_id":190362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:03:51] local.INFO: Packet analysis {"connection_id":190362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:03:51] local.INFO: Extracted packet for processing {"connection_id":190362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:03:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:03:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:03:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:03:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:03:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:03:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:03:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:03:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:03:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:03:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:03:51] local.INFO: Teltonika packet parsed successfully {"connection_id":190362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:03:51] local.INFO: Passing IMEI to GPS processor {"connection_id":190362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:03:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":190362,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:03:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:03:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:03:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:03:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:03:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:03:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:03:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:03:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:03:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:03:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:03:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:03:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:03:51] local.INFO: DEBUG: GPS processor result {"connection_id":190362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:03:51] local.INFO: GPS data processed {"connection_id":190362,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:03:51] local.INFO: Acknowledgment sent {"connection_id":190362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:04:02] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:02] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:02] local.INFO: IMEI packet received {"connection_id":188880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":188880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:04:07] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:07] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:04:07] local.INFO: IMEI packet received {"connection_id":188880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":188880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:04:08] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:08] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:08] local.INFO: Packet analysis {"connection_id":188880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:04:08] local.INFO: Extracted packet for processing {"connection_id":188880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 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-09-21 20:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:04: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-09-21 20:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":188880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:04:08] local.INFO: GPS data processed {"connection_id":188880,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:04:08] local.INFO: Acknowledgment sent {"connection_id":188880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:04:12] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:12] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:12] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:04:14] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:04:14] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:04:14] local.INFO: IMEI packet received {"connection_id":189052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:04:14] local.INFO: IMEI acknowledgment sent {"connection_id":189052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:04:17] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:17] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:04:17] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:04:18] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:18] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:18] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:04:18] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:04:18] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:04:18] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:04:40] local.INFO: TCP Data received {"connection_id":188880,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188880,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:40] local.INFO: Processing buffer {"connection_id":188880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c45ecf98012d34c14006aa40600009000c2c..."} 
[2026-09-21 20:04:40] local.INFO: Packet analysis {"connection_id":188880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:04:40] local.INFO: Extracted packet for processing {"connection_id":188880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c45e"} 
[2026-09-21 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240164352001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790000943000,"timestamp_ms":1790000943000,"timestamp_seconds":1790000943,"priority":1,"record_length":96,"hex_timestamp":"000001a0c45ecf98"} 
[2026-09-21 20:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 20:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:04: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-09-21 20:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240164352001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240164352001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240164352001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":188880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:04:40] local.INFO: GPS data processed {"connection_id":188880,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:04:40] local.INFO: Acknowledgment sent {"connection_id":188880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:04:49] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:49] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:04:49] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:04:49] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:04:49] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:04:49] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:05:07] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:07] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:07] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:05:12] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:12] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:12] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:05:12] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:12] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:05:12] local.INFO: IMEI packet received {"connection_id":191643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":191643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:05:13] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:13] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:13] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:05:13] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:05:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:05:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:05:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:05:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:05:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:05:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:05:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:05:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:05:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:05:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:05:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:05:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:05:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:05:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:05:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:05:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:05:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:05:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:05:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:05:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:05:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:05:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:05:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:05:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:05:13] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:05:13] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:05:13] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:05:17] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:17] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:05:17] local.INFO: IMEI packet received {"connection_id":190364,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":190364,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:05:18] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:18] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:18] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:05:18] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:05:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:05:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:05:18] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:05:18] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:05:45] local.INFO: TCP Data received {"connection_id":191643,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191643,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:45] local.INFO: Processing buffer {"connection_id":191643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:05:45] local.INFO: Packet analysis {"connection_id":191643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:05:45] local.INFO: Extracted packet for processing {"connection_id":191643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05: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-09-21 20:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:05:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:05:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:05:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:05:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:05: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-09-21 20:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:05:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:05:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":191643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:05:45] local.INFO: GPS data processed {"connection_id":191643,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:05:45] local.INFO: Acknowledgment sent {"connection_id":191643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:05:49] local.INFO: TCP Data received {"connection_id":190364,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190364,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:49] local.INFO: Processing buffer {"connection_id":190364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4604e68012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:05:49] local.INFO: Packet analysis {"connection_id":190364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:05:49] local.INFO: Extracted packet for processing {"connection_id":190364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c460"} 
[2026-09-21 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240189440001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001041000,"timestamp_ms":1790001041000,"timestamp_seconds":1790001041,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4604e68"} 
[2026-09-21 20:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190364,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240189440001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240189440001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240189440001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":190364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877955,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:05:49] local.INFO: GPS data processed {"connection_id":190364,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:05:49] local.INFO: Acknowledgment sent {"connection_id":190364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:06:02] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:02] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:02] local.INFO: IMEI packet received {"connection_id":189053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":189053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:06:07] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:07] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:06:07] local.INFO: IMEI packet received {"connection_id":189053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":189053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:06:08] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:08] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:08] local.INFO: Packet analysis {"connection_id":189053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:06:08] local.INFO: Extracted packet for processing {"connection_id":189053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 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-09-21 20:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":189053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:06:08] local.INFO: GPS data processed {"connection_id":189053,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:06:08] local.INFO: Acknowledgment sent {"connection_id":189053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:06:17] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:17] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:17] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:06:20] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:20] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:06:20] local.INFO: IMEI packet received {"connection_id":191644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":191644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:06:21] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:21] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:21] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:21] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:06:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:06:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:06:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:06:21] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:06:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":191644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:06:21] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:06:21] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:06:22] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:22] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:22] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:22] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":191644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:06:22] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:06:22] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:06:41] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:41] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:06:41] local.INFO: Packet analysis {"connection_id":189053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:06:41] local.INFO: Extracted packet for processing {"connection_id":189053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:06:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:06:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:06:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:06:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:06:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:06:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:06:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:06:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:06:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:06:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:06:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:06:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:06:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:06:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:06:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:06:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:06:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:06:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:06:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:06:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:06:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:06:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:06:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:06:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:06:41] local.INFO: DEBUG: GPS processor result {"connection_id":189053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:06:41] local.INFO: GPS data processed {"connection_id":189053,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:06:41] local.INFO: Acknowledgment sent {"connection_id":189053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:06:53] local.INFO: TCP Data received {"connection_id":191644,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191644,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:53] local.INFO: Processing buffer {"connection_id":191644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:06:53] local.INFO: Packet analysis {"connection_id":191644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:53] local.INFO: Extracted packet for processing {"connection_id":191644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:06:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:06:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:06:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:06:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":191644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:06:53] local.INFO: GPS data processed {"connection_id":191644,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:06:53] local.INFO: Acknowledgment sent {"connection_id":191644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:07:02] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:02] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:02] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:07:07] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:07] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:07:07] local.INFO: IMEI packet received {"connection_id":191645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":191645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:07:08] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:08] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:08] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:07:08] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":191645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:07:08] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:07:08] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:07:22] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:22] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:22] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:07:27] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:27] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:07:27] local.INFO: IMEI packet received {"connection_id":190365,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":190365,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:07:28] local.INFO: TCP Data received {"connection_id":190365,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190365,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:07:28] local.INFO: Processing buffer {"connection_id":190365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:07:28] local.INFO: Packet analysis {"connection_id":190365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:07:28] local.INFO: Extracted packet for processing {"connection_id":190365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:07: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-09-21 20:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":190365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":190365,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:07:28] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":190365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:07:28] local.INFO: GPS data processed {"connection_id":190365,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:07:28] local.INFO: Acknowledgment sent {"connection_id":190365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:07:40] local.INFO: TCP Data received {"connection_id":191645,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191645,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:40] local.INFO: Processing buffer {"connection_id":191645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:07:40] local.INFO: Packet analysis {"connection_id":191645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:07:40] local.INFO: Extracted packet for processing {"connection_id":191645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:07:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:07:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:07:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:07:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:07:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:07:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:07:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:07:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:07:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:07:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:07:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:07:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:07:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:07:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:07:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:07:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:07:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:07:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:07:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:07:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:07:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:07:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:07:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:07:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:07:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:07:40] local.INFO: DEBUG: GPS processor result {"connection_id":191645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:07:40] local.INFO: GPS data processed {"connection_id":191645,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:07:40] local.INFO: Acknowledgment sent {"connection_id":191645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:08:02] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:02] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:02] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:08:07] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:07] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:08:07] local.INFO: IMEI packet received {"connection_id":189055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":189055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:08:08] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:08] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:08] local.INFO: Packet analysis {"connection_id":189055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:08:08] local.INFO: Extracted packet for processing {"connection_id":189055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 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-09-21 20:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":189055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:08:08] local.INFO: GPS data processed {"connection_id":189055,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:08:08] local.INFO: Acknowledgment sent {"connection_id":189055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:08:12] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:12] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:12] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:08:12] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:08:17] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:17] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:08:17] local.INFO: IMEI packet received {"connection_id":190366,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":190366,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:08:18] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:18] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:18] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:08:18] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877965,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:08:18] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:08:18] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:08:40] local.INFO: TCP Data received {"connection_id":189055,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189055,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:40] local.INFO: Processing buffer {"connection_id":189055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:08:40] local.INFO: Packet analysis {"connection_id":189055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:08:40] local.INFO: Extracted packet for processing {"connection_id":189055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":189055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:08:40] local.INFO: GPS data processed {"connection_id":189055,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:08:40] local.INFO: Acknowledgment sent {"connection_id":189055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:08:49] local.INFO: TCP Data received {"connection_id":190366,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190366,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:49] local.INFO: Processing buffer {"connection_id":190366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:08:49] local.INFO: Packet analysis {"connection_id":190366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:08:49] local.INFO: Extracted packet for processing {"connection_id":190366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190366,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:08:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":190366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:08:49] local.INFO: GPS data processed {"connection_id":190366,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:08:49] local.INFO: Acknowledgment sent {"connection_id":190366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:09:02] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:02] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:02] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:09:07] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:07] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:09:07] local.INFO: IMEI packet received {"connection_id":188882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":188882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:09:08] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:08] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:08] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:09:08] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:09:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:09:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:09:08] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:09:08] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:09:12] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:12] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:12] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:09:17] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:17] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:09:17] local.INFO: IMEI packet received {"connection_id":191647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":191647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:09:18] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:18] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:18] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:09:18] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":191647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:09:18] local.INFO: GPS data processed {"connection_id":191647,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:09:18] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:09:39] local.INFO: TCP Data received {"connection_id":188883,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:09:39] local.INFO: Processing buffer {"connection_id":188883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:09:39] local.INFO: IMEI packet received {"connection_id":188883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:09:39] local.INFO: IMEI acknowledgment sent {"connection_id":188883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:09:40] local.INFO: TCP Data received {"connection_id":188882,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188882,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:40] local.INFO: Processing buffer {"connection_id":188882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4636760012d34c14006aa40600009000c2e..."} 
[2026-09-21 20:09:40] local.INFO: Packet analysis {"connection_id":188882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:09:40] local.INFO: Extracted packet for processing {"connection_id":188882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c463"} 
[2026-09-21 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":46,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240241408001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790001244000,"timestamp_ms":1790001244000,"timestamp_seconds":1790001244,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4636760"} 
[2026-09-21 20:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:09:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240241408001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240241408001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240241408001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":188882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:09:40] local.INFO: GPS data processed {"connection_id":188882,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:09:40] local.INFO: Acknowledgment sent {"connection_id":188882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:09:49] local.INFO: TCP Data received {"connection_id":191647,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191647,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:49] local.INFO: Processing buffer {"connection_id":191647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:09:49] local.INFO: Packet analysis {"connection_id":191647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:09:49] local.INFO: Extracted packet for processing {"connection_id":191647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":191647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:09:49] local.INFO: GPS data processed {"connection_id":191647,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:09:49] local.INFO: Acknowledgment sent {"connection_id":191647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:10:02] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:02] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:02] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:10:08] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:08] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:10:08] local.INFO: IMEI packet received {"connection_id":188884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:10:08] local.INFO: IMEI acknowledgment sent {"connection_id":188884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:10:09] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:09] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:09] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:10:09] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:10:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:10:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:10:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:10:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:10:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:10: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-09-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:10: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-09-21 20:10:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:10:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:10:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:10:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:10:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:10:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:10:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:10:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:10:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:10:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:10:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:10:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:10:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:10:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:10:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:10:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:10:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:10:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:10:09] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:10:09] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:10:17] local.INFO: TCP Data received {"connection_id":189056,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:17] local.INFO: Processing buffer {"connection_id":189056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:17] local.INFO: IMEI packet received {"connection_id":189056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":189056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:10:19] local.INFO: TCP Data received {"connection_id":191648,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:10:19] local.INFO: Processing buffer {"connection_id":191648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:10:19] local.INFO: IMEI packet received {"connection_id":191648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":191648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:10:22] local.INFO: TCP Data received {"connection_id":189056,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:22] local.INFO: Processing buffer {"connection_id":189056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:10:22] local.INFO: IMEI packet received {"connection_id":189056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":189056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:10:22] local.INFO: TCP Data received {"connection_id":189056,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:22] local.INFO: Processing buffer {"connection_id":189056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:22] local.INFO: Packet analysis {"connection_id":189056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:10:22] local.INFO: Extracted packet for processing {"connection_id":189056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:10:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:10:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:10:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:10:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:10:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:10:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:10:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:10:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":189056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:10:22] local.INFO: GPS data processed {"connection_id":189056,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:10:22] local.INFO: Acknowledgment sent {"connection_id":189056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:10:27] local.INFO: TCP Data received {"connection_id":189056,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189056,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:27] local.INFO: Processing buffer {"connection_id":189056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:10:27] local.INFO: Packet analysis {"connection_id":189056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:10:27] local.INFO: Extracted packet for processing {"connection_id":189056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 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-09-21 20:10: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-09-21 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-09-21 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-09-21 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-09-21 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-09-21 20:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:10:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:10:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":189056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:10:27] local.INFO: GPS data processed {"connection_id":189056,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:10:27] local.INFO: Acknowledgment sent {"connection_id":189056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:10:41] local.INFO: TCP Data received {"connection_id":188884,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188884,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:41] local.INFO: Processing buffer {"connection_id":188884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:10:41] local.INFO: Packet analysis {"connection_id":188884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:10:41] local.INFO: Extracted packet for processing {"connection_id":188884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:10:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:10: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-09-21 20:10:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:10:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:10:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:10:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:10: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-09-21 20:10:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:10:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:10:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:10:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:10:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:10:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:10:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:10:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:10:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:10:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:10:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:10:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:10:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:10:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:10:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:10:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:10:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:10:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:10:41] local.INFO: DEBUG: GPS processor result {"connection_id":188884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:10:41] local.INFO: GPS data processed {"connection_id":188884,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:10:41] local.INFO: Acknowledgment sent {"connection_id":188884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:11:02] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:02] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:02] local.INFO: IMEI packet received {"connection_id":189057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":189057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:11:07] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:07] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:11:07] local.INFO: IMEI packet received {"connection_id":189057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":189057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:11:08] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:08] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:08] local.INFO: Packet analysis {"connection_id":189057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:11:08] local.INFO: Extracted packet for processing {"connection_id":189057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":189057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:11:08] local.INFO: GPS data processed {"connection_id":189057,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:11:08] local.INFO: Acknowledgment sent {"connection_id":189057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:11:12] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:12] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:12] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:11:17] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:17] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:11:17] local.INFO: IMEI packet received {"connection_id":191649,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":191649,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:11:18] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:11:18] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c464e630012d196f40071fef40003c00ff2c..."} 
[2026-09-21 20:11:18] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:11:18] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c464"} 
[2026-09-21 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":44,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240266496001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001342000,"timestamp_ms":1790001342000,"timestamp_seconds":1790001342,"priority":1,"record_length":96,"hex_timestamp":"000001a0c464e630"} 
[2026-09-21 20:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240266496001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240266496001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:11:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240266496001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:11:18] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:11:18] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:11:41] local.INFO: TCP Data received {"connection_id":189057,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189057,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:41] local.INFO: Processing buffer {"connection_id":189057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:11:41] local.INFO: Packet analysis {"connection_id":189057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:11:41] local.INFO: Extracted packet for processing {"connection_id":189057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:11:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:11:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:11:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:11:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:11:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:11: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-09-21 20:11:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:11:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:11:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:11:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:11:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:11:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:11:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:11:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:11:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:11:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:11:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:11:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:11:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:11:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:11:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:11:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:11:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:11:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:11:41] local.INFO: DEBUG: GPS processor result {"connection_id":189057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:11:41] local.INFO: GPS data processed {"connection_id":189057,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:11:41] local.INFO: Acknowledgment sent {"connection_id":189057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:11:49] local.INFO: TCP Data received {"connection_id":191649,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191649,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:11:49] local.INFO: Processing buffer {"connection_id":191649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:11:49] local.INFO: Packet analysis {"connection_id":191649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:11:49] local.INFO: Extracted packet for processing {"connection_id":191649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191649,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":191649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:11:49] local.INFO: GPS data processed {"connection_id":191649,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:11:49] local.INFO: Acknowledgment sent {"connection_id":191649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:12:02] local.INFO: TCP Data received {"connection_id":189058,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:02] local.INFO: Processing buffer {"connection_id":189058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:02] local.INFO: IMEI packet received {"connection_id":189058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":189058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:12:07] local.INFO: TCP Data received {"connection_id":189058,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189058,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:07] local.INFO: Processing buffer {"connection_id":189058,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:12:07] local.INFO: IMEI packet received {"connection_id":189058,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":189058,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:12:08] local.INFO: TCP Data received {"connection_id":189058,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:08] local.INFO: Processing buffer {"connection_id":189058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:08] local.INFO: Packet analysis {"connection_id":189058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:12:08] local.INFO: Extracted packet for processing {"connection_id":189058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":189058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:12:08] local.INFO: GPS data processed {"connection_id":189058,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:12:08] local.INFO: Acknowledgment sent {"connection_id":189058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:12:12] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:12] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:12] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:12:17] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:17] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:12:17] local.INFO: IMEI packet received {"connection_id":190367,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":190367,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:12:18] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:18] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:18] local.INFO: Packet analysis {"connection_id":190367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:12:18] local.INFO: Extracted packet for processing {"connection_id":190367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:12:18] 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-09-21 20:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":190367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:12:18] local.INFO: GPS data processed {"connection_id":190367,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:12:18] local.INFO: Acknowledgment sent {"connection_id":190367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:12:39] local.INFO: TCP Data received {"connection_id":189058,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189058,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:39] local.INFO: Processing buffer {"connection_id":189058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:12:39] local.INFO: Packet analysis {"connection_id":189058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:12:39] local.INFO: Extracted packet for processing {"connection_id":189058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:12:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:12:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189058,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:12:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":189058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:12:40] local.INFO: GPS data processed {"connection_id":189058,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:12:40] local.INFO: Acknowledgment sent {"connection_id":189058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:12:49] local.INFO: TCP Data received {"connection_id":190367,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190367,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:49] local.INFO: Processing buffer {"connection_id":190367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:12:49] local.INFO: Packet analysis {"connection_id":190367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:12:49] local.INFO: Extracted packet for processing {"connection_id":190367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190367,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:12:49] 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-09-21 20:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:12:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":190367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:12:49] local.INFO: GPS data processed {"connection_id":190367,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:12:49] local.INFO: Acknowledgment sent {"connection_id":190367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:13:07] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:07] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:07] local.INFO: IMEI packet received {"connection_id":189059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":189059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:13:12] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:12] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:12] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:13:12] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:12] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:13:12] local.INFO: IMEI packet received {"connection_id":189059,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:13:12] local.INFO: IMEI acknowledgment sent {"connection_id":189059,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:13:13] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:13] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:13] local.INFO: Packet analysis {"connection_id":189059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:13:13] local.INFO: Extracted packet for processing {"connection_id":189059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:13:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:13:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":189059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:13:13] local.INFO: GPS data processed {"connection_id":189059,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:13:13] local.INFO: Acknowledgment sent {"connection_id":189059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:13:17] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:17] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:13:17] local.INFO: IMEI packet received {"connection_id":188886,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":188886,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:13:18] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:18] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:18] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:13:18] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:13:18] 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-09-21 20:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:13:18] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:13:18] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:13:18] local.INFO: TCP Data received {"connection_id":189059,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189059,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:18] local.INFO: Processing buffer {"connection_id":189059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:13:18] local.INFO: Packet analysis {"connection_id":189059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:13:18] local.INFO: Extracted packet for processing {"connection_id":189059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:13:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:13:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:13:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:13:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:13:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:13:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:13:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:13:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:13:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:13:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:13:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189059,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:13:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:13:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:13:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:13:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:13:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:13:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:13:18] local.INFO: DEBUG: GPS processor result {"connection_id":189059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:13:18] local.INFO: GPS data processed {"connection_id":189059,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:13:18] local.INFO: Acknowledgment sent {"connection_id":189059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:13:49] local.INFO: TCP Data received {"connection_id":188886,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188886,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:49] local.INFO: Processing buffer {"connection_id":188886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:13:49] local.INFO: Packet analysis {"connection_id":188886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:13:49] local.INFO: Extracted packet for processing {"connection_id":188886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:13:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:13:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:13:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:13:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:13:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:13:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:13:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:13:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:13:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:13:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:13:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:13:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:13:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:13:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188886,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:13:49] 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-09-21 20:13:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:13:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:13:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:13:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:13:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:13:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:13:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:13:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:13:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:13:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:13:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:13:49] local.INFO: DEBUG: GPS processor result {"connection_id":188886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:13:49] local.INFO: GPS data processed {"connection_id":188886,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:13:49] local.INFO: Acknowledgment sent {"connection_id":188886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:14:09] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:09] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:09] local.INFO: IMEI packet received {"connection_id":188887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":188887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:14:12] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:12] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:12] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:14:17] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:17] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:14:17] local.INFO: IMEI packet received {"connection_id":190369,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":190369,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:14:17] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:17] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:14:17] local.INFO: IMEI packet received {"connection_id":188887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:14:18] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:18] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:18] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:14:18] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:14:18] 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-09-21 20:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:14:18] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:14:18] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:14:19] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:19] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:19] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:14:19] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:14:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:14:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:14:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:14:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:14:19] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:14:19] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:14:20] local.INFO: TCP Data received {"connection_id":188887,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188887,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:20] local.INFO: Processing buffer {"connection_id":188887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467ff28012d34c14006aa40600006000c2d..."} 
[2026-09-21 20:14:20] local.INFO: Packet analysis {"connection_id":188887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:14:20] local.INFO: Extracted packet for processing {"connection_id":188887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:14:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:14:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240318464001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:14:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790001545000,"timestamp_ms":1790001545000,"timestamp_seconds":1790001545,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467ff28"} 
[2026-09-21 20:14:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:14: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-09-21 20:14:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 20:14:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:14:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:14:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:14:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:14:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:14:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:14:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:14:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:14:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:14:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:14:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240318464001,"66":25147,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:14:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:14:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:14:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240318464001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:14:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:14:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:14:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:14:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:14:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240318464001,"power":25147,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:14:20] local.INFO: DEBUG: GPS processor result {"connection_id":188887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:14:20] local.INFO: GPS data processed {"connection_id":188887,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:14:20] local.INFO: Acknowledgment sent {"connection_id":188887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:14:49] local.INFO: TCP Data received {"connection_id":190369,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190369,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:49] local.INFO: Processing buffer {"connection_id":190369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:14:49] local.INFO: Packet analysis {"connection_id":190369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:14:49] local.INFO: Extracted packet for processing {"connection_id":190369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190369,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":190369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:14:49] local.INFO: GPS data processed {"connection_id":190369,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:14:49] local.INFO: Acknowledgment sent {"connection_id":190369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:15:02] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:02] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:02] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:15:08] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:08] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:08] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:15:08] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:15:13] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:13] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:15:13] local.INFO: IMEI packet received {"connection_id":191651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:15:13] local.INFO: IMEI acknowledgment sent {"connection_id":191651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:15:14] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:14] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:14] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:15:14] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:15:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:15:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:15:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:15:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:15:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:15:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:15:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:15:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:15:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:15:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:15:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:15:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:15:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:15:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:15:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:15:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:15:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:15:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:15:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:15:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:15:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:15:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:15:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:15:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:15:14] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:15:14] local.INFO: GPS data processed {"connection_id":191651,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:15:14] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:15:17] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:17] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:17] local.INFO: IMEI packet received {"connection_id":189060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":189060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:15:19] local.INFO: TCP Data received {"connection_id":191651,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191651,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:19] local.INFO: Processing buffer {"connection_id":191651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:15:19] local.INFO: Packet analysis {"connection_id":191651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:15:19] local.INFO: Extracted packet for processing {"connection_id":191651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:15:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:15:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:15:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:15:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:15:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":191651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:15:19] local.INFO: GPS data processed {"connection_id":191651,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:15:19] local.INFO: Acknowledgment sent {"connection_id":191651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:15:22] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:22] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:15:22] local.INFO: IMEI packet received {"connection_id":189060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":189060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:15:23] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:23] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:23] local.INFO: Packet analysis {"connection_id":189060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:15:23] local.INFO: Extracted packet for processing {"connection_id":189060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:15:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:15:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:15:23] 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-09-21 20:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:15:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:15:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":189060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:15:23] local.INFO: GPS data processed {"connection_id":189060,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:15:23] local.INFO: Acknowledgment sent {"connection_id":189060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:15:27] local.INFO: TCP Data received {"connection_id":189060,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189060,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:27] local.INFO: Processing buffer {"connection_id":189060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:15:27] local.INFO: Packet analysis {"connection_id":189060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:15:27] local.INFO: Extracted packet for processing {"connection_id":189060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:15: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-09-21 20: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-09-21 20: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-09-21 20: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-09-21 20:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:15: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-09-21 20:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:15:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:15:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":189060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:15:27] local.INFO: GPS data processed {"connection_id":189060,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:15:27] local.INFO: Acknowledgment sent {"connection_id":189060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:15:45] local.INFO: TCP Data received {"connection_id":188888,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188888,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:15:45] local.INFO: Processing buffer {"connection_id":188888,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:15:45] local.INFO: IMEI packet received {"connection_id":188888,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:15:45] local.INFO: IMEI acknowledgment sent {"connection_id":188888,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:16:02] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:02] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:02] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:16:07] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:07] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:16:07] local.INFO: IMEI packet received {"connection_id":188889,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":188889,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:16:08] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:08] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:08] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:16:08] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:16:08] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:16:08] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:16:12] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:12] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:12] local.INFO: IMEI packet received {"connection_id":188890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":188890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:16:15] local.INFO: TCP Data received {"connection_id":189061,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189061,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:16:15] local.INFO: Processing buffer {"connection_id":189061,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:16:15] local.INFO: IMEI packet received {"connection_id":189061,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":189061,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:16:17] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:17] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:16:17] local.INFO: IMEI packet received {"connection_id":188890,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":188890,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:16:18] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:16:18] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4697df8012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:16:18] local.INFO: Packet analysis {"connection_id":188890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:16:18] local.INFO: Extracted packet for processing {"connection_id":188890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c469"} 
[2026-09-21 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240343552001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001643000,"timestamp_ms":1790001643000,"timestamp_seconds":1790001643,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4697df8"} 
[2026-09-21 20:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:16:18] 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-09-21 20:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240343552001,"66":2177,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240343552001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240343552001,"power":2177,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":188890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:16:18] local.INFO: GPS data processed {"connection_id":188890,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:16:18] local.INFO: Acknowledgment sent {"connection_id":188890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:16:40] local.INFO: TCP Data received {"connection_id":188889,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188889,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:40] local.INFO: Processing buffer {"connection_id":188889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:16:40] local.INFO: Packet analysis {"connection_id":188889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:16:40] local.INFO: Extracted packet for processing {"connection_id":188889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188889,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":188889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:16:40] local.INFO: GPS data processed {"connection_id":188889,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:16:40] local.INFO: Acknowledgment sent {"connection_id":188889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:16:48] local.INFO: TCP Data received {"connection_id":188890,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188890,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:16:48] local.INFO: Processing buffer {"connection_id":188890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:16:48] local.INFO: Packet analysis {"connection_id":188890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:16:48] local.INFO: Extracted packet for processing {"connection_id":188890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:16:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:16:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:16:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:16:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188890,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:16:48] 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-09-21 20:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:16:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:16:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":188890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":877999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:16:48] local.INFO: GPS data processed {"connection_id":188890,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:16:48] local.INFO: Acknowledgment sent {"connection_id":188890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:17:02] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:02] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:02] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:17:07] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:07] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:17:07] local.INFO: IMEI packet received {"connection_id":191652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":191652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:17:08] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:08] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:08] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:17:08] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":191652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:17:08] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:17:08] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:17:12] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:12] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:12] local.INFO: IMEI packet received {"connection_id":189062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":189062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:17:17] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:17] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:17:17] local.INFO: IMEI packet received {"connection_id":189062,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":189062,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:17:18] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:18] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:18] local.INFO: Packet analysis {"connection_id":189062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:17:18] local.INFO: Extracted packet for processing {"connection_id":189062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:17:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:17:18] 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-09-21 20:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:17:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:17:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":189062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:17:18] local.INFO: GPS data processed {"connection_id":189062,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:17:18] local.INFO: Acknowledgment sent {"connection_id":189062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:17:40] local.INFO: TCP Data received {"connection_id":191652,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191652,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:40] local.INFO: Processing buffer {"connection_id":191652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:17:40] local.INFO: Packet analysis {"connection_id":191652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:17:40] local.INFO: Extracted packet for processing {"connection_id":191652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:17:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:17:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:17:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:17:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:17:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:17:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:17:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:17:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:17:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:17:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:17:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:17:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:17:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:17:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:17:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:17:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:17:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:17:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:17:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:17:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:17:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:17:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:17:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:17:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:17:40] local.INFO: DEBUG: GPS processor result {"connection_id":191652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:17:40] local.INFO: GPS data processed {"connection_id":191652,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:17:40] local.INFO: Acknowledgment sent {"connection_id":191652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:17:49] local.INFO: TCP Data received {"connection_id":189062,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189062,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:49] local.INFO: Processing buffer {"connection_id":189062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:17:49] local.INFO: Packet analysis {"connection_id":189062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:17:49] local.INFO: Extracted packet for processing {"connection_id":189062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:17:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:17:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:17:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:17:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:17:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:17:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:17:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:17:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:17:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:17:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:17:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:17:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:17:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:17:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189062,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:17:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:17:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:17:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:17:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:17:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:17:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:17:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:17:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:17:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:17:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:17:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:17:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:17:49] local.INFO: DEBUG: GPS processor result {"connection_id":189062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:17:49] local.INFO: GPS data processed {"connection_id":189062,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:17:49] local.INFO: Acknowledgment sent {"connection_id":189062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:18:02] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:02] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:02] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:18:02] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:18:08] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:08] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:18:08] local.INFO: IMEI packet received {"connection_id":188891,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":188891,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:18:09] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:09] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:09] local.INFO: Packet analysis {"connection_id":188891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:18:09] local.INFO: Extracted packet for processing {"connection_id":188891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:18:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:18:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:18:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:18:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:18:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:18:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:18:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:18:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:18:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:18:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:18:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:18:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:18:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:18:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:18:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:18:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:18:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:18:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:18:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:18:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:18:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:18:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:18:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:18:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:18:09] local.INFO: DEBUG: GPS processor result {"connection_id":188891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:18:09] local.INFO: GPS data processed {"connection_id":188891,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:18:09] local.INFO: Acknowledgment sent {"connection_id":188891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:18:12] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:12] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:12] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:18:17] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:17] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:18:17] local.INFO: IMEI packet received {"connection_id":188892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":188892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:18:18] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:18] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:18] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:18:18] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:18:18] 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-09-21 20:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:18:18] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:18:18] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:18:41] local.INFO: TCP Data received {"connection_id":188891,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188891,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:41] local.INFO: Processing buffer {"connection_id":188891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:18:41] local.INFO: Packet analysis {"connection_id":188891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:18:41] local.INFO: Extracted packet for processing {"connection_id":188891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:18:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:18:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:18:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:18:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:18:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:18:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:18:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:18:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:18:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:18:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:18:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:18:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188891,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:18: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-09-21 20:18:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:18:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:18:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:18:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:18:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:18:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:18:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:18:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:18:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:18:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:18:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:18:41] local.INFO: DEBUG: GPS processor result {"connection_id":188891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:18:41] local.INFO: GPS data processed {"connection_id":188891,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:18:41] local.INFO: Acknowledgment sent {"connection_id":188891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:18:49] local.INFO: TCP Data received {"connection_id":188892,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188892,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:49] local.INFO: Processing buffer {"connection_id":188892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:18:49] local.INFO: Packet analysis {"connection_id":188892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:18:49] local.INFO: Extracted packet for processing {"connection_id":188892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":188892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:18:49] local.INFO: GPS data processed {"connection_id":188892,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:18:49] local.INFO: Acknowledgment sent {"connection_id":188892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:19:02] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:02] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:02] local.INFO: IMEI packet received {"connection_id":189065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":189065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:19:07] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:07] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:19:07] local.INFO: IMEI packet received {"connection_id":189065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":189065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:19:08] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:08] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:08] local.INFO: Packet analysis {"connection_id":189065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:19:08] local.INFO: Extracted packet for processing {"connection_id":189065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":189065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:19:08] local.INFO: GPS data processed {"connection_id":189065,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:19:08] local.INFO: Acknowledgment sent {"connection_id":189065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:19:12] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:12] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:12] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:19:17] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:17] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:19:17] local.INFO: IMEI packet received {"connection_id":191653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:19:18] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:18] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:18] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:19:18] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:19:18] 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-09-21 20:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:19:18] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:19:18] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:19:41] local.INFO: TCP Data received {"connection_id":189065,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189065,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:41] local.INFO: Processing buffer {"connection_id":189065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46c96f0012d34c14006aa40600007000c2b..."} 
[2026-09-21 20:19:41] local.INFO: Packet analysis {"connection_id":189065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:19:41] local.INFO: Extracted packet for processing {"connection_id":189065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46c"} 
[2026-09-21 20:19:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:19:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240395520001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19: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-09-21 20:19:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790001846000,"timestamp_ms":1790001846000,"timestamp_seconds":1790001846,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46c96f0"} 
[2026-09-21 20:19:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:19:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:19:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-09-21 20:19:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:19:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:19:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:19:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:19:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:19:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:19:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:19: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-09-21 20:19:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:19:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:19:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240395520001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:19:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:19:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:19:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240395520001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:19:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:19:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:19:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:19:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:19:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240395520001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:19:41] local.INFO: DEBUG: GPS processor result {"connection_id":189065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:19:41] local.INFO: GPS data processed {"connection_id":189065,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:19:41] local.INFO: Acknowledgment sent {"connection_id":189065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:19:49] local.INFO: TCP Data received {"connection_id":191653,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191653,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:49] local.INFO: Processing buffer {"connection_id":191653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:19:49] local.INFO: Packet analysis {"connection_id":191653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:19:49] local.INFO: Extracted packet for processing {"connection_id":191653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:19:49] 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-09-21 20:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":191653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878011,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:19:49] local.INFO: GPS data processed {"connection_id":191653,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:19:49] local.INFO: Acknowledgment sent {"connection_id":191653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:20:07] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:07] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:07] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:20:12] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:12] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:20:12] local.INFO: IMEI packet received {"connection_id":188893,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":188893,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:20:14] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:14] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:14] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:20:14] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:20:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:20:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:20:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:20:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:20:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:20:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:20:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:20:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:20:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:20:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:20:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:20:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:20:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:20:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:20:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:20:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:20:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:20:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:20:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:20:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:20:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:20:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:20:14] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:20:14] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:20:14] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:20:17] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:17] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:17] local.INFO: IMEI packet received {"connection_id":189066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":189066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:20:20] local.INFO: TCP Data received {"connection_id":188893,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188893,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:20] local.INFO: Processing buffer {"connection_id":188893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:20:20] local.INFO: Packet analysis {"connection_id":188893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:20:20] local.INFO: Extracted packet for processing {"connection_id":188893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:20:20] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:20:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:20:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:20:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:20: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-09-21 20:20:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:20:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:20:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:20:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:20:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:20:20] local.INFO: Teltonika packet parsed successfully {"connection_id":188893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:20:20] local.INFO: Passing IMEI to GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:20:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":188893,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:20:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:20:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:20:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:20:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:20:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:20:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:20:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:20:20] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:20:20] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:20:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:20:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:20:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:20:20] local.INFO: DEBUG: GPS processor result {"connection_id":188893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:20:20] local.INFO: GPS data processed {"connection_id":188893,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:20:20] local.INFO: Acknowledgment sent {"connection_id":188893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:20:22] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:22] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:20:22] local.INFO: IMEI packet received {"connection_id":189066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":189066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:20:22] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:22] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:22] local.INFO: Packet analysis {"connection_id":189066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:20:22] local.INFO: Extracted packet for processing {"connection_id":189066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:20:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:20:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:20:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:20:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:20:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:20:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:20:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:20:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:20:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:20:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:20:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:20:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:20:22] 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-09-21 20:20:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:20:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:20:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:20:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:20:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:20:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:20:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:20:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:20:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:20:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:20:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:20:22] local.INFO: DEBUG: GPS processor result {"connection_id":189066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:20:22] local.INFO: GPS data processed {"connection_id":189066,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:20:22] local.INFO: Acknowledgment sent {"connection_id":189066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:20:27] local.INFO: TCP Data received {"connection_id":189066,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189066,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:27] local.INFO: Processing buffer {"connection_id":189066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:20:27] local.INFO: Packet analysis {"connection_id":189066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:20:27] local.INFO: Extracted packet for processing {"connection_id":189066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 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-09-21 20:20: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-09-21 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":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:20: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-09-21 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-09-21 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-09-21 20:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:20: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-09-21 20:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:20:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":189066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:20:27] local.INFO: GPS data processed {"connection_id":189066,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:20:27] local.INFO: Acknowledgment sent {"connection_id":189066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:21:02] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:02] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:02] local.INFO: IMEI packet received {"connection_id":190372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":190372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:21:07] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:07] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:21:07] local.INFO: IMEI packet received {"connection_id":190372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":190372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:21:08] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:08] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:08] local.INFO: Packet analysis {"connection_id":190372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:21:08] local.INFO: Extracted packet for processing {"connection_id":190372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20: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-09-21 20:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":190372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:21:08] local.INFO: GPS data processed {"connection_id":190372,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:21:08] local.INFO: Acknowledgment sent {"connection_id":190372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:21:12] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:12] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:12] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:21:17] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:17] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:21:17] local.INFO: IMEI packet received {"connection_id":188895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":188895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:21:18] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:21:18] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c46e15c0012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:21:18] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:21:18] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c46e"} 
[2026-09-21 20:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240420608001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790001944000,"timestamp_ms":1790001944000,"timestamp_seconds":1790001944,"priority":1,"record_length":96,"hex_timestamp":"000001a0c46e15c0"} 
[2026-09-21 20:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-09-21 20:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:21:18] 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-09-21 20:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240420608001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240420608001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240420608001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:21:18] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:21:18] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:21:35] local.INFO: TCP Data received {"connection_id":191655,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:21:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:21:35] local.INFO: Processing buffer {"connection_id":191655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:21:35] local.INFO: IMEI packet received {"connection_id":191655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:21:35] local.INFO: IMEI acknowledgment sent {"connection_id":191655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:21:39] local.INFO: TCP Data received {"connection_id":190372,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190372,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:39] local.INFO: Processing buffer {"connection_id":190372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:21:39] local.INFO: Packet analysis {"connection_id":190372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:21:39] local.INFO: Extracted packet for processing {"connection_id":190372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:21: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-09-21 20:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":190372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:21:39] local.INFO: GPS data processed {"connection_id":190372,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:21:39] local.INFO: Acknowledgment sent {"connection_id":190372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:21:48] local.INFO: TCP Data received {"connection_id":188895,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188895,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:21:48] local.INFO: Processing buffer {"connection_id":188895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:21:48] local.INFO: Packet analysis {"connection_id":188895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:21:48] local.INFO: Extracted packet for processing {"connection_id":188895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":188895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":188895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:21:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":188895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:21:49] local.INFO: GPS data processed {"connection_id":188895,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:21:49] local.INFO: Acknowledgment sent {"connection_id":188895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:22:02] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:02] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:02] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:22:07] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:07] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:22:07] local.INFO: IMEI packet received {"connection_id":190373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":190373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:22:08] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:08] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:08] local.INFO: Packet analysis {"connection_id":190373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:22:08] local.INFO: Extracted packet for processing {"connection_id":190373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 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-09-21 20:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:22: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-09-21 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-09-21 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-09-21 20:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:22:08] local.INFO: GPS data processed {"connection_id":190373,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:22:08] local.INFO: Acknowledgment sent {"connection_id":190373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:22:12] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:12] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:12] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:22:14] local.INFO: TCP Data received {"connection_id":188896,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:22:14] local.INFO: Processing buffer {"connection_id":188896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:22:14] local.INFO: IMEI packet received {"connection_id":188896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":188896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:22:17] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:17] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:22:17] local.INFO: IMEI packet received {"connection_id":191656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":191656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:22:18] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:18] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:18] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:22:18] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:22:18] 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-09-21 20:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":191656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:22:18] local.INFO: GPS data processed {"connection_id":191656,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:22:18] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:22:40] local.INFO: TCP Data received {"connection_id":190373,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190373,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:40] local.INFO: Processing buffer {"connection_id":190373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:22:40] local.INFO: Packet analysis {"connection_id":190373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:22:40] local.INFO: Extracted packet for processing {"connection_id":190373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":190373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:22:40] local.INFO: GPS data processed {"connection_id":190373,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:22:40] local.INFO: Acknowledgment sent {"connection_id":190373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:22:49] local.INFO: TCP Data received {"connection_id":191656,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191656,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:49] local.INFO: Processing buffer {"connection_id":191656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:22:49] local.INFO: Packet analysis {"connection_id":191656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:22:49] local.INFO: Extracted packet for processing {"connection_id":191656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:22:49] 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-09-21 20:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":191656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:22:49] local.INFO: GPS data processed {"connection_id":191656,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:22:49] local.INFO: Acknowledgment sent {"connection_id":191656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:23:02] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:02] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:02] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:23:07] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:07] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:23:07] local.INFO: IMEI packet received {"connection_id":188897,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":188897,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:23:08] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:08] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:08] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:23:08] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:23: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-09-21 20: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-09-21 20:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:23:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:23:08] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:23:08] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:23:12] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:12] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:12] local.INFO: IMEI packet received {"connection_id":191657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":191657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:23:17] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:17] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:23:17] local.INFO: IMEI packet received {"connection_id":191657,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":191657,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:23:18] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:18] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:18] local.INFO: Packet analysis {"connection_id":191657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:23:18] local.INFO: Extracted packet for processing {"connection_id":191657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:23:18] 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-09-21 20:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":191657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:23:18] local.INFO: GPS data processed {"connection_id":191657,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:23:18] local.INFO: Acknowledgment sent {"connection_id":191657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:23:40] local.INFO: TCP Data received {"connection_id":188897,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188897,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:40] local.INFO: Processing buffer {"connection_id":188897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:23:40] local.INFO: Packet analysis {"connection_id":188897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:23:40] local.INFO: Extracted packet for processing {"connection_id":188897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188897,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":188897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:23:40] local.INFO: GPS data processed {"connection_id":188897,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:23:40] local.INFO: Acknowledgment sent {"connection_id":188897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:23:49] local.INFO: TCP Data received {"connection_id":191657,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191657,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:49] local.INFO: Processing buffer {"connection_id":191657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:23:49] local.INFO: Packet analysis {"connection_id":191657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:23:49] local.INFO: Extracted packet for processing {"connection_id":191657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191657,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:23:49] 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-09-21 20:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":191657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:23:49] local.INFO: GPS data processed {"connection_id":191657,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:23:49] local.INFO: Acknowledgment sent {"connection_id":191657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:24:02] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:02] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:02] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:24:07] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:07] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:24:07] local.INFO: IMEI packet received {"connection_id":190374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":190374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:24:08] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:08] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:08] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:24:08] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 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-09-21 20:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:24:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:24:08] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:24:08] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:24:12] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:12] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:12] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:24:17] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:17] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:24:17] local.INFO: IMEI packet received {"connection_id":191658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":191658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:24:18] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:18] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:18] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:24:18] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:24:18] 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-09-21 20:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:24:18] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:24:18] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:24:40] local.INFO: TCP Data received {"connection_id":190374,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190374,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:40] local.INFO: Processing buffer {"connection_id":190374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4712eb8012d34c14006aa4060000a000c2a..."} 
[2026-09-21 20:24:40] local.INFO: Packet analysis {"connection_id":190374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:24:40] local.INFO: Extracted packet for processing {"connection_id":190374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c471"} 
[2026-09-21 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240472576001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002147000,"timestamp_ms":1790002147000,"timestamp_seconds":1790002147,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4712eb8"} 
[2026-09-21 20:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:24: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240472576001,"66":25343,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240472576001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240472576001,"power":25343,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":190374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:24:40] local.INFO: GPS data processed {"connection_id":190374,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:24:40] local.INFO: Acknowledgment sent {"connection_id":190374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:24:49] local.INFO: TCP Data received {"connection_id":191658,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191658,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:49] local.INFO: Processing buffer {"connection_id":191658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:24:49] local.INFO: Packet analysis {"connection_id":191658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:24:49] local.INFO: Extracted packet for processing {"connection_id":191658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:24:49] 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-09-21 20:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:24:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":191658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:24:49] local.INFO: GPS data processed {"connection_id":191658,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:24:49] local.INFO: Acknowledgment sent {"connection_id":191658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:25:07] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:07] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:07] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:25:12] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:12] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:25:12] local.INFO: IMEI packet received {"connection_id":188899,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":188899,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:25:14] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:14] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:14] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:25:14] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:25:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:25:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:25:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:25:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:25:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:25:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:25:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:25:14] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:25:14] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:25:17] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:17] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:17] local.INFO: IMEI packet received {"connection_id":189068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":189068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:25:22] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:22] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:25:22] local.INFO: IMEI packet received {"connection_id":189068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":189068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:25:23] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:23] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:23] local.INFO: Packet analysis {"connection_id":189068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:25:23] local.INFO: Extracted packet for processing {"connection_id":189068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:25:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:25:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:25:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:25:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:25:23] 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-09-21 20:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:25:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:25:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":189068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878033,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:25:23] local.INFO: GPS data processed {"connection_id":189068,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:25:23] local.INFO: Acknowledgment sent {"connection_id":189068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:25:27] local.INFO: TCP Data received {"connection_id":189068,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189068,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:27] local.INFO: Processing buffer {"connection_id":189068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:25:27] local.INFO: Packet analysis {"connection_id":189068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:25:27] local.INFO: Extracted packet for processing {"connection_id":189068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 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-09-21 20:25: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-09-21 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-09-21 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-09-21 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-09-21 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-09-21 20:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:25: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-09-21 20:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"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-09-21 20:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:25:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":189068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:25:27] local.INFO: GPS data processed {"connection_id":189068,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:25:27] local.INFO: Acknowledgment sent {"connection_id":189068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:25:46] local.INFO: TCP Data received {"connection_id":188899,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188899,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:46] local.INFO: Processing buffer {"connection_id":188899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:25:46] local.INFO: Packet analysis {"connection_id":188899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:25:46] local.INFO: Extracted packet for processing {"connection_id":188899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:25:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:25: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-09-21 20:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188899,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:25:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:25:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":188899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:25:46] local.INFO: GPS data processed {"connection_id":188899,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:25:46] local.INFO: Acknowledgment sent {"connection_id":188899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:26:02] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:02] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:02] local.INFO: IMEI packet received {"connection_id":189069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":189069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:26:07] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:07] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:26:07] local.INFO: IMEI packet received {"connection_id":189069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":189069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:26:08] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:08] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:08] local.INFO: Packet analysis {"connection_id":189069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:26:08] local.INFO: Extracted packet for processing {"connection_id":189069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20: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-09-21 20:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:26: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-09-21 20:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":189069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:26:08] local.INFO: GPS data processed {"connection_id":189069,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:26:08] local.INFO: Acknowledgment sent {"connection_id":189069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:26:12] local.INFO: TCP Data received {"connection_id":190376,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:12] local.INFO: Processing buffer {"connection_id":190376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:12] local.INFO: IMEI packet received {"connection_id":190376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":190376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:26:17] local.INFO: TCP Data received {"connection_id":190376,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190376,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:17] local.INFO: Processing buffer {"connection_id":190376,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:26:17] local.INFO: IMEI packet received {"connection_id":190376,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":190376,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:26:18] local.INFO: TCP Data received {"connection_id":190376,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:26:18] local.INFO: Processing buffer {"connection_id":190376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c472ad88012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:26:18] local.INFO: Packet analysis {"connection_id":190376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:26:18] local.INFO: Extracted packet for processing {"connection_id":190376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c472"} 
[2026-09-21 20:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240497664001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002245000,"timestamp_ms":1790002245000,"timestamp_seconds":1790002245,"priority":1,"record_length":96,"hex_timestamp":"000001a0c472ad88"} 
[2026-09-21 20:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:26:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:26:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:26:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240497664001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240497664001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:26:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:26:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240497664001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":190376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:26:18] local.INFO: GPS data processed {"connection_id":190376,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:26:18] local.INFO: Acknowledgment sent {"connection_id":190376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:26:40] local.INFO: TCP Data received {"connection_id":189069,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189069,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:40] local.INFO: Processing buffer {"connection_id":189069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:26:40] local.INFO: Packet analysis {"connection_id":189069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:26:40] local.INFO: Extracted packet for processing {"connection_id":189069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":189069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:26:40] local.INFO: GPS data processed {"connection_id":189069,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:26:40] local.INFO: Acknowledgment sent {"connection_id":189069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:26:48] local.INFO: TCP Data received {"connection_id":190376,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190376,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:26:48] local.INFO: Processing buffer {"connection_id":190376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:26:48] local.INFO: Packet analysis {"connection_id":190376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:26:48] local.INFO: Extracted packet for processing {"connection_id":190376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:26:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:26:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:26:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:26:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:26:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:26:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:26:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:26:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:26:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:26:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:26:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:26:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:26:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:26:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190376,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:26:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:26:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:26:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:26:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:26:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:26:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:26:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:26:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:26:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:26:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:26:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:26:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":190376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:26:49] local.INFO: GPS data processed {"connection_id":190376,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:26:49] local.INFO: Acknowledgment sent {"connection_id":190376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:27:02] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:02] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:02] local.INFO: IMEI packet received {"connection_id":188901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":188901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:27:07] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:07] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:27:07] local.INFO: IMEI packet received {"connection_id":188901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":188901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:27:08] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:08] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:08] local.INFO: Packet analysis {"connection_id":188901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:27:08] local.INFO: Extracted packet for processing {"connection_id":188901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:27: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-09-21 20:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":188901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:27:08] local.INFO: GPS data processed {"connection_id":188901,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:27:08] local.INFO: Acknowledgment sent {"connection_id":188901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:27:12] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:12] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:12] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:27:17] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.52","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:17] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:27:17] local.INFO: IMEI packet received {"connection_id":190377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":190377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:27:18] local.INFO: TCP Data received {"connection_id":190377,"ip":"42.106.6.52","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190377,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:27:18] local.INFO: Processing buffer {"connection_id":190377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:27:18] local.INFO: Packet analysis {"connection_id":190377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:27:18] local.INFO: Extracted packet for processing {"connection_id":190377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.52","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.106.6.52","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":190377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:27:18] local.INFO: GPS data processed {"connection_id":190377,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:27:18] local.INFO: Acknowledgment sent {"connection_id":190377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:27:40] local.INFO: TCP Data received {"connection_id":188901,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188901,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:40] local.INFO: Processing buffer {"connection_id":188901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:27:40] local.INFO: Packet analysis {"connection_id":188901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:27:40] local.INFO: Extracted packet for processing {"connection_id":188901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":188901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:27:40] local.INFO: GPS data processed {"connection_id":188901,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:27:40] local.INFO: Acknowledgment sent {"connection_id":188901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:27:44] local.INFO: TCP Data received {"connection_id":190378,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:27:44] local.INFO: Processing buffer {"connection_id":190378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:27:44] local.INFO: IMEI packet received {"connection_id":190378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:27:44] local.INFO: IMEI acknowledgment sent {"connection_id":190378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:28:02] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:02] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:02] local.INFO: IMEI packet received {"connection_id":189070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":189070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:28:07] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:07] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:28:07] local.INFO: IMEI packet received {"connection_id":189070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":189070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:28:09] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:09] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:09] local.INFO: Packet analysis {"connection_id":189070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:28:09] local.INFO: Extracted packet for processing {"connection_id":189070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:28:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:28:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:28:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:28:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:28:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:28:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:28:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:28:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:28:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:28:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:28:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:28: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-09-21 20:28:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:28:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:28:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:28:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:28:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:28:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:28:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:28:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:28:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:28:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:28:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:28:09] local.INFO: DEBUG: GPS processor result {"connection_id":189070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:28:09] local.INFO: GPS data processed {"connection_id":189070,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:28:09] local.INFO: Acknowledgment sent {"connection_id":189070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:28:12] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:12] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:12] local.INFO: IMEI packet received {"connection_id":189071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":189071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:28:14] local.INFO: TCP Data received {"connection_id":190379,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190379,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:28:14] local.INFO: Processing buffer {"connection_id":190379,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:28:14] local.INFO: IMEI packet received {"connection_id":190379,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":190379,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:28:17] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:17] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:28:17] local.INFO: IMEI packet received {"connection_id":189071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":189071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:28:18] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:18] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:18] local.INFO: Packet analysis {"connection_id":189071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:28:18] local.INFO: Extracted packet for processing {"connection_id":189071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:28:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:28:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:28:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":189071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:28:18] local.INFO: GPS data processed {"connection_id":189071,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:28:18] local.INFO: Acknowledgment sent {"connection_id":189071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:28:41] local.INFO: TCP Data received {"connection_id":189070,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189070,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:41] local.INFO: Processing buffer {"connection_id":189070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:28:41] local.INFO: Packet analysis {"connection_id":189070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:28:41] local.INFO: Extracted packet for processing {"connection_id":189070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:28:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:28: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-09-21 20:28:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:28:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:28:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:28:41] local.INFO: DEBUG: GPS processor result {"connection_id":189070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:28:41] local.INFO: GPS data processed {"connection_id":189070,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:28:41] local.INFO: Acknowledgment sent {"connection_id":189070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:28:49] local.INFO: TCP Data received {"connection_id":189071,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189071,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:49] local.INFO: Processing buffer {"connection_id":189071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:28:49] local.INFO: Packet analysis {"connection_id":189071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:28:49] local.INFO: Extracted packet for processing {"connection_id":189071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":189071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:28:49] local.INFO: GPS data processed {"connection_id":189071,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:28:49] local.INFO: Acknowledgment sent {"connection_id":189071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:29:07] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:07] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:07] local.INFO: IMEI packet received {"connection_id":190380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":190380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:29:12] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:12] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:29:12] local.INFO: IMEI packet received {"connection_id":190380,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":190380,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:29:13] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:13] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:13] local.INFO: Packet analysis {"connection_id":190380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:29:13] local.INFO: Extracted packet for processing {"connection_id":190380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:29:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:29:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":190380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:29:13] local.INFO: GPS data processed {"connection_id":190380,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:29:13] local.INFO: Acknowledgment sent {"connection_id":190380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:29:17] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:17] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:17] local.INFO: IMEI packet received {"connection_id":188902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":188902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:29:18] local.INFO: TCP Data received {"connection_id":190380,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190380,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:18] local.INFO: Processing buffer {"connection_id":190380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c475c680012d34c14006aa40600009000c2b..."} 
[2026-09-21 20:29:18] local.INFO: Packet analysis {"connection_id":190380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:29:18] local.INFO: Extracted packet for processing {"connection_id":190380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c475"} 
[2026-09-21 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240549632001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002448000,"timestamp_ms":1790002448000,"timestamp_seconds":1790002448,"priority":1,"record_length":96,"hex_timestamp":"000001a0c475c680"} 
[2026-09-21 20:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-09-21 20:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190380,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240549632001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240549632001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:29:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:29:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240549632001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":190380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:29:18] local.INFO: GPS data processed {"connection_id":190380,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:29:18] local.INFO: Acknowledgment sent {"connection_id":190380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:29:22] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:22] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:29:22] local.INFO: IMEI packet received {"connection_id":188902,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":188902,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:29:23] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:23] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:23] local.INFO: Packet analysis {"connection_id":188902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:29:23] local.INFO: Extracted packet for processing {"connection_id":188902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:29:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:29:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:29:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":188902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:29:23] local.INFO: GPS data processed {"connection_id":188902,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:29:23] local.INFO: Acknowledgment sent {"connection_id":188902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:29:27] local.INFO: TCP Data received {"connection_id":188902,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188902,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:27] local.INFO: Processing buffer {"connection_id":188902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:29:27] local.INFO: Packet analysis {"connection_id":188902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:29:27] local.INFO: Extracted packet for processing {"connection_id":188902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 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-09-21 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188902,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:29:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":188902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878050,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:29:27] local.INFO: GPS data processed {"connection_id":188902,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:29:27] local.INFO: Acknowledgment sent {"connection_id":188902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:30:02] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:02] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:02] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:30:07] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:07] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:30:07] local.INFO: IMEI packet received {"connection_id":190381,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":190381,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:30:08] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:08] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:08] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:30:08] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 20:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:30: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-09-21 20:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:30:08] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:30:08] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:30:12] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:12] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:12] local.INFO: IMEI packet received {"connection_id":189073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":189073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:30:17] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:17] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:30:17] local.INFO: IMEI packet received {"connection_id":189073,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":189073,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:30:18] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:18] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:18] local.INFO: Packet analysis {"connection_id":189073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:30:18] local.INFO: Extracted packet for processing {"connection_id":189073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":189073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:30:18] local.INFO: GPS data processed {"connection_id":189073,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:30:18] local.INFO: Acknowledgment sent {"connection_id":189073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:30:40] local.INFO: TCP Data received {"connection_id":190381,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190381,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:40] local.INFO: Processing buffer {"connection_id":190381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:30:40] local.INFO: Packet analysis {"connection_id":190381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:30:40] local.INFO: Extracted packet for processing {"connection_id":190381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:30:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:30:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:30:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190381,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:30:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:30:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":190381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:30:40] local.INFO: GPS data processed {"connection_id":190381,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:30:40] local.INFO: Acknowledgment sent {"connection_id":190381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:30:49] local.INFO: TCP Data received {"connection_id":189073,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189073,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:49] local.INFO: Processing buffer {"connection_id":189073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:30:49] local.INFO: Packet analysis {"connection_id":189073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:30:49] local.INFO: Extracted packet for processing {"connection_id":189073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189073,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:30:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":189073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:30:49] local.INFO: GPS data processed {"connection_id":189073,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:30:49] local.INFO: Acknowledgment sent {"connection_id":189073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:31:02] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:02] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:02] local.INFO: IMEI packet received {"connection_id":190382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":190382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:31:07] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:07] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:31:07] local.INFO: IMEI packet received {"connection_id":190382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":190382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:31:09] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:09] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:09] local.INFO: Packet analysis {"connection_id":190382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:31:09] local.INFO: Extracted packet for processing {"connection_id":190382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:31:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:31:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:31: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-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:31:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:31: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-09-21 20:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:31:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:31:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:31:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:31:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":190382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:31:09] local.INFO: GPS data processed {"connection_id":190382,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:31:09] local.INFO: Acknowledgment sent {"connection_id":190382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:31:12] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:12] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:12] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:31:17] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:17] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:31:17] local.INFO: IMEI packet received {"connection_id":191659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":191659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:31:18] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:31:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:31:18] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4774550012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:31:18] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:31:18] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c477"} 
[2026-09-21 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:31:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240574720001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:31:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002546000,"timestamp_ms":1790002546000,"timestamp_seconds":1790002546,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4774550"} 
[2026-09-21 20:31:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:31:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:31:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:31:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:31:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:31:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:31:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:31:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:31:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:31:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:31:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:31:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:31:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:31:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240574720001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:31:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:31:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:31:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240574720001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:31:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:31:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:31:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:31:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:31:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240574720001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":191659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:31:18] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:31:18] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:31:41] local.INFO: TCP Data received {"connection_id":190382,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190382,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:41] local.INFO: Processing buffer {"connection_id":190382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:31:41] local.INFO: Packet analysis {"connection_id":190382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:31:41] local.INFO: Extracted packet for processing {"connection_id":190382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31: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-09-21 20:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:31:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:31:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":190382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:31:41] local.INFO: GPS data processed {"connection_id":190382,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:31:41] local.INFO: Acknowledgment sent {"connection_id":190382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:31:49] local.INFO: TCP Data received {"connection_id":191659,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191659,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:31:49] local.INFO: Processing buffer {"connection_id":191659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:31:49] local.INFO: Packet analysis {"connection_id":191659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:31:49] local.INFO: Extracted packet for processing {"connection_id":191659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":191659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:31:49] local.INFO: GPS data processed {"connection_id":191659,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:31:49] local.INFO: Acknowledgment sent {"connection_id":191659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:32:02] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:02] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:02] local.INFO: IMEI packet received {"connection_id":189075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":189075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:32:07] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:07] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:32:07] local.INFO: IMEI packet received {"connection_id":189075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":189075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:32:08] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:08] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:08] local.INFO: Packet analysis {"connection_id":189075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:32:08] local.INFO: Extracted packet for processing {"connection_id":189075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 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-09-21 20:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:32: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-09-21 20:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":189075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:32:08] local.INFO: GPS data processed {"connection_id":189075,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:32:08] local.INFO: Acknowledgment sent {"connection_id":189075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:32:12] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:12] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:12] local.INFO: IMEI packet received {"connection_id":190383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":190383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:32:17] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:17] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:32:17] local.INFO: IMEI packet received {"connection_id":190383,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":190383,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:32:18] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:18] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:18] local.INFO: Packet analysis {"connection_id":190383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:32:18] local.INFO: Extracted packet for processing {"connection_id":190383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":190383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:32:18] local.INFO: GPS data processed {"connection_id":190383,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:32:18] local.INFO: Acknowledgment sent {"connection_id":190383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:32:40] local.INFO: TCP Data received {"connection_id":189075,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189075,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:40] local.INFO: Processing buffer {"connection_id":189075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:32:40] local.INFO: Packet analysis {"connection_id":189075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:32:40] local.INFO: Extracted packet for processing {"connection_id":189075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:32:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:32:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:32:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:32:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:32:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:32:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:32:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:32:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:32:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:32:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:32:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:32:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:32:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:32:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:32:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:32:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:32:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:32:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:32:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:32:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:32:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:32:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:32:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:32:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:32:40] local.INFO: DEBUG: GPS processor result {"connection_id":189075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:32:40] local.INFO: GPS data processed {"connection_id":189075,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:32:40] local.INFO: Acknowledgment sent {"connection_id":189075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:32:49] local.INFO: TCP Data received {"connection_id":190383,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190383,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:49] local.INFO: Processing buffer {"connection_id":190383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:32:49] local.INFO: Packet analysis {"connection_id":190383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:32:49] local.INFO: Extracted packet for processing {"connection_id":190383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190383,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":190383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:32:49] local.INFO: GPS data processed {"connection_id":190383,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:32:49] local.INFO: Acknowledgment sent {"connection_id":190383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:33:02] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:02] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:02] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:33:07] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:07] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:33:07] local.INFO: IMEI packet received {"connection_id":191662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":191662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:33:08] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:08] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:08] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:33:08] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 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-09-21 20:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:33: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-09-21 20:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":191662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:33:08] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:33:08] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:33:17] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:17] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:17] local.INFO: IMEI packet received {"connection_id":189076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":189076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:33:22] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:22] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:33:22] local.INFO: IMEI packet received {"connection_id":189076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:33:22] local.INFO: IMEI acknowledgment sent {"connection_id":189076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:33:23] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:23] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:23] local.INFO: Packet analysis {"connection_id":189076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:33:23] local.INFO: Extracted packet for processing {"connection_id":189076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:33:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:33:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:33:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:33:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:33:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:33:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:33:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:33:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:33:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:33:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:33:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:33:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:33:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:33:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:33:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:33:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:33:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:33:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:33:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:33:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:33:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:33:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:33:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:33:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:33:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:33:23] local.INFO: DEBUG: GPS processor result {"connection_id":189076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:33:23] local.INFO: GPS data processed {"connection_id":189076,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:33:23] local.INFO: Acknowledgment sent {"connection_id":189076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:33:27] local.INFO: TCP Data received {"connection_id":189076,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189076,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:27] local.INFO: Processing buffer {"connection_id":189076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:33:27] local.INFO: Packet analysis {"connection_id":189076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:33:27] local.INFO: Extracted packet for processing {"connection_id":189076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 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-09-21 20:33: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-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:33:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":189076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:33:27] local.INFO: GPS data processed {"connection_id":189076,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:33:27] local.INFO: Acknowledgment sent {"connection_id":189076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:33:29] local.INFO: TCP Data received {"connection_id":189077,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:33:29] local.INFO: Processing buffer {"connection_id":189077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:33:29] local.INFO: IMEI packet received {"connection_id":189077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:33:29] local.INFO: IMEI acknowledgment sent {"connection_id":189077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:33:40] local.INFO: TCP Data received {"connection_id":191662,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191662,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:40] local.INFO: Processing buffer {"connection_id":191662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:33:40] local.INFO: Packet analysis {"connection_id":191662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:33:40] local.INFO: Extracted packet for processing {"connection_id":191662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":191662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878066,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:33:40] local.INFO: GPS data processed {"connection_id":191662,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:33:40] local.INFO: Acknowledgment sent {"connection_id":191662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:34:02] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:02] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:02] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:34:07] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:07] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:34:07] local.INFO: IMEI packet received {"connection_id":190384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:34:08] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:08] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:08] local.INFO: Packet analysis {"connection_id":190384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:34:08] local.INFO: Extracted packet for processing {"connection_id":190384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20: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-09-21 20:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:34:08] local.INFO: GPS data processed {"connection_id":190384,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:34:08] local.INFO: Acknowledgment sent {"connection_id":190384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:34:12] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:12] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:12] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:34:14] local.INFO: TCP Data received {"connection_id":191663,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:34:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191663,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:34:14] local.INFO: Processing buffer {"connection_id":191663,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:34:14] local.INFO: IMEI packet received {"connection_id":191663,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:34:14] local.INFO: IMEI acknowledgment sent {"connection_id":191663,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:34:17] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:17] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:34:17] local.INFO: IMEI packet received {"connection_id":188903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":188903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:34:18] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:18] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:18] local.INFO: Packet analysis {"connection_id":188903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:34:18] local.INFO: Extracted packet for processing {"connection_id":188903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":188903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:34:18] local.INFO: GPS data processed {"connection_id":188903,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:34:18] local.INFO: Acknowledgment sent {"connection_id":188903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:34:40] local.INFO: TCP Data received {"connection_id":190384,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190384,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:40] local.INFO: Processing buffer {"connection_id":190384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47a5e48012d34c14006aa40600009000c28..."} 
[2026-09-21 20:34:40] local.INFO: Packet analysis {"connection_id":190384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:34:40] local.INFO: Extracted packet for processing {"connection_id":190384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47a"} 
[2026-09-21 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240626688001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790002749000,"timestamp_ms":1790002749000,"timestamp_seconds":1790002749,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47a5e48"} 
[2026-09-21 20:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:34:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240626688001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240626688001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240626688001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":190384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:34:40] local.INFO: GPS data processed {"connection_id":190384,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:34:40] local.INFO: Acknowledgment sent {"connection_id":190384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:34:49] local.INFO: TCP Data received {"connection_id":188903,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188903,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:49] local.INFO: Processing buffer {"connection_id":188903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:34:49] local.INFO: Packet analysis {"connection_id":188903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:34:49] local.INFO: Extracted packet for processing {"connection_id":188903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:34:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":188903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878070,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:34:49] local.INFO: GPS data processed {"connection_id":188903,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:34:49] local.INFO: Acknowledgment sent {"connection_id":188903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:35:07] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:07] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:07] local.INFO: IMEI packet received {"connection_id":188904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":188904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:35:12] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:12] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:12] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:35:13] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:13] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:35:13] local.INFO: IMEI packet received {"connection_id":188904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:35:13] local.INFO: IMEI acknowledgment sent {"connection_id":188904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:35:14] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:14] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:14] local.INFO: Packet analysis {"connection_id":188904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:35:14] local.INFO: Extracted packet for processing {"connection_id":188904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:35:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:35:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:35: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-09-21 20:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":188904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:35:14] local.INFO: GPS data processed {"connection_id":188904,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:35:14] local.INFO: Acknowledgment sent {"connection_id":188904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:35:17] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:17] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:35:17] local.INFO: IMEI packet received {"connection_id":188905,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":188905,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:35:17] local.INFO: TCP Data received {"connection_id":188904,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188904,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:17] local.INFO: Processing buffer {"connection_id":188904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:35:17] local.INFO: Packet analysis {"connection_id":188904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:35:17] local.INFO: Extracted packet for processing {"connection_id":188904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:35:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:35:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:35:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":188904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:35:17] local.INFO: GPS data processed {"connection_id":188904,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:35:17] local.INFO: Acknowledgment sent {"connection_id":188904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:35:18] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:18] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:18] local.INFO: Packet analysis {"connection_id":188905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:35:18] local.INFO: Extracted packet for processing {"connection_id":188905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":188905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:35:18] local.INFO: GPS data processed {"connection_id":188905,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:35:18] local.INFO: Acknowledgment sent {"connection_id":188905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:35:49] local.INFO: TCP Data received {"connection_id":188905,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188905,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:49] local.INFO: Processing buffer {"connection_id":188905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:35:49] local.INFO: Packet analysis {"connection_id":188905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:35:49] local.INFO: Extracted packet for processing {"connection_id":188905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188905,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:35:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":188905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:35:49] local.INFO: GPS data processed {"connection_id":188905,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:35:49] local.INFO: Acknowledgment sent {"connection_id":188905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:36:02] local.INFO: TCP Data received {"connection_id":191664,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:02] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:02] local.INFO: IMEI packet received {"connection_id":191664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":191664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:36:07] local.INFO: TCP Data received {"connection_id":191664,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:07] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:36:07] local.INFO: IMEI packet received {"connection_id":191664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":191664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:36:08] local.INFO: TCP Data received {"connection_id":191664,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:08] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:08] local.INFO: Packet analysis {"connection_id":191664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:36:08] local.INFO: Extracted packet for processing {"connection_id":191664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 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-09-21 20:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:36: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-09-21 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-09-21 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-09-21 20:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:36: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-09-21 20:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":191664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:36:08] local.INFO: GPS data processed {"connection_id":191664,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:36:08] local.INFO: Acknowledgment sent {"connection_id":191664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:36:12] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:12] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:12] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:36:17] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:17] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:36:17] local.INFO: IMEI packet received {"connection_id":190386,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":190386,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:36:18] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:36:18] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47bdd18012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:36:18] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:36:18] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47b"} 
[2026-09-21 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240651776001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790002847000,"timestamp_ms":1790002847000,"timestamp_seconds":1790002847,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47bdd18"} 
[2026-09-21 20:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240651776001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240651776001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:36:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240651776001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:36:18] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:36:18] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:36:40] local.INFO: TCP Data received {"connection_id":191664,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191664,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:40] local.INFO: Processing buffer {"connection_id":191664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:36:40] local.INFO: Packet analysis {"connection_id":191664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:36:40] local.INFO: Extracted packet for processing {"connection_id":191664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:36:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:36:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:36:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:36:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:36:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:36:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:36:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:36:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:36:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:36:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:36:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:36:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:36:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:36:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:36:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:36:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:36:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:36:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:36:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:36:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:36:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:36:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:36:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:36:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:36:40] local.INFO: DEBUG: GPS processor result {"connection_id":191664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:36:40] local.INFO: GPS data processed {"connection_id":191664,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:36:40] local.INFO: Acknowledgment sent {"connection_id":191664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:36:49] local.INFO: TCP Data received {"connection_id":190386,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190386,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:36:49] local.INFO: Processing buffer {"connection_id":190386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:36:49] local.INFO: Packet analysis {"connection_id":190386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:36:49] local.INFO: Extracted packet for processing {"connection_id":190386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:36:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:36:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:36:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:36:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190386,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:36:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:36:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:36:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:36:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":190386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:36:49] local.INFO: GPS data processed {"connection_id":190386,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:36:49] local.INFO: Acknowledgment sent {"connection_id":190386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:37:02] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:02] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:02] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:37:07] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:07] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:37:07] local.INFO: IMEI packet received {"connection_id":191665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:37:08] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:08] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:08] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:37:08] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:37: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-09-21 20:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:37: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-09-21 20:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:37:08] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:37:08] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:37:17] local.INFO: TCP Data received {"connection_id":190388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:17] local.INFO: Processing buffer {"connection_id":190388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:17] local.INFO: IMEI packet received {"connection_id":190388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":190388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:37:22] local.INFO: TCP Data received {"connection_id":190388,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190388,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:22] local.INFO: Processing buffer {"connection_id":190388,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:37:22] local.INFO: IMEI packet received {"connection_id":190388,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":190388,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:37:23] local.INFO: TCP Data received {"connection_id":190388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:23] local.INFO: Processing buffer {"connection_id":190388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:23] local.INFO: Packet analysis {"connection_id":190388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:37:23] local.INFO: Extracted packet for processing {"connection_id":190388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:37:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:37:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:37:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:37:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:37:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:37:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:37:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:37:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:37:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:37:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:37:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:37:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:37:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:37:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:37:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:37:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:37:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:37:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:37:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:37:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:37:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:37:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:37:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:37:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:37:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:37:23] local.INFO: DEBUG: GPS processor result {"connection_id":190388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:37:23] local.INFO: GPS data processed {"connection_id":190388,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:37:23] local.INFO: Acknowledgment sent {"connection_id":190388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:37:27] local.INFO: TCP Data received {"connection_id":190388,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190388,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:27] local.INFO: Processing buffer {"connection_id":190388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:37:27] local.INFO: Packet analysis {"connection_id":190388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:37:27] local.INFO: Extracted packet for processing {"connection_id":190388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 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-09-21 20:37: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-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190388,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:37:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":190388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:37:27] local.INFO: GPS data processed {"connection_id":190388,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:37:27] local.INFO: Acknowledgment sent {"connection_id":190388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:37:40] local.INFO: TCP Data received {"connection_id":191665,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191665,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:40] local.INFO: Processing buffer {"connection_id":191665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:37:40] local.INFO: Packet analysis {"connection_id":191665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:37:40] local.INFO: Extracted packet for processing {"connection_id":191665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":191665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:37:40] local.INFO: GPS data processed {"connection_id":191665,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:37:40] local.INFO: Acknowledgment sent {"connection_id":191665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:38:02] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:02] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:02] local.INFO: IMEI packet received {"connection_id":188907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":188907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:38:07] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:07] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:38:07] local.INFO: IMEI packet received {"connection_id":188907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":188907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:38:08] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:08] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:08] local.INFO: Packet analysis {"connection_id":188907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:38:08] local.INFO: Extracted packet for processing {"connection_id":188907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 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-09-21 20:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:38: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-09-21 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-09-21 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-09-21 20:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20: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-09-21 20:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":188907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878083,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:38:08] local.INFO: GPS data processed {"connection_id":188907,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:38:08] local.INFO: Acknowledgment sent {"connection_id":188907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:38:12] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:12] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:12] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:38:17] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:17] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:38:17] local.INFO: IMEI packet received {"connection_id":191666,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":191666,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:38:18] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:18] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:18] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:38:18] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:38:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:38:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:38:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878084,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:38:18] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:38:18] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:38:39] local.INFO: TCP Data received {"connection_id":188907,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188907,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:39] local.INFO: Processing buffer {"connection_id":188907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:38:39] local.INFO: Packet analysis {"connection_id":188907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:38:39] local.INFO: Extracted packet for processing {"connection_id":188907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20: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-09-21 20: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-09-21 20:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":188907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:38:39] local.INFO: GPS data processed {"connection_id":188907,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:38:39] local.INFO: Acknowledgment sent {"connection_id":188907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:38:49] local.INFO: TCP Data received {"connection_id":191666,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191666,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:49] local.INFO: Processing buffer {"connection_id":191666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:38:49] local.INFO: Packet analysis {"connection_id":191666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:38:49] local.INFO: Extracted packet for processing {"connection_id":191666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:38:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:38:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:38:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:38:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:38:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191666,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:38:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:38:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:38:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:38:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:38:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:38:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:38:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:38:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:38:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":191666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:38:49] local.INFO: GPS data processed {"connection_id":191666,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:38:49] local.INFO: Acknowledgment sent {"connection_id":191666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:39:07] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:07] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:07] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:39:12] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:12] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:39:12] local.INFO: IMEI packet received {"connection_id":191667,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":191667,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:39:12] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:12] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:12] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:39:14] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:14] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:14] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:39:14] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:39:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:39:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:39:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:39:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:39:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:39:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:39:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:39:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:39:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:39:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:39:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:39:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:39:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:39:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:39:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:39:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:39:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:39:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:39:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:39:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:39:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:39:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:39:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:39:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:39:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:39:14] local.INFO: DEBUG: GPS processor result {"connection_id":191667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:39:14] local.INFO: GPS data processed {"connection_id":191667,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:39:14] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:39:17] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:17] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:39:17] local.INFO: IMEI packet received {"connection_id":188908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":188908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:39:17] local.INFO: TCP Data received {"connection_id":191667,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191667,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:17] local.INFO: Processing buffer {"connection_id":191667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c47ef610012d34c14006aa40600005000c2a..."} 
[2026-09-21 20:39:17] local.INFO: Packet analysis {"connection_id":191667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:39:17] local.INFO: Extracted packet for processing {"connection_id":191667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c47e"} 
[2026-09-21 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:39:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240703744001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:39:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790003050000,"timestamp_ms":1790003050000,"timestamp_seconds":1790003050,"priority":1,"record_length":96,"hex_timestamp":"000001a0c47ef610"} 
[2026-09-21 20:39:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:39:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:39:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:39:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:39:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:39:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:39:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:39:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:39:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:39:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191667,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:39:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:39:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:39:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:39:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240703744001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:39:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:39:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:39:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240703744001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:39:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:39:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:39:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:39:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:39:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240703744001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":191667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:39:18] local.INFO: GPS data processed {"connection_id":191667,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:39:18] local.INFO: Acknowledgment sent {"connection_id":191667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:39:18] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:18] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:18] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:39:18] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:39:18] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:39:18] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:39:29] local.INFO: TCP Data received {"connection_id":189080,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189080,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:39:29] local.INFO: Processing buffer {"connection_id":189080,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:39:29] local.INFO: IMEI packet received {"connection_id":189080,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":189080,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:39:49] local.INFO: TCP Data received {"connection_id":188908,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188908,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:49] local.INFO: Processing buffer {"connection_id":188908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:39:49] local.INFO: Packet analysis {"connection_id":188908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:39:49] local.INFO: Extracted packet for processing {"connection_id":188908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":188908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:39:49] local.INFO: GPS data processed {"connection_id":188908,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:39:49] local.INFO: Acknowledgment sent {"connection_id":188908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:40:02] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:02] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:02] local.INFO: IMEI packet received {"connection_id":189081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":189081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:40:07] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:07] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:40:07] local.INFO: IMEI packet received {"connection_id":189081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":189081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:40:08] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:08] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:08] local.INFO: Packet analysis {"connection_id":189081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:40:08] local.INFO: Extracted packet for processing {"connection_id":189081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:40:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:40: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-09-21 20:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:40: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-09-21 20:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":189081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:40:08] local.INFO: GPS data processed {"connection_id":189081,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:40:08] local.INFO: Acknowledgment sent {"connection_id":189081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:40:12] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:12] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:12] local.INFO: IMEI packet received {"connection_id":189082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":189082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:40:14] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:14] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:14] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:40:14] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:40:17] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:17] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:40:17] local.INFO: IMEI packet received {"connection_id":189082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":189082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:40:18] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:18] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:18] local.INFO: Packet analysis {"connection_id":189082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:40:18] local.INFO: Extracted packet for processing {"connection_id":189082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":189082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:40:18] local.INFO: GPS data processed {"connection_id":189082,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:40:18] local.INFO: Acknowledgment sent {"connection_id":189082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:40:19] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:19] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:40:19] local.INFO: IMEI packet received {"connection_id":191668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 20:40:19] local.INFO: IMEI acknowledgment sent {"connection_id":191668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:40:21] local.INFO: TCP Data received {"connection_id":191668,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c467b8d8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 20:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191668,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c467b8d8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 20:40:21] local.INFO: Processing buffer {"connection_id":191668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c467b8d8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 20:40:21] local.INFO: Packet analysis {"connection_id":191668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:40:21] local.INFO: Extracted packet for processing {"connection_id":191668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c467"} 
[2026-09-21 20:40:21] local.INFO: GPS Element Parsed {"raw_longitude":730346240,"raw_latitude":192709872,"longitude_deg":73.034624,"latitude_deg":19.2709872,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2b883300","hex_latitude":"0b7c84f0","is_valid_coordinates":true} 
[2026-09-21 20:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:40:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240312832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3601080969592832,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:21] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8632907855126294528,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:40:21] local.INFO: AVL Record Parsed {"raw_timestamp":1790001527000,"timestamp_ms":1790001527000,"timestamp_seconds":1790001527,"priority":1,"record_length":96,"hex_timestamp":"000001a0c467b8d8"} 
[2026-09-21 20:40:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:40:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:40:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-09-21 20:40:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:40:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:40:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:40:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:40:21] local.INFO: Teltonika packet parsed successfully {"connection_id":191668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:40:21] local.INFO: Passing IMEI to GPS processor {"connection_id":191668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 20:40:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":191668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 20:40:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:40:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 20:40:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 20:40:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240312832001,"66":26430,"27":206,"234":55296,"24":0,"16":3601080969592832,"43":-8632907855126294528},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 20:40:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 20:40:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 20:40:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240312832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:40:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 20:40:21] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 20:40:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3601080969592832,"km_value":3601080969592.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:40:21] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8632907855126294528,"description":"Unknown IO ID 43"} 
[2026-09-21 20:40:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240312832001,"power":26430,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8632907855126294528}} 
[2026-09-21 20:40:21] local.INFO: DEBUG: GPS processor result {"connection_id":191668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:40:21] local.INFO: GPS data processed {"connection_id":191668,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:40:21] local.INFO: Acknowledgment sent {"connection_id":191668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:40:40] local.INFO: TCP Data received {"connection_id":189081,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189081,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:40] local.INFO: Processing buffer {"connection_id":189081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:40:40] local.INFO: Packet analysis {"connection_id":189081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:40:40] local.INFO: Extracted packet for processing {"connection_id":189081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:40: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-09-21 20:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":189081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:40:40] local.INFO: GPS data processed {"connection_id":189081,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:40:40] local.INFO: Acknowledgment sent {"connection_id":189081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:40:49] local.INFO: TCP Data received {"connection_id":189082,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189082,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:49] local.INFO: Processing buffer {"connection_id":189082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:40:49] local.INFO: Packet analysis {"connection_id":189082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:40:49] local.INFO: Extracted packet for processing {"connection_id":189082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":189082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:40:49] local.INFO: GPS data processed {"connection_id":189082,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:40:49] local.INFO: Acknowledgment sent {"connection_id":189082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:41:02] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:02] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:02] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:41:04] local.INFO: TCP Data received {"connection_id":188910,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:41:04] local.INFO: Processing buffer {"connection_id":188910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:41:04] local.INFO: IMEI packet received {"connection_id":188910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":188910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:41:07] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:07] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:41:07] local.INFO: IMEI packet received {"connection_id":188909,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":188909,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:41:08] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:08] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:08] local.INFO: Packet analysis {"connection_id":188909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:41:08] local.INFO: Extracted packet for processing {"connection_id":188909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:41: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-09-21 20:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:41:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":188909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:41:08] local.INFO: GPS data processed {"connection_id":188909,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:41:08] local.INFO: Acknowledgment sent {"connection_id":188909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:41:12] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:12] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:12] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:41:17] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:17] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:41:17] local.INFO: IMEI packet received {"connection_id":191669,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":191669,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:41:18] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:41:18] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48074e0012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:41:18] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:41:18] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c480"} 
[2026-09-21 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240728832001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003148000,"timestamp_ms":1790003148000,"timestamp_seconds":1790003148,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48074e0"} 
[2026-09-21 20:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240728832001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240728832001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:41:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240728832001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":191669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:41:18] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:41:18] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:41:40] local.INFO: TCP Data received {"connection_id":188909,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188909,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:40] local.INFO: Processing buffer {"connection_id":188909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:41:40] local.INFO: Packet analysis {"connection_id":188909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:41:40] local.INFO: Extracted packet for processing {"connection_id":188909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188909,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:41:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":188909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:41:40] local.INFO: GPS data processed {"connection_id":188909,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:41:40] local.INFO: Acknowledgment sent {"connection_id":188909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:41:49] local.INFO: TCP Data received {"connection_id":191669,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191669,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:41:49] local.INFO: Processing buffer {"connection_id":191669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:41:49] local.INFO: Packet analysis {"connection_id":191669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:41:49] local.INFO: Extracted packet for processing {"connection_id":191669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191669,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":191669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:41:49] local.INFO: GPS data processed {"connection_id":191669,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:41:49] local.INFO: Acknowledgment sent {"connection_id":191669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:42:02] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:02] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:02] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:42:07] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:07] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:42:07] local.INFO: IMEI packet received {"connection_id":191670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":191670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:42:08] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:08] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:08] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:42:08] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:42: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-09-21 20:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:42:08] local.INFO: GPS data processed {"connection_id":191670,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:42:08] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:42:12] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:12] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:12] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:42:17] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:17] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:42:17] local.INFO: IMEI packet received {"connection_id":188911,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":188911,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:42:18] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:18] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:18] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:42:18] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:42:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:42:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:42:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:42:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:42:18] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:42:18] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:42:40] local.INFO: TCP Data received {"connection_id":191670,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191670,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:40] local.INFO: Processing buffer {"connection_id":191670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:42:40] local.INFO: Packet analysis {"connection_id":191670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:42:40] local.INFO: Extracted packet for processing {"connection_id":191670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:42:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:42:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:42:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:42:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:42:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:42:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:42:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:42:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:42:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:42:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:42:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:42:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:42:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:42:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:42:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:42:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:42:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:42:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:42:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:42:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:42:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:42:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:42:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:42:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:42:40] local.INFO: DEBUG: GPS processor result {"connection_id":191670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:42:40] local.INFO: GPS data processed {"connection_id":191670,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:42:40] local.INFO: Acknowledgment sent {"connection_id":191670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:42:49] local.INFO: TCP Data received {"connection_id":188911,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188911,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:49] local.INFO: Processing buffer {"connection_id":188911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:42:49] local.INFO: Packet analysis {"connection_id":188911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:42:49] local.INFO: Extracted packet for processing {"connection_id":188911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:42:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:42:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:42:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:42:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:42:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188911,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:42:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:42:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":188911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:42:49] local.INFO: GPS data processed {"connection_id":188911,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:42:49] local.INFO: Acknowledgment sent {"connection_id":188911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:43:12] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:12] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:12] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:43:17] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:17] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:43:17] local.INFO: IMEI packet received {"connection_id":191671,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":191671,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:43:18] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:18] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:18] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:43:18] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:43:18] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:43:18] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:43:42] local.INFO: TCP Data received {"connection_id":189083,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:43:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:43:42] local.INFO: Processing buffer {"connection_id":189083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:43:42] local.INFO: IMEI packet received {"connection_id":189083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:43:42] local.INFO: IMEI acknowledgment sent {"connection_id":189083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:43:49] local.INFO: TCP Data received {"connection_id":191671,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191671,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:49] local.INFO: Processing buffer {"connection_id":191671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:43:49] local.INFO: Packet analysis {"connection_id":191671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:43:49] local.INFO: Extracted packet for processing {"connection_id":191671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191671,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":191671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:43:49] local.INFO: GPS data processed {"connection_id":191671,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:43:49] local.INFO: Acknowledgment sent {"connection_id":191671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:44:07] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:07] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:07] local.INFO: IMEI packet received {"connection_id":190391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":190391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:44:12] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:12] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:12] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:44:12] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:12] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:44:12] local.INFO: IMEI packet received {"connection_id":190391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":190391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:44:13] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:13] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:13] local.INFO: Packet analysis {"connection_id":190391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:44:13] local.INFO: Extracted packet for processing {"connection_id":190391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:44: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-09-21 20:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:44:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:44:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":190391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:44:13] local.INFO: GPS data processed {"connection_id":190391,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:44:13] local.INFO: Acknowledgment sent {"connection_id":190391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:44:17] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:17] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:44:17] local.INFO: IMEI packet received {"connection_id":188912,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":188912,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:44:18] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:18] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:18] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:44:18] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:44:18] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:44:18] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:44:45] local.INFO: TCP Data received {"connection_id":190391,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190391,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:45] local.INFO: Processing buffer {"connection_id":190391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4838dd8012d34c14006aa40600007000c2c..."} 
[2026-09-21 20:44:45] local.INFO: Packet analysis {"connection_id":190391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:44:45] local.INFO: Extracted packet for processing {"connection_id":190391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c483"} 
[2026-09-21 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240780800001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44: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-09-21 20:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790003351000,"timestamp_ms":1790003351000,"timestamp_seconds":1790003351,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4838dd8"} 
[2026-09-21 20:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:44:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 20:44: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-09-21 20:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":190391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":190391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240780800001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240780800001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:44:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:44:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:44:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240780800001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":190391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:44:45] local.INFO: GPS data processed {"connection_id":190391,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:44:45] local.INFO: Acknowledgment sent {"connection_id":190391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:44:49] local.INFO: TCP Data received {"connection_id":188912,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188912,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:49] local.INFO: Processing buffer {"connection_id":188912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:44:49] local.INFO: Packet analysis {"connection_id":188912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:44:49] local.INFO: Extracted packet for processing {"connection_id":188912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188912,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":188912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:44:49] local.INFO: GPS data processed {"connection_id":188912,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:44:49] local.INFO: Acknowledgment sent {"connection_id":188912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:45:03] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:03] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:03] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:45:03] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:45:07] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:07] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:45:07] local.INFO: IMEI packet received {"connection_id":188914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":188914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:45:08] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:08] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:08] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:45:08] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:45:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:45:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:45:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:45:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:45:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:45:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:45:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:45:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:45:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:45:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:45:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:45:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:45:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:45:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:45:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:45:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:45:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:45:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:45:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:45:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:45:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:45:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:45:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:45:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:45:08] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:45:08] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:45:08] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:45:12] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:12] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:12] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:45:17] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:17] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:45:17] local.INFO: IMEI packet received {"connection_id":191672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":191672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:45:18] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:18] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:18] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:45:18] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:45:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:45:18] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:45:18] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:45:39] local.INFO: TCP Data received {"connection_id":188914,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188914,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:39] local.INFO: Processing buffer {"connection_id":188914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:45:39] local.INFO: Packet analysis {"connection_id":188914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:45:39] local.INFO: Extracted packet for processing {"connection_id":188914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:45:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:45:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:45:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:45:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:45:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:45:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:45:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:45:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:45:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:45:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:45:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:45:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:45:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:45:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:45:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:45:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:45:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:45:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:45:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:45:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:45:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:45:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:45:39] local.INFO: DEBUG: GPS processor result {"connection_id":188914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:45:39] local.INFO: GPS data processed {"connection_id":188914,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:45:39] local.INFO: Acknowledgment sent {"connection_id":188914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:45:49] local.INFO: TCP Data received {"connection_id":191672,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191672,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:49] local.INFO: Processing buffer {"connection_id":191672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:45:49] local.INFO: Packet analysis {"connection_id":191672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:45:49] local.INFO: Extracted packet for processing {"connection_id":191672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":191672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:45:49] local.INFO: GPS data processed {"connection_id":191672,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:45:49] local.INFO: Acknowledgment sent {"connection_id":191672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:46:02] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:02] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:02] local.INFO: IMEI packet received {"connection_id":188915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":188915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:46:07] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:07] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:46:07] local.INFO: IMEI packet received {"connection_id":188915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":188915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:46:08] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:08] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:08] local.INFO: Packet analysis {"connection_id":188915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:46:08] local.INFO: Extracted packet for processing {"connection_id":188915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 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-09-21 20:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:46: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-09-21 20:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":188915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:46:08] local.INFO: GPS data processed {"connection_id":188915,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:46:08] local.INFO: Acknowledgment sent {"connection_id":188915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:46:12] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:12] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:12] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:46:17] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:17] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:46:17] local.INFO: IMEI packet received {"connection_id":191673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":191673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:46:18] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:46:18] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4850ca8012d196f40071fef40003c00ff25..."} 
[2026-09-21 20:46:18] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:46:18] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c485"} 
[2026-09-21 20:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240805888001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003449000,"timestamp_ms":1790003449000,"timestamp_seconds":1790003449,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4850ca8"} 
[2026-09-21 20:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18432,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240805888001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240805888001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:46:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240805888001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":191673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:46:18] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:46:18] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:46:29] local.INFO: TCP Data received {"connection_id":191674,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:46:29] local.INFO: Processing buffer {"connection_id":191674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:46:29] local.INFO: IMEI packet received {"connection_id":191674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":191674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:46:39] local.INFO: TCP Data received {"connection_id":188915,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188915,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:39] local.INFO: Processing buffer {"connection_id":188915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:46:39] local.INFO: Packet analysis {"connection_id":188915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:46:39] local.INFO: Extracted packet for processing {"connection_id":188915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:46:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:46: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-09-21 20:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":188915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:46:39] local.INFO: GPS data processed {"connection_id":188915,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:46:39] local.INFO: Acknowledgment sent {"connection_id":188915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:46:49] local.INFO: TCP Data received {"connection_id":191673,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191673,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:46:49] local.INFO: Processing buffer {"connection_id":191673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:46:49] local.INFO: Packet analysis {"connection_id":191673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:46:49] local.INFO: Extracted packet for processing {"connection_id":191673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:46:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":191673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:46:49] local.INFO: GPS data processed {"connection_id":191673,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:46:49] local.INFO: Acknowledgment sent {"connection_id":191673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:47:02] local.INFO: TCP Data received {"connection_id":190392,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:02] local.INFO: Processing buffer {"connection_id":190392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:02] local.INFO: IMEI packet received {"connection_id":190392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":190392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:47:07] local.INFO: TCP Data received {"connection_id":190392,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:07] local.INFO: Processing buffer {"connection_id":190392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:47:07] local.INFO: IMEI packet received {"connection_id":190392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":190392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:47:08] local.INFO: TCP Data received {"connection_id":190392,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:08] local.INFO: Processing buffer {"connection_id":190392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:08] local.INFO: Packet analysis {"connection_id":190392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:47:08] local.INFO: Extracted packet for processing {"connection_id":190392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:47:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:47:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:47:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:47:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:47: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-09-21 20:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":190392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:47:08] local.INFO: GPS data processed {"connection_id":190392,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:47:08] local.INFO: Acknowledgment sent {"connection_id":190392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:47:12] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:12] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:12] local.INFO: IMEI packet received {"connection_id":189085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":189085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:47:14] local.INFO: TCP Data received {"connection_id":189086,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189086,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:47:14] local.INFO: Processing buffer {"connection_id":189086,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:47:14] local.INFO: IMEI packet received {"connection_id":189086,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":189086,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:47:17] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:17] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:47:17] local.INFO: IMEI packet received {"connection_id":189085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":189085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:47:18] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:18] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:18] local.INFO: Packet analysis {"connection_id":189085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:47:18] local.INFO: Extracted packet for processing {"connection_id":189085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":189085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:47:18] local.INFO: GPS data processed {"connection_id":189085,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:47:18] local.INFO: Acknowledgment sent {"connection_id":189085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:47:39] local.INFO: TCP Data received {"connection_id":190392,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190392,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:39] local.INFO: Processing buffer {"connection_id":190392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:47:39] local.INFO: Packet analysis {"connection_id":190392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:47:39] local.INFO: Extracted packet for processing {"connection_id":190392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:47: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-09-21 20:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":190392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:47:39] local.INFO: GPS data processed {"connection_id":190392,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:47:39] local.INFO: Acknowledgment sent {"connection_id":190392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:47:49] local.INFO: TCP Data received {"connection_id":189085,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189085,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:49] local.INFO: Processing buffer {"connection_id":189085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:47:49] local.INFO: Packet analysis {"connection_id":189085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:47:49] local.INFO: Extracted packet for processing {"connection_id":189085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":189085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:47:49] local.INFO: GPS data processed {"connection_id":189085,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:47:49] local.INFO: Acknowledgment sent {"connection_id":189085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:48:02] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:02] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:02] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:48:07] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:07] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:48:07] local.INFO: IMEI packet received {"connection_id":188916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":188916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:48:08] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:08] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:08] local.INFO: Packet analysis {"connection_id":188916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:48:08] local.INFO: Extracted packet for processing {"connection_id":188916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 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-09-21 20:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":188916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:48:08] local.INFO: GPS data processed {"connection_id":188916,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:48:08] local.INFO: Acknowledgment sent {"connection_id":188916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:48:12] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:12] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:12] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:48:17] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:17] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:48:17] local.INFO: IMEI packet received {"connection_id":190393,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":190393,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:48:18] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:18] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:18] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:48:18] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:48:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:48:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:48:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:48:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:48:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:48:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:48:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:48:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:48:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:48:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:48:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:48:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:48:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:48:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:48:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:48:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:48:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:48:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:48:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:48:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:48:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:48:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:48:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:48:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:48:18] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:48:18] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:48:18] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:48:40] local.INFO: TCP Data received {"connection_id":188916,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188916,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:40] local.INFO: Processing buffer {"connection_id":188916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:48:40] local.INFO: Packet analysis {"connection_id":188916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:48:40] local.INFO: Extracted packet for processing {"connection_id":188916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":188916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:48:40] local.INFO: GPS data processed {"connection_id":188916,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:48:40] local.INFO: Acknowledgment sent {"connection_id":188916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:48:49] local.INFO: TCP Data received {"connection_id":190393,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190393,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:49] local.INFO: Processing buffer {"connection_id":190393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:48:49] local.INFO: Packet analysis {"connection_id":190393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:48:49] local.INFO: Extracted packet for processing {"connection_id":190393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:48:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190393,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:48:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:48:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":190393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:48:49] local.INFO: GPS data processed {"connection_id":190393,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:48:49] local.INFO: Acknowledgment sent {"connection_id":190393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:49:07] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:07] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:07] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:49:12] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:12] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:49:12] local.INFO: IMEI packet received {"connection_id":191675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":191675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:49:12] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:12] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:12] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:49:14] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:14] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:14] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:49:14] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:49:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:49:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:49:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:49:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:49:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:49:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:49:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:49:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:49:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:49:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:49:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:49:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:49:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:49:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:49:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:49:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:49:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:49:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:49:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:49:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:49:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:49:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:49:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:49:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:49:14] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:49:14] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:49:14] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:49:17] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:17] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:49:17] local.INFO: IMEI packet received {"connection_id":191676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":191676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:49:18] local.INFO: TCP Data received {"connection_id":191675,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191675,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:18] local.INFO: Processing buffer {"connection_id":191675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48825a0012d34c14006aa4060000c000c2c..."} 
[2026-09-21 20:49:18] local.INFO: Packet analysis {"connection_id":191675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:49:18] local.INFO: Extracted packet for processing {"connection_id":191675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c488"} 
[2026-09-21 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240857856001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003652000,"timestamp_ms":1790003652000,"timestamp_seconds":1790003652,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48825a0"} 
[2026-09-21 20:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240857856001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240857856001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240857856001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":191675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:49:18] local.INFO: GPS data processed {"connection_id":191675,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:49:18] local.INFO: Acknowledgment sent {"connection_id":191675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:49:18] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:18] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:18] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:49:18] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:49:18] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:49:18] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:49:49] local.INFO: TCP Data received {"connection_id":191676,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191676,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:49] local.INFO: Processing buffer {"connection_id":191676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:49:49] local.INFO: Packet analysis {"connection_id":191676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:49:49] local.INFO: Extracted packet for processing {"connection_id":191676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":191676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:49:49] local.INFO: GPS data processed {"connection_id":191676,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:49:49] local.INFO: Acknowledgment sent {"connection_id":191676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:50:02] local.INFO: TCP Data received {"connection_id":189088,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:02] local.INFO: Processing buffer {"connection_id":189088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:02] local.INFO: IMEI packet received {"connection_id":189088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":189088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:50:07] local.INFO: TCP Data received {"connection_id":189088,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189088,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:07] local.INFO: Processing buffer {"connection_id":189088,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:50:07] local.INFO: IMEI packet received {"connection_id":189088,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":189088,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:50:08] local.INFO: TCP Data received {"connection_id":189088,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:08] local.INFO: Processing buffer {"connection_id":189088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:08] local.INFO: Packet analysis {"connection_id":189088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:50:08] local.INFO: Extracted packet for processing {"connection_id":189088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 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-09-21 20:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:50:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:50:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":189088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:50:08] local.INFO: GPS data processed {"connection_id":189088,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:50:08] local.INFO: Acknowledgment sent {"connection_id":189088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:50:11] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:11] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:11] local.INFO: IMEI packet received {"connection_id":188918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":188918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:50:17] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:17] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:50:17] local.INFO: IMEI packet received {"connection_id":188918,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":188918,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:50:18] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:18] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:18] local.INFO: Packet analysis {"connection_id":188918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:50:18] local.INFO: Extracted packet for processing {"connection_id":188918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":188918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:50:18] local.INFO: GPS data processed {"connection_id":188918,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:50:18] local.INFO: Acknowledgment sent {"connection_id":188918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:50:40] local.INFO: TCP Data received {"connection_id":189088,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189088,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:40] local.INFO: Processing buffer {"connection_id":189088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:50:40] local.INFO: Packet analysis {"connection_id":189088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:50:40] local.INFO: Extracted packet for processing {"connection_id":189088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189088,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":189088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:50:40] local.INFO: GPS data processed {"connection_id":189088,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:50:40] local.INFO: Acknowledgment sent {"connection_id":189088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:50:49] local.INFO: TCP Data received {"connection_id":188918,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188918,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:49] local.INFO: Processing buffer {"connection_id":188918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:50:49] local.INFO: Packet analysis {"connection_id":188918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:50:49] local.INFO: Extracted packet for processing {"connection_id":188918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188918,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":188918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:50:49] local.INFO: GPS data processed {"connection_id":188918,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:50:49] local.INFO: Acknowledgment sent {"connection_id":188918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:51:02] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:02] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:02] local.INFO: IMEI packet received {"connection_id":189089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":189089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:51:07] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:07] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:51:07] local.INFO: IMEI packet received {"connection_id":189089,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":189089,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:51:09] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:09] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:09] local.INFO: Packet analysis {"connection_id":189089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:51:09] local.INFO: Extracted packet for processing {"connection_id":189089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:51:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:51:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:51:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:51:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:51:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:51: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-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:51:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:51:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:51:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:51:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:51:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:51:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:51:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:51:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:51:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:51:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:51:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:51:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:51:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:51:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:51:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:51:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:51:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:51:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:51:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:51:09] local.INFO: DEBUG: GPS processor result {"connection_id":189089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:51:09] local.INFO: GPS data processed {"connection_id":189089,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:51:09] local.INFO: Acknowledgment sent {"connection_id":189089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:51:12] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:12] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:12] local.INFO: IMEI packet received {"connection_id":189091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":189091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:51:17] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:17] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:51:17] local.INFO: IMEI packet received {"connection_id":189091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":189091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:51:18] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:51:18] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c489a470012d196f40071fef40003c00ff27..."} 
[2026-09-21 20:51:18] local.INFO: Packet analysis {"connection_id":189091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:51:18] local.INFO: Extracted packet for processing {"connection_id":189091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c489"} 
[2026-09-21 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240882944001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003750000,"timestamp_ms":1790003750000,"timestamp_seconds":1790003750,"priority":1,"record_length":96,"hex_timestamp":"000001a0c489a470"} 
[2026-09-21 20:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18176,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240882944001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240882944001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240882944001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":189091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:51:18] local.INFO: GPS data processed {"connection_id":189091,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:51:18] local.INFO: Acknowledgment sent {"connection_id":189091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:51:41] local.INFO: TCP Data received {"connection_id":189089,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189089,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:41] local.INFO: Processing buffer {"connection_id":189089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:51:41] local.INFO: Packet analysis {"connection_id":189089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:51:41] local.INFO: Extracted packet for processing {"connection_id":189089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:51:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51: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-09-21 20:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:51:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:51:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189089,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:51:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:51:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:51:41] local.INFO: DEBUG: GPS processor result {"connection_id":189089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:51:41] local.INFO: GPS data processed {"connection_id":189089,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:51:41] local.INFO: Acknowledgment sent {"connection_id":189089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:51:48] local.INFO: TCP Data received {"connection_id":189091,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189091,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:51:48] local.INFO: Processing buffer {"connection_id":189091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:51:48] local.INFO: Packet analysis {"connection_id":189091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:51:48] local.INFO: Extracted packet for processing {"connection_id":189091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:51:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:51:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:51:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:51:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:51:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:51:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:51:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":189091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:51:49] local.INFO: GPS data processed {"connection_id":189091,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:51:49] local.INFO: Acknowledgment sent {"connection_id":189091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:52:02] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:02] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:02] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:52:07] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:07] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:52:07] local.INFO: IMEI packet received {"connection_id":191677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":191677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:52:08] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:08] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:08] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:52:08] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 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-09-21 20:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:52:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:52:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:52:08] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:52:08] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:52:12] local.INFO: TCP Data received {"connection_id":191678,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:12] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:12] local.INFO: IMEI packet received {"connection_id":191678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":191678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:52:17] local.INFO: TCP Data received {"connection_id":191678,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:17] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:52:17] local.INFO: IMEI packet received {"connection_id":191678,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":191678,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:52:18] local.INFO: TCP Data received {"connection_id":191678,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:18] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:18] local.INFO: Packet analysis {"connection_id":191678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:52:18] local.INFO: Extracted packet for processing {"connection_id":191678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":191678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:52:18] local.INFO: GPS data processed {"connection_id":191678,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:52:18] local.INFO: Acknowledgment sent {"connection_id":191678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:52:40] local.INFO: TCP Data received {"connection_id":191677,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191677,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:40] local.INFO: Processing buffer {"connection_id":191677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:52:40] local.INFO: Packet analysis {"connection_id":191677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:52:40] local.INFO: Extracted packet for processing {"connection_id":191677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":191677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:52:40] local.INFO: GPS data processed {"connection_id":191677,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:52:40] local.INFO: Acknowledgment sent {"connection_id":191677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:52:44] local.INFO: TCP Data received {"connection_id":190395,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:52:44] local.INFO: Processing buffer {"connection_id":190395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:52:44] local.INFO: IMEI packet received {"connection_id":190395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:52:44] local.INFO: IMEI acknowledgment sent {"connection_id":190395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:52:49] local.INFO: TCP Data received {"connection_id":191678,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191678,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:49] local.INFO: Processing buffer {"connection_id":191678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:52:49] local.INFO: Packet analysis {"connection_id":191678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:52:49] local.INFO: Extracted packet for processing {"connection_id":191678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191678,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:52:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":191678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:52:49] local.INFO: GPS data processed {"connection_id":191678,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:52:49] local.INFO: Acknowledgment sent {"connection_id":191678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:53:02] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:02] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:02] local.INFO: IMEI packet received {"connection_id":189092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:53:02] local.INFO: IMEI acknowledgment sent {"connection_id":189092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:53:07] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:07] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:53:07] local.INFO: IMEI packet received {"connection_id":189092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":189092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:53:08] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:08] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:08] local.INFO: Packet analysis {"connection_id":189092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:53:08] local.INFO: Extracted packet for processing {"connection_id":189092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:53:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:53:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:53:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:53:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:53:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:53:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:53:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:53:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:53:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:53:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:53:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:53:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:53:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:53:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:53:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:53:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:53:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:53:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:53:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:53:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:53:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:53:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:53:08] local.INFO: DEBUG: GPS processor result {"connection_id":189092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:53:08] local.INFO: GPS data processed {"connection_id":189092,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:53:08] local.INFO: Acknowledgment sent {"connection_id":189092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:53:12] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:12] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:12] local.INFO: IMEI packet received {"connection_id":189093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":189093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:53:14] local.INFO: TCP Data received {"connection_id":188919,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:53:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188919,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:53:14] local.INFO: Processing buffer {"connection_id":188919,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:53:14] local.INFO: IMEI packet received {"connection_id":188919,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:53:14] local.INFO: IMEI acknowledgment sent {"connection_id":188919,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:53:17] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:17] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:53:17] local.INFO: IMEI packet received {"connection_id":189093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":189093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:53:18] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:18] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:18] local.INFO: Packet analysis {"connection_id":189093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:53:18] local.INFO: Extracted packet for processing {"connection_id":189093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:53:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:53:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:53:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":189093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:53:18] local.INFO: GPS data processed {"connection_id":189093,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:53:18] local.INFO: Acknowledgment sent {"connection_id":189093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:53:39] local.INFO: TCP Data received {"connection_id":189092,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189092,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:39] local.INFO: Processing buffer {"connection_id":189092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:53:39] local.INFO: Packet analysis {"connection_id":189092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:53:39] local.INFO: Extracted packet for processing {"connection_id":189092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:53:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:53:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:53:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:53:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:53:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:53:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:53:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:53:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:53:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:53:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:53:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:53:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:53:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:53:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:53:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:53:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:53:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:53:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:53:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:53:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:53:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:53:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:53:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:53:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:53:39] local.INFO: DEBUG: GPS processor result {"connection_id":189092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:53:39] local.INFO: GPS data processed {"connection_id":189092,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:53:39] local.INFO: Acknowledgment sent {"connection_id":189092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:53:49] local.INFO: TCP Data received {"connection_id":189093,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189093,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:49] local.INFO: Processing buffer {"connection_id":189093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:53:49] local.INFO: Packet analysis {"connection_id":189093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:53:49] local.INFO: Extracted packet for processing {"connection_id":189093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":189093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:53:49] local.INFO: GPS data processed {"connection_id":189093,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:53:49] local.INFO: Acknowledgment sent {"connection_id":189093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:54:07] local.INFO: TCP Data received {"connection_id":191679,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:07] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:07] local.INFO: IMEI packet received {"connection_id":191679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":191679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:54:11] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:11] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:11] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:54:12] local.INFO: TCP Data received {"connection_id":191679,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:12] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:54:12] local.INFO: IMEI packet received {"connection_id":191679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":191679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:54:13] local.INFO: TCP Data received {"connection_id":191679,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:13] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:13] local.INFO: Packet analysis {"connection_id":191679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:54:13] local.INFO: Extracted packet for processing {"connection_id":191679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:54:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:54:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:54:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:54:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":191679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:54:13] local.INFO: GPS data processed {"connection_id":191679,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:54:13] local.INFO: Acknowledgment sent {"connection_id":191679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:54:17] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:17] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:54:17] local.INFO: IMEI packet received {"connection_id":188920,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":188920,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:54:18] local.INFO: TCP Data received {"connection_id":191679,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191679,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:18] local.INFO: Processing buffer {"connection_id":191679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48cbd68012d34c14006aa40600004000c2d..."} 
[2026-09-21 20:54:18] local.INFO: Packet analysis {"connection_id":191679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:54:18] local.INFO: Extracted packet for processing {"connection_id":191679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48c"} 
[2026-09-21 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240934912001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790003953000,"timestamp_ms":1790003953000,"timestamp_seconds":1790003953,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48cbd68"} 
[2026-09-21 20:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240934912001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240934912001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240934912001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":191679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:54:18] local.INFO: GPS data processed {"connection_id":191679,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:54:18] local.INFO: Acknowledgment sent {"connection_id":191679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:54:18] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:18] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:18] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:54:18] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:54:18] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:54:18] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:54:49] local.INFO: TCP Data received {"connection_id":188920,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188920,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:49] local.INFO: Processing buffer {"connection_id":188920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:54:49] local.INFO: Packet analysis {"connection_id":188920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:54:49] local.INFO: Extracted packet for processing {"connection_id":188920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188920,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":188920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:54:49] local.INFO: GPS data processed {"connection_id":188920,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:54:49] local.INFO: Acknowledgment sent {"connection_id":188920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:55:02] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:02] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:02] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:55:08] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:08] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:55:08] local.INFO: IMEI packet received {"connection_id":191680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":191680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:55:10] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:10] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:10] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:55:10] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:55:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:55:10] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:55:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:55:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:55: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-09-21 20: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-09-21 20:55:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:55:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:55:10] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:55:10] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:55:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:55: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-09-21 20:55:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:55:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:55:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:55:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:55:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:55:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:55:10] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:55:10] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:55:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:55:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:55:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:55:10] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:55:10] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:55:10] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:55:12] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:12] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:12] local.INFO: IMEI packet received {"connection_id":188922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":188922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:55:17] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:17] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:55:17] local.INFO: IMEI packet received {"connection_id":188922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":188922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:55:18] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:18] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:18] local.INFO: Packet analysis {"connection_id":188922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:55:18] local.INFO: Extracted packet for processing {"connection_id":188922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":188922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878151,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:55:18] local.INFO: GPS data processed {"connection_id":188922,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:55:18] local.INFO: Acknowledgment sent {"connection_id":188922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:55:41] local.INFO: TCP Data received {"connection_id":191680,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191680,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:41] local.INFO: Processing buffer {"connection_id":191680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:55:41] local.INFO: Packet analysis {"connection_id":191680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:55:41] local.INFO: Extracted packet for processing {"connection_id":191680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:55:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:55: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-09-21 20:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:55:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:55:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":191680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:55:41] local.INFO: GPS data processed {"connection_id":191680,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:55:41] local.INFO: Acknowledgment sent {"connection_id":191680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:55:49] local.INFO: TCP Data received {"connection_id":188922,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188922,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:49] local.INFO: Processing buffer {"connection_id":188922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:55:49] local.INFO: Packet analysis {"connection_id":188922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:55:49] local.INFO: Extracted packet for processing {"connection_id":188922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":188922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:55:49] local.INFO: GPS data processed {"connection_id":188922,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:55:49] local.INFO: Acknowledgment sent {"connection_id":188922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:56:02] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:02] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:02] local.INFO: IMEI packet received {"connection_id":189095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":189095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:56:07] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:07] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:56:07] local.INFO: IMEI packet received {"connection_id":189095,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":189095,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:56:08] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:08] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:08] local.INFO: Packet analysis {"connection_id":189095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:56:08] local.INFO: Extracted packet for processing {"connection_id":189095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 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-09-21 20:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:56: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-09-21 20:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":189095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:56:08] local.INFO: GPS data processed {"connection_id":189095,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:56:08] local.INFO: Acknowledgment sent {"connection_id":189095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:56:17] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:17] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:17] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:56:21] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:21] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:56:21] local.INFO: IMEI packet received {"connection_id":190396,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":190396,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:56:22] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:22] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:22] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:56:22] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 20:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:56:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 20:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:56:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:56:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:56:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878155,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:56:22] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:56:22] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:56:27] local.INFO: TCP Data received {"connection_id":190396,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190396,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:27] local.INFO: Processing buffer {"connection_id":190396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c48e3c38012d196f40071fef40003c00ff29..."} 
[2026-09-21 20:56:27] local.INFO: Packet analysis {"connection_id":190396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:56:27] local.INFO: Extracted packet for processing {"connection_id":190396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c48e"} 
[2026-09-21 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240960000001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790004051000,"timestamp_ms":1790004051000,"timestamp_seconds":1790004051,"priority":1,"record_length":96,"hex_timestamp":"000001a0c48e3c38"} 
[2026-09-21 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-09-21 20:56: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-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 20: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-09-21 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-09-21 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-09-21 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190396,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240960000001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240960000001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:56:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240960000001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":190396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:56:27] local.INFO: GPS data processed {"connection_id":190396,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:56:27] local.INFO: Acknowledgment sent {"connection_id":190396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:56:40] local.INFO: TCP Data received {"connection_id":189095,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189095,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:40] local.INFO: Processing buffer {"connection_id":189095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:56:40] local.INFO: Packet analysis {"connection_id":189095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:56:40] local.INFO: Extracted packet for processing {"connection_id":189095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189095,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":189095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:56:40] local.INFO: GPS data processed {"connection_id":189095,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:56:40] local.INFO: Acknowledgment sent {"connection_id":189095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:57:07] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:07] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:07] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:57:12] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:12] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:12] local.INFO: IMEI packet received {"connection_id":188924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:57:12] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.53","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:12] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:57:12] local.INFO: IMEI packet received {"connection_id":188923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":188923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:57:13] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:13] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:13] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:57:13] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:57:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:57:13] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:57:13] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:57:17] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:17] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:57:17] local.INFO: IMEI packet received {"connection_id":188924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":188924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:57:18] local.INFO: TCP Data received {"connection_id":188923,"ip":"42.106.6.53","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188923,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:18] local.INFO: Processing buffer {"connection_id":188923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:57:18] local.INFO: Packet analysis {"connection_id":188923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:57:18] local.INFO: Extracted packet for processing {"connection_id":188923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57: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-09-21 20:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.53","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.53","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":188923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:57:18] local.INFO: GPS data processed {"connection_id":188923,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:57:18] local.INFO: Acknowledgment sent {"connection_id":188923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:57:18] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:18] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:18] local.INFO: Packet analysis {"connection_id":188924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:57:18] local.INFO: Extracted packet for processing {"connection_id":188924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:57:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:57:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:57:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:57:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:57:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:57:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:57:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:57:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":188924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:57:18] local.INFO: GPS data processed {"connection_id":188924,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:57:18] local.INFO: Acknowledgment sent {"connection_id":188924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:57:49] local.INFO: TCP Data received {"connection_id":188924,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188924,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:49] local.INFO: Processing buffer {"connection_id":188924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:57:49] local.INFO: Packet analysis {"connection_id":188924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:57:49] local.INFO: Extracted packet for processing {"connection_id":188924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:57:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:57:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:57:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":188924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:57:49] local.INFO: GPS data processed {"connection_id":188924,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:57:49] local.INFO: Acknowledgment sent {"connection_id":188924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:58:02] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:02] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:02] local.INFO: IMEI packet received {"connection_id":189096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":189096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:58:07] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:07] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:58:07] local.INFO: IMEI packet received {"connection_id":189096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":189096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:58:08] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:08] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:08] local.INFO: Packet analysis {"connection_id":189096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:58:08] local.INFO: Extracted packet for processing {"connection_id":189096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20: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-09-21 20:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:58: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-09-21 20:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":189096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:58:08] local.INFO: GPS data processed {"connection_id":189096,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:58:08] local.INFO: Acknowledgment sent {"connection_id":189096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:58:12] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:12] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:12] local.INFO: IMEI packet received {"connection_id":188925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":188925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:58:17] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:17] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:58:17] local.INFO: IMEI packet received {"connection_id":188925,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":188925,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:58:18] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:18] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:18] local.INFO: Packet analysis {"connection_id":188925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:58:18] local.INFO: Extracted packet for processing {"connection_id":188925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:58:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:58:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:58:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:58:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:58:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:58:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:58:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:58:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:58:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:58:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:58:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:58:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:58:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:58:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:58:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:58:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:58:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:58:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:58:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:58:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:58:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:58:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:58:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:58:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:58:18] local.INFO: DEBUG: GPS processor result {"connection_id":188925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:58:18] local.INFO: GPS data processed {"connection_id":188925,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:58:18] local.INFO: Acknowledgment sent {"connection_id":188925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:58:39] local.INFO: TCP Data received {"connection_id":189097,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189097,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:58:39] local.INFO: Processing buffer {"connection_id":189097,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:58:39] local.INFO: IMEI packet received {"connection_id":189097,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:58:39] local.INFO: IMEI acknowledgment sent {"connection_id":189097,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:58:39] local.INFO: TCP Data received {"connection_id":189096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189096,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:39] local.INFO: Processing buffer {"connection_id":189096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:58:39] local.INFO: Packet analysis {"connection_id":189096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:58:39] local.INFO: Extracted packet for processing {"connection_id":189096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20: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-09-21 20:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20: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-09-21 20:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20: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-09-21 20:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:58:39] 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-09-21 20:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 20:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":189096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:58:39] local.INFO: GPS data processed {"connection_id":189096,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:58:39] local.INFO: Acknowledgment sent {"connection_id":189096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:58:49] local.INFO: TCP Data received {"connection_id":188925,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188925,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:49] local.INFO: Processing buffer {"connection_id":188925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:58:49] local.INFO: Packet analysis {"connection_id":188925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:58:49] local.INFO: Extracted packet for processing {"connection_id":188925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188925,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":188925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:58:49] local.INFO: GPS data processed {"connection_id":188925,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:58:49] local.INFO: Acknowledgment sent {"connection_id":188925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:59:03] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:03] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:03] local.INFO: IMEI packet received {"connection_id":189098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 20:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":189098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:59:08] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:08] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 20:59:08] local.INFO: IMEI packet received {"connection_id":189098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 20:59:08] local.INFO: IMEI acknowledgment sent {"connection_id":189098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:59:09] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:09] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:09] local.INFO: Packet analysis {"connection_id":189098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:59:09] local.INFO: Extracted packet for processing {"connection_id":189098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 20:59:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 20:59:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 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-09-21 20:59:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:59:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 20:59:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:59:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:59:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:59:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:59: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-09-21 20:59:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:59:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:59:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:59:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:59:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:59:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:59:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:59:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:59:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:59:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:59:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:59:09] local.INFO: DEBUG: GPS processor result {"connection_id":189098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:59:09] local.INFO: GPS data processed {"connection_id":189098,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:59:09] local.INFO: Acknowledgment sent {"connection_id":189098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:59:11] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:11] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:11] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 20:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:59:14] local.INFO: TCP Data received {"connection_id":190398,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:59:14] local.INFO: Processing buffer {"connection_id":190398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 20:59:14] local.INFO: IMEI packet received {"connection_id":190398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 20:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":190398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 20:59:17] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:17] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 20:59:17] local.INFO: IMEI packet received {"connection_id":188926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 20:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":188926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 20:59:18] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:18] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:18] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:59:18] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:59:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:59:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:59:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:59:18] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:59:18] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:59:41] local.INFO: TCP Data received {"connection_id":189098,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189098,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:41] local.INFO: Processing buffer {"connection_id":189098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4915530012d34c14006aa40600002000c2d..."} 
[2026-09-21 20:59:41] local.INFO: Packet analysis {"connection_id":189098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:59:41] local.INFO: Extracted packet for processing {"connection_id":189098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c491"} 
[2026-09-21 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":2,"angle":12,"satellites":45,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:59:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241011968001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59: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-09-21 20:59:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790004254000,"timestamp_ms":1790004254000,"timestamp_seconds":1790004254,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4915530"} 
[2026-09-21 20:59:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:59:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:59:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 20:59:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:59:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:59:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:59:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:59:41] local.INFO: Teltonika packet parsed successfully {"connection_id":189098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:59:41] local.INFO: Passing IMEI to GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:59:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":189098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 20:59: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-09-21 20:59:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 20:59:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 20:59:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241011968001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 20:59:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 20:59:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 20:59:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241011968001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:59:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 20:59:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 20:59:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:59:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 20:59:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241011968001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 20:59:41] local.INFO: DEBUG: GPS processor result {"connection_id":189098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:59:41] local.INFO: GPS data processed {"connection_id":189098,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:59:41] local.INFO: Acknowledgment sent {"connection_id":189098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 20:59:49] local.INFO: TCP Data received {"connection_id":188926,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188926,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:49] local.INFO: Processing buffer {"connection_id":188926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 20:59:49] local.INFO: Packet analysis {"connection_id":188926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:59:49] local.INFO: Extracted packet for processing {"connection_id":188926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 20:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 20:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 20:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 20:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 20:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 20:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 20:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 20:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 20:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 20:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 20:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 20:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 20:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 20:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 20:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 20:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 20:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 20:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 20:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 20:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 20:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 20:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 20:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 20:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 20:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":188926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 20:59:49] local.INFO: GPS data processed {"connection_id":188926,"processed":1,"errors":0,"total":1} 
[2026-09-21 20:59:49] local.INFO: Acknowledgment sent {"connection_id":188926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:00:02] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:02] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:02] local.INFO: IMEI packet received {"connection_id":191682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":191682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:00:07] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:07] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:00:07] local.INFO: IMEI packet received {"connection_id":191682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":191682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:00:08] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:08] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:08] local.INFO: Packet analysis {"connection_id":191682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:00:08] local.INFO: Extracted packet for processing {"connection_id":191682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 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-09-21 21:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:00:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":191682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:00:08] local.INFO: GPS data processed {"connection_id":191682,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:00:08] local.INFO: Acknowledgment sent {"connection_id":191682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:00:11] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:11] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:11] local.INFO: IMEI packet received {"connection_id":191683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":191683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:00:17] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:17] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:00:17] local.INFO: IMEI packet received {"connection_id":191683,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":191683,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:00:18] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:18] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:18] local.INFO: Packet analysis {"connection_id":191683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:00:18] local.INFO: Extracted packet for processing {"connection_id":191683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 21:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":191683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:00:18] local.INFO: GPS data processed {"connection_id":191683,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:00:18] local.INFO: Acknowledgment sent {"connection_id":191683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:00:39] local.INFO: TCP Data received {"connection_id":191682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191682,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:39] local.INFO: Processing buffer {"connection_id":191682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:00:39] local.INFO: Packet analysis {"connection_id":191682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:00:39] local.INFO: Extracted packet for processing {"connection_id":191682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:00:39] local.INFO: GPS data processed {"connection_id":191682,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:00:39] local.INFO: Acknowledgment sent {"connection_id":191682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:00:49] local.INFO: TCP Data received {"connection_id":191683,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191683,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:49] local.INFO: Processing buffer {"connection_id":191683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:00:49] local.INFO: Packet analysis {"connection_id":191683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:00:49] local.INFO: Extracted packet for processing {"connection_id":191683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 21:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191683,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":191683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:00:49] local.INFO: GPS data processed {"connection_id":191683,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:00:49] local.INFO: Acknowledgment sent {"connection_id":191683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:01:02] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:02] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:02] local.INFO: IMEI packet received {"connection_id":189099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":189099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:01:07] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:07] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:01:07] local.INFO: IMEI packet received {"connection_id":189099,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":189099,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:01:08] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:08] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:08] local.INFO: Packet analysis {"connection_id":189099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:08] local.INFO: Extracted packet for processing {"connection_id":189099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:01:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:01:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21: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-09-21 21:01:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:01:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01: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-09-21 21:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":189099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:01:08] local.INFO: GPS data processed {"connection_id":189099,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:01:08] local.INFO: Acknowledgment sent {"connection_id":189099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:01:13] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:13] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:13] local.INFO: Packet analysis {"connection_id":189099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:13] local.INFO: Extracted packet for processing {"connection_id":189099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:01:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:01:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:01:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:01:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":189099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:01:13] local.INFO: GPS data processed {"connection_id":189099,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:01:13] local.INFO: Acknowledgment sent {"connection_id":189099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:01:17] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:17] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:17] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:01:22] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:22] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:01:22] local.INFO: IMEI packet received {"connection_id":190399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":190399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:01:23] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:23] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c492d400012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:23] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:01:23] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c492"} 
[2026-09-21 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:01:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241037056001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:01:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790004352000,"timestamp_ms":1790004352000,"timestamp_seconds":1790004352,"priority":1,"record_length":96,"hex_timestamp":"000001a0c492d400"} 
[2026-09-21 21:01:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:01:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:01:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:01:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:01:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:01:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:01:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:01:23] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:01:23] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:01:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:01:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:01:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:01:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:01:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241037056001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:01:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:01:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:01:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241037056001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:01:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:01:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:01:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:01:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:01:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241037056001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:01:23] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:01:23] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:01:44] local.INFO: TCP Data received {"connection_id":189099,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189099,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:44] local.INFO: Processing buffer {"connection_id":189099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:01:44] local.INFO: Packet analysis {"connection_id":189099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:44] local.INFO: Extracted packet for processing {"connection_id":189099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:01:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:01:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:01:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189099,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:01:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:01:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":189099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:01:44] local.INFO: GPS data processed {"connection_id":189099,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:01:44] local.INFO: Acknowledgment sent {"connection_id":189099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:01:54] local.INFO: TCP Data received {"connection_id":190399,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190399,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:54] local.INFO: Processing buffer {"connection_id":190399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:01:54] local.INFO: Packet analysis {"connection_id":190399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:01:54] local.INFO: Extracted packet for processing {"connection_id":190399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:01:54] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:01:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:01:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:01:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:01:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:01:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:01:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:01:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:01:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:01:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:01:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:01:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:01:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:01:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:01:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:01:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:01:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:01:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:01:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:01:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:01:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:01:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:01:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:01:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:01:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:01:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:01:54] local.INFO: DEBUG: GPS processor result {"connection_id":190399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:01:54] local.INFO: GPS data processed {"connection_id":190399,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:01:54] local.INFO: Acknowledgment sent {"connection_id":190399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:02:02] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:02] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:02] local.INFO: IMEI packet received {"connection_id":188928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":188928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:02:07] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:07] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:02:07] local.INFO: IMEI packet received {"connection_id":188928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":188928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:02:08] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:08] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:08] local.INFO: Packet analysis {"connection_id":188928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:02:08] local.INFO: Extracted packet for processing {"connection_id":188928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 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-09-21 21:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:02: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-09-21 21:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":188928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:02:08] local.INFO: GPS data processed {"connection_id":188928,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:02:08] local.INFO: Acknowledgment sent {"connection_id":188928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:02:12] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:12] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:12] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:02:17] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:17] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:02:17] local.INFO: IMEI packet received {"connection_id":190400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":190400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:02:18] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:18] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:18] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:02:18] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:02:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:02:18] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:02:18] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:02:40] local.INFO: TCP Data received {"connection_id":188928,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188928,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:40] local.INFO: Processing buffer {"connection_id":188928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:02:40] local.INFO: Packet analysis {"connection_id":188928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:02:40] local.INFO: Extracted packet for processing {"connection_id":188928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:02:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:02:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:02:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:02:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:02:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:02:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:02:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:02:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:02:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:02:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:02:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:02: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-09-21 21:02:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:02:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:02:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:02:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:02:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:02:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:02:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:02:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:02:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:02:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:02:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:02:40] local.INFO: DEBUG: GPS processor result {"connection_id":188928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:02:40] local.INFO: GPS data processed {"connection_id":188928,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:02:40] local.INFO: Acknowledgment sent {"connection_id":188928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:02:49] local.INFO: TCP Data received {"connection_id":190400,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190400,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:49] local.INFO: Processing buffer {"connection_id":190400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:02:49] local.INFO: Packet analysis {"connection_id":190400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:02:49] local.INFO: Extracted packet for processing {"connection_id":190400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":190400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:02:49] local.INFO: GPS data processed {"connection_id":190400,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:02:49] local.INFO: Acknowledgment sent {"connection_id":190400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:03:02] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:02] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:02] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:03:07] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:07] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:03:07] local.INFO: IMEI packet received {"connection_id":191685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:03:08] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:08] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:08] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:03:08] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:03: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-09-21 21:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":191685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:03:08] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:03:08] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:03:11] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:11] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:11] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:03:17] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:17] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:03:17] local.INFO: IMEI packet received {"connection_id":188929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":188929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:03:18] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:18] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:18] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:03:18] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:03:18] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:03:18] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:03:40] local.INFO: TCP Data received {"connection_id":191685,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191685,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:40] local.INFO: Processing buffer {"connection_id":191685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:03:40] local.INFO: Packet analysis {"connection_id":191685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:03:40] local.INFO: Extracted packet for processing {"connection_id":191685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:03:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:03:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:03:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:03:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:03:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:03:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:03:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:03:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:03:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:03:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:03:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:03:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:03:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:03:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:03:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:03:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:03:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:03:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:03:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:03:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:03:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:03:40] local.INFO: DEBUG: GPS processor result {"connection_id":191685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:03:40] local.INFO: GPS data processed {"connection_id":191685,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:03:40] local.INFO: Acknowledgment sent {"connection_id":191685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:03:49] local.INFO: TCP Data received {"connection_id":188929,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188929,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:49] local.INFO: Processing buffer {"connection_id":188929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:03:49] local.INFO: Packet analysis {"connection_id":188929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:03:49] local.INFO: Extracted packet for processing {"connection_id":188929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":188929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:03:49] local.INFO: GPS data processed {"connection_id":188929,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:03:49] local.INFO: Acknowledgment sent {"connection_id":188929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:04:02] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:02] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:02] local.INFO: IMEI packet received {"connection_id":189100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":189100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:04:07] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:07] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:04:07] local.INFO: IMEI packet received {"connection_id":189100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":189100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:04:08] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:08] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:08] local.INFO: Packet analysis {"connection_id":189100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:04:08] local.INFO: Extracted packet for processing {"connection_id":189100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 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-09-21 21:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:04:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":189100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:04:08] local.INFO: GPS data processed {"connection_id":189100,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:04:08] local.INFO: Acknowledgment sent {"connection_id":189100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:04:12] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:12] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:12] local.INFO: IMEI packet received {"connection_id":188931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":188931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:04:17] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:17] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:04:17] local.INFO: IMEI packet received {"connection_id":188931,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":188931,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:04:18] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:18] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:18] local.INFO: Packet analysis {"connection_id":188931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:04:18] local.INFO: Extracted packet for processing {"connection_id":188931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":188931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:04:18] local.INFO: GPS data processed {"connection_id":188931,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:04:18] local.INFO: Acknowledgment sent {"connection_id":188931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:04:39] local.INFO: TCP Data received {"connection_id":189101,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189101,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:04:39] local.INFO: Processing buffer {"connection_id":189101,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:04:39] local.INFO: IMEI packet received {"connection_id":189101,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:04:39] local.INFO: IMEI acknowledgment sent {"connection_id":189101,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:04:40] local.INFO: TCP Data received {"connection_id":189100,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189100,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:40] local.INFO: Processing buffer {"connection_id":189100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c495ecf8012d34c14006aa40600000000c2b..."} 
[2026-09-21 21:04:40] local.INFO: Packet analysis {"connection_id":189100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:04:40] local.INFO: Extracted packet for processing {"connection_id":189100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c495"} 
[2026-09-21 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241089024001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004555000,"timestamp_ms":1790004555000,"timestamp_seconds":1790004555,"priority":1,"record_length":96,"hex_timestamp":"000001a0c495ecf8"} 
[2026-09-21 21:04:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:04:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 21:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:04:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:04:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241089024001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241089024001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:04:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:04:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241089024001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":189100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:04:40] local.INFO: GPS data processed {"connection_id":189100,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:04:40] local.INFO: Acknowledgment sent {"connection_id":189100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:04:49] local.INFO: TCP Data received {"connection_id":188931,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188931,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:49] local.INFO: Processing buffer {"connection_id":188931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:04:49] local.INFO: Packet analysis {"connection_id":188931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:04:49] local.INFO: Extracted packet for processing {"connection_id":188931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188931,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":188931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:04:49] local.INFO: GPS data processed {"connection_id":188931,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:04:49] local.INFO: Acknowledgment sent {"connection_id":188931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:05:02] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:02] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:02] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:05:07] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:07] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:05:07] local.INFO: IMEI packet received {"connection_id":191686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":191686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:05:08] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:08] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:08] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:05:08] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:05:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:05:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:05:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:05:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":191686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:05:08] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:05:08] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:05:14] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:14] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:14] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:05:17] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:17] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:17] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:05:19] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:19] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:05:19] local.INFO: IMEI packet received {"connection_id":190402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 21:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":190402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:05:20] local.INFO: TCP Data received {"connection_id":190402,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c487df50012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190402,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c487df50012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:05:20] local.INFO: Processing buffer {"connection_id":190402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c487df50012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:05:20] local.INFO: Packet analysis {"connection_id":190402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c487"} 
[2026-09-21 21:05:20] local.INFO: Extracted packet for processing {"connection_id":190402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c487"} 
[2026-09-21 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":730346240,"raw_latitude":192709872,"longitude_deg":73.034624,"latitude_deg":19.2709872,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2b883300","hex_latitude":"0b7c84f0","is_valid_coordinates":true} 
[2026-09-21 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458240853248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3601080969592832,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8632556011405381632,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790003634000,"timestamp_ms":1790003634000,"timestamp_seconds":1790003634,"priority":1,"record_length":96,"hex_timestamp":"000001a0c487df50"} 
[2026-09-21 21:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:05:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:05:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-09-21 21:05:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:05:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":190402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":190402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":190402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 21:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 21:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458240853248001,"66":25745,"27":206,"234":55296,"24":0,"16":3601080969592832,"43":-8632556011405381632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 21:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 21:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 21:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458240853248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:05:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 21:05:20] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 21:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3601080969592832,"km_value":3601080969592.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:05:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8632556011405381632,"description":"Unknown IO ID 43"} 
[2026-09-21 21:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458240853248001,"power":25745,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8632556011405381632}} 
[2026-09-21 21:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":190402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:05:21] local.INFO: GPS data processed {"connection_id":190402,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:05:21] local.INFO: Acknowledgment sent {"connection_id":190402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:05:22] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:22] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:05:22] local.INFO: IMEI packet received {"connection_id":188932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":188932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:05:23] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:23] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:23] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:05:23] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:05:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:05:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:05:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:05:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:05:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:05:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:05:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:05:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:05:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:05:23] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:05:23] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:05:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:05:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:05:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:05:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:05:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:05:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:05:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:05:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:05:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:05:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:05:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:05:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:05:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:05:23] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:05:23] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:05:23] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:05:27] local.INFO: TCP Data received {"connection_id":188932,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188932,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:27] local.INFO: Processing buffer {"connection_id":188932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:05:27] local.INFO: Packet analysis {"connection_id":188932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:05:27] local.INFO: Extracted packet for processing {"connection_id":188932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:05: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-09-21 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 21:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:05:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:05:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":188932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878194,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:05:27] local.INFO: GPS data processed {"connection_id":188932,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:05:27] local.INFO: Acknowledgment sent {"connection_id":188932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:05:40] local.INFO: TCP Data received {"connection_id":191686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191686,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:40] local.INFO: Processing buffer {"connection_id":191686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:05:40] local.INFO: Packet analysis {"connection_id":191686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:05:40] local.INFO: Extracted packet for processing {"connection_id":191686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:05:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:05:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:05:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:05:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:05:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:05:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:05: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:05:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:05:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:05:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:05:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:05:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:05:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:05:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:05:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:05:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:05:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:05:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:05:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:05:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:05:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:05:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:05:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:05:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:05:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:05:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":191686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:05:40] local.INFO: GPS data processed {"connection_id":191686,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:05:40] local.INFO: Acknowledgment sent {"connection_id":191686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:06:02] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:02] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:02] local.INFO: IMEI packet received {"connection_id":188933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":188933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:06:04] local.INFO: TCP Data received {"connection_id":188934,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:06:04] local.INFO: Processing buffer {"connection_id":188934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:06:04] local.INFO: IMEI packet received {"connection_id":188934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":188934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:06:07] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:07] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:06:07] local.INFO: IMEI packet received {"connection_id":188933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":188933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:06:08] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:08] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:08] local.INFO: Packet analysis {"connection_id":188933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:06:08] local.INFO: Extracted packet for processing {"connection_id":188933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 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-09-21 21:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:06:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":188933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:06:08] local.INFO: GPS data processed {"connection_id":188933,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:06:08] local.INFO: Acknowledgment sent {"connection_id":188933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:06:12] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:12] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:12] local.INFO: IMEI packet received {"connection_id":188935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":188935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:06:17] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:17] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:06:17] local.INFO: IMEI packet received {"connection_id":188935,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":188935,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:06:18] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:06:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:06:18] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4976bc8012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:06:18] local.INFO: Packet analysis {"connection_id":188935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:06:18] local.INFO: Extracted packet for processing {"connection_id":188935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c497"} 
[2026-09-21 21:06:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:06:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241114112001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:06:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004653000,"timestamp_ms":1790004653000,"timestamp_seconds":1790004653,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4976bc8"} 
[2026-09-21 21:06:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:06:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:06:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:06:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:06:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:06:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:06:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:06:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:06:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:06:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:06:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:06:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:06:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:06:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241114112001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:06:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:06:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:06:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241114112001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:06:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:06:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:06:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:06:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:06:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241114112001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:06:18] local.INFO: DEBUG: GPS processor result {"connection_id":188935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:06:18] local.INFO: GPS data processed {"connection_id":188935,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:06:18] local.INFO: Acknowledgment sent {"connection_id":188935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:06:39] local.INFO: TCP Data received {"connection_id":188933,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188933,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:39] local.INFO: Processing buffer {"connection_id":188933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:06:39] local.INFO: Packet analysis {"connection_id":188933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:06:39] local.INFO: Extracted packet for processing {"connection_id":188933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:06:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":188933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:06:39] local.INFO: GPS data processed {"connection_id":188933,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:06:39] local.INFO: Acknowledgment sent {"connection_id":188933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:06:49] local.INFO: TCP Data received {"connection_id":188935,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188935,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:06:49] local.INFO: Processing buffer {"connection_id":188935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:06:49] local.INFO: Packet analysis {"connection_id":188935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:06:49] local.INFO: Extracted packet for processing {"connection_id":188935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:06:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188935,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:06:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":188935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:06:49] local.INFO: GPS data processed {"connection_id":188935,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:06:49] local.INFO: Acknowledgment sent {"connection_id":188935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:07:02] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:02] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:02] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:07:07] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:07] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:07:07] local.INFO: IMEI packet received {"connection_id":190403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":190403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:07:08] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:08] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:08] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:07:08] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:07: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-09-21 21:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:07:08] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:07:08] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:07:11] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:11] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:11] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:07:17] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:17] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:07:17] local.INFO: IMEI packet received {"connection_id":191687,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":191687,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:07:18] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:18] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:18] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:07:18] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:07:18] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:07:18] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:07:39] local.INFO: TCP Data received {"connection_id":190403,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190403,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:39] local.INFO: Processing buffer {"connection_id":190403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:07:39] local.INFO: Packet analysis {"connection_id":190403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:07:39] local.INFO: Extracted packet for processing {"connection_id":190403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:07: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-09-21 21:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":190403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:07:39] local.INFO: GPS data processed {"connection_id":190403,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:07:39] local.INFO: Acknowledgment sent {"connection_id":190403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:07:49] local.INFO: TCP Data received {"connection_id":191687,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191687,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:49] local.INFO: Processing buffer {"connection_id":191687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:07:49] local.INFO: Packet analysis {"connection_id":191687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:07:49] local.INFO: Extracted packet for processing {"connection_id":191687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191687,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":191687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:07:49] local.INFO: GPS data processed {"connection_id":191687,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:07:49] local.INFO: Acknowledgment sent {"connection_id":191687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:08:02] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:02] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:02] local.INFO: IMEI packet received {"connection_id":189103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":189103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:08:07] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:07] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:08:07] local.INFO: IMEI packet received {"connection_id":189103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":189103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:08:08] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:08] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:08] local.INFO: Packet analysis {"connection_id":189103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:08:08] local.INFO: Extracted packet for processing {"connection_id":189103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 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-09-21 21:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:08:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:08: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-09-21 21:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":189103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:08:08] local.INFO: GPS data processed {"connection_id":189103,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:08:08] local.INFO: Acknowledgment sent {"connection_id":189103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:08:17] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:17] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:17] local.INFO: IMEI packet received {"connection_id":188936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":188936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:08:21] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:21] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:08:21] local.INFO: IMEI packet received {"connection_id":188936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":188936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:08:22] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:22] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:22] local.INFO: Packet analysis {"connection_id":188936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:08:22] local.INFO: Extracted packet for processing {"connection_id":188936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:08:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":188936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:08:22] local.INFO: GPS data processed {"connection_id":188936,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:08:22] local.INFO: Acknowledgment sent {"connection_id":188936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:08:27] local.INFO: TCP Data received {"connection_id":188936,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188936,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:27] local.INFO: Processing buffer {"connection_id":188936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:08:27] local.INFO: Packet analysis {"connection_id":188936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:08:27] local.INFO: Extracted packet for processing {"connection_id":188936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21: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-09-21 21:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":188936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":188936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":188936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":188936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878206,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:08:27] local.INFO: GPS data processed {"connection_id":188936,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:08:27] local.INFO: Acknowledgment sent {"connection_id":188936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:08:40] local.INFO: TCP Data received {"connection_id":189103,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189103,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:40] local.INFO: Processing buffer {"connection_id":189103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:08:40] local.INFO: Packet analysis {"connection_id":189103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:08:40] local.INFO: Extracted packet for processing {"connection_id":189103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:08: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":189103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:08:40] local.INFO: GPS data processed {"connection_id":189103,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:08:40] local.INFO: Acknowledgment sent {"connection_id":189103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:09:02] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:02] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:02] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:09:07] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:07] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:09:07] local.INFO: IMEI packet received {"connection_id":191688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":191688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:09:08] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:08] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:08] local.INFO: Packet analysis {"connection_id":191688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:09:08] local.INFO: Extracted packet for processing {"connection_id":191688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:09:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:09:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:09:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:09:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:09:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 21:09:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:09:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:09:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:09:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:09:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:09:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:09: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-09-21 21:09:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:09:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:09:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:09:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:09:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:09:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:09:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:09:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:09:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:09:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:09:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:09:08] local.INFO: DEBUG: GPS processor result {"connection_id":191688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:09:08] local.INFO: GPS data processed {"connection_id":191688,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:09:08] local.INFO: Acknowledgment sent {"connection_id":191688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:09:12] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:12] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:12] local.INFO: IMEI packet received {"connection_id":189104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":189104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:09:17] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:17] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:09:17] local.INFO: IMEI packet received {"connection_id":189104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":189104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:09:18] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:18] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:18] local.INFO: Packet analysis {"connection_id":189104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:09:18] local.INFO: Extracted packet for processing {"connection_id":189104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:09:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:09:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:09:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:09:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:09:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:09:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:09:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:09:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:09:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:09:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:09:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:09:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:09:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:09:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:09:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:09:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:09:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:09:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:09:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:09:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:09:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:09:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:09:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:09:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:09:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:09:18] local.INFO: DEBUG: GPS processor result {"connection_id":189104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:09:18] local.INFO: GPS data processed {"connection_id":189104,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:09:18] local.INFO: Acknowledgment sent {"connection_id":189104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:09:40] local.INFO: TCP Data received {"connection_id":191688,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191688,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:40] local.INFO: Processing buffer {"connection_id":191688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49a84c0012d34c14006aa40600003000c2b..."} 
[2026-09-21 21:09:40] local.INFO: Packet analysis {"connection_id":191688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:09:40] local.INFO: Extracted packet for processing {"connection_id":191688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49a"} 
[2026-09-21 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:09:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:09:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241166080001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:09:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790004856000,"timestamp_ms":1790004856000,"timestamp_seconds":1790004856,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49a84c0"} 
[2026-09-21 21:09:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:09:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:09: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 21:09:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:09:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:09:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:09:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:09:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:09:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:09:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:09: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-09-21 21:09:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:09:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:09:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241166080001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:09:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:09:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241166080001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:09:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:09:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:09:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241166080001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:09:40] local.INFO: DEBUG: GPS processor result {"connection_id":191688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:09:40] local.INFO: GPS data processed {"connection_id":191688,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:09:40] local.INFO: Acknowledgment sent {"connection_id":191688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:09:49] local.INFO: TCP Data received {"connection_id":189104,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189104,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:49] local.INFO: Processing buffer {"connection_id":189104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:09:49] local.INFO: Packet analysis {"connection_id":189104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:09:49] local.INFO: Extracted packet for processing {"connection_id":189104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:09:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:09:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:09:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:09:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:09:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:09:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":189104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:09:49] local.INFO: GPS data processed {"connection_id":189104,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:09:49] local.INFO: Acknowledgment sent {"connection_id":189104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:10:02] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:02] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:02] local.INFO: IMEI packet received {"connection_id":189105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":189105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:10:07] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:07] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:10:07] local.INFO: IMEI packet received {"connection_id":189105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":189105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:10:08] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:08] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:08] local.INFO: Packet analysis {"connection_id":189105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:10:08] local.INFO: Extracted packet for processing {"connection_id":189105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:10:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:10: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-09-21 21: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-09-21 21:10:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:10:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:10:09] local.INFO: DEBUG: GPS processor result {"connection_id":189105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:10:09] local.INFO: GPS data processed {"connection_id":189105,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:10:09] local.INFO: Acknowledgment sent {"connection_id":189105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:10:12] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:12] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:12] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:10:17] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:17] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:10:17] local.INFO: IMEI packet received {"connection_id":190405,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":190405,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:10:18] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:18] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:18] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:10:18] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:10:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:10:18] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:10:18] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:10:40] local.INFO: TCP Data received {"connection_id":189105,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189105,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:40] local.INFO: Processing buffer {"connection_id":189105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:10:40] local.INFO: Packet analysis {"connection_id":189105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:10:40] local.INFO: Extracted packet for processing {"connection_id":189105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:10:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:10:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:10:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:10:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:10:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:10:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:10:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:10:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:10:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:10:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:10:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:10:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:10:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:10:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:10:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:10:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:10:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:10:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:10:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:10:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:10:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:10:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:10:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:10:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:10:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:10:40] local.INFO: DEBUG: GPS processor result {"connection_id":189105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:10:40] local.INFO: GPS data processed {"connection_id":189105,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:10:40] local.INFO: Acknowledgment sent {"connection_id":189105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:10:49] local.INFO: TCP Data received {"connection_id":190405,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190405,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:49] local.INFO: Processing buffer {"connection_id":190405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:10:49] local.INFO: Packet analysis {"connection_id":190405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:10:49] local.INFO: Extracted packet for processing {"connection_id":190405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190405,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:10:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":190405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878215,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:10:49] local.INFO: GPS data processed {"connection_id":190405,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:10:49] local.INFO: Acknowledgment sent {"connection_id":190405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:11:02] local.INFO: TCP Data received {"connection_id":191689,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:02] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:02] local.INFO: IMEI packet received {"connection_id":191689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":191689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:11:07] local.INFO: TCP Data received {"connection_id":191689,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:07] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:11:07] local.INFO: IMEI packet received {"connection_id":191689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":191689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:11:08] local.INFO: TCP Data received {"connection_id":191689,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:08] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:08] local.INFO: Packet analysis {"connection_id":191689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:11:08] local.INFO: Extracted packet for processing {"connection_id":191689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:11: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-09-21 21:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:11: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-09-21 21:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":191689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:11:08] local.INFO: GPS data processed {"connection_id":191689,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:11:08] local.INFO: Acknowledgment sent {"connection_id":191689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:11:12] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:12] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:12] local.INFO: IMEI packet received {"connection_id":189106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":189106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:11:17] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:17] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:11:17] local.INFO: IMEI packet received {"connection_id":189106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":189106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:11:18] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:11:18] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49c0390012d196f40071fef40003c00ff2b..."} 
[2026-09-21 21:11:18] local.INFO: Packet analysis {"connection_id":189106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:11:18] local.INFO: Extracted packet for processing {"connection_id":189106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49c"} 
[2026-09-21 21:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":43,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241191168001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790004954000,"timestamp_ms":1790004954000,"timestamp_seconds":1790004954,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49c0390"} 
[2026-09-21 21:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241191168001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241191168001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:11:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241191168001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":189106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:11:18] local.INFO: GPS data processed {"connection_id":189106,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:11:18] local.INFO: Acknowledgment sent {"connection_id":189106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:11:29] local.INFO: TCP Data received {"connection_id":191690,"ip":"42.106.6.54","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:11:29] local.INFO: Processing buffer {"connection_id":191690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:11:29] local.INFO: IMEI packet received {"connection_id":191690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:11:29] local.INFO: IMEI acknowledgment sent {"connection_id":191690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:11:40] local.INFO: TCP Data received {"connection_id":191689,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191689,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:40] local.INFO: Processing buffer {"connection_id":191689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:11:40] local.INFO: Packet analysis {"connection_id":191689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:11:40] local.INFO: Extracted packet for processing {"connection_id":191689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:11: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-09-21 21:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":191689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:11:40] local.INFO: GPS data processed {"connection_id":191689,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:11:40] local.INFO: Acknowledgment sent {"connection_id":191689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:11:49] local.INFO: TCP Data received {"connection_id":189106,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189106,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:11:49] local.INFO: Processing buffer {"connection_id":189106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:11:49] local.INFO: Packet analysis {"connection_id":189106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:11:49] local.INFO: Extracted packet for processing {"connection_id":189106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":189106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:11:49] local.INFO: GPS data processed {"connection_id":189106,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:11:49] local.INFO: Acknowledgment sent {"connection_id":189106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:12:02] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:02] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:02] local.INFO: IMEI packet received {"connection_id":189107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":189107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:12:07] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:07] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:12:07] local.INFO: IMEI packet received {"connection_id":189107,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":189107,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:12:08] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:08] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:08] local.INFO: Packet analysis {"connection_id":189107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:12:08] local.INFO: Extracted packet for processing {"connection_id":189107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:12: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-09-21 21:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:12: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-09-21 21:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":189107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:12:08] local.INFO: GPS data processed {"connection_id":189107,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:12:08] local.INFO: Acknowledgment sent {"connection_id":189107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:12:11] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:11] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:11] local.INFO: IMEI packet received {"connection_id":189108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":189108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:12:14] local.INFO: TCP Data received {"connection_id":191691,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:12:14] local.INFO: Processing buffer {"connection_id":191691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:12:14] local.INFO: IMEI packet received {"connection_id":191691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":191691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:12:17] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:17] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:12:17] local.INFO: IMEI packet received {"connection_id":189108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":189108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:12:18] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:18] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:18] local.INFO: Packet analysis {"connection_id":189108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:12:18] local.INFO: Extracted packet for processing {"connection_id":189108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:12:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:12:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:12:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:12:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:12:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:12:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:12:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:12:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:12:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:12:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:12:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:12:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:12:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:12:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:12:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:12:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:12:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:12:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:12:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:12:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:12:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:12:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:12:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:12:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:12:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":189108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:12:18] local.INFO: GPS data processed {"connection_id":189108,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:12:18] local.INFO: Acknowledgment sent {"connection_id":189108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:12:39] local.INFO: TCP Data received {"connection_id":189107,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189107,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:39] local.INFO: Processing buffer {"connection_id":189107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:12:39] local.INFO: Packet analysis {"connection_id":189107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:12:39] local.INFO: Extracted packet for processing {"connection_id":189107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189107,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:12: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-09-21 21:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":189107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:12:40] local.INFO: GPS data processed {"connection_id":189107,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:12:40] local.INFO: Acknowledgment sent {"connection_id":189107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:12:49] local.INFO: TCP Data received {"connection_id":189108,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189108,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:49] local.INFO: Processing buffer {"connection_id":189108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:12:49] local.INFO: Packet analysis {"connection_id":189108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:12:49] local.INFO: Extracted packet for processing {"connection_id":189108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:12:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":189108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:12:49] local.INFO: GPS data processed {"connection_id":189108,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:12:49] local.INFO: Acknowledgment sent {"connection_id":189108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:13:02] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:02] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:02] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:13:07] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:07] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:13:07] local.INFO: IMEI packet received {"connection_id":191692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":191692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:13:08] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:08] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:08] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:13:08] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:13: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-09-21 21:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:13:08] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:13:08] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:13:17] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:17] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:17] local.INFO: IMEI packet received {"connection_id":189109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":189109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:13:22] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:22] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:13:22] local.INFO: IMEI packet received {"connection_id":189109,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":189109,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:13:23] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:23] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:23] local.INFO: Packet analysis {"connection_id":189109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:13:23] local.INFO: Extracted packet for processing {"connection_id":189109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:13:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:13:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:13:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:13:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:13:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:13:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:13:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:13:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:13:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:13:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:13:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:13:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:13:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:13:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:13:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:13:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:13:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:13:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:13:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:13:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:13:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:13:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:13:23] local.INFO: DEBUG: GPS processor result {"connection_id":189109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:13:23] local.INFO: GPS data processed {"connection_id":189109,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:13:23] local.INFO: Acknowledgment sent {"connection_id":189109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:13:27] local.INFO: TCP Data received {"connection_id":189109,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189109,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:27] local.INFO: Processing buffer {"connection_id":189109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:13:27] local.INFO: Packet analysis {"connection_id":189109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:13:27] local.INFO: Extracted packet for processing {"connection_id":189109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:13: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-09-21 21: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-09-21 21:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189109,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":189109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:13:27] local.INFO: GPS data processed {"connection_id":189109,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:13:27] local.INFO: Acknowledgment sent {"connection_id":189109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:13:41] local.INFO: TCP Data received {"connection_id":191692,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191692,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:41] local.INFO: Processing buffer {"connection_id":191692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:13:41] local.INFO: Packet analysis {"connection_id":191692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:13:41] local.INFO: Extracted packet for processing {"connection_id":191692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:13:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:13: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-09-21 21:13:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:13:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:13:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:13:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:13: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-09-21 21:13:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:13:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:13:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:13:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:13:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:13:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:13: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-09-21 21:13:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:13:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:13:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:13:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:13:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:13:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:13:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:13:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:13:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:13:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:13:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:13:41] local.INFO: DEBUG: GPS processor result {"connection_id":191692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:13:41] local.INFO: GPS data processed {"connection_id":191692,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:13:41] local.INFO: Acknowledgment sent {"connection_id":191692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:14:02] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:02] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:02] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:14:07] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:07] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:14:07] local.INFO: IMEI packet received {"connection_id":190408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":190408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:14:08] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:08] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:08] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:14:08] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:14:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:14:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:14:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:14:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:14: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-09-21 21: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-09-21 21:14:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:14:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:14:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:14:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:14:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:14:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:14:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:14:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:14:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:14:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:14:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:14:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:14:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:14:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:14:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:14:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:14:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:14:08] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:14:08] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:14:08] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:14:12] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:12] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:12] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:14:17] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:17] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:14:17] local.INFO: IMEI packet received {"connection_id":188939,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":188939,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:14:18] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:18] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:18] local.INFO: Packet analysis {"connection_id":188939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:14:18] local.INFO: Extracted packet for processing {"connection_id":188939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":188939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:14:18] local.INFO: GPS data processed {"connection_id":188939,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:14:18] local.INFO: Acknowledgment sent {"connection_id":188939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:14:39] local.INFO: TCP Data received {"connection_id":190408,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190408,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:39] local.INFO: Processing buffer {"connection_id":190408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49f1c88012d34c14006aa40600000000c29..."} 
[2026-09-21 21:14:39] local.INFO: Packet analysis {"connection_id":190408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:14:39] local.INFO: Extracted packet for processing {"connection_id":190408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49f"} 
[2026-09-21 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241243136001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790005157000,"timestamp_ms":1790005157000,"timestamp_seconds":1790005157,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49f1c88"} 
[2026-09-21 21:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:14:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241243136001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241243136001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:14:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:14:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241243136001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":190408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:14:39] local.INFO: GPS data processed {"connection_id":190408,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:14:39] local.INFO: Acknowledgment sent {"connection_id":190408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:14:49] local.INFO: TCP Data received {"connection_id":188939,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188939,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:49] local.INFO: Processing buffer {"connection_id":188939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:14:49] local.INFO: Packet analysis {"connection_id":188939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:14:49] local.INFO: Extracted packet for processing {"connection_id":188939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188939,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":188939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:14:49] local.INFO: GPS data processed {"connection_id":188939,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:14:49] local.INFO: Acknowledgment sent {"connection_id":188939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:15:07] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:07] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:07] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:15:12] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:12] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:12] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:15:12] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:12] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:15:12] local.INFO: IMEI packet received {"connection_id":191693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":191693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:15:13] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:13] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:13] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:15:13] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:15: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-09-21 21:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:15: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-09-21 21:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:15:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":191693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:15:13] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:15:13] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:15:17] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:17] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:15:17] local.INFO: IMEI packet received {"connection_id":190409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":190409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:15:18] local.INFO: TCP Data received {"connection_id":191693,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:18] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191693,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:18] local.INFO: Processing buffer {"connection_id":191693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:15:18] local.INFO: Packet analysis {"connection_id":191693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:15:18] local.INFO: Extracted packet for processing {"connection_id":191693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:18] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:15:18] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:15:18] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:15:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:15:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:15:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:15:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:15:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:15:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:15:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:15:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:15:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:15:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:15:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:15:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:15:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:15:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:15:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:15:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":191693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:15:18] local.INFO: GPS data processed {"connection_id":191693,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:15:18] local.INFO: Acknowledgment sent {"connection_id":191693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:15:18] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:15:18] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:15:49] local.INFO: TCP Data received {"connection_id":190409,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190409,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:49] local.INFO: Processing buffer {"connection_id":190409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:15:49] local.INFO: Packet analysis {"connection_id":190409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:15:49] local.INFO: Extracted packet for processing {"connection_id":190409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:15:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":190409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:15:49] local.INFO: GPS data processed {"connection_id":190409,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:15:49] local.INFO: Acknowledgment sent {"connection_id":190409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:16:02] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:02] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:02] local.INFO: IMEI packet received {"connection_id":188941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":188941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:16:07] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:07] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:16:07] local.INFO: IMEI packet received {"connection_id":188941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":188941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:16:08] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:08] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:08] local.INFO: Packet analysis {"connection_id":188941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:16:08] local.INFO: Extracted packet for processing {"connection_id":188941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:16: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-09-21 21:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:16:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":188941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:16:08] local.INFO: GPS data processed {"connection_id":188941,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:16:08] local.INFO: Acknowledgment sent {"connection_id":188941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:16:12] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:12] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:12] local.INFO: IMEI packet received {"connection_id":188942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":188942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:16:17] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:17] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:16:17] local.INFO: IMEI packet received {"connection_id":188942,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":188942,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:16:18] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:16:18] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a09b58012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:16:18] local.INFO: Packet analysis {"connection_id":188942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:16:18] local.INFO: Extracted packet for processing {"connection_id":188942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a0"} 
[2026-09-21 21:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241268224001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005255000,"timestamp_ms":1790005255000,"timestamp_seconds":1790005255,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a09b58"} 
[2026-09-21 21:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241268224001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241268224001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241268224001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":188942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:16:18] local.INFO: GPS data processed {"connection_id":188942,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:16:18] local.INFO: Acknowledgment sent {"connection_id":188942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:16:39] local.INFO: TCP Data received {"connection_id":188941,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188941,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:39] local.INFO: Processing buffer {"connection_id":188941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:16:39] local.INFO: Packet analysis {"connection_id":188941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:16:39] local.INFO: Extracted packet for processing {"connection_id":188941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:16: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-09-21 21:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:16:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":188941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:16:39] local.INFO: GPS data processed {"connection_id":188941,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:16:39] local.INFO: Acknowledgment sent {"connection_id":188941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:16:49] local.INFO: TCP Data received {"connection_id":188942,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188942,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:16:49] local.INFO: Processing buffer {"connection_id":188942,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:16:49] local.INFO: Packet analysis {"connection_id":188942,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:16:49] local.INFO: Extracted packet for processing {"connection_id":188942,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188942,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188942,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":188942,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:16:49] local.INFO: GPS data processed {"connection_id":188942,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:16:49] local.INFO: Acknowledgment sent {"connection_id":188942,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:17:02] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:02] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:02] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:17:07] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:07] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:17:07] local.INFO: IMEI packet received {"connection_id":190411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":190411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:17:08] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:08] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:08] local.INFO: Packet analysis {"connection_id":190411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:17:08] local.INFO: Extracted packet for processing {"connection_id":190411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 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-09-21 21:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:17: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-09-21 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-09-21 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-09-21 21:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":190411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:17:08] local.INFO: GPS data processed {"connection_id":190411,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:17:08] local.INFO: Acknowledgment sent {"connection_id":190411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:17:17] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:17] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:17] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:17:22] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:22] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:17:22] local.INFO: IMEI packet received {"connection_id":191694,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":191694,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:17:23] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:23] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:23] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:17:23] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:17:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:17:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:17:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:17:23] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:17:23] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:17:27] local.INFO: TCP Data received {"connection_id":191694,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191694,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:27] local.INFO: Processing buffer {"connection_id":191694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:17:27] local.INFO: Packet analysis {"connection_id":191694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:17:27] local.INFO: Extracted packet for processing {"connection_id":191694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 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-09-21 21:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 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-09-21 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-09-21 21:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191694,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:17:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":191694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:17:27] local.INFO: GPS data processed {"connection_id":191694,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:17:27] local.INFO: Acknowledgment sent {"connection_id":191694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:17:39] local.INFO: TCP Data received {"connection_id":190411,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190411,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:39] local.INFO: Processing buffer {"connection_id":190411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:17:39] local.INFO: Packet analysis {"connection_id":190411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:17:39] local.INFO: Extracted packet for processing {"connection_id":190411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:17: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-09-21 21:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:17: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-09-21 21:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":190411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:17:39] local.INFO: GPS data processed {"connection_id":190411,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:17:39] local.INFO: Acknowledgment sent {"connection_id":190411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:17:44] local.INFO: TCP Data received {"connection_id":191695,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191695,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:17:44] local.INFO: Processing buffer {"connection_id":191695,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:17:44] local.INFO: IMEI packet received {"connection_id":191695,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:17:44] local.INFO: IMEI acknowledgment sent {"connection_id":191695,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:18:07] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:07] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:07] local.INFO: IMEI packet received {"connection_id":189110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":189110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:18:12] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:12] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:12] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:18:12] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:12] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:18:12] local.INFO: IMEI packet received {"connection_id":189110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":189110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:18:13] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:13] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:13] local.INFO: Packet analysis {"connection_id":189110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:18:13] local.INFO: Extracted packet for processing {"connection_id":189110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:18: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-09-21 21:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:18:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":189110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:18:13] local.INFO: GPS data processed {"connection_id":189110,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:18:13] local.INFO: Acknowledgment sent {"connection_id":189110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:18:14] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:14] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:14] local.INFO: IMEI packet received {"connection_id":188944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":188944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:18:17] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:17] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:18:17] local.INFO: IMEI packet received {"connection_id":190412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":190412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:18:18] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:18] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:18] local.INFO: Packet analysis {"connection_id":190412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:18:18] local.INFO: Extracted packet for processing {"connection_id":190412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":190412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:18:18] local.INFO: GPS data processed {"connection_id":190412,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:18:18] local.INFO: Acknowledgment sent {"connection_id":190412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:18:18] local.INFO: TCP Data received {"connection_id":189110,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189110,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:18] local.INFO: Processing buffer {"connection_id":189110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:18:18] local.INFO: Packet analysis {"connection_id":189110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:18:18] local.INFO: Extracted packet for processing {"connection_id":189110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":189110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:18:18] local.INFO: GPS data processed {"connection_id":189110,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:18:18] local.INFO: Acknowledgment sent {"connection_id":189110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:18:20] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:20] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:18:20] local.INFO: IMEI packet received {"connection_id":188944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 21:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":188944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:18:22] local.INFO: TCP Data received {"connection_id":188944,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c49ed638012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188944,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c49ed638012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:18:22] local.INFO: Processing buffer {"connection_id":188944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c49ed638012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:18:22] local.INFO: Packet analysis {"connection_id":188944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c49e"} 
[2026-09-21 21:18:22] local.INFO: Extracted packet for processing {"connection_id":188944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c49e"} 
[2026-09-21 21:18:22] local.INFO: GPS Element Parsed {"raw_longitude":730346240,"raw_latitude":192709872,"longitude_deg":73.034624,"latitude_deg":19.2709872,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2b883300","hex_latitude":"0b7c84f0","is_valid_coordinates":true} 
[2026-09-21 21:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241238528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3601080969592832,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:22] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8632556011405381632,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790005139000,"timestamp_ms":1790005139000,"timestamp_seconds":1790005139,"priority":1,"record_length":96,"hex_timestamp":"000001a0c49ed638"} 
[2026-09-21 21:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:18:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-21 21:18:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:18:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188944,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:18:22] 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-09-21 21:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 21:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 21:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241238528001,"66":25549,"27":206,"234":55296,"24":0,"16":3601080969592832,"43":-8632556011405381632},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 21:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 21:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 21:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241238528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:18:22] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 21:18:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 21:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3601080969592832,"km_value":3601080969592.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:18:22] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8632556011405381632,"description":"Unknown IO ID 43"} 
[2026-09-21 21:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241238528001,"power":25549,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8632556011405381632}} 
[2026-09-21 21:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":188944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:18:22] local.INFO: GPS data processed {"connection_id":188944,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:18:22] local.INFO: Acknowledgment sent {"connection_id":188944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:18:49] local.INFO: TCP Data received {"connection_id":190412,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190412,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:49] local.INFO: Processing buffer {"connection_id":190412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:18:49] local.INFO: Packet analysis {"connection_id":190412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:18:49] local.INFO: Extracted packet for processing {"connection_id":190412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":190412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:18:49] local.INFO: GPS data processed {"connection_id":190412,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:18:49] local.INFO: Acknowledgment sent {"connection_id":190412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:19:02] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:02] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:02] local.INFO: IMEI packet received {"connection_id":189111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":189111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:19:04] local.INFO: TCP Data received {"connection_id":189112,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:19:04] local.INFO: Processing buffer {"connection_id":189112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:19:04] local.INFO: IMEI packet received {"connection_id":189112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":189112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:19:07] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:07] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:19:07] local.INFO: IMEI packet received {"connection_id":189111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":189111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:19:08] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:08] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:08] local.INFO: Packet analysis {"connection_id":189111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:19:08] local.INFO: Extracted packet for processing {"connection_id":189111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:19: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-09-21 21:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:19: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-09-21 21:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":189111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:19:08] local.INFO: GPS data processed {"connection_id":189111,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:19:08] local.INFO: Acknowledgment sent {"connection_id":189111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:19:12] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:12] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:12] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:19:17] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:17] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:19:17] local.INFO: IMEI packet received {"connection_id":191696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:19:18] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:18] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:18] local.INFO: Packet analysis {"connection_id":191696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:19:18] local.INFO: Extracted packet for processing {"connection_id":191696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:19:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:19:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:19:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:19:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:19:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:19:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:19:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:19:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:19:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:19:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:19:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:19:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:19:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:19:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:19:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:19:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:19:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:19:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:19:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:19:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:19:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:19:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:19:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:19:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:19:18] local.INFO: GPS data processed {"connection_id":191696,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:19:18] local.INFO: Acknowledgment sent {"connection_id":191696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:19:40] local.INFO: TCP Data received {"connection_id":189111,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189111,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:40] local.INFO: Processing buffer {"connection_id":189111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a3b450012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:19:40] local.INFO: Packet analysis {"connection_id":189111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:19:40] local.INFO: Extracted packet for processing {"connection_id":189111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a3"} 
[2026-09-21 21:19:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:19:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241320192001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:19:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005458000,"timestamp_ms":1790005458000,"timestamp_seconds":1790005458,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a3b450"} 
[2026-09-21 21:19:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:19:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:19:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:19:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:19:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:19:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:19:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:19:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:19:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:19:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:19:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:19:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:19:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:19:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241320192001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:19:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:19:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241320192001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:19:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:19:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:19:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241320192001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:19:40] local.INFO: DEBUG: GPS processor result {"connection_id":189111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:19:40] local.INFO: GPS data processed {"connection_id":189111,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:19:40] local.INFO: Acknowledgment sent {"connection_id":189111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:19:49] local.INFO: TCP Data received {"connection_id":191696,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191696,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:49] local.INFO: Processing buffer {"connection_id":191696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:19:49] local.INFO: Packet analysis {"connection_id":191696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:19:49] local.INFO: Extracted packet for processing {"connection_id":191696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":191696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:19:49] local.INFO: GPS data processed {"connection_id":191696,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:19:49] local.INFO: Acknowledgment sent {"connection_id":191696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:20:02] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:02] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:02] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:20:07] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:07] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:20:07] local.INFO: IMEI packet received {"connection_id":188945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":188945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:20:08] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:08] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:08] local.INFO: Packet analysis {"connection_id":188945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:20:08] local.INFO: Extracted packet for processing {"connection_id":188945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:20: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-09-21 21:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":188945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:20:08] local.INFO: GPS data processed {"connection_id":188945,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:20:08] local.INFO: Acknowledgment sent {"connection_id":188945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:20:12] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:12] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:12] local.INFO: IMEI packet received {"connection_id":190413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":190413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:20:17] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:17] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:20:17] local.INFO: IMEI packet received {"connection_id":190413,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":190413,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:20:18] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:18] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:18] local.INFO: Packet analysis {"connection_id":190413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:20:18] local.INFO: Extracted packet for processing {"connection_id":190413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:20:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:20:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:20:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:20:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:20:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:20:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:20:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:20:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:20:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:20:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:20:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:20:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:20:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:20:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:20:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:20:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:20:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:20:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:20:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:20:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:20:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:20:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:20:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:20:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:20:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":190413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878254,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:20:18] local.INFO: GPS data processed {"connection_id":190413,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:20:18] local.INFO: Acknowledgment sent {"connection_id":190413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:20:40] local.INFO: TCP Data received {"connection_id":188945,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188945,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:40] local.INFO: Processing buffer {"connection_id":188945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:20:40] local.INFO: Packet analysis {"connection_id":188945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:20:40] local.INFO: Extracted packet for processing {"connection_id":188945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":188945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:20:40] local.INFO: GPS data processed {"connection_id":188945,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:20:40] local.INFO: Acknowledgment sent {"connection_id":188945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:20:49] local.INFO: TCP Data received {"connection_id":190413,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190413,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:49] local.INFO: Processing buffer {"connection_id":190413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:20:49] local.INFO: Packet analysis {"connection_id":190413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:20:49] local.INFO: Extracted packet for processing {"connection_id":190413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190413,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:20:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":190413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:20:49] local.INFO: GPS data processed {"connection_id":190413,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:20:49] local.INFO: Acknowledgment sent {"connection_id":190413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:21:02] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:02] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:02] local.INFO: IMEI packet received {"connection_id":189113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":189113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:21:07] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:07] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:21:07] local.INFO: IMEI packet received {"connection_id":189113,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":189113,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:21:08] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:08] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:08] local.INFO: Packet analysis {"connection_id":189113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:21:08] local.INFO: Extracted packet for processing {"connection_id":189113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21: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-09-21 21:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":189113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:21:08] local.INFO: GPS data processed {"connection_id":189113,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:21:08] local.INFO: Acknowledgment sent {"connection_id":189113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:21:11] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:11] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:11] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:21:17] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:17] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:21:17] local.INFO: IMEI packet received {"connection_id":191697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":191697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:21:18] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:21:18] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a53320012d196f40071fef40003c00ff1f..."} 
[2026-09-21 21:21:18] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:21:18] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a5"} 
[2026-09-21 21:21:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":31,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241345280001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005556000,"timestamp_ms":1790005556000,"timestamp_seconds":1790005556,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a53320"} 
[2026-09-21 21:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:21:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:21:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:21:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:21:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241345280001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:21:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:21:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:21:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241345280001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:21:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:21:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:21:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:21:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:21:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241345280001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:21:18] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:21:18] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:21:40] local.INFO: TCP Data received {"connection_id":189113,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189113,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:40] local.INFO: Processing buffer {"connection_id":189113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:21:40] local.INFO: Packet analysis {"connection_id":189113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:21:40] local.INFO: Extracted packet for processing {"connection_id":189113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:21:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:21:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:21:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:21:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:21:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:21:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:21:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:21:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:21:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:21:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189113,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:21:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:21:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:21:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:21:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:21:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:21:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:21:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:21:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:21:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:21:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:21:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:21:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:21:40] local.INFO: DEBUG: GPS processor result {"connection_id":189113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:21:40] local.INFO: GPS data processed {"connection_id":189113,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:21:40] local.INFO: Acknowledgment sent {"connection_id":189113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:21:49] local.INFO: TCP Data received {"connection_id":191697,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191697,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:21:49] local.INFO: Processing buffer {"connection_id":191697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:21:49] local.INFO: Packet analysis {"connection_id":191697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:21:49] local.INFO: Extracted packet for processing {"connection_id":191697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191697,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":191697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:21:49] local.INFO: GPS data processed {"connection_id":191697,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:21:49] local.INFO: Acknowledgment sent {"connection_id":191697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:22:02] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:02] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:02] local.INFO: IMEI packet received {"connection_id":190415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":190415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:22:07] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:07] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:22:07] local.INFO: IMEI packet received {"connection_id":190415,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":190415,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:22:08] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:08] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:08] local.INFO: Packet analysis {"connection_id":190415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:22:08] local.INFO: Extracted packet for processing {"connection_id":190415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:22: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-09-21 21:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:22:08] local.INFO: GPS data processed {"connection_id":190415,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:22:08] local.INFO: Acknowledgment sent {"connection_id":190415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:22:12] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:12] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:12] local.INFO: IMEI packet received {"connection_id":188947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":188947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:22:17] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:17] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:22:17] local.INFO: IMEI packet received {"connection_id":188947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:22:18] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:18] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:18] local.INFO: Packet analysis {"connection_id":188947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:22:18] local.INFO: Extracted packet for processing {"connection_id":188947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:22:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:22:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:22:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:22:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:22:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:22:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:22:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":188947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:22:18] local.INFO: GPS data processed {"connection_id":188947,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:22:18] local.INFO: Acknowledgment sent {"connection_id":188947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:22:39] local.INFO: TCP Data received {"connection_id":190415,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190415,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:40] local.INFO: Processing buffer {"connection_id":190415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:22:40] local.INFO: Packet analysis {"connection_id":190415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:22:40] local.INFO: Extracted packet for processing {"connection_id":190415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190415,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":190415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:22:40] local.INFO: GPS data processed {"connection_id":190415,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:22:40] local.INFO: Acknowledgment sent {"connection_id":190415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:22:49] local.INFO: TCP Data received {"connection_id":188947,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188947,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:49] local.INFO: Processing buffer {"connection_id":188947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:22:49] local.INFO: Packet analysis {"connection_id":188947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:22:49] local.INFO: Extracted packet for processing {"connection_id":188947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:22:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:22:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:22:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:22:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:22:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:22:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:22:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":188947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:22:49] local.INFO: GPS data processed {"connection_id":188947,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:22:49] local.INFO: Acknowledgment sent {"connection_id":188947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:23:02] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:02] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:02] local.INFO: IMEI packet received {"connection_id":191698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":191698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:23:07] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:07] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:23:07] local.INFO: IMEI packet received {"connection_id":191698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":191698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:23:08] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:08] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:08] local.INFO: Packet analysis {"connection_id":191698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:23:08] local.INFO: Extracted packet for processing {"connection_id":191698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 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-09-21 21:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:23: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-09-21 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-09-21 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-09-21 21:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:23: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-09-21 21:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":191698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:23:08] local.INFO: GPS data processed {"connection_id":191698,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:23:08] local.INFO: Acknowledgment sent {"connection_id":191698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:23:12] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:12] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:12] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:23:17] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:17] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:23:17] local.INFO: IMEI packet received {"connection_id":188948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":188948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:23:18] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:18] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:18] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:23:18] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:23:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:23:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:23:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:23:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:23:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:23:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:23:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:23:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:23:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:23:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:23:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:23:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:23:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:23:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:23:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:23:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:23:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:23:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:23:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:23:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:23:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:23:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:23:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:23:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:23:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:23:18] local.INFO: GPS data processed {"connection_id":188948,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:23:18] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:23:40] local.INFO: TCP Data received {"connection_id":191698,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191698,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:40] local.INFO: Processing buffer {"connection_id":191698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:23:40] local.INFO: Packet analysis {"connection_id":191698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:23:40] local.INFO: Extracted packet for processing {"connection_id":191698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:23:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:23:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:23:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:23:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:23:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:23:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:23:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:23:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:23:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:23:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:23:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:23:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:23:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:23:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:23:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:23:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:23:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:23:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:23:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:23:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:23:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:23:40] local.INFO: DEBUG: GPS processor result {"connection_id":191698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:23:40] local.INFO: GPS data processed {"connection_id":191698,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:23:40] local.INFO: Acknowledgment sent {"connection_id":191698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:23:49] local.INFO: TCP Data received {"connection_id":188948,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188948,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:49] local.INFO: Processing buffer {"connection_id":188948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:23:49] local.INFO: Packet analysis {"connection_id":188948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:23:49] local.INFO: Extracted packet for processing {"connection_id":188948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":188948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878268,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:23:49] local.INFO: GPS data processed {"connection_id":188948,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:23:49] local.INFO: Acknowledgment sent {"connection_id":188948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:24:02] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:02] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:02] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:24:07] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:07] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:24:07] local.INFO: IMEI packet received {"connection_id":190417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":190417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:24:07] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:07] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:07] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:24:07] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:24: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-09-21 21:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:24:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:24:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:24:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:24:08] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:24:08] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:24:12] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:12] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:12] local.INFO: IMEI packet received {"connection_id":189114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":189114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:24:17] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:17] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:24:17] local.INFO: IMEI packet received {"connection_id":189114,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":189114,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:24:18] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:18] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:18] local.INFO: Packet analysis {"connection_id":189114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:24:18] local.INFO: Extracted packet for processing {"connection_id":189114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:24:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:24:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:24:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:24:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:24:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:24:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:24:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:24:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:24:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:24:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:24:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:24:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:24:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:24:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:24:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:24:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:24:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:24:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:24:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:24:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:24:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:24:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:24:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:24:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:24:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":189114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:24:18] local.INFO: GPS data processed {"connection_id":189114,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:24:18] local.INFO: Acknowledgment sent {"connection_id":189114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:24:25] local.INFO: TCP Data received {"connection_id":190418,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:24:25] local.INFO: Processing buffer {"connection_id":190418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:24:25] local.INFO: IMEI packet received {"connection_id":190418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":190418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:24:39] local.INFO: TCP Data received {"connection_id":190417,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190417,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:39] local.INFO: Processing buffer {"connection_id":190417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a84c18012d34c14006aa40600000000c2c..."} 
[2026-09-21 21:24:39] local.INFO: Packet analysis {"connection_id":190417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:24:39] local.INFO: Extracted packet for processing {"connection_id":190417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241397248001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790005759000,"timestamp_ms":1790005759000,"timestamp_seconds":1790005759,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a84c18"} 
[2026-09-21 21:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:24: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-09-21 21: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-09-21 21:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:24:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241397248001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241397248001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241397248001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":190417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:24:39] local.INFO: GPS data processed {"connection_id":190417,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:24:39] local.INFO: Acknowledgment sent {"connection_id":190417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:24:49] local.INFO: TCP Data received {"connection_id":189114,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189114,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:49] local.INFO: Processing buffer {"connection_id":189114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:24:49] local.INFO: Packet analysis {"connection_id":189114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:24:49] local.INFO: Extracted packet for processing {"connection_id":189114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189114,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:24:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":189114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:24:49] local.INFO: GPS data processed {"connection_id":189114,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:24:49] local.INFO: Acknowledgment sent {"connection_id":189114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:25:02] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:02] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:02] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:25:07] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:07] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:25:07] local.INFO: IMEI packet received {"connection_id":191699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":191699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:25:08] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:08] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:08] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:25:08] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:25: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-09-21 21:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:25:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:25:08] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:25:08] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:25:11] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:11] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:11] local.INFO: IMEI packet received {"connection_id":189115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":189115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:25:17] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:17] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:25:17] local.INFO: IMEI packet received {"connection_id":189115,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":189115,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:25:18] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:18] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:18] local.INFO: Packet analysis {"connection_id":189115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:25:18] local.INFO: Extracted packet for processing {"connection_id":189115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":189115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:25:18] local.INFO: GPS data processed {"connection_id":189115,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:25:18] local.INFO: Acknowledgment sent {"connection_id":189115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:25:39] local.INFO: TCP Data received {"connection_id":191699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191699,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:39] local.INFO: Processing buffer {"connection_id":191699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:25:39] local.INFO: Packet analysis {"connection_id":191699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:25:39] local.INFO: Extracted packet for processing {"connection_id":191699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":191699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:25:39] local.INFO: GPS data processed {"connection_id":191699,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:25:39] local.INFO: Acknowledgment sent {"connection_id":191699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:25:49] local.INFO: TCP Data received {"connection_id":189115,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189115,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:49] local.INFO: Processing buffer {"connection_id":189115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:25:49] local.INFO: Packet analysis {"connection_id":189115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:25:49] local.INFO: Extracted packet for processing {"connection_id":189115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189115,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:25:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":189115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:25:49] local.INFO: GPS data processed {"connection_id":189115,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:25:49] local.INFO: Acknowledgment sent {"connection_id":189115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:26:02] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:02] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:02] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:26:07] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:07] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:26:07] local.INFO: IMEI packet received {"connection_id":188951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":188951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:26:08] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:08] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:08] local.INFO: Packet analysis {"connection_id":188951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:26:08] local.INFO: Extracted packet for processing {"connection_id":188951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 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-09-21 21:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:26: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-09-21 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-09-21 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-09-21 21:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:26:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":188951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:26:08] local.INFO: GPS data processed {"connection_id":188951,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:26:08] local.INFO: Acknowledgment sent {"connection_id":188951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:26:17] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:17] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:17] local.INFO: IMEI packet received {"connection_id":189116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":189116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:26:21] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:21] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:26:21] local.INFO: IMEI packet received {"connection_id":189116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":189116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:26:22] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:22] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:22] local.INFO: Packet analysis {"connection_id":189116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:26:22] local.INFO: Extracted packet for processing {"connection_id":189116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:26:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:26:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:26:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:26:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:26:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:26:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:26:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":189116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:26:22] local.INFO: GPS data processed {"connection_id":189116,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:26:22] local.INFO: Acknowledgment sent {"connection_id":189116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:26:27] local.INFO: TCP Data received {"connection_id":189116,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189116,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:27] local.INFO: Processing buffer {"connection_id":189116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a9cae8012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:26:27] local.INFO: Packet analysis {"connection_id":189116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:26:27] local.INFO: Extracted packet for processing {"connection_id":189116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a9"} 
[2026-09-21 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241422336001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790005857000,"timestamp_ms":1790005857000,"timestamp_seconds":1790005857,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a9cae8"} 
[2026-09-21 21:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 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-09-21 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":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:26: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-09-21 21:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241422336001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241422336001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:26:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241422336001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":189116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878279,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:26:27] local.INFO: GPS data processed {"connection_id":189116,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:26:27] local.INFO: Acknowledgment sent {"connection_id":189116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:26:40] local.INFO: TCP Data received {"connection_id":188951,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188951,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:40] local.INFO: Processing buffer {"connection_id":188951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:26:40] local.INFO: Packet analysis {"connection_id":188951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:26:40] local.INFO: Extracted packet for processing {"connection_id":188951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:26:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:26:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:26:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:26:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:26:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:26:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:26:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:26:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:26:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:26:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:26:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:26:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:26:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:26:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:26:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:26:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:26:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:26:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:26:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:26:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:26:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:26:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:26:40] local.INFO: DEBUG: GPS processor result {"connection_id":188951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:26:40] local.INFO: GPS data processed {"connection_id":188951,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:26:40] local.INFO: Acknowledgment sent {"connection_id":188951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:27:02] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:02] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:02] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:27:07] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:07] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:27:07] local.INFO: IMEI packet received {"connection_id":190419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":190419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:27:08] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:08] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:08] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:27:08] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:27: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-09-21 21:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:27:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:27:08] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:27:08] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:27:12] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:12] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:12] local.INFO: IMEI packet received {"connection_id":189117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":189117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:27:17] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:17] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:27:17] local.INFO: IMEI packet received {"connection_id":189117,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":189117,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:27:18] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:18] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:18] local.INFO: Packet analysis {"connection_id":189117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:27:18] local.INFO: Extracted packet for processing {"connection_id":189117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:27:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:27:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:27:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:27:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:27:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:27:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:27:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:27:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:27:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:27:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:27:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:27:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:27:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:27:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:27:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:27:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:27:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:27:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:27:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:27:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:27:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:27:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:27:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:27:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:27:18] local.INFO: DEBUG: GPS processor result {"connection_id":189117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878282,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:27:18] local.INFO: GPS data processed {"connection_id":189117,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:27:18] local.INFO: Acknowledgment sent {"connection_id":189117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:27:39] local.INFO: TCP Data received {"connection_id":190419,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190419,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:39] local.INFO: Processing buffer {"connection_id":190419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:27:39] local.INFO: Packet analysis {"connection_id":190419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:27:39] local.INFO: Extracted packet for processing {"connection_id":190419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:27:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:27:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:27:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:27:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:27:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:27:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:27:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":190419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:27:39] local.INFO: GPS data processed {"connection_id":190419,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:27:39] local.INFO: Acknowledgment sent {"connection_id":190419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:27:49] local.INFO: TCP Data received {"connection_id":189117,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189117,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:49] local.INFO: Processing buffer {"connection_id":189117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:27:49] local.INFO: Packet analysis {"connection_id":189117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:27:49] local.INFO: Extracted packet for processing {"connection_id":189117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:27:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:27:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:27:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:27:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:27:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:27:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:27:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:27:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:27:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:27:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:27:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:27:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:27:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:27:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189117,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:27:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:27:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:27:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:27:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:27:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:27:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:27:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:27:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:27:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:27:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:27:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:27:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:27:49] local.INFO: DEBUG: GPS processor result {"connection_id":189117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:27:49] local.INFO: GPS data processed {"connection_id":189117,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:27:49] local.INFO: Acknowledgment sent {"connection_id":189117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:28:02] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:02] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:02] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:28:07] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:07] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:28:07] local.INFO: IMEI packet received {"connection_id":188952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":188952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:28:08] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:08] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:08] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:28:08] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:28:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:28:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:28: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-09-21 21:28:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:28:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:28:08] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:28:08] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:28:12] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:12] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:12] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:28:17] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:17] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:28:17] local.INFO: IMEI packet received {"connection_id":191701,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":191701,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:28:20] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:20] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:20] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:28:20] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:28:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:28:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:28:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:28:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:28:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:28:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:28:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:28:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:28:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:28:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:28:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:28:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:28:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:28:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:28:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:28:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:28:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:28:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:28:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:28:20] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:28:20] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:28:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:28:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:28:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:28:20] local.INFO: DEBUG: GPS processor result {"connection_id":191701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:28:20] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:28:20] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:28:40] local.INFO: TCP Data received {"connection_id":188952,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188952,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:40] local.INFO: Processing buffer {"connection_id":188952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:28:40] local.INFO: Packet analysis {"connection_id":188952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:28:40] local.INFO: Extracted packet for processing {"connection_id":188952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:28:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:28:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:28:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:28:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:28:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:28:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:28:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:28:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:28:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:28:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:28:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:28:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:28: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-09-21 21:28:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:28:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:28:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:28:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:28:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:28:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:28:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:28:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:28:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:28:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:28:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:28:40] local.INFO: DEBUG: GPS processor result {"connection_id":188952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:28:40] local.INFO: GPS data processed {"connection_id":188952,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:28:40] local.INFO: Acknowledgment sent {"connection_id":188952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:28:51] local.INFO: TCP Data received {"connection_id":191701,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191701,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:51] local.INFO: Processing buffer {"connection_id":191701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:28:51] local.INFO: Packet analysis {"connection_id":191701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:28:51] local.INFO: Extracted packet for processing {"connection_id":191701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:28:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:28:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:28:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:28:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:28:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:28:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:28:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:28:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:28:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:28:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:28:51] local.INFO: Teltonika packet parsed successfully {"connection_id":191701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:28:51] local.INFO: Passing IMEI to GPS processor {"connection_id":191701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:28:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":191701,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:28:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:28:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:28:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:28:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:28:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:28:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:28:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:28:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:28:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:28:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:28:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:28:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:28:51] local.INFO: DEBUG: GPS processor result {"connection_id":191701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:28:51] local.INFO: GPS data processed {"connection_id":191701,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:28:51] local.INFO: Acknowledgment sent {"connection_id":191701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:29:02] local.INFO: TCP Data received {"connection_id":191702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:02] local.INFO: Processing buffer {"connection_id":191702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:02] local.INFO: IMEI packet received {"connection_id":191702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":191702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:29:07] local.INFO: TCP Data received {"connection_id":191702,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:07] local.INFO: Processing buffer {"connection_id":191702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:29:07] local.INFO: IMEI packet received {"connection_id":191702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":191702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:29:08] local.INFO: TCP Data received {"connection_id":191702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:08] local.INFO: Processing buffer {"connection_id":191702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:08] local.INFO: Packet analysis {"connection_id":191702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:29:08] local.INFO: Extracted packet for processing {"connection_id":191702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 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-09-21 21:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:29: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-09-21 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-09-21 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-09-21 21:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:29: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-09-21 21:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":191702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:29:08] local.INFO: GPS data processed {"connection_id":191702,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:29:08] local.INFO: Acknowledgment sent {"connection_id":191702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:29:11] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:11] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:11] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:29:17] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:17] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:29:17] local.INFO: IMEI packet received {"connection_id":191703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":191703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:29:18] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:18] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:18] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:29:18] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:29:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:29:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:29:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:29:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:29:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:29:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:29:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:29:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:29:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:29:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:29:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:29:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:29:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:29:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:29:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:29:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:29:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:29:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:29:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:29:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:29:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:29:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:29:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:29:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878290,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:29:18] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:29:18] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:29:39] local.INFO: TCP Data received {"connection_id":191702,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191702,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:39] local.INFO: Processing buffer {"connection_id":191702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ace3e0012d34c14006aa40600006000c2b..."} 
[2026-09-21 21:29:39] local.INFO: Packet analysis {"connection_id":191702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:29:39] local.INFO: Extracted packet for processing {"connection_id":191702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ac"} 
[2026-09-21 21:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241474304001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006060000,"timestamp_ms":1790006060000,"timestamp_seconds":1790006060,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ace3e0"} 
[2026-09-21 21:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:29: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-09-21 21:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241474304001,"66":25060,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241474304001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241474304001,"power":25060,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":191702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:29:39] local.INFO: GPS data processed {"connection_id":191702,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:29:39] local.INFO: Acknowledgment sent {"connection_id":191702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:29:49] local.INFO: TCP Data received {"connection_id":191703,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191703,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:49] local.INFO: Processing buffer {"connection_id":191703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:29:49] local.INFO: Packet analysis {"connection_id":191703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:29:49] local.INFO: Extracted packet for processing {"connection_id":191703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":191703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878292,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:29:49] local.INFO: GPS data processed {"connection_id":191703,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:29:49] local.INFO: Acknowledgment sent {"connection_id":191703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:30:07] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:07] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:07] local.INFO: IMEI packet received {"connection_id":189119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":189119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:30:11] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:11] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:11] local.INFO: IMEI packet received {"connection_id":190422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":190422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:30:12] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:12] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:30:12] local.INFO: IMEI packet received {"connection_id":189119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:30:12] local.INFO: IMEI acknowledgment sent {"connection_id":189119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:30:13] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:13] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:13] local.INFO: Packet analysis {"connection_id":189119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:30:13] local.INFO: Extracted packet for processing {"connection_id":189119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:30:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:30:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:30:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:30:13] 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-09-21 21:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:30: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-09-21 21:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:30:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:30:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:30:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:30:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":189119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:30:13] local.INFO: GPS data processed {"connection_id":189119,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:30:13] local.INFO: Acknowledgment sent {"connection_id":189119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:30:14] local.INFO: TCP Data received {"connection_id":191704,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:30:14] local.INFO: Processing buffer {"connection_id":191704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:30:14] local.INFO: IMEI packet received {"connection_id":191704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":191704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:30:17] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:17] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:30:17] local.INFO: IMEI packet received {"connection_id":190422,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":190422,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:30:18] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:18] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:18] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:30:18] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878294,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:30:18] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:30:18] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:30:18] local.INFO: TCP Data received {"connection_id":189119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189119,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:18] local.INFO: Processing buffer {"connection_id":189119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:30:18] local.INFO: Packet analysis {"connection_id":189119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:30:18] local.INFO: Extracted packet for processing {"connection_id":189119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:30:18] 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-09-21 21:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":189119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:30:18] local.INFO: GPS data processed {"connection_id":189119,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:30:18] local.INFO: Acknowledgment sent {"connection_id":189119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:30:49] local.INFO: TCP Data received {"connection_id":190422,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190422,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:49] local.INFO: Processing buffer {"connection_id":190422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:30:49] local.INFO: Packet analysis {"connection_id":190422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:30:49] local.INFO: Extracted packet for processing {"connection_id":190422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190422,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:30:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":190422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:30:49] local.INFO: GPS data processed {"connection_id":190422,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:30:49] local.INFO: Acknowledgment sent {"connection_id":190422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:31:02] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:02] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:02] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:31:07] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:07] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:31:07] local.INFO: IMEI packet received {"connection_id":191705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":191705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:31:08] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:08] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:08] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:31:08] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 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-09-21 21:31:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:31:08] 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-09-21 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-09-21 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-09-21 21:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:31:08] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:31:08] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:31:17] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:17] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:17] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:31:22] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:22] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:31:22] local.INFO: IMEI packet received {"connection_id":191706,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":191706,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:31:23] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:23] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:23] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:31:23] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:31:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:31:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:31:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 21:31:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:31:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:31:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:31:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:31:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:31:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:31:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:31:23] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:31:23] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:31:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:31:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:31:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:31:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:31:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:31:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:31:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:31:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:31:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:31:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:31:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:31:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:31:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:31:23] local.INFO: DEBUG: GPS processor result {"connection_id":191706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878298,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:31:23] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:31:23] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:31:27] local.INFO: TCP Data received {"connection_id":191706,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191706,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:27] local.INFO: Processing buffer {"connection_id":191706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ae62b0012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:31:27] local.INFO: Packet analysis {"connection_id":191706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:31:27] local.INFO: Extracted packet for processing {"connection_id":191706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ae"} 
[2026-09-21 21:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241499392001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790006158000,"timestamp_ms":1790006158000,"timestamp_seconds":1790006158,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ae62b0"} 
[2026-09-21 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-09-21 21:31: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-09-21 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":96,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 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-09-21 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-09-21 21:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191706,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241499392001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241499392001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:31:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241499392001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":191706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:31:27] local.INFO: GPS data processed {"connection_id":191706,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:31:27] local.INFO: Acknowledgment sent {"connection_id":191706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:31:40] local.INFO: TCP Data received {"connection_id":191705,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191705,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:40] local.INFO: Processing buffer {"connection_id":191705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:31:40] local.INFO: Packet analysis {"connection_id":191705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:31:40] local.INFO: Extracted packet for processing {"connection_id":191705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:31:40] 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-09-21 21: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-09-21 21:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:31:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":191705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:31:40] local.INFO: GPS data processed {"connection_id":191705,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:31:40] local.INFO: Acknowledgment sent {"connection_id":191705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:32:02] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:02] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:02] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:32:07] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:07] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:32:07] local.INFO: IMEI packet received {"connection_id":190423,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":190423,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:32:08] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:08] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:08] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:32:08] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:32:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:32:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 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-09-21 21:32:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:32:08] 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-09-21 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-09-21 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-09-21 21:32:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:32:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:32:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:32:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:32:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:32:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:32:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:32:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:32:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:32:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:32:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:32:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:32:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:32:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:32:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:32:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:32:08] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:32:08] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:32:08] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:32:12] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:12] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:12] local.INFO: IMEI packet received {"connection_id":188953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":188953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:32:17] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:17] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:32:17] local.INFO: IMEI packet received {"connection_id":188953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":188953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:32:18] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:18] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:18] local.INFO: Packet analysis {"connection_id":188953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:32:18] local.INFO: Extracted packet for processing {"connection_id":188953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:32:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:32:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":188953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878302,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:32:18] local.INFO: GPS data processed {"connection_id":188953,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:32:18] local.INFO: Acknowledgment sent {"connection_id":188953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:32:39] local.INFO: TCP Data received {"connection_id":190423,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190423,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:39] local.INFO: Processing buffer {"connection_id":190423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:32:39] local.INFO: Packet analysis {"connection_id":190423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:32:39] local.INFO: Extracted packet for processing {"connection_id":190423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:32:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:32:39] 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-09-21 21:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190423,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:32:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:32:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":190423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:32:39] local.INFO: GPS data processed {"connection_id":190423,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:32:39] local.INFO: Acknowledgment sent {"connection_id":190423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:32:49] local.INFO: TCP Data received {"connection_id":188953,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188953,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:49] local.INFO: Processing buffer {"connection_id":188953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:32:49] local.INFO: Packet analysis {"connection_id":188953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:32:49] local.INFO: Extracted packet for processing {"connection_id":188953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:32:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:32:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:32:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:32:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:32:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:32:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":188953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:32:49] local.INFO: GPS data processed {"connection_id":188953,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:32:49] local.INFO: Acknowledgment sent {"connection_id":188953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:33:02] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:02] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:02] local.INFO: IMEI packet received {"connection_id":190424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":190424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:33:07] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:07] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:33:07] local.INFO: IMEI packet received {"connection_id":190424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":190424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:33:08] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:08] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:08] local.INFO: Packet analysis {"connection_id":190424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:33:08] local.INFO: Extracted packet for processing {"connection_id":190424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 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-09-21 21:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:33:08] 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-09-21 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-09-21 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-09-21 21:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":190424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:33:08] local.INFO: GPS data processed {"connection_id":190424,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:33:08] local.INFO: Acknowledgment sent {"connection_id":190424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:33:11] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:11] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:11] local.INFO: IMEI packet received {"connection_id":188955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":188955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:33:17] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:17] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:33:17] local.INFO: IMEI packet received {"connection_id":188955,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":188955,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:33:18] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:18] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:18] local.INFO: Packet analysis {"connection_id":188955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:33:18] local.INFO: Extracted packet for processing {"connection_id":188955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":188955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878306,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:33:18] local.INFO: GPS data processed {"connection_id":188955,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:33:18] local.INFO: Acknowledgment sent {"connection_id":188955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:33:42] local.INFO: TCP Data received {"connection_id":190424,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190424,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:42] local.INFO: Processing buffer {"connection_id":190424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:33:42] local.INFO: Packet analysis {"connection_id":190424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:33:42] local.INFO: Extracted packet for processing {"connection_id":190424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:33:42] 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-09-21 21: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-09-21 21:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":190424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":190424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":190424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:33: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-09-21 21:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:33:42] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:33:42] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":190424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:33:42] local.INFO: GPS data processed {"connection_id":190424,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:33:42] local.INFO: Acknowledgment sent {"connection_id":190424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:33:49] local.INFO: TCP Data received {"connection_id":188955,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188955,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:49] local.INFO: Processing buffer {"connection_id":188955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:33:49] local.INFO: Packet analysis {"connection_id":188955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:33:49] local.INFO: Extracted packet for processing {"connection_id":188955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188955,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":188955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878308,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:33:49] local.INFO: GPS data processed {"connection_id":188955,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:33:49] local.INFO: Acknowledgment sent {"connection_id":188955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:34:02] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:02] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:02] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:34:07] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:07] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:34:07] local.INFO: IMEI packet received {"connection_id":190425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:34:09] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:09] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:09] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:34:09] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:34:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:34:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:34: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-09-21 21: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":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:34:09] 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-09-21 21:34:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:34: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-09-21 21:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:34:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:34:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:34:09] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:34:09] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:34:17] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:17] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:17] local.INFO: IMEI packet received {"connection_id":189121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":189121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:34:21] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:21] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:34:21] local.INFO: IMEI packet received {"connection_id":189121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":189121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:34:22] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:22] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:22] local.INFO: Packet analysis {"connection_id":189121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:34:22] local.INFO: Extracted packet for processing {"connection_id":189121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:34:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:34:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:34:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:34:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:34:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":189121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:34:22] local.INFO: GPS data processed {"connection_id":189121,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:34:22] local.INFO: Acknowledgment sent {"connection_id":189121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:34:27] local.INFO: TCP Data received {"connection_id":189121,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189121,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:27] local.INFO: Processing buffer {"connection_id":189121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:34:27] local.INFO: Packet analysis {"connection_id":189121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:34:27] local.INFO: Extracted packet for processing {"connection_id":189121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:34: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-09-21 21:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:34:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":189121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:34:27] local.INFO: GPS data processed {"connection_id":189121,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:34:27] local.INFO: Acknowledgment sent {"connection_id":189121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:34:40] local.INFO: TCP Data received {"connection_id":190425,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190425,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:40] local.INFO: Processing buffer {"connection_id":190425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b17ba8012d34c14006aa40600000000c28..."} 
[2026-09-21 21:34:40] local.INFO: Packet analysis {"connection_id":190425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:34:40] local.INFO: Extracted packet for processing {"connection_id":190425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b1"} 
[2026-09-21 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:34:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241551360001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:34:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:34:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006361000,"timestamp_ms":1790006361000,"timestamp_seconds":1790006361,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b17ba8"} 
[2026-09-21 21:34:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:34:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:34:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-09-21 21:34:40] 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-09-21 21:34:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:34:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:34:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:34:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:34:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:34:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:34:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:34:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:34:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:34:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241551360001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:34:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:34:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:34:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241551360001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:34:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:34:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:34:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:34:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:34:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241551360001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:34:40] local.INFO: DEBUG: GPS processor result {"connection_id":190425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:34:40] local.INFO: GPS data processed {"connection_id":190425,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:34:40] local.INFO: Acknowledgment sent {"connection_id":190425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:35:02] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:02] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:02] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:35:07] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:07] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:35:07] local.INFO: IMEI packet received {"connection_id":188956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":188956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:35:08] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:08] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:08] local.INFO: Packet analysis {"connection_id":188956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:35:08] local.INFO: Extracted packet for processing {"connection_id":188956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:35: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-09-21 21:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:35:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":188956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:35:08] local.INFO: GPS data processed {"connection_id":188956,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:35:08] local.INFO: Acknowledgment sent {"connection_id":188956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:35:12] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:12] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:12] local.INFO: IMEI packet received {"connection_id":190426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":190426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:35:17] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:17] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:35:17] local.INFO: IMEI packet received {"connection_id":190426,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":190426,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:35:18] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:18] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:18] local.INFO: Packet analysis {"connection_id":190426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:35:18] local.INFO: Extracted packet for processing {"connection_id":190426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:35:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":190426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:35:18] local.INFO: GPS data processed {"connection_id":190426,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:35:18] local.INFO: Acknowledgment sent {"connection_id":190426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:35:39] local.INFO: TCP Data received {"connection_id":189122,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:35:39] local.INFO: Processing buffer {"connection_id":189122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:35:39] local.INFO: IMEI packet received {"connection_id":189122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:35:39] local.INFO: IMEI acknowledgment sent {"connection_id":189122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:35:41] local.INFO: TCP Data received {"connection_id":188956,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188956,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:41] local.INFO: Processing buffer {"connection_id":188956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:35:41] local.INFO: Packet analysis {"connection_id":188956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:35:41] local.INFO: Extracted packet for processing {"connection_id":188956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35: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-09-21 21:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:35: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-09-21 21:35:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":188956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":188956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:35: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-09-21 21:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:35:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:35:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":188956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:35:41] local.INFO: GPS data processed {"connection_id":188956,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:35:41] local.INFO: Acknowledgment sent {"connection_id":188956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:35:49] local.INFO: TCP Data received {"connection_id":190426,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190426,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:49] local.INFO: Processing buffer {"connection_id":190426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:35:49] local.INFO: Packet analysis {"connection_id":190426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:35:49] local.INFO: Extracted packet for processing {"connection_id":190426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190426,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:35:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":190426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:35:49] local.INFO: GPS data processed {"connection_id":190426,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:35:49] local.INFO: Acknowledgment sent {"connection_id":190426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:36:02] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:02] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:02] local.INFO: IMEI packet received {"connection_id":190427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":190427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:36:07] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:07] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:36:07] local.INFO: IMEI packet received {"connection_id":190427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":190427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:36:08] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:08] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:08] local.INFO: Packet analysis {"connection_id":190427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:36:08] local.INFO: Extracted packet for processing {"connection_id":190427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:36: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-09-21 21:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:36:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":190427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:36:08] local.INFO: GPS data processed {"connection_id":190427,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:36:08] local.INFO: Acknowledgment sent {"connection_id":190427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:36:12] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:12] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:12] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:36:12] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:36:14] local.INFO: TCP Data received {"connection_id":189123,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:36:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:36:14] local.INFO: Processing buffer {"connection_id":189123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:36:14] local.INFO: IMEI packet received {"connection_id":189123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:36:14] local.INFO: IMEI acknowledgment sent {"connection_id":189123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:36:17] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:17] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:36:17] local.INFO: IMEI packet received {"connection_id":191709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":191709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:36:18] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:36:18] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b2fa78012d196f40071fef40003c00ff25..."} 
[2026-09-21 21:36:18] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:36:18] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b2"} 
[2026-09-21 21:36:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:36:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241576448001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:36:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006459000,"timestamp_ms":1790006459000,"timestamp_seconds":1790006459,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b2fa78"} 
[2026-09-21 21:36:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:36:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:36:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:36:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:36:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:36:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:36:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:36:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:36:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:36:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:36:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:36:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:36:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:36:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241576448001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:36:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:36:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:36:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241576448001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:36:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:36:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:36:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:36:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:36:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241576448001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:36:18] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:36:18] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:36:18] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:36:41] local.INFO: TCP Data received {"connection_id":190427,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190427,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:41] local.INFO: Processing buffer {"connection_id":190427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:36:41] local.INFO: Packet analysis {"connection_id":190427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:36:41] local.INFO: Extracted packet for processing {"connection_id":190427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:36:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36: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-09-21 21:36:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:36:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:36:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:36:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:36: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-09-21 21:36:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:36:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:36:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:36:41] local.INFO: Teltonika packet parsed successfully {"connection_id":190427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:36:41] local.INFO: Passing IMEI to GPS processor {"connection_id":190427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:36:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":190427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:36: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-09-21 21:36:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:36:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:36:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:36:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:36:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:36:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:36:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:36:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:36:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:36:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:36:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:36:41] local.INFO: DEBUG: GPS processor result {"connection_id":190427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:36:41] local.INFO: GPS data processed {"connection_id":190427,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:36:41] local.INFO: Acknowledgment sent {"connection_id":190427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:36:48] local.INFO: TCP Data received {"connection_id":191709,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191709,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:36:48] local.INFO: Processing buffer {"connection_id":191709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:36:48] local.INFO: Packet analysis {"connection_id":191709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:36:48] local.INFO: Extracted packet for processing {"connection_id":191709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:36:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:36:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:36:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:36:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:36:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:36:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:36:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:36:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":191709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:36:49] local.INFO: GPS data processed {"connection_id":191709,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:36:49] local.INFO: Acknowledgment sent {"connection_id":191709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:37:02] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:02] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:02] local.INFO: IMEI packet received {"connection_id":190428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":190428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:37:07] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:07] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:37:07] local.INFO: IMEI packet received {"connection_id":190428,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":190428,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:37:08] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:08] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:08] local.INFO: Packet analysis {"connection_id":190428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:37:08] local.INFO: Extracted packet for processing {"connection_id":190428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 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-09-21 21:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:37: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-09-21 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-09-21 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-09-21 21:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":190428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:37:08] local.INFO: GPS data processed {"connection_id":190428,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:37:08] local.INFO: Acknowledgment sent {"connection_id":190428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:37:11] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:11] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:11] local.INFO: IMEI packet received {"connection_id":189124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":189124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:37:17] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:17] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:37:17] local.INFO: IMEI packet received {"connection_id":189124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":189124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:37:17] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:17] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:17] local.INFO: Packet analysis {"connection_id":189124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:37:17] local.INFO: Extracted packet for processing {"connection_id":189124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:37:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:37:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:37:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:37:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:37:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:37:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:37:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:37:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:37:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:37:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:37:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:37:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:37:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:37:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:37:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:37:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:37:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:37:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:37:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:37:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:37:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:37:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:37:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:37:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":189124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:37:18] local.INFO: GPS data processed {"connection_id":189124,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:37:18] local.INFO: Acknowledgment sent {"connection_id":189124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:37:39] local.INFO: TCP Data received {"connection_id":190428,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190428,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:39] local.INFO: Processing buffer {"connection_id":190428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:37:39] local.INFO: Packet analysis {"connection_id":190428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:37:39] local.INFO: Extracted packet for processing {"connection_id":190428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190428,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":190428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:37:39] local.INFO: GPS data processed {"connection_id":190428,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:37:39] local.INFO: Acknowledgment sent {"connection_id":190428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:37:49] local.INFO: TCP Data received {"connection_id":189124,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189124,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:49] local.INFO: Processing buffer {"connection_id":189124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:37:49] local.INFO: Packet analysis {"connection_id":189124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:37:49] local.INFO: Extracted packet for processing {"connection_id":189124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":189124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:37:49] local.INFO: GPS data processed {"connection_id":189124,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:37:49] local.INFO: Acknowledgment sent {"connection_id":189124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:38:02] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:02] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:02] local.INFO: IMEI packet received {"connection_id":188958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:38:02] local.INFO: IMEI acknowledgment sent {"connection_id":188958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:38:07] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:07] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:38:07] local.INFO: IMEI packet received {"connection_id":188958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":188958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:38:08] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:08] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:08] local.INFO: Packet analysis {"connection_id":188958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:38:08] local.INFO: Extracted packet for processing {"connection_id":188958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:38:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:38:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:38:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:38:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:38:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:38: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-09-21 21:38:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:38:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:38:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:38:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:38:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:38:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:38:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:38:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:38:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:38:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:38:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:38:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:38:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:38:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:38:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:38:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:38:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:38:08] local.INFO: DEBUG: GPS processor result {"connection_id":188958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:38:08] local.INFO: GPS data processed {"connection_id":188958,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:38:08] local.INFO: Acknowledgment sent {"connection_id":188958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:38:17] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:17] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:17] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:38:21] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:21] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:38:21] local.INFO: IMEI packet received {"connection_id":190429,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":190429,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:38:22] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:22] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:22] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:38:22] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:38:22] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:38:22] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:38:27] local.INFO: TCP Data received {"connection_id":190429,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190429,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:27] local.INFO: Processing buffer {"connection_id":190429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:38:27] local.INFO: Packet analysis {"connection_id":190429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:38:27] local.INFO: Extracted packet for processing {"connection_id":190429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 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-09-21 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":118,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 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-09-21 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-09-21 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190429,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":190429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:38:27] local.INFO: GPS data processed {"connection_id":190429,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:38:27] local.INFO: Acknowledgment sent {"connection_id":190429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:38:39] local.INFO: TCP Data received {"connection_id":188958,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188958,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:39] local.INFO: Processing buffer {"connection_id":188958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:38:39] local.INFO: Packet analysis {"connection_id":188958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:38:39] local.INFO: Extracted packet for processing {"connection_id":188958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:38:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:38:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:38:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:38:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:38:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:38:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:38:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:38:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:38:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:38:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:38:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:38:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:38:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:38:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:38:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:38:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:38:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:38:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:38:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:38:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:38:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:38:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:38:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:38:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:38:39] local.INFO: DEBUG: GPS processor result {"connection_id":188958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:38:39] local.INFO: GPS data processed {"connection_id":188958,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:38:39] local.INFO: Acknowledgment sent {"connection_id":188958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:39:07] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:07] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:07] local.INFO: IMEI packet received {"connection_id":190431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:39:12] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:12] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:12] local.INFO: IMEI packet received {"connection_id":188959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":188959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:39:12] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:12] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:39:12] local.INFO: IMEI packet received {"connection_id":190431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":190431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:39:13] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:13] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:13] local.INFO: Packet analysis {"connection_id":190431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:39:13] local.INFO: Extracted packet for processing {"connection_id":190431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:39:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:39:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":190431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:39:13] local.INFO: GPS data processed {"connection_id":190431,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:39:13] local.INFO: Acknowledgment sent {"connection_id":190431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:39:17] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:17] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:39:17] local.INFO: IMEI packet received {"connection_id":188959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":188959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:39:18] local.INFO: TCP Data received {"connection_id":190431,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190431,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:18] local.INFO: Processing buffer {"connection_id":190431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b61370012d34c14006aa40600007000c2b..."} 
[2026-09-21 21:39:18] local.INFO: Packet analysis {"connection_id":190431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:39:18] local.INFO: Extracted packet for processing {"connection_id":190431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b6"} 
[2026-09-21 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241628416001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006662000,"timestamp_ms":1790006662000,"timestamp_seconds":1790006662,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b61370"} 
[2026-09-21 21:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 21:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241628416001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241628416001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241628416001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":190431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:39:18] local.INFO: GPS data processed {"connection_id":190431,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:39:18] local.INFO: Acknowledgment sent {"connection_id":190431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:39:18] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:18] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:18] local.INFO: Packet analysis {"connection_id":188959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:39:18] local.INFO: Extracted packet for processing {"connection_id":188959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":188959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:39:18] local.INFO: GPS data processed {"connection_id":188959,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:39:18] local.INFO: Acknowledgment sent {"connection_id":188959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:39:49] local.INFO: TCP Data received {"connection_id":188959,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188959,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:49] local.INFO: Processing buffer {"connection_id":188959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:39:49] local.INFO: Packet analysis {"connection_id":188959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:39:49] local.INFO: Extracted packet for processing {"connection_id":188959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":188959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:39:49] local.INFO: GPS data processed {"connection_id":188959,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:39:49] local.INFO: Acknowledgment sent {"connection_id":188959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:40:01] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:01] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:01] local.INFO: IMEI packet received {"connection_id":189126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":189126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:40:02] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:02] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:02] local.INFO: IMEI packet received {"connection_id":189126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":189126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:40:08] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:08] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:40:08] local.INFO: IMEI packet received {"connection_id":189126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:40:08] local.INFO: IMEI acknowledgment sent {"connection_id":189126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:40:09] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:09] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:09] local.INFO: Packet analysis {"connection_id":189126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:40:09] local.INFO: Extracted packet for processing {"connection_id":189126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:40:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:40:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:40:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:40:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:40: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-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:40: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-09-21 21: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-09-21 21:40:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:40:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:40:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:40:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:40:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:40:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:40:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:40:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:40:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:40:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:40:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:40:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":189126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:40:09] local.INFO: GPS data processed {"connection_id":189126,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:40:09] local.INFO: Acknowledgment sent {"connection_id":189126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:40:12] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:12] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:12] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:40:17] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:17] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:40:17] local.INFO: IMEI packet received {"connection_id":188960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":188960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:40:17] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:17] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:17] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:40:17] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:40:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:40:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:40:18] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:40:18] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:40:40] local.INFO: TCP Data received {"connection_id":189126,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189126,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:40] local.INFO: Processing buffer {"connection_id":189126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:40:40] local.INFO: Packet analysis {"connection_id":189126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:40:40] local.INFO: Extracted packet for processing {"connection_id":189126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:40: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-09-21 21:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":189126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:40:40] local.INFO: GPS data processed {"connection_id":189126,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:40:40] local.INFO: Acknowledgment sent {"connection_id":189126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:40:49] local.INFO: TCP Data received {"connection_id":188960,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188960,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:49] local.INFO: Processing buffer {"connection_id":188960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:40:49] local.INFO: Packet analysis {"connection_id":188960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:40:49] local.INFO: Extracted packet for processing {"connection_id":188960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":188960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:40:49] local.INFO: GPS data processed {"connection_id":188960,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:40:49] local.INFO: Acknowledgment sent {"connection_id":188960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:41:02] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:02] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:02] local.INFO: IMEI packet received {"connection_id":189127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:41:02] local.INFO: IMEI acknowledgment sent {"connection_id":189127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:41:07] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:07] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:41:07] local.INFO: IMEI packet received {"connection_id":189127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":189127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:41:08] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:08] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:08] local.INFO: Packet analysis {"connection_id":189127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:41:08] local.INFO: Extracted packet for processing {"connection_id":189127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:41: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-09-21 21:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":189127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:41:08] local.INFO: GPS data processed {"connection_id":189127,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:41:08] local.INFO: Acknowledgment sent {"connection_id":189127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:41:12] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:12] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:12] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:41:17] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:17] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:41:17] local.INFO: IMEI packet received {"connection_id":191711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":191711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:41:18] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:41:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:41:18] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4b79240012d196f40071fef40003c00ff27..."} 
[2026-09-21 21:41:18] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:41:18] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4b7"} 
[2026-09-21 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:41:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241653504001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:41:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790006760000,"timestamp_ms":1790006760000,"timestamp_seconds":1790006760,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4b79240"} 
[2026-09-21 21:41:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:41:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16896,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:41:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:41:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:41:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:41:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:41:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:41:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:41:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:41:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:41:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:41:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:41:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:41:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241653504001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:41:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:41:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:41:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241653504001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:41:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:41:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:41:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:41:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:41:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241653504001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:41:18] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:41:18] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:41:29] local.INFO: TCP Data received {"connection_id":190432,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:41:29] local.INFO: Processing buffer {"connection_id":190432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:41:29] local.INFO: IMEI packet received {"connection_id":190432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":190432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:41:40] local.INFO: TCP Data received {"connection_id":189127,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189127,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:40] local.INFO: Processing buffer {"connection_id":189127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:41:40] local.INFO: Packet analysis {"connection_id":189127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:41:40] local.INFO: Extracted packet for processing {"connection_id":189127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:41:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:41:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:41:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:41:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:41:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:41:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:41:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:41:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:41:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:41:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:41:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:41:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:41: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-09-21 21:41:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:41:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:41:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:41:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:41:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:41:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:41:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:41:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:41:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:41:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:41:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:41:40] local.INFO: DEBUG: GPS processor result {"connection_id":189127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:41:40] local.INFO: GPS data processed {"connection_id":189127,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:41:40] local.INFO: Acknowledgment sent {"connection_id":189127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:41:49] local.INFO: TCP Data received {"connection_id":191711,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191711,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:41:49] local.INFO: Processing buffer {"connection_id":191711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:41:49] local.INFO: Packet analysis {"connection_id":191711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:41:49] local.INFO: Extracted packet for processing {"connection_id":191711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":191711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:41:49] local.INFO: GPS data processed {"connection_id":191711,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:41:49] local.INFO: Acknowledgment sent {"connection_id":191711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:42:02] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:02] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:02] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:42:07] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:07] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:42:07] local.INFO: IMEI packet received {"connection_id":191712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":191712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:42:08] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:08] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:08] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:42:08] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 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-09-21 21:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:42: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-09-21 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-09-21 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-09-21 21:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:42:08] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:42:08] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:42:14] local.INFO: TCP Data received {"connection_id":188961,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188961,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:42:14] local.INFO: Processing buffer {"connection_id":188961,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:42:14] local.INFO: IMEI packet received {"connection_id":188961,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":188961,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:42:17] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:17] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:17] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:42:21] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:21] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:42:21] local.INFO: IMEI packet received {"connection_id":190433,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":190433,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:42:22] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:22] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:22] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:42:22] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:42:22] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:42:22] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:42:27] local.INFO: TCP Data received {"connection_id":190433,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190433,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:27] local.INFO: Processing buffer {"connection_id":190433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:42:27] local.INFO: Packet analysis {"connection_id":190433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:42:27] local.INFO: Extracted packet for processing {"connection_id":190433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 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-09-21 21:42: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-09-21 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":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:42: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-09-21 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-09-21 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-09-21 21:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190433,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":190433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:42:27] local.INFO: GPS data processed {"connection_id":190433,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:42:27] local.INFO: Acknowledgment sent {"connection_id":190433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:42:39] local.INFO: TCP Data received {"connection_id":191712,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191712,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:39] local.INFO: Processing buffer {"connection_id":191712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:42:39] local.INFO: Packet analysis {"connection_id":191712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:42:39] local.INFO: Extracted packet for processing {"connection_id":191712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:42: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-09-21 21: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-09-21 21:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:42:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":191712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:42:39] local.INFO: GPS data processed {"connection_id":191712,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:42:39] local.INFO: Acknowledgment sent {"connection_id":191712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:43:02] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:02] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:02] local.INFO: IMEI packet received {"connection_id":189128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":189128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:43:07] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:07] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:43:07] local.INFO: IMEI packet received {"connection_id":189128,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":189128,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:43:08] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:08] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:08] local.INFO: Packet analysis {"connection_id":189128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:43:08] local.INFO: Extracted packet for processing {"connection_id":189128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:43:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:43:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 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-09-21 21:43:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:43: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-09-21 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-09-21 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-09-21 21:43:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:43:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:43:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:43:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:43: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-09-21 21:43:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:43:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:43:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:43:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:43:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:43:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:43:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:43:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:43:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:43:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:43:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:43:08] local.INFO: DEBUG: GPS processor result {"connection_id":189128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:43:08] local.INFO: GPS data processed {"connection_id":189128,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:43:08] local.INFO: Acknowledgment sent {"connection_id":189128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:43:12] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:12] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:12] local.INFO: IMEI packet received {"connection_id":190435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":190435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:43:17] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:17] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:43:17] local.INFO: IMEI packet received {"connection_id":190435,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":190435,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:43:18] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:18] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:18] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:43:18] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:43:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:43:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:43:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:43:18] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:43:18] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:43:40] local.INFO: TCP Data received {"connection_id":189128,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189128,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:40] local.INFO: Processing buffer {"connection_id":189128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:43:40] local.INFO: Packet analysis {"connection_id":189128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:43:40] local.INFO: Extracted packet for processing {"connection_id":189128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:43:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:43:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:43:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:43:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:43:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:43:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:43:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:43:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:43:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:43:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:43:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:43:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189128,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:43:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:43:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:43:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:43:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:43:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:43:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:43:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:43:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:43:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:43:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:43:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:43:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:43:40] local.INFO: DEBUG: GPS processor result {"connection_id":189128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:43:40] local.INFO: GPS data processed {"connection_id":189128,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:43:40] local.INFO: Acknowledgment sent {"connection_id":189128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:43:49] local.INFO: TCP Data received {"connection_id":190435,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190435,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:49] local.INFO: Processing buffer {"connection_id":190435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:43:49] local.INFO: Packet analysis {"connection_id":190435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:43:49] local.INFO: Extracted packet for processing {"connection_id":190435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190435,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":190435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:43:49] local.INFO: GPS data processed {"connection_id":190435,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:43:49] local.INFO: Acknowledgment sent {"connection_id":190435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:44:02] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:02] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:02] local.INFO: IMEI packet received {"connection_id":189129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":189129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:44:07] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:07] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:44:07] local.INFO: IMEI packet received {"connection_id":189129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":189129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:44:07] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:07] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:07] local.INFO: Packet analysis {"connection_id":189129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:44:07] local.INFO: Extracted packet for processing {"connection_id":189129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:44: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-09-21 21:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:44: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-09-21 21:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":189129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:44:07] local.INFO: GPS data processed {"connection_id":189129,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:44:07] local.INFO: Acknowledgment sent {"connection_id":189129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:44:12] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:12] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:12] local.INFO: IMEI packet received {"connection_id":191713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:44:12] local.INFO: IMEI acknowledgment sent {"connection_id":191713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:44:17] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:17] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:44:17] local.INFO: IMEI packet received {"connection_id":191713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":191713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:44:18] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:18] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:18] local.INFO: Packet analysis {"connection_id":191713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:44:18] local.INFO: Extracted packet for processing {"connection_id":191713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:44:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:44:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:44:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":191713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:44:18] local.INFO: GPS data processed {"connection_id":191713,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:44:18] local.INFO: Acknowledgment sent {"connection_id":191713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:44:39] local.INFO: TCP Data received {"connection_id":189129,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189129,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:39] local.INFO: Processing buffer {"connection_id":189129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4baab38012d34c14006aa4060000a000c2a..."} 
[2026-09-21 21:44:39] local.INFO: Packet analysis {"connection_id":189129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:44:39] local.INFO: Extracted packet for processing {"connection_id":189129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ba"} 
[2026-09-21 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241705472001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790006963000,"timestamp_ms":1790006963000,"timestamp_seconds":1790006963,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4baab38"} 
[2026-09-21 21:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:44: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-09-21 21: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-09-21 21:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:44: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-09-21 21:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241705472001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241705472001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241705472001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":189129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:44:39] local.INFO: GPS data processed {"connection_id":189129,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:44:39] local.INFO: Acknowledgment sent {"connection_id":189129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:44:49] local.INFO: TCP Data received {"connection_id":191713,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191713,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:49] local.INFO: Processing buffer {"connection_id":191713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:44:49] local.INFO: Packet analysis {"connection_id":191713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:44:49] local.INFO: Extracted packet for processing {"connection_id":191713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:44:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:44:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:44:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:44:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:44:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:44:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:44:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":191713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:44:49] local.INFO: GPS data processed {"connection_id":191713,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:44:49] local.INFO: Acknowledgment sent {"connection_id":191713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:45:07] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:07] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:07] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:45:12] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:12] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:12] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:45:12] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:12] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:45:12] local.INFO: IMEI packet received {"connection_id":188962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":188962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:45:13] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:13] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:13] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:45:13] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:45:13] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:45:13] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:45:17] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:17] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:45:17] local.INFO: IMEI packet received {"connection_id":188963,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":188963,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:45:18] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:18] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:18] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:45:18] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:45:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:45:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:45:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:45:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:45:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:45:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:45:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:45:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:45:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:45:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:45:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:45:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:45:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:45:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:45:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:45:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:45:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:45:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:45:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:45:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:45:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:45:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:45:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:45:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:45:18] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:45:18] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:45:44] local.INFO: TCP Data received {"connection_id":188962,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188962,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:44] local.INFO: Processing buffer {"connection_id":188962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:45:44] local.INFO: Packet analysis {"connection_id":188962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:45:44] local.INFO: Extracted packet for processing {"connection_id":188962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:45: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-09-21 21:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":188962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:45:44] local.INFO: GPS data processed {"connection_id":188962,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:45:44] local.INFO: Acknowledgment sent {"connection_id":188962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:45:49] local.INFO: TCP Data received {"connection_id":188963,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188963,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:49] local.INFO: Processing buffer {"connection_id":188963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:45:49] local.INFO: Packet analysis {"connection_id":188963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:45:49] local.INFO: Extracted packet for processing {"connection_id":188963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188963,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":188963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:45:49] local.INFO: GPS data processed {"connection_id":188963,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:45:49] local.INFO: Acknowledgment sent {"connection_id":188963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:46:02] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:02] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:02] local.INFO: IMEI packet received {"connection_id":189130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":189130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:46:07] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:07] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:46:07] local.INFO: IMEI packet received {"connection_id":189130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":189130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:46:08] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:08] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:08] local.INFO: Packet analysis {"connection_id":189130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:46:08] local.INFO: Extracted packet for processing {"connection_id":189130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 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-09-21 21:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":189130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:46:08] local.INFO: GPS data processed {"connection_id":189130,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:46:08] local.INFO: Acknowledgment sent {"connection_id":189130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:46:11] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:11] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:11] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:46:17] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:17] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:46:17] local.INFO: IMEI packet received {"connection_id":191715,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":191715,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:46:18] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:46:18] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bc2a08012d196f40071fef40003c00ff26..."} 
[2026-09-21 21:46:18] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:46:18] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bc"} 
[2026-09-21 21:46:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241730560001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007061000,"timestamp_ms":1790007061000,"timestamp_seconds":1790007061,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bc2a08"} 
[2026-09-21 21:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 21:46:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241730560001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241730560001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:46:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:46:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241730560001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:46:18] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:46:18] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:46:40] local.INFO: TCP Data received {"connection_id":189130,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189130,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:40] local.INFO: Processing buffer {"connection_id":189130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:46:40] local.INFO: Packet analysis {"connection_id":189130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:46:40] local.INFO: Extracted packet for processing {"connection_id":189130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:46:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:46:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:46:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:46:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:46:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:46:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:46:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:46:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:46:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:46:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:46:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:46:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:46:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:46:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:46:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:46:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:46:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:46:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:46:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:46:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:46:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:46:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:46:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:46:40] local.INFO: DEBUG: GPS processor result {"connection_id":189130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:46:40] local.INFO: GPS data processed {"connection_id":189130,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:46:40] local.INFO: Acknowledgment sent {"connection_id":189130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:46:49] local.INFO: TCP Data received {"connection_id":191715,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191715,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:46:49] local.INFO: Processing buffer {"connection_id":191715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:46:49] local.INFO: Packet analysis {"connection_id":191715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:46:49] local.INFO: Extracted packet for processing {"connection_id":191715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:46:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:46:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:46:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:46:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:46:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:46:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:46:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:46:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:46:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:46:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:46:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:46:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:46:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:46:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191715,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:46:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:46:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:46:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:46:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:46:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:46:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:46:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:46:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:46:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:46:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:46:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:46:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:46:49] local.INFO: DEBUG: GPS processor result {"connection_id":191715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:46:49] local.INFO: GPS data processed {"connection_id":191715,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:46:49] local.INFO: Acknowledgment sent {"connection_id":191715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:47:02] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:02] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:02] local.INFO: IMEI packet received {"connection_id":189131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":189131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:47:07] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:07] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:47:07] local.INFO: IMEI packet received {"connection_id":189131,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":189131,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:47:08] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:08] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:08] local.INFO: Packet analysis {"connection_id":189131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:47:08] local.INFO: Extracted packet for processing {"connection_id":189131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:47:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:47:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 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-09-21 21:47:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:47:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:47:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:47:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:47:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:47:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:47: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-09-21 21:47:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:47:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:47:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:47:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:47:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:47:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:47:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:47:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:47:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:47:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:47:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:47:08] local.INFO: DEBUG: GPS processor result {"connection_id":189131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:47:08] local.INFO: GPS data processed {"connection_id":189131,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:47:08] local.INFO: Acknowledgment sent {"connection_id":189131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:47:12] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:12] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:12] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:47:17] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:17] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:47:17] local.INFO: IMEI packet received {"connection_id":191716,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":191716,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:47:18] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:18] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:18] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:18] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:47:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:47:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:47:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:47:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:47:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:47:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:47:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:47:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:47:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:47:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:47:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:47:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:47:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:47:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:47:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:47:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:47:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:47:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:47:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:47:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:47:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:47:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:47:18] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:47:18] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:47:22] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:22] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:22] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:22] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:47:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:47:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:47:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:47:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:47:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:47:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:47:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:47:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:47:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:47:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:47:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:47:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:47:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:47:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:47:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:47:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:47:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:47:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:47:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:47:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:47:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:47:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:47:22] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:47:22] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:47:22] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:47:34] local.INFO: TCP Data received {"connection_id":188964,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:47:34] local.INFO: Processing buffer {"connection_id":188964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:47:34] local.INFO: IMEI packet received {"connection_id":188964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:47:34] local.INFO: IMEI acknowledgment sent {"connection_id":188964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:47:39] local.INFO: TCP Data received {"connection_id":189131,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189131,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:39] local.INFO: Processing buffer {"connection_id":189131,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:47:39] local.INFO: Packet analysis {"connection_id":189131,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:47:39] local.INFO: Extracted packet for processing {"connection_id":189131,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:47:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:47:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:47:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:47:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:47:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:47:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:47:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:47:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:47:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:47:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:47:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189131,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:47:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:47:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189131,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:47: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-09-21 21:47:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:47:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:47:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:47:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:47:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:47:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:47:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:47:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:47:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:47:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:47:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:47:39] local.INFO: DEBUG: GPS processor result {"connection_id":189131,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:47:39] local.INFO: GPS data processed {"connection_id":189131,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:47:39] local.INFO: Acknowledgment sent {"connection_id":189131,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:47:53] local.INFO: TCP Data received {"connection_id":191716,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191716,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:53] local.INFO: Processing buffer {"connection_id":191716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:47:53] local.INFO: Packet analysis {"connection_id":191716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:53] local.INFO: Extracted packet for processing {"connection_id":191716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:47:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:47:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:47:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:47:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:47:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:47:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:47:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:47:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:47:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:47:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:47:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:47:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:47:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191716,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:47:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:47:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:47:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:47:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:47:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:47:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:47:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:47:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:47:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:47:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:47:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:47:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:47:53] local.INFO: DEBUG: GPS processor result {"connection_id":191716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:47:53] local.INFO: GPS data processed {"connection_id":191716,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:47:53] local.INFO: Acknowledgment sent {"connection_id":191716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:48:02] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:02] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:02] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:48:07] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:07] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:48:07] local.INFO: IMEI packet received {"connection_id":191717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":191717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:48:08] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:08] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:08] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:48:08] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 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-09-21 21:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:48:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:48:08] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:48:08] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:48:12] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:12] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:12] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:48:14] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:14] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:14] local.INFO: IMEI packet received {"connection_id":191718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":191718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:48:17] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:17] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:17] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:48:19] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:19] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:48:19] local.INFO: IMEI packet received {"connection_id":191718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-09-21 21:48:19] local.INFO: IMEI acknowledgment sent {"connection_id":191718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:48:20] local.INFO: TCP Data received {"connection_id":191718,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4a805c8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191718,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4a805c8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:48:20] local.INFO: Processing buffer {"connection_id":191718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4a805c8012b8833000b7c84f0000f00502d..."} 
[2026-09-21 21:48:20] local.INFO: Packet analysis {"connection_id":191718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:48:20] local.INFO: Extracted packet for processing {"connection_id":191718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4a8"} 
[2026-09-21 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":730346240,"raw_latitude":192709872,"longitude_deg":73.034624,"latitude_deg":19.2709872,"altitude":15,"angle":80,"satellites":45,"speed":0,"hex_longitude":"2b883300","hex_latitude":"0b7c84f0","is_valid_coordinates":true} 
[2026-09-21 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:48:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241392640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3601080969592832,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:20] local.WARNING: Large IO value detected {"io_id":43,"raw_value":-8632556011405381632,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,234,24,16,43],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:48:20] local.INFO: AVL Record Parsed {"raw_timestamp":1790005741000,"timestamp_ms":1790005741000,"timestamp_seconds":1790005741,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4a805c8"} 
[2026-09-21 21:48:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:48:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:48:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-09-21 21:48:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:48:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:48:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:48:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:48:20] local.INFO: Teltonika packet parsed successfully {"connection_id":191718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:48:20] local.INFO: Passing IMEI to GPS processor {"connection_id":191718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:48:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":191718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-09-21 21:48:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:48:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-09-21 21:48:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-09-21 21:48:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241392640001,"66":25625,"27":206,"234":55296,"24":0,"16":3601080969592832,"43":-8632556011405381632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,234,24,16,43]} 
[2026-09-21 21:48:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-09-21 21:48:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-09-21 21:48:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241392640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:48:20] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-09-21 21:48:20] local.INFO: Unknown IO ID detected {"io_id":234,"value":55296,"description":"Unknown IO ID 234"} 
[2026-09-21 21:48:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":3601080969592832,"km_value":3601080969592.832,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:48:20] local.INFO: Unknown IO ID detected {"io_id":43,"value":-8632556011405381632,"description":"Unknown IO ID 43"} 
[2026-09-21 21:48:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241392640001,"power":25625,"unknown_27":206,"unknown_234":55296,"ignition":0,"odometer":null,"unknown_43":-8632556011405381632}} 
[2026-09-21 21:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":191718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:48:21] local.INFO: GPS data processed {"connection_id":191718,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:48:21] local.INFO: Acknowledgment sent {"connection_id":191718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:48:21] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:21] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:48:21] local.INFO: IMEI packet received {"connection_id":188965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":188965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:48:22] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:22] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:22] local.INFO: Packet analysis {"connection_id":188965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:48:22] local.INFO: Extracted packet for processing {"connection_id":188965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:48:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:48:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:48:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:48:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:48:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:48:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:48:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:48:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:48:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:48:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:48:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:48:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:48:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:48:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:48:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:48:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:48:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:48:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:48:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:48:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:48:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:48:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:48:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:48:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:48:22] local.INFO: DEBUG: GPS processor result {"connection_id":188965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:48:22] local.INFO: GPS data processed {"connection_id":188965,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:48:22] local.INFO: Acknowledgment sent {"connection_id":188965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:48:39] local.INFO: TCP Data received {"connection_id":191717,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191717,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:39] local.INFO: Processing buffer {"connection_id":191717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:48:39] local.INFO: Packet analysis {"connection_id":191717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:48:39] local.INFO: Extracted packet for processing {"connection_id":191717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:48:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:48:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":191717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:48:39] local.INFO: GPS data processed {"connection_id":191717,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:48:39] local.INFO: Acknowledgment sent {"connection_id":191717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:48:53] local.INFO: TCP Data received {"connection_id":188965,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188965,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:53] local.INFO: Processing buffer {"connection_id":188965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:48:53] local.INFO: Packet analysis {"connection_id":188965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:48:53] local.INFO: Extracted packet for processing {"connection_id":188965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:48:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:48:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:48:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:48:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:48:54] local.INFO: DEBUG: GPS processor result {"connection_id":188965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878370,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:48:54] local.INFO: GPS data processed {"connection_id":188965,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:48:54] local.INFO: Acknowledgment sent {"connection_id":188965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:49:04] local.INFO: TCP Data received {"connection_id":188966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:49:04] local.INFO: Processing buffer {"connection_id":188966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:49:04] local.INFO: IMEI packet received {"connection_id":188966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":188966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:49:07] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:07] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:07] local.INFO: IMEI packet received {"connection_id":189132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":189132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:49:12] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:12] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:12] local.INFO: IMEI packet received {"connection_id":191719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":191719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:49:12] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:12] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:49:12] local.INFO: IMEI packet received {"connection_id":189132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:49:12] local.INFO: IMEI acknowledgment sent {"connection_id":189132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:49:13] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:13] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:13] local.INFO: Packet analysis {"connection_id":189132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:49:13] local.INFO: Extracted packet for processing {"connection_id":189132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:49: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-09-21 21:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:49:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:49:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":189132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:49:13] local.INFO: GPS data processed {"connection_id":189132,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:49:13] local.INFO: Acknowledgment sent {"connection_id":189132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:49:17] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:17] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:49:17] local.INFO: IMEI packet received {"connection_id":191719,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":191719,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:49:17] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:17] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:17] local.INFO: Packet analysis {"connection_id":191719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:49:17] local.INFO: Extracted packet for processing {"connection_id":191719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:49:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:49:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:49:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:49:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":191719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:49:18] local.INFO: GPS data processed {"connection_id":191719,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:49:18] local.INFO: Acknowledgment sent {"connection_id":191719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:49:18] local.INFO: TCP Data received {"connection_id":189132,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189132,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:18] local.INFO: Processing buffer {"connection_id":189132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4bf4300012d34c14006aa40600006000c29..."} 
[2026-09-21 21:49:18] local.INFO: Packet analysis {"connection_id":189132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:49:18] local.INFO: Extracted packet for processing {"connection_id":189132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4bf"} 
[2026-09-21 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241782528001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007264000,"timestamp_ms":1790007264000,"timestamp_seconds":1790007264,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4bf4300"} 
[2026-09-21 21:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 21:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.46","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241782528001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241782528001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:49:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:49:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241782528001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":189132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:49:18] local.INFO: GPS data processed {"connection_id":189132,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:49:18] local.INFO: Acknowledgment sent {"connection_id":189132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:49:49] local.INFO: TCP Data received {"connection_id":191719,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191719,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:49] local.INFO: Processing buffer {"connection_id":191719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:49:49] local.INFO: Packet analysis {"connection_id":191719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:49:49] local.INFO: Extracted packet for processing {"connection_id":191719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191719,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":191719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:49:49] local.INFO: GPS data processed {"connection_id":191719,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:49:49] local.INFO: Acknowledgment sent {"connection_id":191719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:50:02] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:02] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:02] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:50:03] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:03] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:03] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:50:03] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:50:07] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:07] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:50:07] local.INFO: IMEI packet received {"connection_id":188967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":188967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:50:08] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:08] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:08] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:08] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21: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-09-21 21:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50: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-09-21 21:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:50:08] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:50:08] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:50:11] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:11] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:11] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:50:13] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:13] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:13] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:13] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:50:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:50:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:50: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-09-21 21:50: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-09-21 21:50:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:50:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:50:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:50:13] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:50:13] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:50:17] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:17] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:50:17] local.INFO: IMEI packet received {"connection_id":191720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":191720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:50:18] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:18] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:18] local.INFO: Packet analysis {"connection_id":191720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:50:18] local.INFO: Extracted packet for processing {"connection_id":191720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:50:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:50:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:50:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":191720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878377,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:50:18] local.INFO: GPS data processed {"connection_id":191720,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:50:18] local.INFO: Acknowledgment sent {"connection_id":191720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:50:44] local.INFO: TCP Data received {"connection_id":188967,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188967,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:44] local.INFO: Processing buffer {"connection_id":188967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:50:44] local.INFO: Packet analysis {"connection_id":188967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:44] local.INFO: Extracted packet for processing {"connection_id":188967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:50:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":188967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":188967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:50:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:50:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":188967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:50:44] local.INFO: GPS data processed {"connection_id":188967,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:50:44] local.INFO: Acknowledgment sent {"connection_id":188967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:50:49] local.INFO: TCP Data received {"connection_id":191720,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191720,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:49] local.INFO: Processing buffer {"connection_id":191720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:50:49] local.INFO: Packet analysis {"connection_id":191720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:50:49] local.INFO: Extracted packet for processing {"connection_id":191720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:50:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:50:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:50:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:50:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:50:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:50:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:50:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:50:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:50:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:50:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:50:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:50:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:50:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:50:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:50:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:50:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:50:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:50:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:50:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:50:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:50:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:50:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:50:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:50:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:50:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:50:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:50:49] local.INFO: DEBUG: GPS processor result {"connection_id":191720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:50:49] local.INFO: GPS data processed {"connection_id":191720,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:50:49] local.INFO: Acknowledgment sent {"connection_id":191720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:51:02] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:02] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:02] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:51:07] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:07] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:51:07] local.INFO: IMEI packet received {"connection_id":190439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":190439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:51:08] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:08] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:08] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:51:08] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 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-09-21 21:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:51: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-09-21 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-09-21 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-09-21 21:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:51: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-09-21 21:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:51:08] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:51:08] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:51:11] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:11] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:11] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:51:17] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:17] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:51:17] local.INFO: IMEI packet received {"connection_id":188968,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":188968,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:51:18] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:18] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c0c1d0012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:18] local.INFO: Packet analysis {"connection_id":188968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:51:18] local.INFO: Extracted packet for processing {"connection_id":188968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c0"} 
[2026-09-21 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241807616001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007362000,"timestamp_ms":1790007362000,"timestamp_seconds":1790007362,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c0c1d0"} 
[2026-09-21 21:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:51:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:51:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241807616001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:51:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:51:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:51:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241807616001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:51:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:51:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:51:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:51:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:51:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241807616001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":188968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:51:18] local.INFO: GPS data processed {"connection_id":188968,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:51:18] local.INFO: Acknowledgment sent {"connection_id":188968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:51:40] local.INFO: TCP Data received {"connection_id":190439,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190439,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:40] local.INFO: Processing buffer {"connection_id":190439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:51:40] local.INFO: Packet analysis {"connection_id":190439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:51:40] local.INFO: Extracted packet for processing {"connection_id":190439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:51:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":190439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:51:40] local.INFO: GPS data processed {"connection_id":190439,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:51:40] local.INFO: Acknowledgment sent {"connection_id":190439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:51:49] local.INFO: TCP Data received {"connection_id":188968,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188968,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:49] local.INFO: Processing buffer {"connection_id":188968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:51:49] local.INFO: Packet analysis {"connection_id":188968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:51:49] local.INFO: Extracted packet for processing {"connection_id":188968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188968,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":188968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:51:49] local.INFO: GPS data processed {"connection_id":188968,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:51:49] local.INFO: Acknowledgment sent {"connection_id":188968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:52:02] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:02] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:02] local.INFO: IMEI packet received {"connection_id":188970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":188970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:52:07] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:07] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:52:07] local.INFO: IMEI packet received {"connection_id":188970,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":188970,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:52:08] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:08] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:08] local.INFO: Packet analysis {"connection_id":188970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:52:08] local.INFO: Extracted packet for processing {"connection_id":188970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 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-09-21 21:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 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-09-21 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-09-21 21:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":188970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:52:08] local.INFO: GPS data processed {"connection_id":188970,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:52:08] local.INFO: Acknowledgment sent {"connection_id":188970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:52:12] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:12] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:12] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:52:17] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:17] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:52:17] local.INFO: IMEI packet received {"connection_id":191722,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":191722,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:52:18] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:18] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:18] local.INFO: Packet analysis {"connection_id":191722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:52:18] local.INFO: Extracted packet for processing {"connection_id":191722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":191722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:52:18] local.INFO: GPS data processed {"connection_id":191722,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:52:18] local.INFO: Acknowledgment sent {"connection_id":191722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:52:40] local.INFO: TCP Data received {"connection_id":188970,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188970,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:40] local.INFO: Processing buffer {"connection_id":188970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:52:40] local.INFO: Packet analysis {"connection_id":188970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:52:40] local.INFO: Extracted packet for processing {"connection_id":188970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:52:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:52:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:52: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:52:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:52:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":188970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":188970,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:52:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:52:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":188970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:52:40] local.INFO: GPS data processed {"connection_id":188970,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:52:40] local.INFO: Acknowledgment sent {"connection_id":188970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:52:49] local.INFO: TCP Data received {"connection_id":191722,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191722,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:49] local.INFO: Processing buffer {"connection_id":191722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:52:49] local.INFO: Packet analysis {"connection_id":191722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:52:49] local.INFO: Extracted packet for processing {"connection_id":191722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191722,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:52:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":191722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:52:49] local.INFO: GPS data processed {"connection_id":191722,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:52:49] local.INFO: Acknowledgment sent {"connection_id":191722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:53:07] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:07] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:07] local.INFO: IMEI packet received {"connection_id":191723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":191723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:53:12] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:12] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:12] local.INFO: IMEI packet received {"connection_id":190441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":190441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:53:12] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:12] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:53:12] local.INFO: IMEI packet received {"connection_id":191723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":191723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:53:13] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:13] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:13] local.INFO: Packet analysis {"connection_id":191723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:53:13] local.INFO: Extracted packet for processing {"connection_id":191723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:53: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-09-21 21:53: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-09-21 21:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":191723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:53:13] local.INFO: GPS data processed {"connection_id":191723,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:53:13] local.INFO: Acknowledgment sent {"connection_id":191723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:53:17] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:17] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:53:17] local.INFO: IMEI packet received {"connection_id":190441,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":190441,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:53:17] local.INFO: TCP Data received {"connection_id":191723,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191723,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:17] local.INFO: Processing buffer {"connection_id":191723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:53:17] local.INFO: Packet analysis {"connection_id":191723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:53:17] local.INFO: Extracted packet for processing {"connection_id":191723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.49","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":191723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:53:17] local.INFO: GPS data processed {"connection_id":191723,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:53:17] local.INFO: Acknowledgment sent {"connection_id":191723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:53:17] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:17] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:17] local.INFO: Packet analysis {"connection_id":190441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:53:17] local.INFO: Extracted packet for processing {"connection_id":190441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:53:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":190441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:53:18] local.INFO: GPS data processed {"connection_id":190441,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:53:18] local.INFO: Acknowledgment sent {"connection_id":190441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:53:49] local.INFO: TCP Data received {"connection_id":190441,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190441,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:49] local.INFO: Processing buffer {"connection_id":190441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:53:49] local.INFO: Packet analysis {"connection_id":190441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:53:49] local.INFO: Extracted packet for processing {"connection_id":190441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:53:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:53:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:53:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:53:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:53:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:53:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:53:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:53:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:53:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:53:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:53:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:53:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:53:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:53:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190441,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:53:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:53:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:53:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:53:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:53:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:53:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:53:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:53:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:53:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:53:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:53:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:53:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:53:49] local.INFO: DEBUG: GPS processor result {"connection_id":190441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:53:49] local.INFO: GPS data processed {"connection_id":190441,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:53:49] local.INFO: Acknowledgment sent {"connection_id":190441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:54:02] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:02] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:02] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:54:07] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:07] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:54:07] local.INFO: IMEI packet received {"connection_id":188972,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":188972,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:54:08] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:08] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:08] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:54:08] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21: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-09-21 21:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:54: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-09-21 21:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:54:08] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:54:08] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:54:12] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:12] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:12] local.INFO: IMEI packet received {"connection_id":189133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":189133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:54:17] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:17] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:54:17] local.INFO: IMEI packet received {"connection_id":189133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":189133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:54:18] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:18] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:18] local.INFO: Packet analysis {"connection_id":189133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:54:18] local.INFO: Extracted packet for processing {"connection_id":189133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:54:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:54:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:54:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:54:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:54:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:54:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:54:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:54:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:54:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:54:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:54:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:54:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:54:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:54:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:54:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:54:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:54:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:54:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:54:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:54:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:54:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:54:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:54:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:54:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:54:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:54:18] local.INFO: DEBUG: GPS processor result {"connection_id":189133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:54:18] local.INFO: GPS data processed {"connection_id":189133,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:54:18] local.INFO: Acknowledgment sent {"connection_id":189133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:54:29] local.INFO: TCP Data received {"connection_id":191724,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:54:29] local.INFO: Processing buffer {"connection_id":191724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:54:29] local.INFO: IMEI packet received {"connection_id":191724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:54:29] local.INFO: IMEI acknowledgment sent {"connection_id":191724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:54:39] local.INFO: TCP Data received {"connection_id":188972,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188972,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:39] local.INFO: Processing buffer {"connection_id":188972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c3dac8012d34c14006aa40600003000c27..."} 
[2026-09-21 21:54:39] local.INFO: Packet analysis {"connection_id":188972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:54:39] local.INFO: Extracted packet for processing {"connection_id":188972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c3"} 
[2026-09-21 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":39,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:54:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241859584001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:54:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790007565000,"timestamp_ms":1790007565000,"timestamp_seconds":1790007565,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c3dac8"} 
[2026-09-21 21:54:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:54:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 21:54: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-09-21 21: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-09-21 21:54:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:54:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:54:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:54:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:54:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188972,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:54:39] 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-09-21 21:54:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:54:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:54:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241859584001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:54:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:54:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:54:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241859584001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:54:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:54:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:54:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:54:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:54:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241859584001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:54:39] local.INFO: DEBUG: GPS processor result {"connection_id":188972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:54:39] local.INFO: GPS data processed {"connection_id":188972,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:54:39] local.INFO: Acknowledgment sent {"connection_id":188972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:54:49] local.INFO: TCP Data received {"connection_id":189133,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189133,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:49] local.INFO: Processing buffer {"connection_id":189133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:54:49] local.INFO: Packet analysis {"connection_id":189133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:54:49] local.INFO: Extracted packet for processing {"connection_id":189133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:54:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:54:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:54:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:54:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":189133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878395,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:54:49] local.INFO: GPS data processed {"connection_id":189133,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:54:49] local.INFO: Acknowledgment sent {"connection_id":189133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:55:02] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:02] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:02] local.INFO: IMEI packet received {"connection_id":188973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":188973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:55:04] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:04] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:55:04] local.INFO: IMEI packet received {"connection_id":188973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":188973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:55:05] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:05] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:05] local.INFO: Packet analysis {"connection_id":188973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:55:05] local.INFO: Extracted packet for processing {"connection_id":188973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:55:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:55:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":188973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":188973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":188973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:55:05] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:55:05] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":188973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:55:05] local.INFO: GPS data processed {"connection_id":188973,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:55:05] local.INFO: Acknowledgment sent {"connection_id":188973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:55:11] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:11] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:11] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:55:14] local.INFO: TCP Data received {"connection_id":189134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189134,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:55:14] local.INFO: Processing buffer {"connection_id":189134,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 21:55:14] local.INFO: IMEI packet received {"connection_id":189134,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 21:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":189134,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:55:17] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:17] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:55:17] local.INFO: IMEI packet received {"connection_id":191725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":191725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:55:18] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:18] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:18] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:55:18] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:55:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:55:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:55:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:55:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:55:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:55:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:55:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:55:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:55:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:55:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:55:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:55:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:55:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:55:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:55:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:55:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:55:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:55:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:55:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:55:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:55:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:55:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:55:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:55:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:55:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:55:18] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:55:18] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:55:18] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:55:36] local.INFO: TCP Data received {"connection_id":188973,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188973,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:36] local.INFO: Processing buffer {"connection_id":188973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:55:36] local.INFO: Packet analysis {"connection_id":188973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:55:36] local.INFO: Extracted packet for processing {"connection_id":188973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:55:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:55:36] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 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-09-21 21:55:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:55: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-09-21 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-09-21 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-09-21 21:55:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:55:36] local.INFO: Teltonika packet parsed successfully {"connection_id":188973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:55:36] local.INFO: Passing IMEI to GPS processor {"connection_id":188973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:55:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":188973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:55: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-09-21 21:55:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:55:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:55:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:55:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:55:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:55:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:55:36] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:55:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:55:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:55:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:55:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:55:36] local.INFO: DEBUG: GPS processor result {"connection_id":188973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:55:36] local.INFO: GPS data processed {"connection_id":188973,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:55:36] local.INFO: Acknowledgment sent {"connection_id":188973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:55:49] local.INFO: TCP Data received {"connection_id":191725,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191725,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:49] local.INFO: Processing buffer {"connection_id":191725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:55:49] local.INFO: Packet analysis {"connection_id":191725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:55:49] local.INFO: Extracted packet for processing {"connection_id":191725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:55:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:55:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:55:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:55:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:55:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:55:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:55:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:55:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:55:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:55:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:55:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:55:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:55:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:55:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:55:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:55:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:55:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:55:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:55:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:55:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:55:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:55:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:55:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:55:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:55:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:55:50] local.INFO: DEBUG: GPS processor result {"connection_id":191725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:55:50] local.INFO: GPS data processed {"connection_id":191725,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:55:50] local.INFO: Acknowledgment sent {"connection_id":191725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:56:02] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:02] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:02] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:56:02] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:56:07] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:07] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:56:07] local.INFO: IMEI packet received {"connection_id":191726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":191726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:56:08] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:08] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:08] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:56:08] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:56:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:56:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:56:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:56:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:56:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:56: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-09-21 21:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:56:08] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:56:08] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:56:11] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:11] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:11] local.INFO: IMEI packet received {"connection_id":188974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":188974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:56:17] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:17] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:56:17] local.INFO: IMEI packet received {"connection_id":188974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":188974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:56:18] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:56:18] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c55998012d196f40071fef40003c00ff29..."} 
[2026-09-21 21:56:18] local.INFO: Packet analysis {"connection_id":188974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:56:18] local.INFO: Extracted packet for processing {"connection_id":188974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c5"} 
[2026-09-21 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":41,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:56:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241884672001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007663000,"timestamp_ms":1790007663000,"timestamp_seconds":1790007663,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c55998"} 
[2026-09-21 21:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:56:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 21:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241884672001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241884672001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:56:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:56:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:56:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:56:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241884672001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":188974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:56:18] local.INFO: GPS data processed {"connection_id":188974,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:56:18] local.INFO: Acknowledgment sent {"connection_id":188974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:56:39] local.INFO: TCP Data received {"connection_id":191726,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191726,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:39] local.INFO: Processing buffer {"connection_id":191726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:56:39] local.INFO: Packet analysis {"connection_id":191726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:56:39] local.INFO: Extracted packet for processing {"connection_id":191726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":191726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:56:39] local.INFO: GPS data processed {"connection_id":191726,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:56:39] local.INFO: Acknowledgment sent {"connection_id":191726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:56:49] local.INFO: TCP Data received {"connection_id":188974,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188974,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:56:49] local.INFO: Processing buffer {"connection_id":188974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:56:49] local.INFO: Packet analysis {"connection_id":188974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:56:49] local.INFO: Extracted packet for processing {"connection_id":188974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":188974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878403,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:56:49] local.INFO: GPS data processed {"connection_id":188974,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:56:49] local.INFO: Acknowledgment sent {"connection_id":188974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:57:02] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:02] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:02] local.INFO: IMEI packet received {"connection_id":191727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":191727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:57:07] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:07] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:57:07] local.INFO: IMEI packet received {"connection_id":191727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":191727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:57:08] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:08] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:08] local.INFO: Packet analysis {"connection_id":191727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:57:08] local.INFO: Extracted packet for processing {"connection_id":191727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:57:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:57:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:57:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:57:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:57:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:57:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":191727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:57:08] local.INFO: GPS data processed {"connection_id":191727,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:57:08] local.INFO: Acknowledgment sent {"connection_id":191727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:57:17] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:17] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:17] local.INFO: IMEI packet received {"connection_id":189135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":189135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:57:22] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:22] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:57:22] local.INFO: IMEI packet received {"connection_id":189135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":189135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:57:23] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:23] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:23] local.INFO: Packet analysis {"connection_id":189135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:57:23] local.INFO: Extracted packet for processing {"connection_id":189135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:57:23] local.INFO: GPS data processed {"connection_id":189135,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:57:23] local.INFO: Acknowledgment sent {"connection_id":189135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:57:40] local.INFO: TCP Data received {"connection_id":191727,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191727,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:40] local.INFO: Processing buffer {"connection_id":191727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:57:40] local.INFO: Packet analysis {"connection_id":191727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:57:40] local.INFO: Extracted packet for processing {"connection_id":191727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21: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-09-21 21:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":191727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:57:40] local.INFO: GPS data processed {"connection_id":191727,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:57:40] local.INFO: Acknowledgment sent {"connection_id":191727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:57:54] local.INFO: TCP Data received {"connection_id":189135,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189135,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:54] local.INFO: Processing buffer {"connection_id":189135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:57:54] local.INFO: Packet analysis {"connection_id":189135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:57:54] local.INFO: Extracted packet for processing {"connection_id":189135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:57:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:57:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:57:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:57:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:57:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:57:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:57:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:57:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:57:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:57:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:57:54] local.INFO: Teltonika packet parsed successfully {"connection_id":189135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:57:54] local.INFO: Passing IMEI to GPS processor {"connection_id":189135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:57:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":189135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:57:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:57:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:57:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:57:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:57:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:57:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:57:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:57:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:57:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:57:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:57:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:57:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:57:54] local.INFO: DEBUG: GPS processor result {"connection_id":189135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:57:54] local.INFO: GPS data processed {"connection_id":189135,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:57:54] local.INFO: Acknowledgment sent {"connection_id":189135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:58:02] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:02] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:02] local.INFO: IMEI packet received {"connection_id":189136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":189136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:58:07] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:07] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:58:07] local.INFO: IMEI packet received {"connection_id":189136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":189136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:58:08] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:08] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:08] local.INFO: Packet analysis {"connection_id":189136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:58:08] local.INFO: Extracted packet for processing {"connection_id":189136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 21:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 21:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 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-09-21 21:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 21:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":189136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:58:08] local.INFO: GPS data processed {"connection_id":189136,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:58:08] local.INFO: Acknowledgment sent {"connection_id":189136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:58:12] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:12] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:12] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:58:16] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:16] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:16] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:58:21] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:21] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:58:21] local.INFO: IMEI packet received {"connection_id":188976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":188976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:58:22] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:22] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:22] local.INFO: Packet analysis {"connection_id":188976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:58:22] local.INFO: Extracted packet for processing {"connection_id":188976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:58:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:58:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:58:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:58:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:58:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:58:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:58:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:58:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:58:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:58:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:58:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:58:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:58:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:58:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:58:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:58:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:58:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:58:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:58:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:58:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:58:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:58:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:58:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:58:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:58:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:58:22] local.INFO: DEBUG: GPS processor result {"connection_id":188976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:58:22] local.INFO: GPS data processed {"connection_id":188976,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:58:22] local.INFO: Acknowledgment sent {"connection_id":188976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:58:39] local.INFO: TCP Data received {"connection_id":189136,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189136,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:39] local.INFO: Processing buffer {"connection_id":189136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:58:39] local.INFO: Packet analysis {"connection_id":189136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:58:39] local.INFO: Extracted packet for processing {"connection_id":189136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21: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-09-21 21:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21: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-09-21 21:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21: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-09-21 21:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 21:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":189136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:58:39] local.INFO: GPS data processed {"connection_id":189136,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:58:39] local.INFO: Acknowledgment sent {"connection_id":189136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:58:53] local.INFO: TCP Data received {"connection_id":188976,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188976,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:53] local.INFO: Processing buffer {"connection_id":188976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:58:53] local.INFO: Packet analysis {"connection_id":188976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:58:53] local.INFO: Extracted packet for processing {"connection_id":188976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:58:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:58:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:58:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:58:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:58:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:58:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:58:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:58:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:58:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:58:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:58:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:58:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:58:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:58:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:58:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:58:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:58:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:58:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:58:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:58:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:58:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:58:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:58:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:58:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:58:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:58:53] local.INFO: DEBUG: GPS processor result {"connection_id":188976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:58:53] local.INFO: GPS data processed {"connection_id":188976,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:58:53] local.INFO: Acknowledgment sent {"connection_id":188976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:59:07] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:07] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:07] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 21:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:59:12] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:12] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:12] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 21:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 21:59:12] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:12] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 21:59:12] local.INFO: IMEI packet received {"connection_id":191729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 21:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":191729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:59:13] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:13] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:13] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:59:13] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:59: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-09-21 21:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:59:13] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:59:13] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:59:17] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:17] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 21:59:17] local.INFO: IMEI packet received {"connection_id":188977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 21:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":188977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 21:59:17] local.INFO: TCP Data received {"connection_id":191729,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191729,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:17] local.INFO: Processing buffer {"connection_id":191729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c87290012d34c14006aa40600000000c28..."} 
[2026-09-21 21:59:17] local.INFO: Packet analysis {"connection_id":191729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:59:17] local.INFO: Extracted packet for processing {"connection_id":191729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c8"} 
[2026-09-21 21:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":0,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 21:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241936640001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790007866000,"timestamp_ms":1790007866000,"timestamp_seconds":1790007866,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c87290"} 
[2026-09-21 21:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 21:59: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-09-21 21:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 21:59: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-09-21 21:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241936640001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 21:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 21:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241936640001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 21:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 21:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241936640001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 21:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":191729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:59:17] local.INFO: GPS data processed {"connection_id":191729,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:59:17] local.INFO: Acknowledgment sent {"connection_id":191729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:59:17] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:17] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:17] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:59:17] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878414,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:59:18] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:59:18] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 21:59:49] local.INFO: TCP Data received {"connection_id":188977,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188977,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:49] local.INFO: Processing buffer {"connection_id":188977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 21:59:49] local.INFO: Packet analysis {"connection_id":188977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:59:49] local.INFO: Extracted packet for processing {"connection_id":188977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 21:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 21:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 21:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 21:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 21:59:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 21:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 21:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 21:59:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 21:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 21:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 21:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 21:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 21:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 21:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 21:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 21:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 21:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 21:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 21:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 21:59:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 21:59:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 21:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 21:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 21:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 21:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":188977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 21:59:49] local.INFO: GPS data processed {"connection_id":188977,"processed":1,"errors":0,"total":1} 
[2026-09-21 21:59:49] local.INFO: Acknowledgment sent {"connection_id":188977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:00:02] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:02] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:02] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:00:05] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:05] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:00:05] local.INFO: IMEI packet received {"connection_id":191730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":191730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:00:06] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:06] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:06] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:00:06] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:00:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:00:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:00:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:00:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:00:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:00:06] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:00:06] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:00:06] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:00:06] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:00:11] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:11] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:11] local.INFO: IMEI packet received {"connection_id":189137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":189137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:00:17] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:17] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:00:17] local.INFO: IMEI packet received {"connection_id":189137,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":189137,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:00:18] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:18] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:18] local.INFO: Packet analysis {"connection_id":189137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:00:18] local.INFO: Extracted packet for processing {"connection_id":189137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:00:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:00:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 22:00:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:00:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:00:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:00:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:00:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:00:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:00:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:00:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:00:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:00:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:00:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:00:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:00:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:00:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:00:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:00:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:00:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:00:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:00:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:00:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:00:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:00:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":189137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:00:18] local.INFO: GPS data processed {"connection_id":189137,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:00:18] local.INFO: Acknowledgment sent {"connection_id":189137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:00:37] local.INFO: TCP Data received {"connection_id":191730,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191730,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:37] local.INFO: Processing buffer {"connection_id":191730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:00:37] local.INFO: Packet analysis {"connection_id":191730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:00:37] local.INFO: Extracted packet for processing {"connection_id":191730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:00:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:00:37] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:00:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:00:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:00:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:00:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:00:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:00:37] local.INFO: Teltonika packet parsed successfully {"connection_id":191730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:00:37] local.INFO: Passing IMEI to GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:00:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":191730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:00: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-09-21 22:00:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:00:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:00:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:00:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:00:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:00:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:00:37] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:00:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:00:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:00:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:00:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:00:37] local.INFO: DEBUG: GPS processor result {"connection_id":191730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:00:37] local.INFO: GPS data processed {"connection_id":191730,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:00:37] local.INFO: Acknowledgment sent {"connection_id":191730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:00:39] local.INFO: TCP Data received {"connection_id":191731,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:00:39] local.INFO: Processing buffer {"connection_id":191731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:00:39] local.INFO: IMEI packet received {"connection_id":191731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:00:39] local.INFO: IMEI acknowledgment sent {"connection_id":191731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:00:49] local.INFO: TCP Data received {"connection_id":189137,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189137,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:49] local.INFO: Processing buffer {"connection_id":189137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:00:49] local.INFO: Packet analysis {"connection_id":189137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:00:49] local.INFO: Extracted packet for processing {"connection_id":189137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 22:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189137,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:00:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:00:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":189137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:00:49] local.INFO: GPS data processed {"connection_id":189137,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:00:49] local.INFO: Acknowledgment sent {"connection_id":189137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:01:02] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:02] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:02] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:01:07] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:07] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:01:07] local.INFO: IMEI packet received {"connection_id":191732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":191732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:01:09] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:09] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:09] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:01:09] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:01:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:01:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:01:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:01:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:01:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:01: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-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:01:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:01:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:01:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:01:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:01:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:01:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:01:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:01:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:01:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:01:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:01:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:01:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:01:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:01:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:01:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:01:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:01:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:01:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:01:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:01:09] local.INFO: DEBUG: GPS processor result {"connection_id":191732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:01:09] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:01:09] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:01:14] local.INFO: TCP Data received {"connection_id":190444,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:01:14] local.INFO: Processing buffer {"connection_id":190444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:01:14] local.INFO: IMEI packet received {"connection_id":190444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":190444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:01:17] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:17] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:17] local.INFO: IMEI packet received {"connection_id":190445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":190445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:01:22] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:22] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:01:22] local.INFO: IMEI packet received {"connection_id":190445,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":190445,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:01:22] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:22] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:22] local.INFO: Packet analysis {"connection_id":190445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:01:22] local.INFO: Extracted packet for processing {"connection_id":190445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 22:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16128,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":190445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:01:23] local.INFO: GPS data processed {"connection_id":190445,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:01:23] local.INFO: Acknowledgment sent {"connection_id":190445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:01:27] local.INFO: TCP Data received {"connection_id":190445,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190445,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:27] local.INFO: Processing buffer {"connection_id":190445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4c9f160012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:01:27] local.INFO: Packet analysis {"connection_id":190445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:01:27] local.INFO: Extracted packet for processing {"connection_id":190445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4c9"} 
[2026-09-21 22:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458241961728001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790007964000,"timestamp_ms":1790007964000,"timestamp_seconds":1790007964,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4c9f160"} 
[2026-09-21 22:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:01: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-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:01: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-09-21 22:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190445,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458241961728001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458241961728001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458241961728001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":190445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878422,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:01:27] local.INFO: GPS data processed {"connection_id":190445,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:01:27] local.INFO: Acknowledgment sent {"connection_id":190445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:01:41] local.INFO: TCP Data received {"connection_id":191732,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191732,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:41] local.INFO: Processing buffer {"connection_id":191732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:01:41] local.INFO: Packet analysis {"connection_id":191732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:01:41] local.INFO: Extracted packet for processing {"connection_id":191732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:01:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:01: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-09-21 22:01:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:01:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:01:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:01:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:01:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:01:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:01:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:01:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:01:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:01:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:01:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:01:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:01:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:01:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:01:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:01:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:01:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:01:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:01:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:01:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:01:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:01:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:01:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:01:41] local.INFO: DEBUG: GPS processor result {"connection_id":191732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:01:41] local.INFO: GPS data processed {"connection_id":191732,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:01:41] local.INFO: Acknowledgment sent {"connection_id":191732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:02:02] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:02] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:02] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:02:02] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:02:07] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:07] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:02:07] local.INFO: IMEI packet received {"connection_id":191733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":191733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:02:08] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:08] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:08] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:02:08] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:02:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:02:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:02:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:02:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:02:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:02:08] local.INFO: GPS data processed {"connection_id":191733,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:02:08] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:02:12] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:12] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:12] local.INFO: IMEI packet received {"connection_id":189138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:02:12] local.INFO: IMEI acknowledgment sent {"connection_id":189138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:02:17] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:17] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:02:17] local.INFO: IMEI packet received {"connection_id":189138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":189138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:02:17] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:17] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:17] local.INFO: Packet analysis {"connection_id":189138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:02:17] local.INFO: Extracted packet for processing {"connection_id":189138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:02:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:02:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":189138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:02:18] local.INFO: GPS data processed {"connection_id":189138,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:02:18] local.INFO: Acknowledgment sent {"connection_id":189138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:02:39] local.INFO: TCP Data received {"connection_id":191733,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191733,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:39] local.INFO: Processing buffer {"connection_id":191733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:02:39] local.INFO: Packet analysis {"connection_id":191733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:02:39] local.INFO: Extracted packet for processing {"connection_id":191733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:02: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-09-21 22:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":191733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:02:39] local.INFO: GPS data processed {"connection_id":191733,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:02:39] local.INFO: Acknowledgment sent {"connection_id":191733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:02:49] local.INFO: TCP Data received {"connection_id":189138,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189138,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:49] local.INFO: Processing buffer {"connection_id":189138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:02:49] local.INFO: Packet analysis {"connection_id":189138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:02:49] local.INFO: Extracted packet for processing {"connection_id":189138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:02:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:02:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:02:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:02:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:02:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:02:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:02:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:02:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:02:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:02:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:02:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:02:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:02:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:02:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:02:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:02:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:02:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:02:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:02:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:02:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:02:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:02:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:02:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:02:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:02:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:02:49] local.INFO: DEBUG: GPS processor result {"connection_id":189138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:02:49] local.INFO: GPS data processed {"connection_id":189138,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:02:49] local.INFO: Acknowledgment sent {"connection_id":189138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:03:07] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:07] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:07] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:03:12] local.INFO: TCP Data received {"connection_id":188978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:12] local.INFO: Processing buffer {"connection_id":188978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:12] local.INFO: IMEI packet received {"connection_id":188978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":188978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:03:12] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:12] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:03:12] local.INFO: IMEI packet received {"connection_id":191734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":191734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:03:13] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:13] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:13] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:03:13] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:03:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:03:13] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:03:13] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:03:17] local.INFO: TCP Data received {"connection_id":188978,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:17] local.INFO: Processing buffer {"connection_id":188978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:03:17] local.INFO: IMEI packet received {"connection_id":188978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":188978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:03:17] local.INFO: TCP Data received {"connection_id":191734,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191734,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:17] local.INFO: Processing buffer {"connection_id":191734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:03:17] local.INFO: Packet analysis {"connection_id":191734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:03:17] local.INFO: Extracted packet for processing {"connection_id":191734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":191734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:03:17] local.INFO: GPS data processed {"connection_id":191734,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:03:17] local.INFO: Acknowledgment sent {"connection_id":191734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:03:17] local.INFO: TCP Data received {"connection_id":188978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:17] local.INFO: Processing buffer {"connection_id":188978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:17] local.INFO: Packet analysis {"connection_id":188978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:03:17] local.INFO: Extracted packet for processing {"connection_id":188978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":188978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:03:18] local.INFO: GPS data processed {"connection_id":188978,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:03:18] local.INFO: Acknowledgment sent {"connection_id":188978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:03:49] local.INFO: TCP Data received {"connection_id":188978,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188978,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:49] local.INFO: Processing buffer {"connection_id":188978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:03:49] local.INFO: Packet analysis {"connection_id":188978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:03:49] local.INFO: Extracted packet for processing {"connection_id":188978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:03:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":188978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:03:49] local.INFO: GPS data processed {"connection_id":188978,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:03:49] local.INFO: Acknowledgment sent {"connection_id":188978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:04:02] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:02] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:02] local.INFO: IMEI packet received {"connection_id":189140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":189140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:04:07] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:07] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:04:07] local.INFO: IMEI packet received {"connection_id":189140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":189140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:04:08] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:08] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:08] local.INFO: Packet analysis {"connection_id":189140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:04:08] local.INFO: Extracted packet for processing {"connection_id":189140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:04:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:04:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:04:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:04:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:04:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:04:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:04:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:04:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:04:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:04:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:04:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:04:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:04:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:04:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:04:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:04:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:04:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:04:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:04:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:04:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:04:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:04:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:04:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:04:08] local.INFO: DEBUG: GPS processor result {"connection_id":189140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:04:08] local.INFO: GPS data processed {"connection_id":189140,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:04:08] local.INFO: Acknowledgment sent {"connection_id":189140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:04:11] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:11] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:11] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:04:17] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:17] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:04:17] local.INFO: IMEI packet received {"connection_id":191736,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":191736,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:04:18] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:18] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:18] local.INFO: Packet analysis {"connection_id":191736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:04:18] local.INFO: Extracted packet for processing {"connection_id":191736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:04:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:04:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":191736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:04:18] local.INFO: GPS data processed {"connection_id":191736,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:04:18] local.INFO: Acknowledgment sent {"connection_id":191736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:04:39] local.INFO: TCP Data received {"connection_id":189140,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189140,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:39] local.INFO: Processing buffer {"connection_id":189140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4cd0a58012d34c14006aa40600003000c29..."} 
[2026-09-21 22:04:39] local.INFO: Packet analysis {"connection_id":189140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:04:39] local.INFO: Extracted packet for processing {"connection_id":189140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4cd"} 
[2026-09-21 22:04:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":3,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:04:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:04:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242013696001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:04:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008167000,"timestamp_ms":1790008167000,"timestamp_seconds":1790008167,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4cd0a58"} 
[2026-09-21 22:04:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:04:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:04:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:04:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:04:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:04:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:04:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:04:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:04:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:04:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:04:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:04:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:04:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242013696001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:04:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:04:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:04:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242013696001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:04:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:04:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:04:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:04:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:04:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242013696001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:04:39] local.INFO: DEBUG: GPS processor result {"connection_id":189140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:04:39] local.INFO: GPS data processed {"connection_id":189140,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:04:39] local.INFO: Acknowledgment sent {"connection_id":189140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:04:49] local.INFO: TCP Data received {"connection_id":191736,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191736,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:49] local.INFO: Processing buffer {"connection_id":191736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:04:49] local.INFO: Packet analysis {"connection_id":191736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:04:49] local.INFO: Extracted packet for processing {"connection_id":191736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:04:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:04:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:04:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:04:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:04:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:04:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:04:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:04:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:04:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:04:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:04:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:04:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:04:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191736,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:04:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:04:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:04:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:04:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:04:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:04:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:04:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:04:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:04:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:04:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:04:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:04:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:04:49] local.INFO: DEBUG: GPS processor result {"connection_id":191736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:04:49] local.INFO: GPS data processed {"connection_id":191736,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:04:49] local.INFO: Acknowledgment sent {"connection_id":191736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:05:02] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:02] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:02] local.INFO: IMEI packet received {"connection_id":189141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":189141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:05:06] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:06] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:05:06] local.INFO: IMEI packet received {"connection_id":189141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":189141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:05:07] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:07] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:07] local.INFO: Packet analysis {"connection_id":189141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:05:07] local.INFO: Extracted packet for processing {"connection_id":189141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:05:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:05:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:05:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:05:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:05:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:05: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-09-21 22:05:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:05:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:05:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:05:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:05:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:05:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:05:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:05:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:05:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:05:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:05:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:05:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:05:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:05:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:05:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:05:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:05:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:05:07] local.INFO: DEBUG: GPS processor result {"connection_id":189141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:05:07] local.INFO: GPS data processed {"connection_id":189141,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:05:07] local.INFO: Acknowledgment sent {"connection_id":189141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:05:11] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:11] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:11] local.INFO: IMEI packet received {"connection_id":189142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":189142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:05:17] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:17] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:05:17] local.INFO: IMEI packet received {"connection_id":189142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":189142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:05:17] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:17] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:17] local.INFO: Packet analysis {"connection_id":189142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:05:17] local.INFO: Extracted packet for processing {"connection_id":189142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:05:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":189142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:05:18] local.INFO: GPS data processed {"connection_id":189142,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:05:18] local.INFO: Acknowledgment sent {"connection_id":189142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:05:39] local.INFO: TCP Data received {"connection_id":189141,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189141,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:39] local.INFO: Processing buffer {"connection_id":189141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:05:39] local.INFO: Packet analysis {"connection_id":189141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:05:39] local.INFO: Extracted packet for processing {"connection_id":189141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:05:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":189141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:05:39] local.INFO: GPS data processed {"connection_id":189141,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:05:39] local.INFO: Acknowledgment sent {"connection_id":189141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:05:49] local.INFO: TCP Data received {"connection_id":189142,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189142,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:49] local.INFO: Processing buffer {"connection_id":189142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:05:49] local.INFO: Packet analysis {"connection_id":189142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:05:49] local.INFO: Extracted packet for processing {"connection_id":189142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:05:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:05:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":189142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:05:49] local.INFO: GPS data processed {"connection_id":189142,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:05:49] local.INFO: Acknowledgment sent {"connection_id":189142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:06:02] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:02] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:02] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:06:02] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:06:07] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:07] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:06:07] local.INFO: IMEI packet received {"connection_id":188980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":188980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:06:08] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:08] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:08] local.INFO: Packet analysis {"connection_id":188980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:06:08] local.INFO: Extracted packet for processing {"connection_id":188980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:06:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:06:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 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-09-21 22:06:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:06:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:06:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:06:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:06:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:06:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:06: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-09-21 22:06:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:06:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:06:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:06:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:06:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:06:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:06:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:06:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:06:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:06:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:06:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:06:08] local.INFO: DEBUG: GPS processor result {"connection_id":188980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:06:08] local.INFO: GPS data processed {"connection_id":188980,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:06:08] local.INFO: Acknowledgment sent {"connection_id":188980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:06:17] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:17] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:17] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:06:21] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:21] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:06:21] local.INFO: IMEI packet received {"connection_id":191739,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":191739,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:06:22] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:22] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:22] local.INFO: Packet analysis {"connection_id":191739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:06:22] local.INFO: Extracted packet for processing {"connection_id":191739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:06:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:06:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:06:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:06:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:06:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":191739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:06:22] local.INFO: GPS data processed {"connection_id":191739,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:06:22] local.INFO: Acknowledgment sent {"connection_id":191739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:06:27] local.INFO: TCP Data received {"connection_id":191739,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191739,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:27] local.INFO: Processing buffer {"connection_id":191739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ce8928012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:06:27] local.INFO: Packet analysis {"connection_id":191739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:06:27] local.INFO: Extracted packet for processing {"connection_id":191739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ce"} 
[2026-09-21 22:06:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242038784001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790008265000,"timestamp_ms":1790008265000,"timestamp_seconds":1790008265,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ce8928"} 
[2026-09-21 22:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:06: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-09-21 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-09-21 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-09-21 22:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191739,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242038784001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242038784001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:06:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:06:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242038784001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":191739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:06:27] local.INFO: GPS data processed {"connection_id":191739,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:06:27] local.INFO: Acknowledgment sent {"connection_id":191739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:06:39] local.INFO: TCP Data received {"connection_id":188980,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188980,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:39] local.INFO: Processing buffer {"connection_id":188980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:06:39] local.INFO: Packet analysis {"connection_id":188980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:06:39] local.INFO: Extracted packet for processing {"connection_id":188980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:06:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:06:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:06:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:06:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:06:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:06:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:06:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:06:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:06:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:06:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:06:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:06:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:06:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:06: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-09-21 22:06:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:06:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:06:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:06:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:06:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:06:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:06:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:06:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:06:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:06:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:06:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:06:39] local.INFO: TCP Data received {"connection_id":191738,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:06:39] local.INFO: Processing buffer {"connection_id":191738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:06:39] local.INFO: IMEI packet received {"connection_id":191738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":191738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:06:39] local.INFO: DEBUG: GPS processor result {"connection_id":188980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:06:39] local.INFO: GPS data processed {"connection_id":188980,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:06:39] local.INFO: Acknowledgment sent {"connection_id":188980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:07:02] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:02] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:02] local.INFO: IMEI packet received {"connection_id":188981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":188981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:07:07] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:07] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:07:07] local.INFO: IMEI packet received {"connection_id":188981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":188981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:07:08] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:08] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:08] local.INFO: Packet analysis {"connection_id":188981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:07:08] local.INFO: Extracted packet for processing {"connection_id":188981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 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-09-21 22:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:07:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:07:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":188981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:07:08] local.INFO: GPS data processed {"connection_id":188981,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:07:08] local.INFO: Acknowledgment sent {"connection_id":188981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:07:11] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:11] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:11] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:07:14] local.INFO: TCP Data received {"connection_id":191741,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:07:14] local.INFO: Processing buffer {"connection_id":191741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:07:14] local.INFO: IMEI packet received {"connection_id":191741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":191741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:07:17] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:17] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:07:17] local.INFO: IMEI packet received {"connection_id":191740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":191740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:07:18] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:18] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:18] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:07:18] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:07:18] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:07:18] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:07:39] local.INFO: TCP Data received {"connection_id":188981,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188981,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:39] local.INFO: Processing buffer {"connection_id":188981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:07:39] local.INFO: Packet analysis {"connection_id":188981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:07:39] local.INFO: Extracted packet for processing {"connection_id":188981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:07:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:07:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":188981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:07:39] local.INFO: GPS data processed {"connection_id":188981,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:07:39] local.INFO: Acknowledgment sent {"connection_id":188981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:07:49] local.INFO: TCP Data received {"connection_id":191740,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191740,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:49] local.INFO: Processing buffer {"connection_id":191740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:07:49] local.INFO: Packet analysis {"connection_id":191740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:07:49] local.INFO: Extracted packet for processing {"connection_id":191740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":191740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:07:49] local.INFO: GPS data processed {"connection_id":191740,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:07:49] local.INFO: Acknowledgment sent {"connection_id":191740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:08:02] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:02] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:02] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:08:07] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:07] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:08:07] local.INFO: IMEI packet received {"connection_id":191742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":191742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:08:09] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:09] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:09] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:08:09] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:08:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:08:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:08:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:08:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:08: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-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:08:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:08:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:08:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:08:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:08:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:08:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:08:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:08:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:08:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:08:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:08:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:08:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:08:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:08:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:08:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:08:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:08:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:08:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:08:09] local.INFO: DEBUG: GPS processor result {"connection_id":191742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:08:09] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:08:09] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:08:11] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:11] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:11] local.INFO: IMEI packet received {"connection_id":190446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":190446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:08:17] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:17] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:08:17] local.INFO: IMEI packet received {"connection_id":190446,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":190446,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:08:17] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:17] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:17] local.INFO: Packet analysis {"connection_id":190446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:08:17] local.INFO: Extracted packet for processing {"connection_id":190446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:08:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:08:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:08:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":190446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878449,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:08:18] local.INFO: GPS data processed {"connection_id":190446,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:08:18] local.INFO: Acknowledgment sent {"connection_id":190446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:08:40] local.INFO: TCP Data received {"connection_id":191742,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191742,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:40] local.INFO: Processing buffer {"connection_id":191742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:08:40] local.INFO: Packet analysis {"connection_id":191742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:08:40] local.INFO: Extracted packet for processing {"connection_id":191742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:08:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:08:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:08:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:08:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:08:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:08:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:08:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:08:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:08:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:08:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:08:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:08:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:08:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:08:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:08:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:08:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:08:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:08:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:08:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:08:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:08:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:08:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:08:40] local.INFO: DEBUG: GPS processor result {"connection_id":191742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:08:40] local.INFO: GPS data processed {"connection_id":191742,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:08:40] local.INFO: Acknowledgment sent {"connection_id":191742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:08:49] local.INFO: TCP Data received {"connection_id":190446,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190446,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:49] local.INFO: Processing buffer {"connection_id":190446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:08:49] local.INFO: Packet analysis {"connection_id":190446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:08:49] local.INFO: Extracted packet for processing {"connection_id":190446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:08:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:08:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:08:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:08:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:08:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:08:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:08:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:08:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:08:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:08:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:08:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:08:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:08:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:08:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190446,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:08:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:08:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:08:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:08:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:08:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:08:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:08:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:08:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:08:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:08:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:08:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:08:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:08:49] local.INFO: DEBUG: GPS processor result {"connection_id":190446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:08:49] local.INFO: GPS data processed {"connection_id":190446,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:08:49] local.INFO: Acknowledgment sent {"connection_id":190446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:09:07] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:07] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:07] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:09:12] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:12] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:09:12] local.INFO: IMEI packet received {"connection_id":191743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:09:13] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:13] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:13] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:09:13] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:09:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:09:13] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:09:13] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:09:17] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:17] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:17] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:09:19] local.INFO: TCP Data received {"connection_id":191743,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191743,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:19] local.INFO: Processing buffer {"connection_id":191743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d1a220012d34c14006aa40600009000c28..."} 
[2026-09-21 22:09:19] local.INFO: Packet analysis {"connection_id":191743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:09:19] local.INFO: Extracted packet for processing {"connection_id":191743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d1"} 
[2026-09-21 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:09:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242090752001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:09:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790008468000,"timestamp_ms":1790008468000,"timestamp_seconds":1790008468,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d1a220"} 
[2026-09-21 22:09:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:09:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:09:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:09:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:09:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:09:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:09:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:09:19] local.INFO: Teltonika packet parsed successfully {"connection_id":191743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:09:19] local.INFO: Passing IMEI to GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:09:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":191743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:09:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:09:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:09:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:09:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242090752001,"66":25321,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:09:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:09:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:09:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242090752001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:09:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:09:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:09:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:09:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:09:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242090752001,"power":25321,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:09:19] local.INFO: DEBUG: GPS processor result {"connection_id":191743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:09:19] local.INFO: GPS data processed {"connection_id":191743,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:09:19] local.INFO: Acknowledgment sent {"connection_id":191743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:09:22] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:22] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:09:22] local.INFO: IMEI packet received {"connection_id":191744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":191744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:09:24] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:24] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:24] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:09:24] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:09:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:09:24] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:09:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:09:25] local.INFO: DEBUG: GPS processor result {"connection_id":191744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878454,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:09:25] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:09:25] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:09:27] local.INFO: TCP Data received {"connection_id":191744,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191744,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:27] local.INFO: Processing buffer {"connection_id":191744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:09:27] local.INFO: Packet analysis {"connection_id":191744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:09:27] local.INFO: Extracted packet for processing {"connection_id":191744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:09: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-09-21 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 22:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:09:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":191744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:09:27] local.INFO: GPS data processed {"connection_id":191744,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:09:27] local.INFO: Acknowledgment sent {"connection_id":191744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:10:02] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:02] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:02] local.INFO: IMEI packet received {"connection_id":189143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":189143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:10:07] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:07] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:10:07] local.INFO: IMEI packet received {"connection_id":189143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":189143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:10:08] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:08] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:08] local.INFO: Packet analysis {"connection_id":189143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:10:08] local.INFO: Extracted packet for processing {"connection_id":189143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 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-09-21 22:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:10:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 22:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":189143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:10:08] local.INFO: GPS data processed {"connection_id":189143,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:10:08] local.INFO: Acknowledgment sent {"connection_id":189143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:10:12] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:12] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:12] local.INFO: IMEI packet received {"connection_id":188984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":188984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:10:17] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:17] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:10:17] local.INFO: IMEI packet received {"connection_id":188984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":188984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:10:18] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:18] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:18] local.INFO: Packet analysis {"connection_id":188984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:10:18] local.INFO: Extracted packet for processing {"connection_id":188984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:10:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:10:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:10:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:10:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:10:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:10:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:10:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:10:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:10:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:10:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:10:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:10:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:10:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:10:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:10:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:10:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:10:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:10:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:10:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:10:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:10:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:10:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:10:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:10:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:10:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:10:18] local.INFO: DEBUG: GPS processor result {"connection_id":188984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:10:18] local.INFO: GPS data processed {"connection_id":188984,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:10:18] local.INFO: Acknowledgment sent {"connection_id":188984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:10:39] local.INFO: TCP Data received {"connection_id":189143,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189143,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:39] local.INFO: Processing buffer {"connection_id":189143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:10:39] local.INFO: Packet analysis {"connection_id":189143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:10:39] local.INFO: Extracted packet for processing {"connection_id":189143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:10:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:10:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:10:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:10:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:10:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:10:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:10:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:10:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:10:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:10:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:10:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:10: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-09-21 22:10:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:10:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:10:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:10:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:10:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:10:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:10:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:10:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:10:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:10:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:10:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:10:39] local.INFO: DEBUG: GPS processor result {"connection_id":189143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:10:39] local.INFO: GPS data processed {"connection_id":189143,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:10:39] local.INFO: Acknowledgment sent {"connection_id":189143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:10:49] local.INFO: TCP Data received {"connection_id":188984,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188984,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:49] local.INFO: Processing buffer {"connection_id":188984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:10:49] local.INFO: Packet analysis {"connection_id":188984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:10:49] local.INFO: Extracted packet for processing {"connection_id":188984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:10:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":188984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:10:49] local.INFO: GPS data processed {"connection_id":188984,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:10:49] local.INFO: Acknowledgment sent {"connection_id":188984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:11:02] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:02] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:02] local.INFO: IMEI packet received {"connection_id":190447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":190447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:11:07] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:07] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:11:07] local.INFO: IMEI packet received {"connection_id":190447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":190447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:11:08] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:08] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:08] local.INFO: Packet analysis {"connection_id":190447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:11:08] local.INFO: Extracted packet for processing {"connection_id":190447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:11:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:11: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-09-21 22:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":190447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:11:08] local.INFO: GPS data processed {"connection_id":190447,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:11:08] local.INFO: Acknowledgment sent {"connection_id":190447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:11:12] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:12] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:12] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:11:17] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:17] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:11:17] local.INFO: IMEI packet received {"connection_id":191746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":191746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:11:18] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:11:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:11:18] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d320f0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:11:18] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:11:18] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d3"} 
[2026-09-21 22:11:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:11:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242115840001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:11:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790008566000,"timestamp_ms":1790008566000,"timestamp_seconds":1790008566,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d320f0"} 
[2026-09-21 22:11:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:11:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:11:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:11:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:11:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:11:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:11:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:11:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:11:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:11:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:11:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:11:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:11:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:11:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242115840001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:11:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:11:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:11:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242115840001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:11:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:11:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:11:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:11:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:11:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242115840001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":191746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:11:18] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:11:18] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:11:39] local.INFO: TCP Data received {"connection_id":190447,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190447,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:39] local.INFO: Processing buffer {"connection_id":190447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:11:39] local.INFO: Packet analysis {"connection_id":190447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:11:39] local.INFO: Extracted packet for processing {"connection_id":190447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:11:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:11:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:11:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:11:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:11:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:11:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:11:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:11:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:11:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:11:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:11:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:11:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:11: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-09-21 22:11:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:11:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:11:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:11:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:11:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:11:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:11:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:11:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:11:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:11:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:11:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:11:39] local.INFO: DEBUG: GPS processor result {"connection_id":190447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:11:39] local.INFO: GPS data processed {"connection_id":190447,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:11:39] local.INFO: Acknowledgment sent {"connection_id":190447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:11:49] local.INFO: TCP Data received {"connection_id":191746,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191746,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:11:49] local.INFO: Processing buffer {"connection_id":191746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:11:49] local.INFO: Packet analysis {"connection_id":191746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:11:49] local.INFO: Extracted packet for processing {"connection_id":191746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191746,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":191746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:11:49] local.INFO: GPS data processed {"connection_id":191746,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:11:49] local.INFO: Acknowledgment sent {"connection_id":191746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:12:02] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:02] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:02] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:12:07] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:07] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:12:07] local.INFO: IMEI packet received {"connection_id":188986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":188986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:12:08] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:08] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:08] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:12:08] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:12:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:12:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:12:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:12:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:12:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:12:08] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:12:08] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:12:11] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:11] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:11] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:12:17] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:17] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:12:17] local.INFO: IMEI packet received {"connection_id":188987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":188987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:12:17] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:17] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:17] local.INFO: Packet analysis {"connection_id":188987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:12:17] local.INFO: Extracted packet for processing {"connection_id":188987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:12:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:12:18] local.INFO: DEBUG: GPS processor result {"connection_id":188987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:12:18] local.INFO: GPS data processed {"connection_id":188987,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:12:18] local.INFO: Acknowledgment sent {"connection_id":188987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:12:39] local.INFO: TCP Data received {"connection_id":188986,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188986,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:39] local.INFO: Processing buffer {"connection_id":188986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:12:39] local.INFO: Packet analysis {"connection_id":188986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:12:39] local.INFO: Extracted packet for processing {"connection_id":188986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:12:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:12:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:12:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:12:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:12:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:12:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:12:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:12:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:12:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:12:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:12: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-09-21 22:12:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:12:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:12:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:12:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:12:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:12:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:12:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:12:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:12:39] local.INFO: DEBUG: GPS processor result {"connection_id":188986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:12:39] local.INFO: GPS data processed {"connection_id":188986,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:12:39] local.INFO: Acknowledgment sent {"connection_id":188986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:12:39] local.INFO: TCP Data received {"connection_id":188988,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:12:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:12:39] local.INFO: Processing buffer {"connection_id":188988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:12:39] local.INFO: IMEI packet received {"connection_id":188988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:12:39] local.INFO: IMEI acknowledgment sent {"connection_id":188988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:12:49] local.INFO: TCP Data received {"connection_id":188987,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188987,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:49] local.INFO: Processing buffer {"connection_id":188987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:12:49] local.INFO: Packet analysis {"connection_id":188987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:12:49] local.INFO: Extracted packet for processing {"connection_id":188987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:12:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:12:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:12:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:12:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:12:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:12:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:12:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:12:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:12:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:12:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:12:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:12:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:12:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:12:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:12:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:12:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:12:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:12:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:12:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:12:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:12:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:12:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:12:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:12:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:12:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:12:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:12:49] local.INFO: DEBUG: GPS processor result {"connection_id":188987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:12:49] local.INFO: GPS data processed {"connection_id":188987,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:12:49] local.INFO: Acknowledgment sent {"connection_id":188987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:13:02] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:02] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:02] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:13:07] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:07] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:13:07] local.INFO: IMEI packet received {"connection_id":190448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":190448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:13:08] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:08] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:08] local.INFO: Packet analysis {"connection_id":190448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:13:08] local.INFO: Extracted packet for processing {"connection_id":190448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 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-09-21 22:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:13:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:13: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-09-21 22:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":190448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:13:08] local.INFO: GPS data processed {"connection_id":190448,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:13:08] local.INFO: Acknowledgment sent {"connection_id":190448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:13:14] local.INFO: TCP Data received {"connection_id":189144,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:13:14] local.INFO: Processing buffer {"connection_id":189144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:13:14] local.INFO: IMEI packet received {"connection_id":189144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":189144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:13:17] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:17] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:17] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:13:21] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:21] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:13:21] local.INFO: IMEI packet received {"connection_id":190449,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":190449,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:13:22] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:22] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:22] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:13:22] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:13:22] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:13:22] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:13:27] local.INFO: TCP Data received {"connection_id":190449,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190449,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:27] local.INFO: Processing buffer {"connection_id":190449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:13:27] local.INFO: Packet analysis {"connection_id":190449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:13:27] local.INFO: Extracted packet for processing {"connection_id":190449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 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-09-21 22:13: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-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:13: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-09-21 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-09-21 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-09-21 22:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190449,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":190449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:13:27] local.INFO: GPS data processed {"connection_id":190449,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:13:27] local.INFO: Acknowledgment sent {"connection_id":190449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:13:39] local.INFO: TCP Data received {"connection_id":190448,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190448,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:39] local.INFO: Processing buffer {"connection_id":190448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:13:39] local.INFO: Packet analysis {"connection_id":190448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:13:39] local.INFO: Extracted packet for processing {"connection_id":190448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:13:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:13:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:13:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:13:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:13:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:13:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:13:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:13:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:13:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:13:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:13:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:13:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:13:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:13:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:13:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:13:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:13:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:13:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:13:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:13:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:13:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:13:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:13:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:13:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:13:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:13:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:13:39] local.INFO: DEBUG: GPS processor result {"connection_id":190448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:13:39] local.INFO: GPS data processed {"connection_id":190448,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:13:39] local.INFO: Acknowledgment sent {"connection_id":190448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:14:08] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:14:08] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:14:08] local.INFO: IMEI packet received {"connection_id":188989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:14:08] local.INFO: IMEI acknowledgment sent {"connection_id":188989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:14:09] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:09] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:09] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:09] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:14:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:14:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:14:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:14: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-09-21 22:14:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:14: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-09-21 22:14:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:14:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:14:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:14:09] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:14:09] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:14:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:14:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:14:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:14:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:14:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:14:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:14:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:14:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:14:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:14:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:14:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:14:09] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:14:09] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:14:09] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:14:12] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:12] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:12] local.INFO: IMEI packet received {"connection_id":189145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":189145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:14:14] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:14] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:14] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:14] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 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-09-21 22:14:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:14:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:14:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:14:14] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:14:14] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:14:17] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:17] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:14:17] local.INFO: IMEI packet received {"connection_id":189145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":189145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:14:17] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:17] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:17] local.INFO: Packet analysis {"connection_id":189145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:14:17] local.INFO: Extracted packet for processing {"connection_id":189145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:14:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:14:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:14:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:14:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:14:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:14:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:14:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:14:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:14:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:14:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:14:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:14:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:14:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:14:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:14:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:14:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:14:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:14:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:14:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:14:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:14:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:14:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:14:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:14:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:14:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":189145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878474,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:14:18] local.INFO: GPS data processed {"connection_id":189145,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:14:18] local.INFO: Acknowledgment sent {"connection_id":189145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:14:46] local.INFO: TCP Data received {"connection_id":188989,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188989,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:46] local.INFO: Processing buffer {"connection_id":188989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:14:46] local.INFO: Packet analysis {"connection_id":188989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:46] local.INFO: Extracted packet for processing {"connection_id":188989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:14:46] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:14: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-09-21 22:14:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":188989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":188989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:14: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-09-21 22:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:14:46] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:14:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":188989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:14:46] local.INFO: GPS data processed {"connection_id":188989,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:14:46] local.INFO: Acknowledgment sent {"connection_id":188989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:14:49] local.INFO: TCP Data received {"connection_id":189145,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189145,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:49] local.INFO: Processing buffer {"connection_id":189145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:14:49] local.INFO: Packet analysis {"connection_id":189145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:14:49] local.INFO: Extracted packet for processing {"connection_id":189145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":189145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:14:49] local.INFO: GPS data processed {"connection_id":189145,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:14:49] local.INFO: Acknowledgment sent {"connection_id":189145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:15:02] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:02] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:02] local.INFO: IMEI packet received {"connection_id":190450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:15:07] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:07] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:15:07] local.INFO: IMEI packet received {"connection_id":190450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":190450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:15:08] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:15:08] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d639e8012d34c14006aa40600006000c29..."} 
[2026-09-21 22:15:08] local.INFO: Packet analysis {"connection_id":190450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:15:08] local.INFO: Extracted packet for processing {"connection_id":190450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d6"} 
[2026-09-21 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242167808001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790008769000,"timestamp_ms":1790008769000,"timestamp_seconds":1790008769,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d639e8"} 
[2026-09-21 22:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-09-21 22:15:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242167808001,"66":25375,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242167808001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242167808001,"power":25375,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":190450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:15:08] local.INFO: GPS data processed {"connection_id":190450,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:15:08] local.INFO: Acknowledgment sent {"connection_id":190450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:15:12] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:12] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:12] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:15:17] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:17] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:15:17] local.INFO: IMEI packet received {"connection_id":191747,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":191747,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:15:17] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:17] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:17] local.INFO: Packet analysis {"connection_id":191747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:15:17] local.INFO: Extracted packet for processing {"connection_id":191747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:15:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":191747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:15:18] local.INFO: GPS data processed {"connection_id":191747,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:15:18] local.INFO: Acknowledgment sent {"connection_id":191747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:15:39] local.INFO: TCP Data received {"connection_id":190450,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190450,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:15:39] local.INFO: Processing buffer {"connection_id":190450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:15:39] local.INFO: Packet analysis {"connection_id":190450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:15:39] local.INFO: Extracted packet for processing {"connection_id":190450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":190450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:15:39] local.INFO: GPS data processed {"connection_id":190450,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:15:39] local.INFO: Acknowledgment sent {"connection_id":190450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:15:49] local.INFO: TCP Data received {"connection_id":191747,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191747,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:49] local.INFO: Processing buffer {"connection_id":191747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:15:49] local.INFO: Packet analysis {"connection_id":191747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:15:49] local.INFO: Extracted packet for processing {"connection_id":191747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191747,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:15:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":191747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878480,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:15:49] local.INFO: GPS data processed {"connection_id":191747,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:15:49] local.INFO: Acknowledgment sent {"connection_id":191747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:16:02] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:02] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:02] local.INFO: IMEI packet received {"connection_id":189146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:16:02] local.INFO: IMEI acknowledgment sent {"connection_id":189146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:16:07] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:07] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:16:07] local.INFO: IMEI packet received {"connection_id":189146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":189146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:16:08] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:08] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:08] local.INFO: Packet analysis {"connection_id":189146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:16:08] local.INFO: Extracted packet for processing {"connection_id":189146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:16: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-09-21 22:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":189146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:16:08] local.INFO: GPS data processed {"connection_id":189146,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:16:08] local.INFO: Acknowledgment sent {"connection_id":189146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:16:12] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:12] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:12] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:16:17] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:17] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:16:17] local.INFO: IMEI packet received {"connection_id":191748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":191748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:16:18] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:16:18] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4d7b8b8012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:16:18] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:16:18] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4d7"} 
[2026-09-21 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:16:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242192896001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:16:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790008867000,"timestamp_ms":1790008867000,"timestamp_seconds":1790008867,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4d7b8b8"} 
[2026-09-21 22:16:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:16:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15360,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:16:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:16:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:16:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:16:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:16:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:16:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:16:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:16:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:16:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:16:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:16:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:16:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242192896001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:16:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:16:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:16:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242192896001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:16:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:16:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:16:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:16:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:16:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242192896001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:16:18] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:16:18] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:16:39] local.INFO: TCP Data received {"connection_id":189146,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189146,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:39] local.INFO: Processing buffer {"connection_id":189146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:16:39] local.INFO: Packet analysis {"connection_id":189146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:16:39] local.INFO: Extracted packet for processing {"connection_id":189146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:16:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:16:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:16:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:16:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:16:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:16:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:16:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:16:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:16:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:16:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:16:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:16:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:16: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-09-21 22:16:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:16:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:16:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:16:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:16:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:16:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:16:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:16:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:16:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:16:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:16:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:16:39] local.INFO: DEBUG: GPS processor result {"connection_id":189146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:16:39] local.INFO: GPS data processed {"connection_id":189146,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:16:39] local.INFO: Acknowledgment sent {"connection_id":189146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:16:49] local.INFO: TCP Data received {"connection_id":191748,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191748,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:16:49] local.INFO: Processing buffer {"connection_id":191748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:16:49] local.INFO: Packet analysis {"connection_id":191748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:16:49] local.INFO: Extracted packet for processing {"connection_id":191748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":191748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878484,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:16:49] local.INFO: GPS data processed {"connection_id":191748,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:16:49] local.INFO: Acknowledgment sent {"connection_id":191748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:17:17] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:17] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:17] local.INFO: IMEI packet received {"connection_id":190454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":190454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:17:22] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:22] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:17:22] local.INFO: IMEI packet received {"connection_id":190454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":190454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:17:22] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:22] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:22] local.INFO: Packet analysis {"connection_id":190454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:17:22] local.INFO: Extracted packet for processing {"connection_id":190454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:17:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:17:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:17:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:17:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:17:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:17:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:17:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:17:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:17:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:17:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:17:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:17:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:17:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:17:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:17:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:17:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:17:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:17:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:17:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:17:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:17:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:17:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:17:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:17:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:17:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":190454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:17:23] local.INFO: GPS data processed {"connection_id":190454,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:17:23] local.INFO: Acknowledgment sent {"connection_id":190454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:17:37] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:37] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:37] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:17:37] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:17:42] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:42] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:17:42] local.INFO: IMEI packet received {"connection_id":191749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:17:42] local.INFO: IMEI acknowledgment sent {"connection_id":191749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:17:43] local.INFO: TCP Data received {"connection_id":191749,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:17:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191749,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:17:43] local.INFO: Processing buffer {"connection_id":191749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:17:43] local.INFO: Packet analysis {"connection_id":191749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:17:43] local.INFO: Extracted packet for processing {"connection_id":191749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:17:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:17:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:17:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:17:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:17: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-09-21 22: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-09-21 22:17:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:17:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:17:43] local.INFO: Teltonika packet parsed successfully {"connection_id":191749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:17:43] local.INFO: Passing IMEI to GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:17:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":191749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:17: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-09-21 22:17:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:17:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:17:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:17:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:17:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:17:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:17:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:17:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:17:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:17:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:17:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:17:43] local.INFO: DEBUG: GPS processor result {"connection_id":191749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:17:43] local.INFO: GPS data processed {"connection_id":191749,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:17:43] local.INFO: Acknowledgment sent {"connection_id":191749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:17:54] local.INFO: TCP Data received {"connection_id":190454,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190454,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:54] local.INFO: Processing buffer {"connection_id":190454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:17:54] local.INFO: Packet analysis {"connection_id":190454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:17:54] local.INFO: Extracted packet for processing {"connection_id":190454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:17:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:17:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:17:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:17:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:17:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:17:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:17:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:17:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:17:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:17:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:17:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:17:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:17:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:17:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:17:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:17:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:17:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:17:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:17:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:17:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:17:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:17:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:17:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:17:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:17:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:17:54] local.INFO: DEBUG: GPS processor result {"connection_id":190454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:17:54] local.INFO: GPS data processed {"connection_id":190454,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:17:54] local.INFO: Acknowledgment sent {"connection_id":190454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:18:07] local.INFO: TCP Data received {"connection_id":189148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:07] local.INFO: Processing buffer {"connection_id":189148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:07] local.INFO: IMEI packet received {"connection_id":189148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":189148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:18:12] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:12] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:12] local.INFO: IMEI packet received {"connection_id":188991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":188991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:18:12] local.INFO: TCP Data received {"connection_id":189148,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:12] local.INFO: Processing buffer {"connection_id":189148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:18:12] local.INFO: IMEI packet received {"connection_id":189148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":189148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:18:13] local.INFO: TCP Data received {"connection_id":189148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:13] local.INFO: Processing buffer {"connection_id":189148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:13] local.INFO: Packet analysis {"connection_id":189148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:18:13] local.INFO: Extracted packet for processing {"connection_id":189148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:18:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:18:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:18: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-09-21 22:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:18:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:18:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":189148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:18:13] local.INFO: GPS data processed {"connection_id":189148,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:18:13] local.INFO: Acknowledgment sent {"connection_id":189148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:18:17] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:17] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:18:17] local.INFO: IMEI packet received {"connection_id":188991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":188991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:18:18] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:18] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:18] local.INFO: Packet analysis {"connection_id":188991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:18:18] local.INFO: Extracted packet for processing {"connection_id":188991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":188991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:18:18] local.INFO: GPS data processed {"connection_id":188991,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:18:18] local.INFO: Acknowledgment sent {"connection_id":188991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:18:18] local.INFO: TCP Data received {"connection_id":189148,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189148,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:18] local.INFO: Processing buffer {"connection_id":189148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:18:18] local.INFO: Packet analysis {"connection_id":189148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:18:18] local.INFO: Extracted packet for processing {"connection_id":189148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:18:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:18:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":189148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878490,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:18:18] local.INFO: GPS data processed {"connection_id":189148,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:18:18] local.INFO: Acknowledgment sent {"connection_id":189148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:18:39] local.INFO: TCP Data received {"connection_id":190455,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:18:39] local.INFO: Processing buffer {"connection_id":190455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:18:39] local.INFO: IMEI packet received {"connection_id":190455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:18:39] local.INFO: IMEI acknowledgment sent {"connection_id":190455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:18:49] local.INFO: TCP Data received {"connection_id":188991,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188991,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:49] local.INFO: Processing buffer {"connection_id":188991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:18:49] local.INFO: Packet analysis {"connection_id":188991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:18:49] local.INFO: Extracted packet for processing {"connection_id":188991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":188991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:18:49] local.INFO: GPS data processed {"connection_id":188991,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:18:49] local.INFO: Acknowledgment sent {"connection_id":188991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:19:02] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:02] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:02] local.INFO: IMEI packet received {"connection_id":190456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":190456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:19:07] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:07] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:19:07] local.INFO: IMEI packet received {"connection_id":190456,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":190456,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:19:08] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:08] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:08] local.INFO: Packet analysis {"connection_id":190456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:19:08] local.INFO: Extracted packet for processing {"connection_id":190456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:19:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:19:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:19:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:19:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:19:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":190456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:19:08] local.INFO: GPS data processed {"connection_id":190456,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:19:08] local.INFO: Acknowledgment sent {"connection_id":190456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:19:12] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:12] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:12] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:19:12] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:19:14] local.INFO: TCP Data received {"connection_id":191751,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:19:14] local.INFO: Processing buffer {"connection_id":191751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:19:14] local.INFO: IMEI packet received {"connection_id":191751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":191751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:19:17] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:17] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:19:17] local.INFO: IMEI packet received {"connection_id":191750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:19:17] local.INFO: IMEI acknowledgment sent {"connection_id":191750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:19:17] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:17] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:17] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:19:17] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":191750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:19:18] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:19:18] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:19:39] local.INFO: TCP Data received {"connection_id":190456,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190456,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:39] local.INFO: Processing buffer {"connection_id":190456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:19:39] local.INFO: Packet analysis {"connection_id":190456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:19:39] local.INFO: Extracted packet for processing {"connection_id":190456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190456,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:19:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":190456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:19:39] local.INFO: GPS data processed {"connection_id":190456,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:19:39] local.INFO: Acknowledgment sent {"connection_id":190456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:19:49] local.INFO: TCP Data received {"connection_id":191750,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191750,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:49] local.INFO: Processing buffer {"connection_id":191750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:19:49] local.INFO: Packet analysis {"connection_id":191750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:19:49] local.INFO: Extracted packet for processing {"connection_id":191750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:19:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:19:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:19:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:19:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:19:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:19:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:19:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":191750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:19:49] local.INFO: GPS data processed {"connection_id":191750,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:19:49] local.INFO: Acknowledgment sent {"connection_id":191750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:20:01] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:01] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:01] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:20:07] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:07] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:20:07] local.INFO: IMEI packet received {"connection_id":188992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":188992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:20:08] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:20:08] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dad1b0012d34c14006aa4060000c000c2b..."} 
[2026-09-21 22:20:08] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:20:08] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4da"} 
[2026-09-21 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242244864001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009070000,"timestamp_ms":1790009070000,"timestamp_seconds":1790009070,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dad1b0"} 
[2026-09-21 22:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":31,"data_length":795,"current_offset":136} 
[2026-09-21 22:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242244864001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242244864001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242244864001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:20:08] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:20:08] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:20:11] local.INFO: TCP Data received {"connection_id":190457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:11] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:11] local.INFO: IMEI packet received {"connection_id":190457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":190457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:20:17] local.INFO: TCP Data received {"connection_id":190457,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:17] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:20:17] local.INFO: IMEI packet received {"connection_id":190457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":190457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:20:17] local.INFO: TCP Data received {"connection_id":190457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:17] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:17] local.INFO: Packet analysis {"connection_id":190457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:20:17] local.INFO: Extracted packet for processing {"connection_id":190457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":190457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:20:18] local.INFO: GPS data processed {"connection_id":190457,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:20:18] local.INFO: Acknowledgment sent {"connection_id":190457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:20:39] local.INFO: TCP Data received {"connection_id":188992,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:20:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188992,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:20:39] local.INFO: Processing buffer {"connection_id":188992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:20:39] local.INFO: Packet analysis {"connection_id":188992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:20:39] local.INFO: Extracted packet for processing {"connection_id":188992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:20:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:20:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:20:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:20:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:20:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:20:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:20: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-09-21 22:20:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:20:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:20:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:20:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:20:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:20:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:20:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:20:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:20:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:20:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:20:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:20:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:20:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:20:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:20:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:20:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:20:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:20:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:20:39] local.INFO: DEBUG: GPS processor result {"connection_id":188992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:20:39] local.INFO: GPS data processed {"connection_id":188992,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:20:39] local.INFO: Acknowledgment sent {"connection_id":188992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:20:49] local.INFO: TCP Data received {"connection_id":190457,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190457,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:49] local.INFO: Processing buffer {"connection_id":190457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:20:49] local.INFO: Packet analysis {"connection_id":190457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:20:49] local.INFO: Extracted packet for processing {"connection_id":190457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:20:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":190457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:20:49] local.INFO: GPS data processed {"connection_id":190457,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:20:49] local.INFO: Acknowledgment sent {"connection_id":190457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:21:02] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:02] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:02] local.INFO: IMEI packet received {"connection_id":190459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":190459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:21:07] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:07] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:21:07] local.INFO: IMEI packet received {"connection_id":190459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":190459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:21:08] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:08] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:08] local.INFO: Packet analysis {"connection_id":190459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:21:08] local.INFO: Extracted packet for processing {"connection_id":190459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:21:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:21:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:21:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:21:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:21:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:21:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:21:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:21:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:21:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:21:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:21:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:21:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:21:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:21:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:21:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:21:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:21:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:21:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:21:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:21:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:21:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:21:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:21:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:21:08] local.INFO: DEBUG: GPS processor result {"connection_id":190459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:21:08] local.INFO: GPS data processed {"connection_id":190459,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:21:08] local.INFO: Acknowledgment sent {"connection_id":190459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:21:11] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:11] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:11] local.INFO: IMEI packet received {"connection_id":190460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":190460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:21:17] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:17] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:21:17] local.INFO: IMEI packet received {"connection_id":190460,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":190460,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:21:17] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:21:17] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4dc5080012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:21:17] local.INFO: Packet analysis {"connection_id":190460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:21:17] local.INFO: Extracted packet for processing {"connection_id":190460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4dc"} 
[2026-09-21 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242269952001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009168000,"timestamp_ms":1790009168000,"timestamp_seconds":1790009168,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4dc5080"} 
[2026-09-21 22:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242269952001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242269952001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242269952001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":190460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:21:17] local.INFO: GPS data processed {"connection_id":190460,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:21:17] local.INFO: Acknowledgment sent {"connection_id":190460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:21:39] local.INFO: TCP Data received {"connection_id":190459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190459,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:39] local.INFO: Processing buffer {"connection_id":190459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:21:39] local.INFO: Packet analysis {"connection_id":190459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:21:39] local.INFO: Extracted packet for processing {"connection_id":190459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:21:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:21:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:21:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:21:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:21:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:21:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:21: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-09-21 22:21:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:21:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:21:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:21:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:21:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:21:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:21:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:21:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:21:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:21:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:21:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:21:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:21:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:21:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:21:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:21:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:21:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:21:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:21:39] local.INFO: DEBUG: GPS processor result {"connection_id":190459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:21:39] local.INFO: GPS data processed {"connection_id":190459,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:21:39] local.INFO: Acknowledgment sent {"connection_id":190459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:21:49] local.INFO: TCP Data received {"connection_id":190460,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190460,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:21:49] local.INFO: Processing buffer {"connection_id":190460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:21:49] local.INFO: Packet analysis {"connection_id":190460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:21:49] local.INFO: Extracted packet for processing {"connection_id":190460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:21:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:21:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:21:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:21:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:21:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190460,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:21:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:21:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":190460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:21:49] local.INFO: GPS data processed {"connection_id":190460,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:21:49] local.INFO: Acknowledgment sent {"connection_id":190460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:22:02] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:02] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:02] local.INFO: IMEI packet received {"connection_id":189149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":189149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:22:07] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:07] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:22:07] local.INFO: IMEI packet received {"connection_id":189149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:22:07] local.INFO: IMEI acknowledgment sent {"connection_id":189149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:22:08] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:08] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:08] local.INFO: Packet analysis {"connection_id":189149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:22:08] local.INFO: Extracted packet for processing {"connection_id":189149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 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-09-21 22:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:22: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-09-21 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-09-21 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-09-21 22:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:22: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-09-21 22:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":189149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:22:08] local.INFO: GPS data processed {"connection_id":189149,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:22:08] local.INFO: Acknowledgment sent {"connection_id":189149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:22:17] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:17] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:17] local.INFO: IMEI packet received {"connection_id":188994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":188994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:22:21] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:21] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:22:21] local.INFO: IMEI packet received {"connection_id":188994,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":188994,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:22:22] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:22] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:22] local.INFO: Packet analysis {"connection_id":188994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:22:22] local.INFO: Extracted packet for processing {"connection_id":188994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:22:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:22:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":188994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":188994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":188994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:22:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:22:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":188994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:22:22] local.INFO: GPS data processed {"connection_id":188994,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:22:22] local.INFO: Acknowledgment sent {"connection_id":188994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:22:39] local.INFO: TCP Data received {"connection_id":189149,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189149,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:40] local.INFO: Processing buffer {"connection_id":189149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:22:40] local.INFO: Packet analysis {"connection_id":189149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:22:40] local.INFO: Extracted packet for processing {"connection_id":189149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:22:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:22:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:22:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:22:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:22:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:22:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:22:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:22:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:22:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:22:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:22:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:22:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:22:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:22:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:22:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:22:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:22:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:22:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:22:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:22:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:22:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:22:40] local.INFO: DEBUG: GPS processor result {"connection_id":189149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:22:40] local.INFO: GPS data processed {"connection_id":189149,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:22:40] local.INFO: Acknowledgment sent {"connection_id":189149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:22:53] local.INFO: TCP Data received {"connection_id":188994,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188994,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:53] local.INFO: Processing buffer {"connection_id":188994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:22:53] local.INFO: Packet analysis {"connection_id":188994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:22:53] local.INFO: Extracted packet for processing {"connection_id":188994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:22:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:22:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:22:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":188994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":188994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":188994,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:22:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:22:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:22:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":188994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:22:53] local.INFO: GPS data processed {"connection_id":188994,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:22:53] local.INFO: Acknowledgment sent {"connection_id":188994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:23:07] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:07] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:07] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:23:07] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:23:12] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:12] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:12] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:23:12] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:12] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:23:12] local.INFO: IMEI packet received {"connection_id":190462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:23:12] local.INFO: IMEI acknowledgment sent {"connection_id":190462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:23:13] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:13] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:13] local.INFO: Packet analysis {"connection_id":190462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:23:13] local.INFO: Extracted packet for processing {"connection_id":190462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:23: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-09-21 22: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-09-21 22:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:23:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:23:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":190462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:23:13] local.INFO: GPS data processed {"connection_id":190462,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:23:13] local.INFO: Acknowledgment sent {"connection_id":190462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:23:17] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:17] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:23:17] local.INFO: IMEI packet received {"connection_id":191752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":191752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:23:17] local.INFO: TCP Data received {"connection_id":190462,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190462,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:17] local.INFO: Processing buffer {"connection_id":190462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:23:17] local.INFO: Packet analysis {"connection_id":190462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:23:17] local.INFO: Extracted packet for processing {"connection_id":190462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":190462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:23:17] local.INFO: GPS data processed {"connection_id":190462,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:23:17] local.INFO: Acknowledgment sent {"connection_id":190462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:23:17] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:17] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:17] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:23:17] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:23:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":191752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:23:18] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:23:18] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:23:49] local.INFO: TCP Data received {"connection_id":191752,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191752,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:49] local.INFO: Processing buffer {"connection_id":191752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:23:49] local.INFO: Packet analysis {"connection_id":191752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:23:49] local.INFO: Extracted packet for processing {"connection_id":191752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:23:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:23:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:23:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":191752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:23:49] local.INFO: GPS data processed {"connection_id":191752,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:23:49] local.INFO: Acknowledgment sent {"connection_id":191752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:24:02] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:02] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:02] local.INFO: IMEI packet received {"connection_id":190464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":190464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:24:07] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:07] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:24:07] local.INFO: IMEI packet received {"connection_id":190464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":190464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:24:08] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:08] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:08] local.INFO: Packet analysis {"connection_id":190464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:24:08] local.INFO: Extracted packet for processing {"connection_id":190464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:24:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:24:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:24:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:24:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22: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-09-21 22:24:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:24:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:24:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:24:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:24:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:24: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-09-21 22:24:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:24:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:24:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:24:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:24:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:24:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:24:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:24:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:24:08] local.INFO: DEBUG: GPS processor result {"connection_id":190464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:24:08] local.INFO: GPS data processed {"connection_id":190464,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:24:08] local.INFO: Acknowledgment sent {"connection_id":190464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:24:12] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:12] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:12] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:24:12] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:24:17] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:17] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:24:17] local.INFO: IMEI packet received {"connection_id":191753,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":191753,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:24:17] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:17] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:17] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:24:17] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:24:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:24:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:24:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:24:18] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:24:18] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:24:18] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:24:39] local.INFO: TCP Data received {"connection_id":190464,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190464,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:39] local.INFO: Processing buffer {"connection_id":190464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:24:39] local.INFO: Packet analysis {"connection_id":190464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:24:39] local.INFO: Extracted packet for processing {"connection_id":190464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:24:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:24:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:24:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:24:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:24: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-09-21 22: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-09-21 22:24:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:24:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:24:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:24:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:24:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:24: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-09-21 22:24:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:24:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:24:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:24:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:24:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:24:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:24:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:24:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:24:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:24:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:24:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:24:39] local.INFO: DEBUG: GPS processor result {"connection_id":190464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:24:39] local.INFO: GPS data processed {"connection_id":190464,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:24:39] local.INFO: Acknowledgment sent {"connection_id":190464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:24:44] local.INFO: TCP Data received {"connection_id":189150,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:24:44] local.INFO: Processing buffer {"connection_id":189150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:24:44] local.INFO: IMEI packet received {"connection_id":189150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:24:44] local.INFO: IMEI acknowledgment sent {"connection_id":189150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:24:49] local.INFO: TCP Data received {"connection_id":191753,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191753,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:49] local.INFO: Processing buffer {"connection_id":191753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:24:49] local.INFO: Packet analysis {"connection_id":191753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:24:49] local.INFO: Extracted packet for processing {"connection_id":191753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:24:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:24:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:24:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:24:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:24:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:24:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:24:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:24:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:24:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:24:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:24:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:24:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:24:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191753,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:24:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:24:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:24:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:24:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:24:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:24:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:24:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:24:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:24:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:24:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:24:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:24:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:24:49] local.INFO: DEBUG: GPS processor result {"connection_id":191753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:24:49] local.INFO: GPS data processed {"connection_id":191753,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:24:49] local.INFO: Acknowledgment sent {"connection_id":191753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:25:02] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:02] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:02] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:25:02] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:25:07] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:07] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:25:07] local.INFO: IMEI packet received {"connection_id":188995,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":188995,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:25:08] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:25:08] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4df6978012d34c14006aa40600007000c2a..."} 
[2026-09-21 22:25:08] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:25:08] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4df"} 
[2026-09-21 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242321920001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009371000,"timestamp_ms":1790009371000,"timestamp_seconds":1790009371,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4df6978"} 
[2026-09-21 22:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 22:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242321920001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242321920001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242321920001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:25:08] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:25:08] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:25:11] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:11] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:11] local.INFO: IMEI packet received {"connection_id":189151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":189151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:25:17] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:17] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:25:17] local.INFO: IMEI packet received {"connection_id":189151,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":189151,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:25:18] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:18] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:18] local.INFO: Packet analysis {"connection_id":189151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:25:18] local.INFO: Extracted packet for processing {"connection_id":189151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:25:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:25:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:25:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:25:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:25:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:25:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:25:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:25:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:25:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:25:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:25:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:25:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:25:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:25:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:25:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:25:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:25:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:25:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:25:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:25:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:25:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:25:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:25:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:25:18] local.INFO: DEBUG: GPS processor result {"connection_id":189151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:25:18] local.INFO: GPS data processed {"connection_id":189151,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:25:18] local.INFO: Acknowledgment sent {"connection_id":189151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:25:24] local.INFO: TCP Data received {"connection_id":189152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:25:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189152,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:25:24] local.INFO: Processing buffer {"connection_id":189152,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:25:24] local.INFO: IMEI packet received {"connection_id":189152,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:25:24] local.INFO: IMEI acknowledgment sent {"connection_id":189152,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:25:39] local.INFO: TCP Data received {"connection_id":188995,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188995,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:25:39] local.INFO: Processing buffer {"connection_id":188995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:25:39] local.INFO: Packet analysis {"connection_id":188995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:25:39] local.INFO: Extracted packet for processing {"connection_id":188995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:25:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188995,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 22:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":188995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:25:39] local.INFO: GPS data processed {"connection_id":188995,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:25:39] local.INFO: Acknowledgment sent {"connection_id":188995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:25:49] local.INFO: TCP Data received {"connection_id":189151,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189151,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:49] local.INFO: Processing buffer {"connection_id":189151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:25:49] local.INFO: Packet analysis {"connection_id":189151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:25:49] local.INFO: Extracted packet for processing {"connection_id":189151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:25:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:25:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:25:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:25:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:25:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:25:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:25:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:25:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:25:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:25:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:25:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:25:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:25:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:25:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189151,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:25:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:25:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:25:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:25:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:25:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:25:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:25:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:25:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:25:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:25:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:25:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:25:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:25:49] local.INFO: DEBUG: GPS processor result {"connection_id":189151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:25:49] local.INFO: GPS data processed {"connection_id":189151,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:25:49] local.INFO: Acknowledgment sent {"connection_id":189151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:26:02] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:02] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:02] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:26:07] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:07] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:26:07] local.INFO: IMEI packet received {"connection_id":191754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":191754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:26:08] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:08] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:08] local.INFO: Packet analysis {"connection_id":191754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:26:08] local.INFO: Extracted packet for processing {"connection_id":191754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:26:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:26:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:26:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:26:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:26:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:26:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:26:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:26:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:26:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:26:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:26:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:26:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:26:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:26: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-09-21 22:26:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:26:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:26:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:26:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:26:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:26:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:26:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:26:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:26:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:26:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:26:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:26:08] local.INFO: DEBUG: GPS processor result {"connection_id":191754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:26:08] local.INFO: GPS data processed {"connection_id":191754,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:26:08] local.INFO: Acknowledgment sent {"connection_id":191754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:26:11] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:11] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:11] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:26:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.3","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:26:17] local.INFO: IMEI packet received {"connection_id":188997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":188997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:26:17] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:17] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e0e848012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:17] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:26:17] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e0"} 
[2026-09-21 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242347008001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009469000,"timestamp_ms":1790009469000,"timestamp_seconds":1790009469,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e0e848"} 
[2026-09-21 22:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14848,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242347008001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242347008001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:26:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:26:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242347008001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:26:18] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:26:18] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:26:39] local.INFO: TCP Data received {"connection_id":191754,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191754,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:39] local.INFO: Processing buffer {"connection_id":191754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:26:39] local.INFO: Packet analysis {"connection_id":191754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:26:39] local.INFO: Extracted packet for processing {"connection_id":191754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:26:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:26:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:26:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:26:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:26:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:26:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:26:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:26:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:26:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:26:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:26:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:26:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:26:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:26: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-09-21 22:26:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:26:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:26:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:26:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:26:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:26:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:26:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:26:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:26:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:26:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:26:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:26:39] local.INFO: DEBUG: GPS processor result {"connection_id":191754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:26:39] local.INFO: GPS data processed {"connection_id":191754,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:26:39] local.INFO: Acknowledgment sent {"connection_id":191754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:26:49] local.INFO: TCP Data received {"connection_id":188997,"ip":"42.109.136.3","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188997,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:49] local.INFO: Processing buffer {"connection_id":188997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:26:49] local.INFO: Packet analysis {"connection_id":188997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:26:49] local.INFO: Extracted packet for processing {"connection_id":188997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:26:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:26:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:26:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:26:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:26:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:26:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:26:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:26:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:26:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:26:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:26:49] local.INFO: Teltonika packet parsed successfully {"connection_id":188997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:26:49] local.INFO: Passing IMEI to GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:26:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":188997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:26:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.3","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:26:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:26:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:26:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.3","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:26:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:26:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:26:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:26:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:26:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:26:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:26:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:26:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:26:49] local.INFO: DEBUG: GPS processor result {"connection_id":188997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:26:49] local.INFO: GPS data processed {"connection_id":188997,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:26:49] local.INFO: Acknowledgment sent {"connection_id":188997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:27:02] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:02] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:02] local.INFO: IMEI packet received {"connection_id":190465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":190465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:27:07] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:07] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:27:07] local.INFO: IMEI packet received {"connection_id":190465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":190465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:27:08] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:08] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:08] local.INFO: Packet analysis {"connection_id":190465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:27:08] local.INFO: Extracted packet for processing {"connection_id":190465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:27:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:27: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-09-21 22:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":190465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:27:08] local.INFO: GPS data processed {"connection_id":190465,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:27:08] local.INFO: Acknowledgment sent {"connection_id":190465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:27:17] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:17] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:17] local.INFO: IMEI packet received {"connection_id":190467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":190467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:27:22] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:22] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:27:22] local.INFO: IMEI packet received {"connection_id":190467,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":190467,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:27:22] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:22] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:22] local.INFO: Packet analysis {"connection_id":190467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:27:22] local.INFO: Extracted packet for processing {"connection_id":190467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:27:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:27:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:27:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:27:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:27:22] 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-09-21 22:27:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:27:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:27:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:27:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:27:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:27:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:27:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:27:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:27:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:27:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:27:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:27:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:27:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:27:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:27:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:27:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:27:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:27:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:27:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:27:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":190467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:27:23] local.INFO: GPS data processed {"connection_id":190467,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:27:23] local.INFO: Acknowledgment sent {"connection_id":190467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:27:40] local.INFO: TCP Data received {"connection_id":190465,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190465,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:40] local.INFO: Processing buffer {"connection_id":190465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:27:40] local.INFO: Packet analysis {"connection_id":190465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:27:40] local.INFO: Extracted packet for processing {"connection_id":190465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":190465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:27:40] local.INFO: GPS data processed {"connection_id":190465,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:27:40] local.INFO: Acknowledgment sent {"connection_id":190465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:27:54] local.INFO: TCP Data received {"connection_id":190467,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190467,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:54] local.INFO: Processing buffer {"connection_id":190467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:27:54] local.INFO: Packet analysis {"connection_id":190467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:27:54] local.INFO: Extracted packet for processing {"connection_id":190467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:27:54] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:27:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:27:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:27:54] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:27:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:27:54] 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-09-21 22:27:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:27:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:27:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:27:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:27:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:27:54] local.INFO: Teltonika packet parsed successfully {"connection_id":190467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:27:54] local.INFO: Passing IMEI to GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:27:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":190467,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:27:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:27:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:27:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:27:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:27:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:27:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:27:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:27:54] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:27:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:27:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:27:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:27:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:27:54] local.INFO: DEBUG: GPS processor result {"connection_id":190467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:27:54] local.INFO: GPS data processed {"connection_id":190467,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:27:54] local.INFO: Acknowledgment sent {"connection_id":190467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:28:07] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:07] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:07] local.INFO: IMEI packet received {"connection_id":188998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":188998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:28:12] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:12] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:12] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:28:12] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:12] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:28:12] local.INFO: IMEI packet received {"connection_id":188998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:28:12] local.INFO: IMEI acknowledgment sent {"connection_id":188998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:28:13] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:13] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:13] local.INFO: Packet analysis {"connection_id":188998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:28:13] local.INFO: Extracted packet for processing {"connection_id":188998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":188998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":188998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":188998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:28:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":188998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:28:13] local.INFO: GPS data processed {"connection_id":188998,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:28:13] local.INFO: Acknowledgment sent {"connection_id":188998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:28:17] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.0","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:17] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:28:17] local.INFO: IMEI packet received {"connection_id":191755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":191755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:28:17] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:17] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:17] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:28:17] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:28:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:28:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:28:18] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:28:18] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:28:18] local.INFO: TCP Data received {"connection_id":188998,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188998,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:18] local.INFO: Processing buffer {"connection_id":188998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:28:18] local.INFO: Packet analysis {"connection_id":188998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:28:18] local.INFO: Extracted packet for processing {"connection_id":188998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:28:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:28:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:28:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":188998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":188998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":188998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:28:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:28:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:28:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:28:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":188998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:28:18] local.INFO: GPS data processed {"connection_id":188998,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:28:18] local.INFO: Acknowledgment sent {"connection_id":188998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:28:49] local.INFO: TCP Data received {"connection_id":191755,"ip":"42.109.136.0","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191755,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:49] local.INFO: Processing buffer {"connection_id":191755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:28:49] local.INFO: Packet analysis {"connection_id":191755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:28:49] local.INFO: Extracted packet for processing {"connection_id":191755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:28:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:28:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:28:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:28:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:28:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:28:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:28:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:28:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:28:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:28:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:28:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:28:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:28:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:28:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.0","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:28:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:28:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:28:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.0","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:28:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:28:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:28:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:28:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:28:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:28:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:28:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:28:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:28:49] local.INFO: DEBUG: GPS processor result {"connection_id":191755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:28:49] local.INFO: GPS data processed {"connection_id":191755,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:28:49] local.INFO: Acknowledgment sent {"connection_id":191755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:29:02] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:02] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:02] local.INFO: IMEI packet received {"connection_id":188999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":188999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:29:07] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:07] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:29:07] local.INFO: IMEI packet received {"connection_id":188999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":188999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:29:08] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:08] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:08] local.INFO: Packet analysis {"connection_id":188999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:29:08] local.INFO: Extracted packet for processing {"connection_id":188999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":188999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":188999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":188999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":188999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:29:08] local.INFO: GPS data processed {"connection_id":188999,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:29:08] local.INFO: Acknowledgment sent {"connection_id":188999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:29:12] local.INFO: TCP Data received {"connection_id":189153,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:12] local.INFO: Processing buffer {"connection_id":189153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:12] local.INFO: IMEI packet received {"connection_id":189153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":189153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:29:17] local.INFO: TCP Data received {"connection_id":189153,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:17] local.INFO: Processing buffer {"connection_id":189153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:29:17] local.INFO: IMEI packet received {"connection_id":189153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:29:17] local.INFO: IMEI acknowledgment sent {"connection_id":189153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:29:17] local.INFO: TCP Data received {"connection_id":189153,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:17] local.INFO: Processing buffer {"connection_id":189153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:17] local.INFO: Packet analysis {"connection_id":189153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:29:17] local.INFO: Extracted packet for processing {"connection_id":189153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:29:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:29:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:29:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:29:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:29:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:29:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:29:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:29:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:29:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:29:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:29:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:29:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:29:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:29:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:29:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:29:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:29:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:29:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:29:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:29:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:29:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:29:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:29:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:29:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:29:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:29:18] local.INFO: DEBUG: GPS processor result {"connection_id":189153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:29:18] local.INFO: GPS data processed {"connection_id":189153,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:29:18] local.INFO: Acknowledgment sent {"connection_id":189153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:29:39] local.INFO: TCP Data received {"connection_id":188999,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":188999,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:39] local.INFO: Processing buffer {"connection_id":188999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:29:39] local.INFO: Packet analysis {"connection_id":188999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:29:39] local.INFO: Extracted packet for processing {"connection_id":188999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":188999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":188999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":188999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":188999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:29:39] local.INFO: GPS data processed {"connection_id":188999,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:29:39] local.INFO: Acknowledgment sent {"connection_id":188999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:29:49] local.INFO: TCP Data received {"connection_id":189153,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189153,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:49] local.INFO: Processing buffer {"connection_id":189153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:29:49] local.INFO: Packet analysis {"connection_id":189153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:29:49] local.INFO: Extracted packet for processing {"connection_id":189153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:29:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:29:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:29:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:29:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:29:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:29:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:29:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:29:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:29:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:29:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:29:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:29:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:29:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:29:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:29:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:29:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:29:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:29:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:29:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:29:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:29:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:29:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:29:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:29:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:29:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:29:49] local.INFO: DEBUG: GPS processor result {"connection_id":189153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:29:49] local.INFO: GPS data processed {"connection_id":189153,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:29:49] local.INFO: Acknowledgment sent {"connection_id":189153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:30:01] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:01] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:01] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:30:07] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:07] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:30:07] local.INFO: IMEI packet received {"connection_id":190469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":190469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:30:08] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:30:08] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e40140012d34c14006aa40600008000c2b..."} 
[2026-09-21 22:30:08] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:30:08] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e4"} 
[2026-09-21 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242398976001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009672000,"timestamp_ms":1790009672000,"timestamp_seconds":1790009672,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e40140"} 
[2026-09-21 22:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 22:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242398976001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242398976001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242398976001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:30:08] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:30:08] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:30:11] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:11] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:11] local.INFO: IMEI packet received {"connection_id":189154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":189154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:30:17] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:17] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:30:17] local.INFO: IMEI packet received {"connection_id":189154,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":189154,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:30:18] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:18] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:18] local.INFO: Packet analysis {"connection_id":189154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:30:18] local.INFO: Extracted packet for processing {"connection_id":189154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:30:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:30:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":189154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:30:18] local.INFO: GPS data processed {"connection_id":189154,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:30:18] local.INFO: Acknowledgment sent {"connection_id":189154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:30:39] local.INFO: TCP Data received {"connection_id":190469,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190469,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:30:39] local.INFO: Processing buffer {"connection_id":190469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:30:39] local.INFO: Packet analysis {"connection_id":190469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:30:39] local.INFO: Extracted packet for processing {"connection_id":190469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190469,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:30:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":190469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:30:39] local.INFO: GPS data processed {"connection_id":190469,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:30:39] local.INFO: Acknowledgment sent {"connection_id":190469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:30:39] local.INFO: TCP Data received {"connection_id":189000,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:30:39] local.INFO: Processing buffer {"connection_id":189000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:30:39] local.INFO: IMEI packet received {"connection_id":189000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:30:39] local.INFO: IMEI acknowledgment sent {"connection_id":189000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:30:49] local.INFO: TCP Data received {"connection_id":189154,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189154,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:49] local.INFO: Processing buffer {"connection_id":189154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:30:49] local.INFO: Packet analysis {"connection_id":189154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:30:49] local.INFO: Extracted packet for processing {"connection_id":189154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:30:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:30:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:30:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:30:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:30:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:30:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:30:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:30:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:30:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:30:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:30:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:30:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:30:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189154,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:30:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:30:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:30:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:30:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:30:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:30:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:30:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:30:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:30:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:30:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:30:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:30:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:30:49] local.INFO: DEBUG: GPS processor result {"connection_id":189154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:30:49] local.INFO: GPS data processed {"connection_id":189154,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:30:49] local.INFO: Acknowledgment sent {"connection_id":189154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:31:01] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:01] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:01] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:31:07] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:07] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:31:07] local.INFO: IMEI packet received {"connection_id":189001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":189001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:31:07] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:07] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:07] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:31:07] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 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-09-21 22:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:31: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-09-21 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-09-21 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-09-21 22:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 22:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:31:07] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:31:07] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:31:11] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:11] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:11] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:31:14] local.INFO: TCP Data received {"connection_id":189155,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189155,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:31:14] local.INFO: Processing buffer {"connection_id":189155,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:31:14] local.INFO: IMEI packet received {"connection_id":189155,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":189155,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:31:17] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:17] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:31:17] local.INFO: IMEI packet received {"connection_id":191757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":191757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:31:17] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:17] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:17] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:31:17] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:31:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:31:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:31:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:31:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:31:18] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:31:18] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:31:18] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:31:39] local.INFO: TCP Data received {"connection_id":189001,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189001,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:39] local.INFO: Processing buffer {"connection_id":189001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:31:39] local.INFO: Packet analysis {"connection_id":189001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:31:39] local.INFO: Extracted packet for processing {"connection_id":189001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:31:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:31:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:31:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:31:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:31:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:31:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":189001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:31:39] local.INFO: GPS data processed {"connection_id":189001,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:31:39] local.INFO: Acknowledgment sent {"connection_id":189001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:31:49] local.INFO: TCP Data received {"connection_id":191757,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191757,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:49] local.INFO: Processing buffer {"connection_id":191757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e58010012d196f40071fef40003c00ff28..."} 
[2026-09-21 22:31:49] local.INFO: Packet analysis {"connection_id":191757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:31:49] local.INFO: Extracted packet for processing {"connection_id":191757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e5"} 
[2026-09-21 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":40,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242424064001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:31:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790009770000,"timestamp_ms":1790009770000,"timestamp_seconds":1790009770,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e58010"} 
[2026-09-21 22:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:31:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:31:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:31:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:31:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242424064001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242424064001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:31:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:31:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242424064001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":191757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:31:49] local.INFO: GPS data processed {"connection_id":191757,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:31:49] local.INFO: Acknowledgment sent {"connection_id":191757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:32:02] local.INFO: TCP Data received {"connection_id":190470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:02] local.INFO: Processing buffer {"connection_id":190470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:02] local.INFO: IMEI packet received {"connection_id":190470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":190470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:32:07] local.INFO: TCP Data received {"connection_id":190470,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:07] local.INFO: Processing buffer {"connection_id":190470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:32:07] local.INFO: IMEI packet received {"connection_id":190470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":190470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:32:07] local.INFO: TCP Data received {"connection_id":190470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:07] local.INFO: Processing buffer {"connection_id":190470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:07] local.INFO: Packet analysis {"connection_id":190470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:32:07] local.INFO: Extracted packet for processing {"connection_id":190470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 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-09-21 22:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:32: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-09-21 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-09-21 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-09-21 22:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 22:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":190470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:32:07] local.INFO: GPS data processed {"connection_id":190470,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:32:07] local.INFO: Acknowledgment sent {"connection_id":190470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:32:17] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:17] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:17] local.INFO: IMEI packet received {"connection_id":189156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":189156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:32:21] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:21] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:32:21] local.INFO: IMEI packet received {"connection_id":189156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":189156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:32:22] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:22] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:22] local.INFO: Packet analysis {"connection_id":189156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:32:22] local.INFO: Extracted packet for processing {"connection_id":189156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:32:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:32:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:32:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:32:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:32:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":189156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:32:22] local.INFO: GPS data processed {"connection_id":189156,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:32:22] local.INFO: Acknowledgment sent {"connection_id":189156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:32:38] local.INFO: TCP Data received {"connection_id":190470,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190470,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:38] local.INFO: Processing buffer {"connection_id":190470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:32:38] local.INFO: Packet analysis {"connection_id":190470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:32:38] local.INFO: Extracted packet for processing {"connection_id":190470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:32:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:32:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:32:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:32:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:32:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:32: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-09-21 22: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-09-21 22:32:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:32:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:32:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:32:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:32:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:32:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:32:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:32:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:32:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:32:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:32:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:32:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:32:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:32:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:32:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:32:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:32:38] local.INFO: DEBUG: GPS processor result {"connection_id":190470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:32:38] local.INFO: GPS data processed {"connection_id":190470,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:32:38] local.INFO: Acknowledgment sent {"connection_id":190470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:32:53] local.INFO: TCP Data received {"connection_id":189156,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189156,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:53] local.INFO: Processing buffer {"connection_id":189156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:32:53] local.INFO: Packet analysis {"connection_id":189156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:32:53] local.INFO: Extracted packet for processing {"connection_id":189156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:32:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:32:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:32:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:32:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:32:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":189156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:32:53] local.INFO: GPS data processed {"connection_id":189156,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:32:53] local.INFO: Acknowledgment sent {"connection_id":189156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:33:01] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:02] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:02] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:33:06] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:06] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:33:06] local.INFO: IMEI packet received {"connection_id":191758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":191758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:33:08] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:08] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:08] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:33:08] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:33:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:33:08] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:33:08] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:33:12] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:12] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:12] local.INFO: IMEI packet received {"connection_id":189157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":189157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:33:17] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:17] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:33:17] local.INFO: IMEI packet received {"connection_id":189157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":189157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:33:18] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:18] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:18] local.INFO: Packet analysis {"connection_id":189157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:33:18] local.INFO: Extracted packet for processing {"connection_id":189157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:33:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:33:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:33:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":189157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:33:18] local.INFO: GPS data processed {"connection_id":189157,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:33:18] local.INFO: Acknowledgment sent {"connection_id":189157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:33:40] local.INFO: TCP Data received {"connection_id":191758,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191758,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:40] local.INFO: Processing buffer {"connection_id":191758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:33:40] local.INFO: Packet analysis {"connection_id":191758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:33:40] local.INFO: Extracted packet for processing {"connection_id":191758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:33:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:33:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:33:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:33:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:33:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:33:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:33:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:33:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:33:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:33:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:33:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:33:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:33:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:33:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:33:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:33:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:33:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:33:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:33:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:33:40] local.INFO: DEBUG: GPS processor result {"connection_id":191758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:33:40] local.INFO: GPS data processed {"connection_id":191758,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:33:40] local.INFO: Acknowledgment sent {"connection_id":191758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:33:49] local.INFO: TCP Data received {"connection_id":189157,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189157,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:49] local.INFO: Processing buffer {"connection_id":189157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:33:49] local.INFO: Packet analysis {"connection_id":189157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:33:49] local.INFO: Extracted packet for processing {"connection_id":189157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:33:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:33:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:33:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:33:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:33:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:33:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:33:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:33:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:33:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:33:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:33:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:33:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:33:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:33:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:33:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:33:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:33:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:33:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:33:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:33:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:33:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:33:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:33:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:33:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:33:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:33:49] local.INFO: DEBUG: GPS processor result {"connection_id":189157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:33:49] local.INFO: GPS data processed {"connection_id":189157,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:33:49] local.INFO: Acknowledgment sent {"connection_id":189157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:34:01] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:02] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:02] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:34:07] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:07] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:34:07] local.INFO: IMEI packet received {"connection_id":190471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":190471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:34:08] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:08] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:08] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:34:08] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:34:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:34:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:34:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:34:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:34:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:34:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:34:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:34:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:34:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:34:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:34:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:34:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:34:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:34:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:34:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:34:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:34:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:34:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:34:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:34:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:34:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:34:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:34:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:34:08] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:34:08] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:34:11] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:11] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:11] local.INFO: IMEI packet received {"connection_id":190472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":190472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:34:17] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:17] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:34:17] local.INFO: IMEI packet received {"connection_id":190472,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":190472,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:34:18] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:18] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:18] local.INFO: Packet analysis {"connection_id":190472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:34:18] local.INFO: Extracted packet for processing {"connection_id":190472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:34:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:34:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:34:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":190472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:34:18] local.INFO: GPS data processed {"connection_id":190472,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:34:18] local.INFO: Acknowledgment sent {"connection_id":190472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:34:39] local.INFO: TCP Data received {"connection_id":190471,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190471,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:39] local.INFO: Processing buffer {"connection_id":190471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4e89908012d34c14006aa40600009000c2b..."} 
[2026-09-21 22:34:39] local.INFO: Packet analysis {"connection_id":190471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:34:39] local.INFO: Extracted packet for processing {"connection_id":190471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4e8"} 
[2026-09-21 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242476032001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790009973000,"timestamp_ms":1790009973000,"timestamp_seconds":1790009973,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4e89908"} 
[2026-09-21 22:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:34: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-09-21 22:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242476032001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242476032001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242476032001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":190471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:34:39] local.INFO: GPS data processed {"connection_id":190471,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:34:39] local.INFO: Acknowledgment sent {"connection_id":190471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:34:49] local.INFO: TCP Data received {"connection_id":190472,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190472,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:49] local.INFO: Processing buffer {"connection_id":190472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:34:49] local.INFO: Packet analysis {"connection_id":190472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:34:49] local.INFO: Extracted packet for processing {"connection_id":190472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:34:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:34:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:34:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:34:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:34:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:34:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:34:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:34:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:34:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:34:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:34:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:34:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:34:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190472,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:34:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:34:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:34:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:34:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:34:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:34:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:34:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:34:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:34:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:34:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:34:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:34:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:34:49] local.INFO: DEBUG: GPS processor result {"connection_id":190472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:34:49] local.INFO: GPS data processed {"connection_id":190472,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:34:49] local.INFO: Acknowledgment sent {"connection_id":190472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:35:07] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:07] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:07] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:35:11] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:11] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:11] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:35:12] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:12] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:35:12] local.INFO: IMEI packet received {"connection_id":191760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:35:12] local.INFO: IMEI acknowledgment sent {"connection_id":191760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:35:13] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:13] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:13] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:13] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:35:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:35:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:35:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:35:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:35:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:35:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:35:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:35:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:35:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:35:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:35:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:35:13] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:35:13] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:35:14] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:14] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:14] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:14] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:35:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:35:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:35:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:35:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:35:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:35:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:35:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:35:14] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:35:14] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:35:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:35:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:35:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:35:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:35:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:35:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:35:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:35:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:35:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:35:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:35:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:35:14] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:35:14] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:35:14] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:35:17] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:17] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:35:17] local.INFO: IMEI packet received {"connection_id":191761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:35:17] local.INFO: IMEI acknowledgment sent {"connection_id":191761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:35:18] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:18] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:18] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:35:18] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:35:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:35:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:35:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:35:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:35:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:35:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:35:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:35:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:35:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:35:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:35:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:35:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:35:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:35:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:35:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:35:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:35:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:35:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:35:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:35:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:35:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:35:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:35:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:35:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:35:18] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:35:18] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:35:18] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:35:45] local.INFO: TCP Data received {"connection_id":191760,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191760,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:45] local.INFO: Processing buffer {"connection_id":191760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:35:45] local.INFO: Packet analysis {"connection_id":191760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:45] local.INFO: Extracted packet for processing {"connection_id":191760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:35:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:35:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:35:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:35:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:35:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:35:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:35:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:35:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:35:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:35:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:35:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:35:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:35:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:35:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:35:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:35:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:35:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:35:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:35:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:35:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:35:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:35:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:35:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:35:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:35:45] local.INFO: DEBUG: GPS processor result {"connection_id":191760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:35:45] local.INFO: GPS data processed {"connection_id":191760,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:35:45] local.INFO: Acknowledgment sent {"connection_id":191760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:35:49] local.INFO: TCP Data received {"connection_id":191761,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191761,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:49] local.INFO: Processing buffer {"connection_id":191761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:35:49] local.INFO: Packet analysis {"connection_id":191761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:35:49] local.INFO: Extracted packet for processing {"connection_id":191761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:35:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:35:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:35:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:35:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:35:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:35:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:35:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:35:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:35:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:35:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:35:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:35:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:35:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:35:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:35:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:35:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:35:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:35:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:35:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:35:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:35:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:35:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:35:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:35:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:35:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:35:49] local.INFO: DEBUG: GPS processor result {"connection_id":191761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:35:49] local.INFO: GPS data processed {"connection_id":191761,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:35:49] local.INFO: Acknowledgment sent {"connection_id":191761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:36:04] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:04] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:04] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:36:07] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:07] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:36:07] local.INFO: IMEI packet received {"connection_id":189003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":189003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:36:08] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:08] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:08] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:36:08] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:36: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-09-21 22:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:36:08] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:36:08] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:36:17] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:17] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:17] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:36:21] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:21] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:36:21] local.INFO: IMEI packet received {"connection_id":190474,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":190474,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:36:22] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:36:22] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ea17d8012d196f40071fef40003c00ff26..."} 
[2026-09-21 22:36:22] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:36:22] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ea"} 
[2026-09-21 22:36:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:36:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242501120001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:36:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010071000,"timestamp_ms":1790010071000,"timestamp_seconds":1790010071,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ea17d8"} 
[2026-09-21 22:36:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:36:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:36:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:36:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:36:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:36:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:36:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:36:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:36:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:36:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:36:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:36:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:36:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:36:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242501120001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:36:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:36:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:36:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242501120001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:36:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:36:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:36:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:36:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:36:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242501120001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:36:22] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:36:22] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:36:22] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:36:39] local.INFO: TCP Data received {"connection_id":189003,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189003,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:39] local.INFO: Processing buffer {"connection_id":189003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:36:39] local.INFO: Packet analysis {"connection_id":189003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:36:39] local.INFO: Extracted packet for processing {"connection_id":189003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:36: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-09-21 22:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":189003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:36:39] local.INFO: GPS data processed {"connection_id":189003,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:36:39] local.INFO: Acknowledgment sent {"connection_id":189003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:36:44] local.INFO: TCP Data received {"connection_id":190473,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:36:44] local.INFO: Processing buffer {"connection_id":190473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:36:44] local.INFO: IMEI packet received {"connection_id":190473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:36:44] local.INFO: IMEI acknowledgment sent {"connection_id":190473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:36:53] local.INFO: TCP Data received {"connection_id":190474,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190474,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:36:53] local.INFO: Processing buffer {"connection_id":190474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:36:53] local.INFO: Packet analysis {"connection_id":190474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:36:53] local.INFO: Extracted packet for processing {"connection_id":190474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:36:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:36:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:36:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":190474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":190474,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:36:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:36:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:36:54] local.INFO: DEBUG: GPS processor result {"connection_id":190474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:36:54] local.INFO: GPS data processed {"connection_id":190474,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:36:54] local.INFO: Acknowledgment sent {"connection_id":190474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:37:02] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:02] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:02] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:37:02] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:37:07] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:07] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:37:07] local.INFO: IMEI packet received {"connection_id":191762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":191762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:37:08] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:08] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:08] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:37:08] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:37:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:37:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:37:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:37:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:37:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:37:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:37:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:37:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:37:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:37:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:37:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:37:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:37:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:37:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:37:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:37:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:37:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:37:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:37:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:37:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:37:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:37:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:37:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:37:08] local.INFO: DEBUG: GPS processor result {"connection_id":191762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:37:08] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:37:08] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:37:11] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:11] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:11] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:37:14] local.INFO: TCP Data received {"connection_id":190475,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:37:14] local.INFO: Processing buffer {"connection_id":190475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:37:14] local.INFO: IMEI packet received {"connection_id":190475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":190475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:37:17] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:17] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:37:17] local.INFO: IMEI packet received {"connection_id":189004,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":189004,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:37:18] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:18] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:18] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:37:18] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:37:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:37:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:37:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:37:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:37:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:37:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:37:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:37:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:37:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:37:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:37:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:37:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:37:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:37:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:37:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:37:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:37:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:37:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:37:18] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:37:18] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:37:39] local.INFO: TCP Data received {"connection_id":191762,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191762,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:39] local.INFO: Processing buffer {"connection_id":191762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:37:39] local.INFO: Packet analysis {"connection_id":191762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:37:39] local.INFO: Extracted packet for processing {"connection_id":191762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:37:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:37:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:37:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:37:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:37:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:37:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:37:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:37:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:37:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:37:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:37:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:37:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:37:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:37:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:37:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:37:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:37:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:37:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:37:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:37:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:37:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:37:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:37:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:37:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:37:39] local.INFO: DEBUG: GPS processor result {"connection_id":191762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:37:39] local.INFO: GPS data processed {"connection_id":191762,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:37:39] local.INFO: Acknowledgment sent {"connection_id":191762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:37:49] local.INFO: TCP Data received {"connection_id":189004,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189004,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:49] local.INFO: Processing buffer {"connection_id":189004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:37:49] local.INFO: Packet analysis {"connection_id":189004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:37:49] local.INFO: Extracted packet for processing {"connection_id":189004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:37:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:37:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189004,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:37:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:37:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":189004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:37:49] local.INFO: GPS data processed {"connection_id":189004,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:37:49] local.INFO: Acknowledgment sent {"connection_id":189004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:38:07] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:07] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:07] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:38:12] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:12] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:38:12] local.INFO: IMEI packet received {"connection_id":189005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":189005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:38:13] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:13] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:13] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:38:13] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:38:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:38:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:38:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:38:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:38:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:38:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:38:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:38:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:38:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:38:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:38:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:38:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:38:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:38:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:38:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:38:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:38:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:38:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:38:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:38:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:38:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:38:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:38:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:38:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:38:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:38:13] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:38:13] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:38:17] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:17] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:17] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:38:21] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:21] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:38:21] local.INFO: IMEI packet received {"connection_id":190476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":190476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:38:22] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:22] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:22] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:38:22] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:38:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:38:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:38:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:38:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:38:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:38:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:38:22] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:38:22] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:38:27] local.INFO: TCP Data received {"connection_id":190476,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190476,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:27] local.INFO: Processing buffer {"connection_id":190476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:38:27] local.INFO: Packet analysis {"connection_id":190476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:38:27] local.INFO: Extracted packet for processing {"connection_id":190476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22: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-09-21 22:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:38:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":190476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:38:27] local.INFO: GPS data processed {"connection_id":190476,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:38:27] local.INFO: Acknowledgment sent {"connection_id":190476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:38:45] local.INFO: TCP Data received {"connection_id":189005,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189005,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:45] local.INFO: Processing buffer {"connection_id":189005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:38:45] local.INFO: Packet analysis {"connection_id":189005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:38:45] local.INFO: Extracted packet for processing {"connection_id":189005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:38:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:38: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-09-21 22:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:38:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":189005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":189005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:38:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:38:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":189005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:38:45] local.INFO: GPS data processed {"connection_id":189005,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:38:45] local.INFO: Acknowledgment sent {"connection_id":189005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:39:02] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:02] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:02] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:39:07] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:07] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:39:07] local.INFO: IMEI packet received {"connection_id":190478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:39:08] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:08] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:08] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:39:08] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 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-09-21 22:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 22:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:39:08] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:39:08] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:39:12] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:12] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:12] local.INFO: IMEI packet received {"connection_id":189160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":189160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:39:17] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:17] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:39:17] local.INFO: IMEI packet received {"connection_id":189160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":189160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:39:18] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:18] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:18] local.INFO: Packet analysis {"connection_id":189160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:39:18] local.INFO: Extracted packet for processing {"connection_id":189160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:39:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:39:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:39:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":189160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:39:18] local.INFO: GPS data processed {"connection_id":189160,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:39:18] local.INFO: Acknowledgment sent {"connection_id":189160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:39:39] local.INFO: TCP Data received {"connection_id":190478,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190478,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:39] local.INFO: Processing buffer {"connection_id":190478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:39:39] local.INFO: Packet analysis {"connection_id":190478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:39:39] local.INFO: Extracted packet for processing {"connection_id":190478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:39:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:39:39] local.INFO: GPS data processed {"connection_id":190478,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:39:39] local.INFO: Acknowledgment sent {"connection_id":190478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:39:49] local.INFO: TCP Data received {"connection_id":189160,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189160,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:49] local.INFO: Processing buffer {"connection_id":189160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:39:49] local.INFO: Packet analysis {"connection_id":189160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:39:49] local.INFO: Extracted packet for processing {"connection_id":189160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:39:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:39:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:39:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:39:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:39:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:39:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:39:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:39:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:39:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:39:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:39:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:39:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:39:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189160,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:39:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:39:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:39:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:39:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:39:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:39:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:39:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:39:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:39:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:39:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:39:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:39:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:39:49] local.INFO: DEBUG: GPS processor result {"connection_id":189160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:39:49] local.INFO: GPS data processed {"connection_id":189160,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:39:49] local.INFO: Acknowledgment sent {"connection_id":189160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:40:01] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:01] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:01] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:40:07] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:07] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:40:07] local.INFO: IMEI packet received {"connection_id":189006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":189006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:40:08] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:40:08] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ed30d0012d34c14006aa4060000d000c2b..."} 
[2026-09-21 22:40:08] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:40:08] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ed"} 
[2026-09-21 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":13,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242553088001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010274000,"timestamp_ms":1790010274000,"timestamp_seconds":1790010274,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ed30d0"} 
[2026-09-21 22:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:40:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242553088001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242553088001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242553088001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:40:08] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:40:08] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:40:12] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:12] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:12] local.INFO: IMEI packet received {"connection_id":189162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:40:12] local.INFO: IMEI acknowledgment sent {"connection_id":189162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:40:17] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:17] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:40:17] local.INFO: IMEI packet received {"connection_id":189162,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":189162,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:40:18] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:18] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:18] local.INFO: Packet analysis {"connection_id":189162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:40:18] local.INFO: Extracted packet for processing {"connection_id":189162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:40:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:40:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":189162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:40:18] local.INFO: GPS data processed {"connection_id":189162,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:40:18] local.INFO: Acknowledgment sent {"connection_id":189162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:40:39] local.INFO: TCP Data received {"connection_id":189006,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:40:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189006,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:40:39] local.INFO: Processing buffer {"connection_id":189006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:40:39] local.INFO: Packet analysis {"connection_id":189006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:40:39] local.INFO: Extracted packet for processing {"connection_id":189006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:40:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:40:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:40:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:40:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:40:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:40: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-09-21 22: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-09-21 22:40:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:40:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:40:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:40:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:40:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:40:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:40:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:40:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:40:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:40:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:40:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:40:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:40:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:40:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:40:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:40:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:40:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:40:39] local.INFO: DEBUG: GPS processor result {"connection_id":189006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:40:39] local.INFO: GPS data processed {"connection_id":189006,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:40:39] local.INFO: Acknowledgment sent {"connection_id":189006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:40:49] local.INFO: TCP Data received {"connection_id":189162,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189162,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:49] local.INFO: Processing buffer {"connection_id":189162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:40:49] local.INFO: Packet analysis {"connection_id":189162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:40:49] local.INFO: Extracted packet for processing {"connection_id":189162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:40:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:40:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:40:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189162,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:40:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:40:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:40:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:40:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:40:49] local.INFO: DEBUG: GPS processor result {"connection_id":189162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:40:49] local.INFO: GPS data processed {"connection_id":189162,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:40:49] local.INFO: Acknowledgment sent {"connection_id":189162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:41:07] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:07] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:07] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:41:12] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:12] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:12] local.INFO: IMEI packet received {"connection_id":189007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":189007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:41:12] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:12] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:41:12] local.INFO: IMEI packet received {"connection_id":191763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":191763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:41:13] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:13] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:13] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:41:13] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:41: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-09-21 22:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:41:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:41:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":191763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:41:13] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:41:13] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:41:17] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:17] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:41:17] local.INFO: IMEI packet received {"connection_id":189007,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:41:17] local.INFO: IMEI acknowledgment sent {"connection_id":189007,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:41:17] local.INFO: TCP Data received {"connection_id":191763,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191763,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:17] local.INFO: Processing buffer {"connection_id":191763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:41:17] local.INFO: Packet analysis {"connection_id":191763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:41:17] local.INFO: Extracted packet for processing {"connection_id":191763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":191763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:41:17] local.INFO: GPS data processed {"connection_id":191763,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:41:17] local.INFO: Acknowledgment sent {"connection_id":191763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:41:17] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:17] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:17] local.INFO: Packet analysis {"connection_id":189007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:41:17] local.INFO: Extracted packet for processing {"connection_id":189007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:41:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":189007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:41:18] local.INFO: GPS data processed {"connection_id":189007,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:41:18] local.INFO: Acknowledgment sent {"connection_id":189007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:41:49] local.INFO: TCP Data received {"connection_id":189007,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189007,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:49] local.INFO: Processing buffer {"connection_id":189007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4eeafa0012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:41:49] local.INFO: Packet analysis {"connection_id":189007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:41:49] local.INFO: Extracted packet for processing {"connection_id":189007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ee"} 
[2026-09-21 22:41:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:41:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242578176001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:41:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:41:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010372000,"timestamp_ms":1790010372000,"timestamp_seconds":1790010372,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4eeafa0"} 
[2026-09-21 22:41:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:41:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:41:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:41:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:41:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:41:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:41:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:41:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:41:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:41:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189007,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:41:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:41:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:41:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:41:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242578176001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:41:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:41:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:41:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242578176001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:41:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:41:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:41:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:41:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:41:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242578176001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:41:49] local.INFO: DEBUG: GPS processor result {"connection_id":189007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:41:49] local.INFO: GPS data processed {"connection_id":189007,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:41:49] local.INFO: Acknowledgment sent {"connection_id":189007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:01] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:01] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:01] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:42:07] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:07] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:42:07] local.INFO: IMEI packet received {"connection_id":191764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":191764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:42:08] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:08] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:08] local.INFO: Packet analysis {"connection_id":191764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:42:08] local.INFO: Extracted packet for processing {"connection_id":191764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:42: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-09-21 22:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:42:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":191764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:42:08] local.INFO: GPS data processed {"connection_id":191764,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:42:08] local.INFO: Acknowledgment sent {"connection_id":191764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:17] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:17] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:17] local.INFO: IMEI packet received {"connection_id":189165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:42:17] local.INFO: IMEI acknowledgment sent {"connection_id":189165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:42:21] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:21] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:42:21] local.INFO: IMEI packet received {"connection_id":189165,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:42:21] local.INFO: IMEI acknowledgment sent {"connection_id":189165,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:42:22] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:22] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:22] local.INFO: Packet analysis {"connection_id":189165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:22] local.INFO: Extracted packet for processing {"connection_id":189165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:42:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:42:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:42:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:42:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:42:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:42:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:42:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":189165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:42:22] local.INFO: GPS data processed {"connection_id":189165,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:42:22] local.INFO: Acknowledgment sent {"connection_id":189165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:27] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:27] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:27] local.INFO: Packet analysis {"connection_id":189165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:27] local.INFO: Extracted packet for processing {"connection_id":189165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 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-09-21 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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-09-21 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-09-21 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-09-21 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-09-21 22:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:42:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":189165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:42:27] local.INFO: GPS data processed {"connection_id":189165,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:42:27] local.INFO: Acknowledgment sent {"connection_id":189165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:32] local.INFO: TCP Data received {"connection_id":189165,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189165,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:32] local.INFO: Processing buffer {"connection_id":189165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:42:32] local.INFO: Packet analysis {"connection_id":189165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:32] local.INFO: Extracted packet for processing {"connection_id":189165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42: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-09-21 22:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":189165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":189165,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:42:32] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":189165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:42:32] local.INFO: GPS data processed {"connection_id":189165,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:42:32] local.INFO: Acknowledgment sent {"connection_id":189165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:39] local.INFO: TCP Data received {"connection_id":191764,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191764,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:39] local.INFO: Processing buffer {"connection_id":191764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:42:39] local.INFO: Packet analysis {"connection_id":191764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:42:39] local.INFO: Extracted packet for processing {"connection_id":191764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:42: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-09-21 22: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-09-21 22:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":191764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:42:39] local.INFO: GPS data processed {"connection_id":191764,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:42:39] local.INFO: Acknowledgment sent {"connection_id":191764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:42:39] local.INFO: TCP Data received {"connection_id":189164,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189164,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:42:39] local.INFO: Processing buffer {"connection_id":189164,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:42:39] local.INFO: IMEI packet received {"connection_id":189164,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":189164,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:43:01] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:01] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:01] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:43:07] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:07] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:43:07] local.INFO: IMEI packet received {"connection_id":189008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":189008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:43:07] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:07] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:07] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:43:07] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:43:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:43:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:43:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:43: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-09-21 22:43:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:43:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:43:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:43:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:43:07] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:43:07] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:43:12] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:12] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:12] local.INFO: IMEI packet received {"connection_id":190480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":190480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:43:14] local.INFO: TCP Data received {"connection_id":190481,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:43:14] local.INFO: Processing buffer {"connection_id":190481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:43:14] local.INFO: IMEI packet received {"connection_id":190481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":190481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:43:17] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:17] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:43:17] local.INFO: IMEI packet received {"connection_id":190480,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":190480,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:43:17] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:17] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:17] local.INFO: Packet analysis {"connection_id":190480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:43:17] local.INFO: Extracted packet for processing {"connection_id":190480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:43:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:43:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:43:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:43:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:43:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:43:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:43:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:43:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:43:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:43:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:43:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:43:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:43:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:43:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:43:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:43:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:43:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:43:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:43:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:43:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:43:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:43:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:43:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:43:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:43:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:43:17] local.INFO: DEBUG: GPS processor result {"connection_id":190480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:43:17] local.INFO: GPS data processed {"connection_id":190480,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:43:17] local.INFO: Acknowledgment sent {"connection_id":190480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:43:39] local.INFO: TCP Data received {"connection_id":189008,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189008,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:39] local.INFO: Processing buffer {"connection_id":189008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:43:39] local.INFO: Packet analysis {"connection_id":189008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:43:39] local.INFO: Extracted packet for processing {"connection_id":189008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:43:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:43:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:43:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:43:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:43:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:43: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-09-21 22:43:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:43:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:43:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:43:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:43:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:43:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:43:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:43:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:43:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:43:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:43:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:43:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:43:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:43:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:43:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:43:39] local.INFO: DEBUG: GPS processor result {"connection_id":189008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:43:39] local.INFO: GPS data processed {"connection_id":189008,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:43:39] local.INFO: Acknowledgment sent {"connection_id":189008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:43:49] local.INFO: TCP Data received {"connection_id":190480,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190480,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:49] local.INFO: Processing buffer {"connection_id":190480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:43:49] local.INFO: Packet analysis {"connection_id":190480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:43:49] local.INFO: Extracted packet for processing {"connection_id":190480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:43:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:43:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:43:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:43:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190480,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:43:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:43:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":190480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:43:49] local.INFO: GPS data processed {"connection_id":190480,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:43:49] local.INFO: Acknowledgment sent {"connection_id":190480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:44:02] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:02] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:02] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:44:02] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:44:06] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:06] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:44:06] local.INFO: IMEI packet received {"connection_id":191765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":191765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:44:07] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:07] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:07] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:44:07] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 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-09-21 22:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:44: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-09-21 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-09-21 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-09-21 22:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 22:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:44:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:44:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:44:07] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:44:07] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:44:11] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:11] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:11] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:44:17] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.6","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:17] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:44:17] local.INFO: IMEI packet received {"connection_id":189009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":189009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:44:19] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:19] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:19] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:44:19] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:44:19] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:44:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:44:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:44:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:44:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:44:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:44:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:44:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:44:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:44:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:44:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:44:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:44:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:44:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:44:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:44:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:44:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:44:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:44:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:44:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:44:19] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:44:19] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:44:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:44:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:44:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:44:20] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:44:20] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:44:38] local.INFO: TCP Data received {"connection_id":191765,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191765,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:38] local.INFO: Processing buffer {"connection_id":191765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:44:38] local.INFO: Packet analysis {"connection_id":191765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:44:38] local.INFO: Extracted packet for processing {"connection_id":191765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:44:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:44:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:44:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 22:44:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:44:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:44: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-09-21 22: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-09-21 22:44:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:44:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:44:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:44:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:44:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:44:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:44:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:44:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:44:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:44:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:44:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:44:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:44:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:44:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:44:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:44:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:44:38] local.INFO: DEBUG: GPS processor result {"connection_id":191765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:44:38] local.INFO: GPS data processed {"connection_id":191765,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:44:38] local.INFO: Acknowledgment sent {"connection_id":191765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:44:51] local.INFO: TCP Data received {"connection_id":189009,"ip":"42.109.136.6","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189009,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:51] local.INFO: Processing buffer {"connection_id":189009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:44:51] local.INFO: Packet analysis {"connection_id":189009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:44:51] local.INFO: Extracted packet for processing {"connection_id":189009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:44:51] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:44:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:44:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:44:51] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:44:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:44:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:44:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:44:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:44:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:44:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:44:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:44:51] local.INFO: Teltonika packet parsed successfully {"connection_id":189009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:44:51] local.INFO: Passing IMEI to GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:44:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":189009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:44:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.6","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:44:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:44:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:44:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.6","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:44:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:44:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:44:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:44:51] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:44:51] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:44:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:44:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:44:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:44:51] local.INFO: DEBUG: GPS processor result {"connection_id":189009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:44:51] local.INFO: GPS data processed {"connection_id":189009,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:44:51] local.INFO: Acknowledgment sent {"connection_id":189009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:45:02] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:02] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:02] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:45:06] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:06] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:45:06] local.INFO: IMEI packet received {"connection_id":191766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":191766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:45:07] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:45:07] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f1c898012d34c14006aa40600008000c2a..."} 
[2026-09-21 22:45:07] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:45:07] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f1"} 
[2026-09-21 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:45:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242630144001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:45:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790010575000,"timestamp_ms":1790010575000,"timestamp_seconds":1790010575,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f1c898"} 
[2026-09-21 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-09-21 22:45:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:45: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-09-21 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-09-21 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-09-21 22:45:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:45:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:45:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:45:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 22:45:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:45:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:45:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242630144001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:45:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:45:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:45:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242630144001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:45:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:45:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:45:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:45:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:45:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242630144001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:45:07] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:45:07] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:45:07] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:45:11] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:11] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:11] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:45:17] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:17] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:45:17] local.INFO: IMEI packet received {"connection_id":189010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:45:17] local.INFO: IMEI acknowledgment sent {"connection_id":189010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:45:17] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:17] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:17] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:45:17] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:45:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:45:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:45:18] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:45:18] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:45:18] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:45:38] local.INFO: TCP Data received {"connection_id":191766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:45:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191766,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:45:38] local.INFO: Processing buffer {"connection_id":191766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:45:38] local.INFO: Packet analysis {"connection_id":191766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:45:38] local.INFO: Extracted packet for processing {"connection_id":191766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:45:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:45:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:45:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:45:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:45:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:45:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:45:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:45:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:45:38] local.INFO: Teltonika packet parsed successfully {"connection_id":191766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:45:38] local.INFO: Passing IMEI to GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:45:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":191766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:45:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:45:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:45:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:45:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:45:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:45:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:45:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:45:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:45:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:45:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:45:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:45:38] local.INFO: DEBUG: GPS processor result {"connection_id":191766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:45:38] local.INFO: GPS data processed {"connection_id":191766,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:45:38] local.INFO: Acknowledgment sent {"connection_id":191766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:45:49] local.INFO: TCP Data received {"connection_id":189010,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189010,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:49] local.INFO: Processing buffer {"connection_id":189010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:45:49] local.INFO: Packet analysis {"connection_id":189010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:45:49] local.INFO: Extracted packet for processing {"connection_id":189010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:45:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:45:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:45:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:45:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:45:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:45:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":189010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:45:49] local.INFO: GPS data processed {"connection_id":189010,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:45:49] local.INFO: Acknowledgment sent {"connection_id":189010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:46:01] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:01] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:01] local.INFO: IMEI packet received {"connection_id":189167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":189167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:46:07] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:07] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:46:07] local.INFO: IMEI packet received {"connection_id":189167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":189167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:46:07] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:07] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:07] local.INFO: Packet analysis {"connection_id":189167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:46:07] local.INFO: Extracted packet for processing {"connection_id":189167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":189167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:46:07] local.INFO: GPS data processed {"connection_id":189167,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:46:07] local.INFO: Acknowledgment sent {"connection_id":189167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:46:17] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:17] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:17] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:46:21] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:21] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:46:21] local.INFO: IMEI packet received {"connection_id":190483,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":190483,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:46:22] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:22] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:22] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:46:22] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:46:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:46:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:46:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:46:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:46:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:46:22] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:46:22] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:46:27] local.INFO: TCP Data received {"connection_id":190483,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190483,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:27] local.INFO: Processing buffer {"connection_id":190483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f34768012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:46:27] local.INFO: Packet analysis {"connection_id":190483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:46:27] local.INFO: Extracted packet for processing {"connection_id":190483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f3"} 
[2026-09-21 22:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242655232001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790010673000,"timestamp_ms":1790010673000,"timestamp_seconds":1790010673,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f34768"} 
[2026-09-21 22:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":118,"data_length":795,"current_offset":136} 
[2026-09-21 22:46: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-09-21 22:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":190483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":190483,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242655232001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242655232001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:46:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242655232001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":190483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:46:27] local.INFO: GPS data processed {"connection_id":190483,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:46:27] local.INFO: Acknowledgment sent {"connection_id":190483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:46:38] local.INFO: TCP Data received {"connection_id":189167,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189167,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:38] local.INFO: Processing buffer {"connection_id":189167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:46:38] local.INFO: Packet analysis {"connection_id":189167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:46:38] local.INFO: Extracted packet for processing {"connection_id":189167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:46:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:46:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:46:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:46:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:46:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:46:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:46:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:46:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:46:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:46:38] local.INFO: Teltonika packet parsed successfully {"connection_id":189167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:46:38] local.INFO: Passing IMEI to GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:46:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":189167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:46:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:46:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:46:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:46:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:46:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:46:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:46:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:46:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:46:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:46:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:46:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:46:38] local.INFO: DEBUG: GPS processor result {"connection_id":189167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:46:38] local.INFO: GPS data processed {"connection_id":189167,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:46:38] local.INFO: Acknowledgment sent {"connection_id":189167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:47:06] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:06] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:06] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:47:12] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:12] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:12] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:47:12] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:12] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:47:12] local.INFO: IMEI packet received {"connection_id":191767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":191767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:47:13] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:13] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:13] local.INFO: Packet analysis {"connection_id":191767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:47:13] local.INFO: Extracted packet for processing {"connection_id":191767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":191767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:47:13] local.INFO: GPS data processed {"connection_id":191767,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:47:13] local.INFO: Acknowledgment sent {"connection_id":191767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:47:17] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.5","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:17] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:47:17] local.INFO: IMEI packet received {"connection_id":189011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":189011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:47:17] local.INFO: TCP Data received {"connection_id":191767,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191767,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:17] local.INFO: Processing buffer {"connection_id":191767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:47:17] local.INFO: Packet analysis {"connection_id":191767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:47:17] local.INFO: Extracted packet for processing {"connection_id":191767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":191767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:47:17] local.INFO: GPS data processed {"connection_id":191767,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:47:17] local.INFO: Acknowledgment sent {"connection_id":191767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:47:17] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:17] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:17] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:47:17] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:47:18] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:47:18] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:47:18] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:47:49] local.INFO: TCP Data received {"connection_id":189011,"ip":"42.109.136.5","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189011,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:49] local.INFO: Processing buffer {"connection_id":189011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:47:49] local.INFO: Packet analysis {"connection_id":189011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:47:49] local.INFO: Extracted packet for processing {"connection_id":189011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:47:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:47:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:47:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:47:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:47:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:47:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:47:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:47:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:47:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:47:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:47:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:47:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:47:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:47:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.5","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:47:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:47:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:47:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.5","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:47:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:47:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:47:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:47:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:47:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:47:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:47:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:47:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:47:49] local.INFO: DEBUG: GPS processor result {"connection_id":189011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:47:49] local.INFO: GPS data processed {"connection_id":189011,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:47:49] local.INFO: Acknowledgment sent {"connection_id":189011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:48:02] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:02] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:02] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:48:07] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:07] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:48:07] local.INFO: IMEI packet received {"connection_id":190486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":190486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:48:08] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:08] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:08] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:48:08] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:48: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-09-21 22:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:48:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:48:08] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:48:08] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:48:11] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:11] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:11] local.INFO: IMEI packet received {"connection_id":189168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":189168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:48:17] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:17] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:48:17] local.INFO: IMEI packet received {"connection_id":189168,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":189168,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:48:17] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:17] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:17] local.INFO: Packet analysis {"connection_id":189168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:48:17] local.INFO: Extracted packet for processing {"connection_id":189168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:48:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:48:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":189168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:48:17] local.INFO: GPS data processed {"connection_id":189168,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:48:17] local.INFO: Acknowledgment sent {"connection_id":189168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:48:39] local.INFO: TCP Data received {"connection_id":189012,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:48:39] local.INFO: Processing buffer {"connection_id":189012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:48:39] local.INFO: IMEI packet received {"connection_id":189012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":189012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:48:40] local.INFO: TCP Data received {"connection_id":190486,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190486,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:40] local.INFO: Processing buffer {"connection_id":190486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:48:40] local.INFO: Packet analysis {"connection_id":190486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:48:40] local.INFO: Extracted packet for processing {"connection_id":190486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:48:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:48:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:48:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:48:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:48:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:48:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:48:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:48:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:48:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:48:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:48:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:48:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:48:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:48:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:48:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:48:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:48:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:48:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:48:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:48:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:48:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:48:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:48:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:48:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:48:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:48:40] local.INFO: DEBUG: GPS processor result {"connection_id":190486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:48:40] local.INFO: GPS data processed {"connection_id":190486,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:48:40] local.INFO: Acknowledgment sent {"connection_id":190486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:48:48] local.INFO: TCP Data received {"connection_id":189168,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189168,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:48] local.INFO: Processing buffer {"connection_id":189168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:48:48] local.INFO: Packet analysis {"connection_id":189168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:48:48] local.INFO: Extracted packet for processing {"connection_id":189168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:48:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:48:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:48:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:48:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:48:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:48:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:48:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:48:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:48:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:48:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:48:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:48:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:48:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:48:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189168,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:48:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:48:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:48:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:48:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:48:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:48:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:48:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:48:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:48:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:48:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:48:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:48:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":189168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:48:49] local.INFO: GPS data processed {"connection_id":189168,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:48:49] local.INFO: Acknowledgment sent {"connection_id":189168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:49:02] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:02] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:02] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:49:07] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:07] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:49:07] local.INFO: IMEI packet received {"connection_id":191768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":191768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:49:08] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:08] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:08] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:49:08] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 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-09-21 22:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:49: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-09-21 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-09-21 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-09-21 22:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:49: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-09-21 22:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:49:08] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:49:08] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:49:11] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:11] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:11] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:49:14] local.INFO: TCP Data received {"connection_id":190487,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:49:14] local.INFO: Processing buffer {"connection_id":190487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:49:14] local.INFO: IMEI packet received {"connection_id":190487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":190487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:49:17] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:17] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:49:17] local.INFO: IMEI packet received {"connection_id":190488,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":190488,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:49:18] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:18] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:18] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:49:18] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:49:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:49:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:49:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878615,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:49:18] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:49:18] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:49:40] local.INFO: TCP Data received {"connection_id":191768,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191768,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:40] local.INFO: Processing buffer {"connection_id":191768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:49:40] local.INFO: Packet analysis {"connection_id":191768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:49:40] local.INFO: Extracted packet for processing {"connection_id":191768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:49: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-09-21 22:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:49:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":191768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:49:40] local.INFO: GPS data processed {"connection_id":191768,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:49:40] local.INFO: Acknowledgment sent {"connection_id":191768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:49:49] local.INFO: TCP Data received {"connection_id":190488,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190488,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:49] local.INFO: Processing buffer {"connection_id":190488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:49:49] local.INFO: Packet analysis {"connection_id":190488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:49:49] local.INFO: Extracted packet for processing {"connection_id":190488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:49:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:49:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:49:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:49:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:49:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:49:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:49:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:49:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:49:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:49:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:49:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:49:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:49:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:49:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190488,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:49:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:49:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:49:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:49:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:49:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:49:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:49:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:49:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:49:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:49:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:49:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:49:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:49:49] local.INFO: DEBUG: GPS processor result {"connection_id":190488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:49:49] local.INFO: GPS data processed {"connection_id":190488,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:49:49] local.INFO: Acknowledgment sent {"connection_id":190488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:50:01] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:01] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:01] local.INFO: IMEI packet received {"connection_id":189013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":189013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:50:07] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:07] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:50:07] local.INFO: IMEI packet received {"connection_id":189013,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":189013,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:50:08] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:50:08] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f66060012d34c14006aa40600005000c29..."} 
[2026-09-21 22:50:08] local.INFO: Packet analysis {"connection_id":189013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:50:08] local.INFO: Extracted packet for processing {"connection_id":189013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f6"} 
[2026-09-21 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":5,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:50:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242707200001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790010876000,"timestamp_ms":1790010876000,"timestamp_seconds":1790010876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f66060"} 
[2026-09-21 22:50:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 22:50: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-09-21 22:50:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:50:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:50: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-09-21 22:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242707200001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242707200001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242707200001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":189013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:50:08] local.INFO: GPS data processed {"connection_id":189013,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:50:08] local.INFO: Acknowledgment sent {"connection_id":189013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:50:17] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:17] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:17] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:50:21] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:21] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:50:21] local.INFO: IMEI packet received {"connection_id":191769,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":191769,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:50:22] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:22] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:22] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:50:22] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:50:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:50:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:50:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:50:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":191769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:50:22] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:50:22] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:50:39] local.INFO: TCP Data received {"connection_id":189013,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:50:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189013,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:50:39] local.INFO: Processing buffer {"connection_id":189013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:50:39] local.INFO: Packet analysis {"connection_id":189013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:50:39] local.INFO: Extracted packet for processing {"connection_id":189013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:50:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:50:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:50:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:50:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:50:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:50:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:50: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-09-21 22:50:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:50:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:50:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:50:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:50:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:50:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189013,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:50: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-09-21 22:50:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:50:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:50:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:50:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:50:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:50:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:50:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:50:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:50:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:50:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:50:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:50:39] local.INFO: DEBUG: GPS processor result {"connection_id":189013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:50:39] local.INFO: GPS data processed {"connection_id":189013,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:50:39] local.INFO: Acknowledgment sent {"connection_id":189013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:50:53] local.INFO: TCP Data received {"connection_id":191769,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191769,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:53] local.INFO: Processing buffer {"connection_id":191769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:50:53] local.INFO: Packet analysis {"connection_id":191769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:50:53] local.INFO: Extracted packet for processing {"connection_id":191769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:50:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:50:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:50:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:50:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:50:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:50:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:50:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:50:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:50:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:50:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:50:53] local.INFO: Teltonika packet parsed successfully {"connection_id":191769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:50:53] local.INFO: Passing IMEI to GPS processor {"connection_id":191769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:50:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":191769,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:50:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:50:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:50:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:50:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:50:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:50:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:50:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:50:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:50:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:50:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:50:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:50:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:50:53] local.INFO: DEBUG: GPS processor result {"connection_id":191769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:50:53] local.INFO: GPS data processed {"connection_id":191769,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:50:53] local.INFO: Acknowledgment sent {"connection_id":191769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:51:02] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:02] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:02] local.INFO: IMEI packet received {"connection_id":190489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":190489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:51:06] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:06] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:51:06] local.INFO: IMEI packet received {"connection_id":190489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":190489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:51:08] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:08] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:08] local.INFO: Packet analysis {"connection_id":190489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:51:08] local.INFO: Extracted packet for processing {"connection_id":190489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:51: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-09-21 22:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:51: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-09-21 22:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":190489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:51:08] local.INFO: GPS data processed {"connection_id":190489,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:51:08] local.INFO: Acknowledgment sent {"connection_id":190489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:51:12] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:12] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:12] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:51:12] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:51:17] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:17] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:51:17] local.INFO: IMEI packet received {"connection_id":190490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":190490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:51:17] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:17] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:17] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:51:17] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:51:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:51:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:51:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:51:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:51:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:51:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:51:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:51:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:51:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:51:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:51:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:51:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:51:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:51:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:51:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:51:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:51:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:51:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:51:18] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:51:18] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:51:40] local.INFO: TCP Data received {"connection_id":190489,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190489,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:40] local.INFO: Processing buffer {"connection_id":190489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:51:40] local.INFO: Packet analysis {"connection_id":190489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:51:40] local.INFO: Extracted packet for processing {"connection_id":190489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:51:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:51:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:51:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:51:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:51:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:51:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:51:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:51:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:51:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:51:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:51:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:51:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:51: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-09-21 22:51:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:51:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:51:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:51:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:51:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:51:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:51:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:51:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:51:40] local.INFO: DEBUG: GPS processor result {"connection_id":190489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:51:40] local.INFO: GPS data processed {"connection_id":190489,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:51:40] local.INFO: Acknowledgment sent {"connection_id":190489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:51:49] local.INFO: TCP Data received {"connection_id":190490,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190490,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:49] local.INFO: Processing buffer {"connection_id":190490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4f7df30012d196f40071fef40003c00ff25..."} 
[2026-09-21 22:51:49] local.INFO: Packet analysis {"connection_id":190490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:51:49] local.INFO: Extracted packet for processing {"connection_id":190490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4f7"} 
[2026-09-21 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:51:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242732288001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:51:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:51:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790010974000,"timestamp_ms":1790010974000,"timestamp_seconds":1790010974,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4f7df30"} 
[2026-09-21 22:51:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:51:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13056,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:51:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:51:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:51:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:51:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:51:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:51:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:51:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:51:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:51:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:51:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:51:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:51:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242732288001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:51:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:51:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:51:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242732288001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:51:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:51:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:51:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:51:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:51:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242732288001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:51:49] local.INFO: DEBUG: GPS processor result {"connection_id":190490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:51:49] local.INFO: GPS data processed {"connection_id":190490,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:51:49] local.INFO: Acknowledgment sent {"connection_id":190490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:52:01] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:01] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:01] local.INFO: IMEI packet received {"connection_id":189170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":189170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:52:07] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:07] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:52:07] local.INFO: IMEI packet received {"connection_id":189170,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:52:07] local.INFO: IMEI acknowledgment sent {"connection_id":189170,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:52:08] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:08] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:08] local.INFO: Packet analysis {"connection_id":189170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:52:08] local.INFO: Extracted packet for processing {"connection_id":189170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:52:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:52:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 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-09-21 22:52:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 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-09-21 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-09-21 22:52:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:52:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:52:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:52:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:52: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-09-21 22:52:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:52:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:52:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:52:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:52:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:52:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:52:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:52:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:52:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:52:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:52:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:52:08] local.INFO: DEBUG: GPS processor result {"connection_id":189170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:52:08] local.INFO: GPS data processed {"connection_id":189170,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:52:08] local.INFO: Acknowledgment sent {"connection_id":189170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:52:11] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:11] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:11] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:52:17] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:17] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:52:17] local.INFO: IMEI packet received {"connection_id":190491,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":190491,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:52:18] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:18] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:18] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:52:18] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:52:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:52:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:52:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:52:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:52:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:52:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:52:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:52:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:52:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:52:18] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:52:18] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:52:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:52:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:52:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:52:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:52:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:52:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:52:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:52:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:52:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:52:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:52:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:52:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:52:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:52:18] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:52:18] local.INFO: GPS data processed {"connection_id":190491,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:52:18] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:52:39] local.INFO: TCP Data received {"connection_id":189170,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189170,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:39] local.INFO: Processing buffer {"connection_id":189170,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:52:39] local.INFO: Packet analysis {"connection_id":189170,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:52:39] local.INFO: Extracted packet for processing {"connection_id":189170,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:52:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:52:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:52:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:52:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:52:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:52: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-09-21 22:52:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:52:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:52:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:52:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189170,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:52:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:52:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189170,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:52: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-09-21 22:52:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:52:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:52:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:52:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:52:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:52:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:52:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:52:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:52:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:52:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:52:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:52:39] local.INFO: DEBUG: GPS processor result {"connection_id":189170,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:52:39] local.INFO: GPS data processed {"connection_id":189170,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:52:39] local.INFO: Acknowledgment sent {"connection_id":189170,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:52:49] local.INFO: TCP Data received {"connection_id":190491,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190491,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:49] local.INFO: Processing buffer {"connection_id":190491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:52:49] local.INFO: Packet analysis {"connection_id":190491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:52:49] local.INFO: Extracted packet for processing {"connection_id":190491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:52:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:52:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:52:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:52:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:52:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:52:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:52:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:52:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:52:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:52:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:52:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:52:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:52:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190491,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:52:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:52:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:52:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:52:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:52:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:52:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:52:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:52:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:52:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:52:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:52:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:52:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:52:49] local.INFO: DEBUG: GPS processor result {"connection_id":190491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:52:49] local.INFO: GPS data processed {"connection_id":190491,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:52:49] local.INFO: Acknowledgment sent {"connection_id":190491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:53:07] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:07] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:07] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:53:07] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:53:12] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:12] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:53:12] local.INFO: IMEI packet received {"connection_id":191771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:53:12] local.INFO: IMEI acknowledgment sent {"connection_id":191771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:53:13] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:13] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:13] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:53:13] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:53: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-09-21 22:53: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-09-21 22:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:53:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:53:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:53:13] local.INFO: GPS data processed {"connection_id":191771,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:53:13] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:53:17] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:17] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:17] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:53:18] local.INFO: TCP Data received {"connection_id":191771,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191771,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:18] local.INFO: Processing buffer {"connection_id":191771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:53:18] local.INFO: Packet analysis {"connection_id":191771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:53:18] local.INFO: Extracted packet for processing {"connection_id":191771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:53:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:53:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:53:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:53:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:53:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:53:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:53:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:53:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:53:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:53:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:53:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:53:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:53:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:53:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:53:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:53:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:53:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:53:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:53:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:53:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:53:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:53:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:53:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:53:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:53:18] local.INFO: DEBUG: GPS processor result {"connection_id":191771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:53:18] local.INFO: GPS data processed {"connection_id":191771,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:53:18] local.INFO: Acknowledgment sent {"connection_id":191771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:53:22] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:22] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:53:22] local.INFO: IMEI packet received {"connection_id":191772,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":191772,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:53:22] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:22] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:22] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:53:22] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:53:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:53:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:53:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:53:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:53:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:53:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:53:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:53:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:53:22] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:53:22] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:53:27] local.INFO: TCP Data received {"connection_id":191772,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191772,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:27] local.INFO: Processing buffer {"connection_id":191772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:53:27] local.INFO: Packet analysis {"connection_id":191772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:53:27] local.INFO: Extracted packet for processing {"connection_id":191772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:53: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-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 22:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191772,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:53:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":191772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878633,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:53:27] local.INFO: GPS data processed {"connection_id":191772,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:53:27] local.INFO: Acknowledgment sent {"connection_id":191772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:54:01] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:01] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:01] local.INFO: IMEI packet received {"connection_id":189172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":189172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:54:07] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:07] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:54:07] local.INFO: IMEI packet received {"connection_id":189172,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":189172,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:54:09] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:09] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:09] local.INFO: Packet analysis {"connection_id":189172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:54:09] local.INFO: Extracted packet for processing {"connection_id":189172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:54:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:54:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:54:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:54:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:54:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:54: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-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:54: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-09-21 22:54:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:54:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:54:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:54:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:54:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:54:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:54:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:54:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:54:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:54:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:54:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:54:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:54:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:54:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:54:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:54:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:54:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:54:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:54:09] local.INFO: DEBUG: GPS processor result {"connection_id":189172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:54:09] local.INFO: GPS data processed {"connection_id":189172,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:54:09] local.INFO: Acknowledgment sent {"connection_id":189172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:54:12] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:12] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:12] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:54:17] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.109.136.8","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:17] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:54:17] local.INFO: IMEI packet received {"connection_id":190492,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":190492,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:54:17] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:17] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:17] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:54:17] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:54:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:54:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:54:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:54:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:54:17] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:54:17] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:54:39] local.INFO: TCP Data received {"connection_id":190493,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:54:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190493,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:54:39] local.INFO: Processing buffer {"connection_id":190493,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:54:39] local.INFO: IMEI packet received {"connection_id":190493,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:54:39] local.INFO: IMEI acknowledgment sent {"connection_id":190493,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:54:43] local.INFO: TCP Data received {"connection_id":189172,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189172,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:43] local.INFO: Processing buffer {"connection_id":189172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:54:43] local.INFO: Packet analysis {"connection_id":189172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:54:43] local.INFO: Extracted packet for processing {"connection_id":189172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:54:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 22:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:54:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:54:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:54:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":189172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":189172,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:54: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-09-21 22:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":189172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:54:43] local.INFO: GPS data processed {"connection_id":189172,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:54:43] local.INFO: Acknowledgment sent {"connection_id":189172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:54:48] local.INFO: TCP Data received {"connection_id":190492,"ip":"42.109.136.8","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190492,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:48] local.INFO: Processing buffer {"connection_id":190492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:54:48] local.INFO: Packet analysis {"connection_id":190492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:54:48] local.INFO: Extracted packet for processing {"connection_id":190492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:54:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:54:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:54:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:54:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:54:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:54:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:54:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:54:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:54:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:54:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:54:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:54:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190492,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:54:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.8","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:54:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:54:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:54:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.8","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:54:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:54:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:54:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:54:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:54:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:54:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:54:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:54:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":190492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:54:49] local.INFO: GPS data processed {"connection_id":190492,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:54:49] local.INFO: Acknowledgment sent {"connection_id":190492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:55:02] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:02] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:02] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:55:07] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:07] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:55:07] local.INFO: IMEI packet received {"connection_id":191773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":191773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:55:08] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:55:08] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4faf828012d34c14006aa4060000c000c2a..."} 
[2026-09-21 22:55:08] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:55:08] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fa"} 
[2026-09-21 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242784256001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011177000,"timestamp_ms":1790011177000,"timestamp_seconds":1790011177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4faf828"} 
[2026-09-21 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-09-21 22:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 22:55: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-09-21 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-09-21 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-09-21 22:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:55: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-09-21 22:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242784256001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242784256001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242784256001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:55:08] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:55:08] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:55:12] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:12] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:12] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:55:17] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:17] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:55:17] local.INFO: IMEI packet received {"connection_id":190494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":190494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:55:17] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:17] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:17] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:55:17] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:55:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:55:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:55:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:55:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:55:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:55:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:55:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:55:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:55:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:55:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:55:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:55:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:55:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:55:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:55:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:55:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:55:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:55:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:55:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:55:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:55:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:55:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:55:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:55:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:55:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:55:17] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878639,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:55:17] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:55:17] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:55:19] local.INFO: TCP Data received {"connection_id":191774,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:55:19] local.INFO: Processing buffer {"connection_id":191774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 22:55:19] local.INFO: IMEI packet received {"connection_id":191774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 22:55:19] local.INFO: IMEI acknowledgment sent {"connection_id":191774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:55:39] local.INFO: TCP Data received {"connection_id":191773,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:55:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191773,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:55:39] local.INFO: Processing buffer {"connection_id":191773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:55:39] local.INFO: Packet analysis {"connection_id":191773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:55:39] local.INFO: Extracted packet for processing {"connection_id":191773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:55:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:55:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:55:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:55:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:55:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:55:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:55:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:55:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:55:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:55:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:55:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:55:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:55:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:55: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-09-21 22:55:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:55:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:55:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:55:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:55:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:55:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:55:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:55:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:55:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:55:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:55:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:55:39] local.INFO: DEBUG: GPS processor result {"connection_id":191773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:55:39] local.INFO: GPS data processed {"connection_id":191773,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:55:39] local.INFO: Acknowledgment sent {"connection_id":191773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:55:48] local.INFO: TCP Data received {"connection_id":190494,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190494,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:48] local.INFO: Processing buffer {"connection_id":190494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:55:48] local.INFO: Packet analysis {"connection_id":190494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:55:48] local.INFO: Extracted packet for processing {"connection_id":190494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:55:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:55:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:55:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:55:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:55:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:55:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:55:49] local.INFO: DEBUG: GPS processor result {"connection_id":190494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:55:49] local.INFO: GPS data processed {"connection_id":190494,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:55:49] local.INFO: Acknowledgment sent {"connection_id":190494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:56:01] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:01] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:01] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:56:07] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:07] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:56:07] local.INFO: IMEI packet received {"connection_id":191775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":191775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:56:08] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:08] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:08] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:56:08] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 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-09-21 22:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 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-09-21 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-09-21 22:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22: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-09-21 22:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:56:08] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:56:08] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:56:11] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:11] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:11] local.INFO: IMEI packet received {"connection_id":189173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":189173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:56:17] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:17] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:56:17] local.INFO: IMEI packet received {"connection_id":189173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":189173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:56:17] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:17] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:17] local.INFO: Packet analysis {"connection_id":189173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:56:17] local.INFO: Extracted packet for processing {"connection_id":189173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:56:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:56:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:56:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:56:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":189173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:56:17] local.INFO: GPS data processed {"connection_id":189173,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:56:17] local.INFO: Acknowledgment sent {"connection_id":189173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:56:39] local.INFO: TCP Data received {"connection_id":191775,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191775,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:39] local.INFO: Processing buffer {"connection_id":191775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:56:39] local.INFO: Packet analysis {"connection_id":191775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:56:39] local.INFO: Extracted packet for processing {"connection_id":191775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:56:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:56:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:56:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:56:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:56: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-09-21 22:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":191775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:56:39] local.INFO: GPS data processed {"connection_id":191775,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:56:39] local.INFO: Acknowledgment sent {"connection_id":191775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:56:49] local.INFO: TCP Data received {"connection_id":189173,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189173,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:49] local.INFO: Processing buffer {"connection_id":189173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4fc76f8012d196f40071fef40003c00ff22..."} 
[2026-09-21 22:56:49] local.INFO: Packet analysis {"connection_id":189173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:56:49] local.INFO: Extracted packet for processing {"connection_id":189173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4fc"} 
[2026-09-21 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":34,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242809344001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790011275000,"timestamp_ms":1790011275000,"timestamp_seconds":1790011275,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4fc76f8"} 
[2026-09-21 22:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:56:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":12800,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:56:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 22:56:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:56:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242809344001,"66":2144,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242809344001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:56:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:56:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242809344001,"power":2144,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":189173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878645,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:56:49] local.INFO: GPS data processed {"connection_id":189173,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:56:49] local.INFO: Acknowledgment sent {"connection_id":189173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:57:01] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:01] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:01] local.INFO: IMEI packet received {"connection_id":189174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":189174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:57:07] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:07] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:57:07] local.INFO: IMEI packet received {"connection_id":189174,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":189174,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:57:08] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:08] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:08] local.INFO: Packet analysis {"connection_id":189174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:57:08] local.INFO: Extracted packet for processing {"connection_id":189174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:57:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:57:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 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-09-21 22:57:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22: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-09-21 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-09-21 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-09-21 22:57:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:57:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:57:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:57:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:57: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-09-21 22:57:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:57:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:57:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:57:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:57:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:57:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:57:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:57:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:57:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:57:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:57:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:57:08] local.INFO: DEBUG: GPS processor result {"connection_id":189174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:57:08] local.INFO: GPS data processed {"connection_id":189174,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:57:08] local.INFO: Acknowledgment sent {"connection_id":189174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:57:17] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:17] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:17] local.INFO: IMEI packet received {"connection_id":189176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":189176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:57:22] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:22] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:57:22] local.INFO: IMEI packet received {"connection_id":189176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":189176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:57:23] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:23] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:23] local.INFO: Packet analysis {"connection_id":189176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:57:23] local.INFO: Extracted packet for processing {"connection_id":189176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:57:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:57:23] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 22:57:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:57:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:57:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:57:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:57:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:57:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:57:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:57:23] local.INFO: Teltonika packet parsed successfully {"connection_id":189176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:57:23] local.INFO: Passing IMEI to GPS processor {"connection_id":189176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:57:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":189176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:57:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:57:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:57:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:57:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:57:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:57:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:57:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:57:23] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:57:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:57:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:57:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:57:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:57:23] local.INFO: DEBUG: GPS processor result {"connection_id":189176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:57:23] local.INFO: GPS data processed {"connection_id":189176,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:57:23] local.INFO: Acknowledgment sent {"connection_id":189176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:57:27] local.INFO: TCP Data received {"connection_id":189176,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189176,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:27] local.INFO: Processing buffer {"connection_id":189176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:57:27] local.INFO: Packet analysis {"connection_id":189176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:57:27] local.INFO: Extracted packet for processing {"connection_id":189176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 22:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 22:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 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-09-21 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:57: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-09-21 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-09-21 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-09-21 22:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:57:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":189176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:57:27] local.INFO: GPS data processed {"connection_id":189176,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:57:27] local.INFO: Acknowledgment sent {"connection_id":189176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:57:40] local.INFO: TCP Data received {"connection_id":189174,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189174,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:40] local.INFO: Processing buffer {"connection_id":189174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:57:40] local.INFO: Packet analysis {"connection_id":189174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:57:40] local.INFO: Extracted packet for processing {"connection_id":189174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:57:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:57:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:57:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:57:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:57:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:57:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:57:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:57:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:57:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:57:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:57:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189174,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:57:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:57:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:57:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:57:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:57:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:57:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:57:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:57:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:57:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:57:40] local.INFO: DEBUG: GPS processor result {"connection_id":189174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:57:40] local.INFO: GPS data processed {"connection_id":189174,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:57:40] local.INFO: Acknowledgment sent {"connection_id":189174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:58:01] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:01] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:01] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:58:07] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:07] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:58:07] local.INFO: IMEI packet received {"connection_id":191777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:58:07] local.INFO: IMEI acknowledgment sent {"connection_id":191777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:58:08] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:08] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:08] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:58:08] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22: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-09-21 22:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:58: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-09-21 22:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:58:08] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:58:08] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:58:12] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:12] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:12] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:58:12] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:58:17] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:17] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:58:17] local.INFO: IMEI packet received {"connection_id":190495,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":190495,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:58:17] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:17] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:17] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:58:17] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 22:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:58:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:58:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:58:17] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:58:17] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:58:39] local.INFO: TCP Data received {"connection_id":191777,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191777,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:39] local.INFO: Processing buffer {"connection_id":191777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:58:39] local.INFO: Packet analysis {"connection_id":191777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:58:39] local.INFO: Extracted packet for processing {"connection_id":191777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22: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-09-21 22:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:58:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:58: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-09-21 22:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":191777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:58:39] local.INFO: GPS data processed {"connection_id":191777,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:58:39] local.INFO: Acknowledgment sent {"connection_id":191777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:58:49] local.INFO: TCP Data received {"connection_id":190495,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190495,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:49] local.INFO: Processing buffer {"connection_id":190495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:58:49] local.INFO: Packet analysis {"connection_id":190495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:58:49] local.INFO: Extracted packet for processing {"connection_id":190495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 22:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:58:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:58:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:58:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":190495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":190495,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:58:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:58:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:58:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":190495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878653,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:58:49] local.INFO: GPS data processed {"connection_id":190495,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:58:49] local.INFO: Acknowledgment sent {"connection_id":190495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:59:07] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:07] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:07] local.INFO: IMEI packet received {"connection_id":189178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 22:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":189178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:59:12] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:12] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:12] local.INFO: IMEI packet received {"connection_id":189015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":189015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 22:59:12] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:12] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 22:59:12] local.INFO: IMEI packet received {"connection_id":189178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 22:59:12] local.INFO: IMEI acknowledgment sent {"connection_id":189178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:59:13] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:13] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:13] local.INFO: Packet analysis {"connection_id":189178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:59:13] local.INFO: Extracted packet for processing {"connection_id":189178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:59:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:59:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:59:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":189178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:59:13] local.INFO: GPS data processed {"connection_id":189178,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:59:13] local.INFO: Acknowledgment sent {"connection_id":189178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:59:17] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:17] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 22:59:17] local.INFO: IMEI packet received {"connection_id":189015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 22:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":189015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 22:59:17] local.INFO: TCP Data received {"connection_id":189178,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189178,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:17] local.INFO: Processing buffer {"connection_id":189178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 22:59:17] local.INFO: Packet analysis {"connection_id":189178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:59:17] local.INFO: Extracted packet for processing {"connection_id":189178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 22:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 22:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 22:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 22:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 22:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 22:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":189178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:59:17] local.INFO: GPS data processed {"connection_id":189178,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:59:17] local.INFO: Acknowledgment sent {"connection_id":189178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:59:17] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:17] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:17] local.INFO: Packet analysis {"connection_id":189015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:59:17] local.INFO: Extracted packet for processing {"connection_id":189015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 22:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:59:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 22:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":189015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:59:18] local.INFO: GPS data processed {"connection_id":189015,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:59:18] local.INFO: Acknowledgment sent {"connection_id":189015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 22:59:48] local.INFO: TCP Data received {"connection_id":189015,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189015,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:48] local.INFO: Processing buffer {"connection_id":189015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 22:59:48] local.INFO: Packet analysis {"connection_id":189015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:59:48] local.INFO: Extracted packet for processing {"connection_id":189015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 22:59:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 22: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-09-21 22:59:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 22:59:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 22:59:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 22:59:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 22:59:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 22:59:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 22:59:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 22: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-09-21 22:59:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 22:59:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 22:59:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 22:59:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:59:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 22:59:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 22:59:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 22:59:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 22:59:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 22:59:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 22:59:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 22:59:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 22:59:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 22:59:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 22:59:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 22:59:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 22:59:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 22:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":189015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 22:59:49] local.INFO: GPS data processed {"connection_id":189015,"processed":1,"errors":0,"total":1} 
[2026-09-21 22:59:49] local.INFO: Acknowledgment sent {"connection_id":189015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:00:01] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:01] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:01] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:00:01] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:00:07] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:07] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:00:07] local.INFO: IMEI packet received {"connection_id":191778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":191778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:00:08] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 23:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 23:00:08] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c4ff8ff0012d34c14006aa4060000b000c29..."} 
[2026-09-21 23:00:08] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 23:00:08] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c4ff"} 
[2026-09-21 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":11,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:00:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242861312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:00:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011478000,"timestamp_ms":1790011478000,"timestamp_seconds":1790011478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c4ff8ff0"} 
[2026-09-21 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-09-21 23:00:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:00:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:00:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:00:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:00:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:00:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 23:00:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:00:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:00:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242861312001,"66":25441,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:00:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:00:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:00:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242861312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:00:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:00:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:00:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:00:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:00:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242861312001,"power":25441,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:00:08] local.INFO: DEBUG: GPS processor result {"connection_id":191778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:00:08] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:00:08] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:00:12] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:12] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:12] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:00:17] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:17] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:00:17] local.INFO: IMEI packet received {"connection_id":190496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":190496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:00:17] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:17] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:17] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:00:17] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 23:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 23:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:00:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:00:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:00:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:00:18] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878659,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:00:18] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:00:18] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:00:39] local.INFO: TCP Data received {"connection_id":191778,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:00:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191778,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:00:39] local.INFO: Processing buffer {"connection_id":191778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:00:39] local.INFO: Packet analysis {"connection_id":191778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:00:39] local.INFO: Extracted packet for processing {"connection_id":191778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:00:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:00:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:00:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:00:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:00:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:00:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:00:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:00:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:00:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:00:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:00:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:00:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:00:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:00:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:00:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:00:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:00:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:00:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:00:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:00:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:00:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:00:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:00:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:00:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:00:39] local.INFO: DEBUG: GPS processor result {"connection_id":191778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:00:39] local.INFO: GPS data processed {"connection_id":191778,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:00:39] local.INFO: Acknowledgment sent {"connection_id":191778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:00:44] local.INFO: TCP Data received {"connection_id":191779,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:00:44] local.INFO: Processing buffer {"connection_id":191779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:00:44] local.INFO: IMEI packet received {"connection_id":191779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:00:44] local.INFO: IMEI acknowledgment sent {"connection_id":191779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:00:48] local.INFO: TCP Data received {"connection_id":190496,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190496,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:48] local.INFO: Processing buffer {"connection_id":190496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:00:48] local.INFO: Packet analysis {"connection_id":190496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:00:48] local.INFO: Extracted packet for processing {"connection_id":190496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:00:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 23:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:00:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 23:00:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:00:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:00:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:00:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":190496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878661,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:00:48] local.INFO: GPS data processed {"connection_id":190496,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:00:48] local.INFO: Acknowledgment sent {"connection_id":190496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:01:01] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:01] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:01] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:01:07] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:07] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:01:07] local.INFO: IMEI packet received {"connection_id":189017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":189017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:01:08] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:08] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:08] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:01:08] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:01:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:01:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 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-09-21 23:01:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:01:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:01:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:01:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:01:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:01:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 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-09-21 23:01:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:01:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:01:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:01:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:01:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:01:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:01:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:01:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:01:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:01:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:01:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:01:08] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:01:08] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:01:08] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:01:14] local.INFO: TCP Data received {"connection_id":191780,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:01:14] local.INFO: Processing buffer {"connection_id":191780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:01:14] local.INFO: IMEI packet received {"connection_id":191780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":191780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:01:17] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:17] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:17] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:01:22] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:22] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:01:22] local.INFO: IMEI packet received {"connection_id":191781,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":191781,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:01:22] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:22] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:22] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:01:22] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:01:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:01:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:01:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 23:01:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:01:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:01:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-09-21 23:01:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:01:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:01:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:01:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:01:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:01:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:01:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:01:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:01:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:01:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:01:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:01:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:01:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:01:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:01:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:01:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:01:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:01:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:01:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:01:23] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:01:23] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:01:23] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:01:27] local.INFO: TCP Data received {"connection_id":191781,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191781,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:27] local.INFO: Processing buffer {"connection_id":191781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5010ec0012d196f40071fef40003c00ff27..."} 
[2026-09-21 23:01:27] local.INFO: Packet analysis {"connection_id":191781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:01:27] local.INFO: Extracted packet for processing {"connection_id":191781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c501"} 
[2026-09-21 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":39,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242886400001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790011576000,"timestamp_ms":1790011576000,"timestamp_seconds":1790011576,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5010ec0"} 
[2026-09-21 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-09-21 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":96,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191781,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242886400001,"66":2166,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242886400001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:01:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:01:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242886400001,"power":2166,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":191781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878664,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:01:27] local.INFO: GPS data processed {"connection_id":191781,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:01:27] local.INFO: Acknowledgment sent {"connection_id":191781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:01:39] local.INFO: TCP Data received {"connection_id":189017,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189017,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:39] local.INFO: Processing buffer {"connection_id":189017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:01:39] local.INFO: Packet analysis {"connection_id":189017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:01:39] local.INFO: Extracted packet for processing {"connection_id":189017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:01:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:01:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:01:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:01:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:01:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:01:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:01:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:01:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:01:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:01:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:01:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:01:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:01:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:01:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:01:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:01:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:01:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:01:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:01:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:01:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:01:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:01:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:01:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:01:39] local.INFO: DEBUG: GPS processor result {"connection_id":189017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:01:39] local.INFO: GPS data processed {"connection_id":189017,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:01:39] local.INFO: Acknowledgment sent {"connection_id":189017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:02:01] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:01] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:01] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:02:07] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:07] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:02:07] local.INFO: IMEI packet received {"connection_id":190497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":190497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:02:08] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:08] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:08] local.INFO: Packet analysis {"connection_id":190497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:02:08] local.INFO: Extracted packet for processing {"connection_id":190497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:02:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:02:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 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-09-21 23:02:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:02:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:02:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:02:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:02:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:02:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:02:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:02:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:02:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:02:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:02:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:02:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:02:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:02:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:02:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:02:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:02:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:02:08] local.INFO: DEBUG: GPS processor result {"connection_id":190497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:02:08] local.INFO: GPS data processed {"connection_id":190497,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:02:08] local.INFO: Acknowledgment sent {"connection_id":190497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:02:11] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:11] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:11] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:02:17] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:17] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:02:17] local.INFO: IMEI packet received {"connection_id":191782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":191782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:02:17] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:17] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:17] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:02:17] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:02:17] 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-09-21 23:02:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:02:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:02:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:02:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:02:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:02:18] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:02:18] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:02:39] local.INFO: TCP Data received {"connection_id":190497,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190497,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:39] local.INFO: Processing buffer {"connection_id":190497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:02:39] local.INFO: Packet analysis {"connection_id":190497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:02:39] local.INFO: Extracted packet for processing {"connection_id":190497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:02:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:02:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:02:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:02:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:02:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:02:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:02:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:02:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:02:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:02:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:02:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:02:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:02:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:02:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:02:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:02:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:02:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:02:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:02:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:02:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:02:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:02:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:02:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:02:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:02:39] local.INFO: DEBUG: GPS processor result {"connection_id":190497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:02:39] local.INFO: GPS data processed {"connection_id":190497,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:02:39] local.INFO: Acknowledgment sent {"connection_id":190497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:02:48] local.INFO: TCP Data received {"connection_id":191782,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191782,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:48] local.INFO: Processing buffer {"connection_id":191782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:02:48] local.INFO: Packet analysis {"connection_id":191782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:02:48] local.INFO: Extracted packet for processing {"connection_id":191782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:02:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:02:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:02:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:02:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:02:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:02:48] 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-09-21 23:02:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:02:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:02:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:02:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:02:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:02:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:02:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:02:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:02:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:02:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:02:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:02:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:02:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:02:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:02:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:02:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:02:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:02:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:02:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:02:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:02:48] local.INFO: DEBUG: GPS processor result {"connection_id":191782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878669,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:02:48] local.INFO: GPS data processed {"connection_id":191782,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:02:48] local.INFO: Acknowledgment sent {"connection_id":191782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:03:01] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:01] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:01] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:03:07] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:07] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:03:07] local.INFO: IMEI packet received {"connection_id":190498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":190498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:03:08] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:08] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:08] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:03:08] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:03:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:03:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:03:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:03:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:03:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:03:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:03:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:03:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:03:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:03:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:03:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:03:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:03:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:03:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:03:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:03:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:03:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:03:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:03:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:03:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:03:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:03:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:03:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:03:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:03:08] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:03:08] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:03:08] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:03:11] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:11] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:11] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:03:17] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:17] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:03:17] local.INFO: IMEI packet received {"connection_id":191783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":191783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:03:18] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:18] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:18] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:03:18] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:03:18] 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-09-21 23:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:03:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:03:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:03:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878671,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:03:18] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:03:18] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:03:39] local.INFO: TCP Data received {"connection_id":190498,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190498,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:39] local.INFO: Processing buffer {"connection_id":190498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:03:39] local.INFO: Packet analysis {"connection_id":190498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:03:39] local.INFO: Extracted packet for processing {"connection_id":190498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:03:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:03:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:03:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:03:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:03:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:03:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:03:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:03:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:03:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:03:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:03:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:03:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:03:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:03:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:03:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:03:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:03:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:03:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:03:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:03:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:03:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:03:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:03:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:03:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:03:39] local.INFO: DEBUG: GPS processor result {"connection_id":190498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:03:39] local.INFO: GPS data processed {"connection_id":190498,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:03:39] local.INFO: Acknowledgment sent {"connection_id":190498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:03:49] local.INFO: TCP Data received {"connection_id":191783,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191783,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:49] local.INFO: Processing buffer {"connection_id":191783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:03:49] local.INFO: Packet analysis {"connection_id":191783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:03:49] local.INFO: Extracted packet for processing {"connection_id":191783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:03:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:03:49] 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-09-21 23:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:03:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:03:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:03:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":191783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878673,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:03:49] local.INFO: GPS data processed {"connection_id":191783,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:03:49] local.INFO: Acknowledgment sent {"connection_id":191783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:04:08] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:08] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:08] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:04:08] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:04:12] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:12] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:04:12] local.INFO: IMEI packet received {"connection_id":191784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":191784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:04:13] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:13] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:13] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:04:13] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:04:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:04:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:04:13] local.INFO: GPS data processed {"connection_id":191784,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:04:13] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:04:17] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:17] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:17] local.INFO: IMEI packet received {"connection_id":189018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":189018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:04:18] local.INFO: TCP Data received {"connection_id":191784,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191784,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:18] local.INFO: Processing buffer {"connection_id":191784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:04:18] local.INFO: Packet analysis {"connection_id":191784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:04:18] local.INFO: Extracted packet for processing {"connection_id":191784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:04:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:04:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 23:04:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:04:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:04:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:04:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:04:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:04:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:04:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:04:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:04:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:04:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:04:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:04:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:04:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:04:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:04:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:04:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:04:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:04:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:04:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:04:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:04:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:04:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":191784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:04:18] local.INFO: GPS data processed {"connection_id":191784,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:04:18] local.INFO: Acknowledgment sent {"connection_id":191784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:04:21] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:21] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:04:21] local.INFO: IMEI packet received {"connection_id":189018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":189018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:04:22] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:22] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:22] local.INFO: Packet analysis {"connection_id":189018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:04:22] local.INFO: Extracted packet for processing {"connection_id":189018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:04:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:04:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:04:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:04:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:04:22] 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-09-21 23:04:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:04:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:04:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:04:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:04:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:04:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:04:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:04:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:04:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:04:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:04:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:04:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:04:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:04:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:04:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:04:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:04:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:04:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:04:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:04:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":189018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:04:22] local.INFO: GPS data processed {"connection_id":189018,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:04:22] local.INFO: Acknowledgment sent {"connection_id":189018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:04:53] local.INFO: TCP Data received {"connection_id":189018,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189018,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:53] local.INFO: Processing buffer {"connection_id":189018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:04:53] local.INFO: Packet analysis {"connection_id":189018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:04:53] local.INFO: Extracted packet for processing {"connection_id":189018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:04:53] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:04:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:04:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:04:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:04:53] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:04:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:04:53] 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-09-21 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:04:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:04:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:04:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:04:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:04:53] local.INFO: Teltonika packet parsed successfully {"connection_id":189018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:04:53] local.INFO: Passing IMEI to GPS processor {"connection_id":189018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:04:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":189018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:04:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:04:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:04:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:04:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:04:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:04:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:04:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:04:53] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:04:53] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:04:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:04:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:04:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:04:53] local.INFO: DEBUG: GPS processor result {"connection_id":189018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878677,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:04:53] local.INFO: GPS data processed {"connection_id":189018,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:04:53] local.INFO: Acknowledgment sent {"connection_id":189018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:05:02] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:02] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:02] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:05:07] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:07] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:05:07] local.INFO: IMEI packet received {"connection_id":190499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":190499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:05:08] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:05:08] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50427b8012d34c14006aa4060000a000c29..."} 
[2026-09-21 23:05:08] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:05:08] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c504"} 
[2026-09-21 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:05:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242938368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:05:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790011779000,"timestamp_ms":1790011779000,"timestamp_seconds":1790011779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50427b8"} 
[2026-09-21 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-09-21 23:05:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":97,"data_length":795,"current_offset":136} 
[2026-09-21 23:05:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:05:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:05:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:05:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:05:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:05:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:05:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:05:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:05:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242938368001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:05:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:05:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:05:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242938368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:05:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:05:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:05:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:05:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:05:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242938368001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:05:08] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:05:08] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:05:08] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:05:12] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:12] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:12] local.INFO: IMEI packet received {"connection_id":189020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:05:12] local.INFO: IMEI acknowledgment sent {"connection_id":189020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:05:17] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:17] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:05:17] local.INFO: IMEI packet received {"connection_id":189020,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":189020,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:05:17] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:17] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:17] local.INFO: Packet analysis {"connection_id":189020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:05:17] local.INFO: Extracted packet for processing {"connection_id":189020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:05:17] 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-09-21 23:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:05:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:05:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":189020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:05:17] local.INFO: GPS data processed {"connection_id":189020,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:05:17] local.INFO: Acknowledgment sent {"connection_id":189020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:05:39] local.INFO: TCP Data received {"connection_id":190499,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190499,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:05:39] local.INFO: Processing buffer {"connection_id":190499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:05:39] local.INFO: Packet analysis {"connection_id":190499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:05:39] local.INFO: Extracted packet for processing {"connection_id":190499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:05:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:05:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:05:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:05: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-09-21 23:05:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:05:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:05:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:05:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:05:39] local.INFO: DEBUG: GPS processor result {"connection_id":190499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:05:39] local.INFO: GPS data processed {"connection_id":190499,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:05:39] local.INFO: Acknowledgment sent {"connection_id":190499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:05:48] local.INFO: TCP Data received {"connection_id":189020,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189020,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:48] local.INFO: Processing buffer {"connection_id":189020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:05:48] local.INFO: Packet analysis {"connection_id":189020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:05:48] local.INFO: Extracted packet for processing {"connection_id":189020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:05:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:05:48] 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-09-21 23:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:05:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:05:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189020,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:05:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:05:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:05:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":189020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:05:48] local.INFO: GPS data processed {"connection_id":189020,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:05:48] local.INFO: Acknowledgment sent {"connection_id":189020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:06:01] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:01] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:01] local.INFO: IMEI packet received {"connection_id":189181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":189181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:06:07] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:07] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:06:07] local.INFO: IMEI packet received {"connection_id":189181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:06:07] local.INFO: IMEI acknowledgment sent {"connection_id":189181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:06:09] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:09] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:09] local.INFO: Packet analysis {"connection_id":189181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:06:09] local.INFO: Extracted packet for processing {"connection_id":189181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:06:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:06:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:06:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:06:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:06:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:06: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-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:06: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-09-21 23:06:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:06:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:06:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:06:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:06:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:06:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:06:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:06:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:06:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:06:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:06:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:06:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:06:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:06:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:06:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:06:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:06:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:06:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:06:09] local.INFO: DEBUG: GPS processor result {"connection_id":189181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:06:09] local.INFO: GPS data processed {"connection_id":189181,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:06:09] local.INFO: Acknowledgment sent {"connection_id":189181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:06:12] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:12] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:12] local.INFO: IMEI packet received {"connection_id":189022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":189022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:06:17] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:17] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:06:17] local.INFO: IMEI packet received {"connection_id":189022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":189022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:06:17] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:17] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:17] local.INFO: Packet analysis {"connection_id":189022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:06:17] local.INFO: Extracted packet for processing {"connection_id":189022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:06:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:06:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:06:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:06:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:06:17] 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-09-21 23:06:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:06:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:06:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:06:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:06:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:06:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:06:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:06:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:06:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:06:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:06:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:06:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:06:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:06:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:06:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:06:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:06:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:06:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:06:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:06:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:06:17] local.INFO: DEBUG: GPS processor result {"connection_id":189022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878683,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:06:17] local.INFO: GPS data processed {"connection_id":189022,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:06:17] local.INFO: Acknowledgment sent {"connection_id":189022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:06:39] local.INFO: TCP Data received {"connection_id":189023,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:06:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:06:39] local.INFO: Processing buffer {"connection_id":189023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:06:39] local.INFO: IMEI packet received {"connection_id":189023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:06:39] local.INFO: IMEI acknowledgment sent {"connection_id":189023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:06:40] local.INFO: TCP Data received {"connection_id":189181,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189181,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:40] local.INFO: Processing buffer {"connection_id":189181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:06:40] local.INFO: Packet analysis {"connection_id":189181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:06:40] local.INFO: Extracted packet for processing {"connection_id":189181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:06:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:06:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:06:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:06:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:06:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:06:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:06:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:06:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:06:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:06:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:06:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:06:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:06:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:06:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:06:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:06:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:06:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:06:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:06:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:06:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:06:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:06:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:06:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:06:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:06:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:06:40] local.INFO: DEBUG: GPS processor result {"connection_id":189181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:06:40] local.INFO: GPS data processed {"connection_id":189181,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:06:40] local.INFO: Acknowledgment sent {"connection_id":189181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:06:49] local.INFO: TCP Data received {"connection_id":189022,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189022,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:49] local.INFO: Processing buffer {"connection_id":189022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c505a2a0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:06:49] local.INFO: Packet analysis {"connection_id":189022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:06:49] local.INFO: Extracted packet for processing {"connection_id":189022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c505"} 
[2026-09-21 23:06:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458242963456001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790011876000,"timestamp_ms":1790011876000,"timestamp_seconds":1790011876,"priority":1,"record_length":96,"hex_timestamp":"000001a0c505a2a0"} 
[2026-09-21 23:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:06:49] 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-09-21 23:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-09-21 23:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458242963456001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458242963456001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:06:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:06:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458242963456001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":189022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:06:49] local.INFO: GPS data processed {"connection_id":189022,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:06:49] local.INFO: Acknowledgment sent {"connection_id":189022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:07:01] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:01] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:01] local.INFO: IMEI packet received {"connection_id":189182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":189182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:07:07] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:07] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:07:07] local.INFO: IMEI packet received {"connection_id":189182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":189182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:07:08] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:08] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:08] local.INFO: Packet analysis {"connection_id":189182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:07:08] local.INFO: Extracted packet for processing {"connection_id":189182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 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-09-21 23:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:07: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-09-21 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-09-21 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-09-21 23:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:07: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-09-21 23:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":189182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:07:08] local.INFO: GPS data processed {"connection_id":189182,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:07:08] local.INFO: Acknowledgment sent {"connection_id":189182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:07:11] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:11] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:11] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:07:14] local.INFO: TCP Data received {"connection_id":189025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:07:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189025,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:07:14] local.INFO: Processing buffer {"connection_id":189025,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:07:14] local.INFO: IMEI packet received {"connection_id":189025,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:07:14] local.INFO: IMEI acknowledgment sent {"connection_id":189025,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:07:17] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:17] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:07:17] local.INFO: IMEI packet received {"connection_id":189024,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":189024,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:07:18] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:18] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:18] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:07:18] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:07:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:07:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:07:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:07:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:07:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:07:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:07:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:07:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:07:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:07:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:07:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:07:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:07:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:07:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:07:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:07:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:07:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:07:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:07:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:07:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:07:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:07:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:07:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:07:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:07:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:07:18] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:07:18] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:07:18] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:07:39] local.INFO: TCP Data received {"connection_id":189182,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189182,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:39] local.INFO: Processing buffer {"connection_id":189182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:07:39] local.INFO: Packet analysis {"connection_id":189182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:07:39] local.INFO: Extracted packet for processing {"connection_id":189182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:07:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:07:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:07:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:07:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:07:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:07: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-09-21 23:07:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:07:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:07:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:07:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:07:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:07:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:07: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-09-21 23:07:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:07:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:07:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:07:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:07:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:07:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:07:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:07:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:07:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:07:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:07:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:07:39] local.INFO: DEBUG: GPS processor result {"connection_id":189182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:07:39] local.INFO: GPS data processed {"connection_id":189182,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:07:39] local.INFO: Acknowledgment sent {"connection_id":189182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:07:49] local.INFO: TCP Data received {"connection_id":189024,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189024,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:49] local.INFO: Processing buffer {"connection_id":189024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:07:49] local.INFO: Packet analysis {"connection_id":189024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:07:49] local.INFO: Extracted packet for processing {"connection_id":189024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:07:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:07:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:07:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:07:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:07:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:07:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:07:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:07:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:07:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:07:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:07:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:07:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:07:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189024,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:07:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:07:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:07:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:07:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:07:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:07:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:07:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:07:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:07:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:07:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:07:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:07:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:07:49] local.INFO: DEBUG: GPS processor result {"connection_id":189024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878689,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:07:49] local.INFO: GPS data processed {"connection_id":189024,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:07:49] local.INFO: Acknowledgment sent {"connection_id":189024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:08:01] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:01] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:01] local.INFO: IMEI packet received {"connection_id":190500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":190500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:08:07] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:07] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:08:07] local.INFO: IMEI packet received {"connection_id":190500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:08:07] local.INFO: IMEI acknowledgment sent {"connection_id":190500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:08:08] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:08] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:08] local.INFO: Packet analysis {"connection_id":190500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:08:08] local.INFO: Extracted packet for processing {"connection_id":190500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:08:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:08:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:08:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:08:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:08:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:08:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:08:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:08:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:08:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:08:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:08:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:08:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:08:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:08:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:08:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:08:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:08:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:08:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:08:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:08:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:08:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:08:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:08:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:08:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:08:08] local.INFO: DEBUG: GPS processor result {"connection_id":190500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:08:08] local.INFO: GPS data processed {"connection_id":190500,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:08:08] local.INFO: Acknowledgment sent {"connection_id":190500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:08:17] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:17] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:17] local.INFO: IMEI packet received {"connection_id":191785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":191785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:08:21] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:21] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:08:21] local.INFO: IMEI packet received {"connection_id":191785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":191785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:08:22] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:22] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:22] local.INFO: Packet analysis {"connection_id":191785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:08:22] local.INFO: Extracted packet for processing {"connection_id":191785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:08:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:08:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":191785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":191785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":191785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:08:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:08:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":191785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:08:22] local.INFO: GPS data processed {"connection_id":191785,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:08:22] local.INFO: Acknowledgment sent {"connection_id":191785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:08:27] local.INFO: TCP Data received {"connection_id":191785,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191785,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:27] local.INFO: Processing buffer {"connection_id":191785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:08:27] local.INFO: Packet analysis {"connection_id":191785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:08:27] local.INFO: Extracted packet for processing {"connection_id":191785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 23:08:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":191785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":191785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":191785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:08:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":191785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:08:27] local.INFO: GPS data processed {"connection_id":191785,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:08:27] local.INFO: Acknowledgment sent {"connection_id":191785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:08:39] local.INFO: TCP Data received {"connection_id":190500,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190500,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:39] local.INFO: Processing buffer {"connection_id":190500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:08:39] local.INFO: Packet analysis {"connection_id":190500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:08:39] local.INFO: Extracted packet for processing {"connection_id":190500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:08:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:08:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:08:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:08:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:08:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:08:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:08: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-09-21 23:08:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:08:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:08:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:08:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:08:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:08:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:08:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:08:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:08:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:08:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:08:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:08:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:08:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:08:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:08:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:08:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:08:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:08:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:08:39] local.INFO: DEBUG: GPS processor result {"connection_id":190500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:08:39] local.INFO: GPS data processed {"connection_id":190500,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:08:39] local.INFO: Acknowledgment sent {"connection_id":190500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:09:07] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:07] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:07] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:09:12] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:12] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:12] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:09:12] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:12] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:09:12] local.INFO: IMEI packet received {"connection_id":191786,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":191786,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:09:12] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:12] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:12] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:09:12] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 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-09-21 23:09:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:09:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:09:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:09:12] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:09:12] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:09:17] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:17] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:09:17] local.INFO: IMEI packet received {"connection_id":191787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":191787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:09:17] local.INFO: TCP Data received {"connection_id":191786,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191786,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:17] local.INFO: Processing buffer {"connection_id":191786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:09:17] local.INFO: Packet analysis {"connection_id":191786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:09:17] local.INFO: Extracted packet for processing {"connection_id":191786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 23:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191786,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":191786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:09:17] local.INFO: GPS data processed {"connection_id":191786,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:09:17] local.INFO: Acknowledgment sent {"connection_id":191786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:09:17] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:17] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:17] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:09:17] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:09:17] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:09:17] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:09:48] local.INFO: TCP Data received {"connection_id":191787,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191787,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:48] local.INFO: Processing buffer {"connection_id":191787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:09:48] local.INFO: Packet analysis {"connection_id":191787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:09:48] local.INFO: Extracted packet for processing {"connection_id":191787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:09:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:09:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:09:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:09:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":191787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":191787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:09:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:09:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:09:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:09:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":191787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:09:48] local.INFO: GPS data processed {"connection_id":191787,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:09:48] local.INFO: Acknowledgment sent {"connection_id":191787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:10:02] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:02] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:02] local.INFO: IMEI packet received {"connection_id":190502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:10:02] local.INFO: IMEI acknowledgment sent {"connection_id":190502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:10:07] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:07] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:10:07] local.INFO: IMEI packet received {"connection_id":190502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:10:07] local.INFO: IMEI acknowledgment sent {"connection_id":190502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:10:08] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:10:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:10:08] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c508bf80012d34c14006aa40600006000c28..."} 
[2026-09-21 23:10:08] local.INFO: Packet analysis {"connection_id":190502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:10:08] local.INFO: Extracted packet for processing {"connection_id":190502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c508"} 
[2026-09-21 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:10:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243015424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:10:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012080000,"timestamp_ms":1790012080000,"timestamp_seconds":1790012080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c508bf80"} 
[2026-09-21 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-09-21 23:10:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:10:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:10: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-09-21 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-09-21 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-09-21 23:10:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:10:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:10:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:10:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:10: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-09-21 23:10:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:10:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:10:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243015424001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:10:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:10:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:10:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243015424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:10:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:10:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:10:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:10:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:10:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243015424001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:10:08] local.INFO: DEBUG: GPS processor result {"connection_id":190502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:10:08] local.INFO: GPS data processed {"connection_id":190502,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:10:08] local.INFO: Acknowledgment sent {"connection_id":190502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:10:12] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:12] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:12] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:10:17] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:17] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:10:17] local.INFO: IMEI packet received {"connection_id":191788,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":191788,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:10:17] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:17] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:17] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:10:17] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:10:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:10:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:10:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:10:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:10:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:10:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:10:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:10:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:10:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:10:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:10:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:10:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:10:17] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:10:17] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:10:38] local.INFO: TCP Data received {"connection_id":190502,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190502,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:10:38] local.INFO: Processing buffer {"connection_id":190502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:10:38] local.INFO: Packet analysis {"connection_id":190502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:10:38] local.INFO: Extracted packet for processing {"connection_id":190502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:10:38] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:10:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:10:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:10:38] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:10:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:10:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:10: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-09-21 23:10:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:10:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:10:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:10:38] local.INFO: Teltonika packet parsed successfully {"connection_id":190502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:10:38] local.INFO: Passing IMEI to GPS processor {"connection_id":190502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:10:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":190502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:10:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:10:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:10:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:10:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:10:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:10:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:10:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:10:38] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:10:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:10:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:10:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:10:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:10:38] local.INFO: DEBUG: GPS processor result {"connection_id":190502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:10:38] local.INFO: GPS data processed {"connection_id":190502,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:10:38] local.INFO: Acknowledgment sent {"connection_id":190502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:10:49] local.INFO: TCP Data received {"connection_id":191788,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191788,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:49] local.INFO: Processing buffer {"connection_id":191788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:10:49] local.INFO: Packet analysis {"connection_id":191788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:10:49] local.INFO: Extracted packet for processing {"connection_id":191788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:10:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:10:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":191788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":191788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":191788,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:10:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:10:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":191788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:10:49] local.INFO: GPS data processed {"connection_id":191788,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:10:49] local.INFO: Acknowledgment sent {"connection_id":191788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:11:02] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:02] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:02] local.INFO: IMEI packet received {"connection_id":189184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":189184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:11:07] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:07] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:11:07] local.INFO: IMEI packet received {"connection_id":189184,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":189184,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:11:08] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:08] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:08] local.INFO: Packet analysis {"connection_id":189184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:11:08] local.INFO: Extracted packet for processing {"connection_id":189184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:11:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:11:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:11:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:11:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:11:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:11:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:11:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:11:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:11:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:11:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:11:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:11:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:11:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:11:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:11:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:11:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:11:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:11:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:11:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:11:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:11:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:11:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:11:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:11:08] local.INFO: DEBUG: GPS processor result {"connection_id":189184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:11:08] local.INFO: GPS data processed {"connection_id":189184,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:11:08] local.INFO: Acknowledgment sent {"connection_id":189184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:11:12] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:12] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:12] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:11:12] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:11:17] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:17] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:11:17] local.INFO: IMEI packet received {"connection_id":189027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:11:17] local.INFO: IMEI acknowledgment sent {"connection_id":189027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:11:17] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:17] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:17] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:11:17] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:11:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:11:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:11:18] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:11:18] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:11:40] local.INFO: TCP Data received {"connection_id":189184,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189184,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:40] local.INFO: Processing buffer {"connection_id":189184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:11:40] local.INFO: Packet analysis {"connection_id":189184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:11:40] local.INFO: Extracted packet for processing {"connection_id":189184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:11:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:11:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:11:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:11:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:11:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:11:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:11:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:11:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:11:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:11:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:11:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:11:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:11:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189184,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:11:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:11:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:11:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:11:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:11:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:11:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:11:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:11:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:11:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:11:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:11:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:11:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:11:40] local.INFO: DEBUG: GPS processor result {"connection_id":189184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:11:40] local.INFO: GPS data processed {"connection_id":189184,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:11:40] local.INFO: Acknowledgment sent {"connection_id":189184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:11:49] local.INFO: TCP Data received {"connection_id":189027,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189027,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:49] local.INFO: Processing buffer {"connection_id":189027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50a3a68012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:11:49] local.INFO: Packet analysis {"connection_id":189027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:11:49] local.INFO: Extracted packet for processing {"connection_id":189027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50a"} 
[2026-09-21 23:11:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:11:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243040256001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:11:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:11:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012177000,"timestamp_ms":1790012177000,"timestamp_seconds":1790012177,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50a3a68"} 
[2026-09-21 23:11:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:11:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:11:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:11:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:11:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:11:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:11:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:11:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:11:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:11:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:11:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:11:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:11:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:11:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243040256001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:11:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:11:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:11:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243040256001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:11:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:11:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:11:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:11:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:11:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243040256001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:11:49] local.INFO: DEBUG: GPS processor result {"connection_id":189027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:11:49] local.INFO: GPS data processed {"connection_id":189027,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:11:49] local.INFO: Acknowledgment sent {"connection_id":189027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:12:01] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:01] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:01] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:12:07] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:07] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:12:07] local.INFO: IMEI packet received {"connection_id":189029,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":189029,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:12:08] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:08] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:08] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:12:08] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:12:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:12:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 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-09-21 23:12:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:12:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:12:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:12:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:12:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:12:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:12:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:12:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:12:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:12:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:12:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:12:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:12:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:12:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:12:08] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:12:08] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:12:08] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:12:11] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:11] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:11] local.INFO: IMEI packet received {"connection_id":190503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":190503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:12:16] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:16] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:12:16] local.INFO: IMEI packet received {"connection_id":190503,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":190503,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:12:17] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:17] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:17] local.INFO: Packet analysis {"connection_id":190503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:12:17] local.INFO: Extracted packet for processing {"connection_id":190503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:12:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:12:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:12:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":190503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:12:17] local.INFO: GPS data processed {"connection_id":190503,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:12:17] local.INFO: Acknowledgment sent {"connection_id":190503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:12:29] local.INFO: TCP Data received {"connection_id":190504,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190504,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:12:29] local.INFO: Processing buffer {"connection_id":190504,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:12:29] local.INFO: IMEI packet received {"connection_id":190504,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:12:29] local.INFO: IMEI acknowledgment sent {"connection_id":190504,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:12:40] local.INFO: TCP Data received {"connection_id":189029,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189029,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:40] local.INFO: Processing buffer {"connection_id":189029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:12:40] local.INFO: Packet analysis {"connection_id":189029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:12:40] local.INFO: Extracted packet for processing {"connection_id":189029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:12:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:12:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:12:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:12:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:12:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:12:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:12:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:12:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:12:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:12:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:12:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:12:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:12:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189029,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:12:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:12:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:12:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:12:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:12:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:12:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:12:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:12:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:12:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:12:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:12:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:12:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:12:40] local.INFO: DEBUG: GPS processor result {"connection_id":189029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:12:40] local.INFO: GPS data processed {"connection_id":189029,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:12:40] local.INFO: Acknowledgment sent {"connection_id":189029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:12:48] local.INFO: TCP Data received {"connection_id":190503,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190503,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:48] local.INFO: Processing buffer {"connection_id":190503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:12:48] local.INFO: Packet analysis {"connection_id":190503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:12:48] local.INFO: Extracted packet for processing {"connection_id":190503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:12:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:12:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190503,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:12:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:12:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":190503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878709,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:12:48] local.INFO: GPS data processed {"connection_id":190503,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:12:48] local.INFO: Acknowledgment sent {"connection_id":190503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:13:01] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:01] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:01] local.INFO: IMEI packet received {"connection_id":189185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":189185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:13:07] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:07] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:13:07] local.INFO: IMEI packet received {"connection_id":189185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":189185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:13:08] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:08] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:08] local.INFO: Packet analysis {"connection_id":189185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:13:08] local.INFO: Extracted packet for processing {"connection_id":189185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:13:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:13:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:13:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:13:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:13:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:13:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:13:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:13:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:13:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:13:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:13:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:13:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:13:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:13:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:13:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:13:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:13:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:13:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:13:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:13:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:13:08] local.INFO: DEBUG: GPS processor result {"connection_id":189185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:13:08] local.INFO: GPS data processed {"connection_id":189185,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:13:08] local.INFO: Acknowledgment sent {"connection_id":189185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:13:14] local.INFO: TCP Data received {"connection_id":191789,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:13:14] local.INFO: Processing buffer {"connection_id":191789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:13:14] local.INFO: IMEI packet received {"connection_id":191789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":191789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:13:17] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:17] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:17] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:13:17] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:13:22] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:22] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:13:22] local.INFO: IMEI packet received {"connection_id":189030,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":189030,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:13:22] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:22] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:22] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:13:22] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:13:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:13:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:13:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:13:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:13:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:13:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:13:22] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:13:22] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:13:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:13:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:13:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:13:22] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:13:22] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:13:27] local.INFO: TCP Data received {"connection_id":189030,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189030,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:27] local.INFO: Processing buffer {"connection_id":189030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:13:27] local.INFO: Packet analysis {"connection_id":189030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:13:27] local.INFO: Extracted packet for processing {"connection_id":189030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 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-09-21 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:13: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-09-21 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-09-21 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-09-21 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":189030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":189030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":189030,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:13:27] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":189030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:13:27] local.INFO: GPS data processed {"connection_id":189030,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:13:27] local.INFO: Acknowledgment sent {"connection_id":189030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:13:40] local.INFO: TCP Data received {"connection_id":189185,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189185,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:40] local.INFO: Processing buffer {"connection_id":189185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:13:40] local.INFO: Packet analysis {"connection_id":189185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:13:40] local.INFO: Extracted packet for processing {"connection_id":189185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:13:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:13:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:13:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:13:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:13:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:13:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:13: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:13:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:13:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:13:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:13:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:13:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:13:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:13:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:13:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:13:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:13:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:13:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:13:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:13:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:13:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:13:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:13:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:13:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:13:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:13:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:13:40] local.INFO: DEBUG: GPS processor result {"connection_id":189185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:13:40] local.INFO: GPS data processed {"connection_id":189185,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:13:40] local.INFO: Acknowledgment sent {"connection_id":189185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:14:07] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:07] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:07] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:14:07] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:14:12] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:12] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:12] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:14:12] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.106.6.56","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:12] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:14:12] local.INFO: IMEI packet received {"connection_id":191790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":191790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:14:13] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:13] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:13] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:14:13] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:14:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:14: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-09-21 23:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:14:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:14:13] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:14:13] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:14:17] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:17] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:14:17] local.INFO: IMEI packet received {"connection_id":189031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":189031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:14:18] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:18] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:18] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:14:18] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:14:18] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:14:18] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:14:18] local.INFO: TCP Data received {"connection_id":191790,"ip":"42.106.6.56","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191790,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:18] local.INFO: Processing buffer {"connection_id":191790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:14:18] local.INFO: Packet analysis {"connection_id":191790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:14:18] local.INFO: Extracted packet for processing {"connection_id":191790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:14:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:14:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:14:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:14:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:14:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:14:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:14:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:14:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:14:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:14:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:14:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:14:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.56","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.56","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:14:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:14:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:14:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:14:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:14:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:14:18] local.INFO: DEBUG: GPS processor result {"connection_id":191790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:14:18] local.INFO: GPS data processed {"connection_id":191790,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:14:18] local.INFO: Acknowledgment sent {"connection_id":191790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:14:49] local.INFO: TCP Data received {"connection_id":189031,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189031,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:49] local.INFO: Processing buffer {"connection_id":189031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:14:49] local.INFO: Packet analysis {"connection_id":189031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:14:49] local.INFO: Extracted packet for processing {"connection_id":189031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:14:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:14:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:14:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:14:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:14:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:14:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:14:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:14:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:14:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:14:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:14:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:14:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:14:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:14:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:14:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:14:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:14:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:14:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:14:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:14:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:14:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:14:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:14:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:14:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:14:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:14:49] local.INFO: DEBUG: GPS processor result {"connection_id":189031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:14:49] local.INFO: GPS data processed {"connection_id":189031,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:14:49] local.INFO: Acknowledgment sent {"connection_id":189031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:15:02] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:02] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:02] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:15:07] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:07] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:15:07] local.INFO: IMEI packet received {"connection_id":190505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:15:07] local.INFO: IMEI acknowledgment sent {"connection_id":190505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:15:08] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:15:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:15:08] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50d5748012d34c14006aa40600007000c28..."} 
[2026-09-21 23:15:08] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:15:08] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50d"} 
[2026-09-21 23:15:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":7,"angle":12,"satellites":40,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:15:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:15:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243092480001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:15:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012381000,"timestamp_ms":1790012381000,"timestamp_seconds":1790012381,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50d5748"} 
[2026-09-21 23:15:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:15:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:15: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-09-21 23:15:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:15:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:15:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:15:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:15:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:15:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:15:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:15:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:15:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:15:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243092480001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:15:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:15:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:15:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243092480001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:15:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:15:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:15:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:15:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:15:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243092480001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:15:08] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:15:08] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:15:08] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:15:12] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:12] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:12] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:15:17] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:17] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:15:17] local.INFO: IMEI packet received {"connection_id":189033,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":189033,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:15:17] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:17] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:17] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:15:17] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:15:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:15:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:15:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:15:18] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878719,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:15:18] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:15:18] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:15:39] local.INFO: TCP Data received {"connection_id":190505,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:15:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190505,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:15:39] local.INFO: Processing buffer {"connection_id":190505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:15:39] local.INFO: Packet analysis {"connection_id":190505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:15:39] local.INFO: Extracted packet for processing {"connection_id":190505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:15:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:15:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:15:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:15:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:15:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:15:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:15:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:15:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:15:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:15:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:15:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:15:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:15:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:15:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:15:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:15:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:15:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:15:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:15:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:15:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:15:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:15:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:15:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:15:39] local.INFO: DEBUG: GPS processor result {"connection_id":190505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:15:39] local.INFO: GPS data processed {"connection_id":190505,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:15:39] local.INFO: Acknowledgment sent {"connection_id":190505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:15:49] local.INFO: TCP Data received {"connection_id":189033,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189033,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:49] local.INFO: Processing buffer {"connection_id":189033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:15:49] local.INFO: Packet analysis {"connection_id":189033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:15:49] local.INFO: Extracted packet for processing {"connection_id":189033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:15:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:15:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:15:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:15:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:15:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:15:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:15:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:15:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:15:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:15:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:15:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:15:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:15:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:15:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189033,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:15:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:15:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:15:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:15:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:15:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:15:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:15:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:15:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:15:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:15:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:15:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:15:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:15:49] local.INFO: DEBUG: GPS processor result {"connection_id":189033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878721,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:15:49] local.INFO: GPS data processed {"connection_id":189033,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:15:49] local.INFO: Acknowledgment sent {"connection_id":189033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:16:01] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:01] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:01] local.INFO: IMEI packet received {"connection_id":189187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":189187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:16:07] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:07] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:16:07] local.INFO: IMEI packet received {"connection_id":189187,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":189187,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:16:08] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:08] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:08] local.INFO: Packet analysis {"connection_id":189187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:16:08] local.INFO: Extracted packet for processing {"connection_id":189187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:16:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:16:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:16:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:16:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:16:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:16:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:16:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:16:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:16:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:16:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:16:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:16:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:16: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-09-21 23:16:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:16:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:16:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:16:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:16:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:16:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:16:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:16:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:16:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:16:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:16:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:16:08] local.INFO: DEBUG: GPS processor result {"connection_id":189187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:16:08] local.INFO: GPS data processed {"connection_id":189187,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:16:08] local.INFO: Acknowledgment sent {"connection_id":189187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:16:12] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:12] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:12] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:16:12] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:16:17] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.2","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:17] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:16:17] local.INFO: IMEI packet received {"connection_id":189034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":189034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:16:17] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:17] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:17] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:16:17] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:16:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:16:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:16:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:16:18] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:16:18] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:16:18] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:16:40] local.INFO: TCP Data received {"connection_id":189187,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189187,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:40] local.INFO: Processing buffer {"connection_id":189187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:16:40] local.INFO: Packet analysis {"connection_id":189187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:16:40] local.INFO: Extracted packet for processing {"connection_id":189187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:16:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:16:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:16:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:16:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:16:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:16:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:16:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:16:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:16:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:16:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:16:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189187,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:16:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:16:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:16:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:16:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:16:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:16:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:16:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:16:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:16:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:16:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:16:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:16:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:16:40] local.INFO: DEBUG: GPS processor result {"connection_id":189187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:16:40] local.INFO: GPS data processed {"connection_id":189187,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:16:40] local.INFO: Acknowledgment sent {"connection_id":189187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:16:49] local.INFO: TCP Data received {"connection_id":189034,"ip":"42.109.136.2","data_length":795,"data_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189034,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:49] local.INFO: Processing buffer {"connection_id":189034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c50ed230012d196f40071fef40003c00ff25..."} 
[2026-09-21 23:16:49] local.INFO: Packet analysis {"connection_id":189034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:16:49] local.INFO: Extracted packet for processing {"connection_id":189034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c50e"} 
[2026-09-21 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":37,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:16:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243117312001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:16:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:16:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012478000,"timestamp_ms":1790012478000,"timestamp_seconds":1790012478,"priority":1,"record_length":96,"hex_timestamp":"000001a0c50ed230"} 
[2026-09-21 23:16:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:16:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:16:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:16:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:16:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:16:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:16:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:16:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:16:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:16:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:16:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.2","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:16:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:16:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:16:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243117312001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.2","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:16:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:16:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:16:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243117312001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:16:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:16:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:16:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:16:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:16:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243117312001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:16:49] local.INFO: DEBUG: GPS processor result {"connection_id":189034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878725,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:16:49] local.INFO: GPS data processed {"connection_id":189034,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:16:49] local.INFO: Acknowledgment sent {"connection_id":189034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:17:01] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:01] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:01] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:17:07] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:07] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:17:07] local.INFO: IMEI packet received {"connection_id":191791,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:17:07] local.INFO: IMEI acknowledgment sent {"connection_id":191791,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:17:08] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:08] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:08] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:17:08] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:17:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:17:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:17:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:17:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:17:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:17:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:17:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:17:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:17:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:17:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:17:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:17:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:17:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:17:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:17:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:17:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:17:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:17:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:17:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:17:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:17:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:17:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:17:08] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:17:08] local.INFO: GPS data processed {"connection_id":191791,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:17:08] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:17:11] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:11] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:11] local.INFO: IMEI packet received {"connection_id":189188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":189188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:17:16] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.109.136.10","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:16] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:17:16] local.INFO: IMEI packet received {"connection_id":189188,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:17:16] local.INFO: IMEI acknowledgment sent {"connection_id":189188,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:17:17] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:17] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:17] local.INFO: Packet analysis {"connection_id":189188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:17:17] local.INFO: Extracted packet for processing {"connection_id":189188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:17:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:17:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:17:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":189188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878727,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:17:17] local.INFO: GPS data processed {"connection_id":189188,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:17:17] local.INFO: Acknowledgment sent {"connection_id":189188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:17:39] local.INFO: TCP Data received {"connection_id":191791,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191791,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:39] local.INFO: Processing buffer {"connection_id":191791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:17:39] local.INFO: Packet analysis {"connection_id":191791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:17:39] local.INFO: Extracted packet for processing {"connection_id":191791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:17:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:17:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:17:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:17:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:17:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:17:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:17:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:17:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:17:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:17:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:17:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:17:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191791,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:17:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:17:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:17:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:17:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:17:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:17:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:17:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:17:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:17:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:17:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:17:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:17:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:17:39] local.INFO: DEBUG: GPS processor result {"connection_id":191791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:17:39] local.INFO: GPS data processed {"connection_id":191791,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:17:39] local.INFO: Acknowledgment sent {"connection_id":191791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:17:48] local.INFO: TCP Data received {"connection_id":189188,"ip":"42.109.136.10","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189188,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:48] local.INFO: Processing buffer {"connection_id":189188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:17:48] local.INFO: Packet analysis {"connection_id":189188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:17:48] local.INFO: Extracted packet for processing {"connection_id":189188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:17:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:17:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:17:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:17:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:17:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:17:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:17:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:17:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:17:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:17:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:17:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:17:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189188,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:17:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.10","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:17:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:17:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:17:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.10","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:17:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:17:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:17:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:17:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:17:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:17:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:17:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:17:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:17:48] local.INFO: DEBUG: GPS processor result {"connection_id":189188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:17:48] local.INFO: GPS data processed {"connection_id":189188,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:17:48] local.INFO: Acknowledgment sent {"connection_id":189188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:18:01] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:01] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:01] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:18:07] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:07] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:18:07] local.INFO: IMEI packet received {"connection_id":191792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":191792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:18:08] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:08] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:08] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:18:08] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:18:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:18:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:18:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:18:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":191792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:18:08] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:18:08] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:18:12] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:12] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:12] local.INFO: IMEI packet received {"connection_id":189189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":189189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:18:16] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:16] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:18:16] local.INFO: IMEI packet received {"connection_id":189189,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":189189,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:18:17] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:17] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:17] local.INFO: Packet analysis {"connection_id":189189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:18:17] local.INFO: Extracted packet for processing {"connection_id":189189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":189189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878731,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:18:17] local.INFO: GPS data processed {"connection_id":189189,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:18:17] local.INFO: Acknowledgment sent {"connection_id":189189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:18:39] local.INFO: TCP Data received {"connection_id":191792,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191792,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:39] local.INFO: Processing buffer {"connection_id":191792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:18:39] local.INFO: Packet analysis {"connection_id":191792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:18:39] local.INFO: Extracted packet for processing {"connection_id":191792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:18:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:18:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:18:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:18:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:18:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:18:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:18:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:18:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:18:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:18:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:18:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:18:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:18:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:18:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:18:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:18:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:18:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:18:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:18:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:18:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:18:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:18:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:18:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:18:39] local.INFO: DEBUG: GPS processor result {"connection_id":191792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:18:39] local.INFO: GPS data processed {"connection_id":191792,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:18:39] local.INFO: Acknowledgment sent {"connection_id":191792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:18:44] local.INFO: TCP Data received {"connection_id":189190,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:18:44] local.INFO: Processing buffer {"connection_id":189190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:18:44] local.INFO: IMEI packet received {"connection_id":189190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:18:44] local.INFO: IMEI acknowledgment sent {"connection_id":189190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:18:49] local.INFO: TCP Data received {"connection_id":189189,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189189,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:49] local.INFO: Processing buffer {"connection_id":189189,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:18:49] local.INFO: Packet analysis {"connection_id":189189,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:18:49] local.INFO: Extracted packet for processing {"connection_id":189189,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:18:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:18:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:18:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:18:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:18:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:18:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:18:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:18:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:18:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:18:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:18:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189189,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:18:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:18:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189189,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:18:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:18:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:18:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:18:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:18:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:18:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:18:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:18:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:18:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:18:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:18:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:18:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:18:49] local.INFO: DEBUG: GPS processor result {"connection_id":189189,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:18:49] local.INFO: GPS data processed {"connection_id":189189,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:18:49] local.INFO: Acknowledgment sent {"connection_id":189189,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:19:01] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:01] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:01] local.INFO: IMEI packet received {"connection_id":189191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":189191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:19:07] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:07] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:19:07] local.INFO: IMEI packet received {"connection_id":189191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":189191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:19:08] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:08] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:08] local.INFO: Packet analysis {"connection_id":189191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:19:08] local.INFO: Extracted packet for processing {"connection_id":189191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:19:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:19:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 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-09-21 23:19:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:19:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:19:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:19:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:19:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:19:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:19: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-09-21 23:19:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:19:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:19:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:19:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:19:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:19:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:19:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:19:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:19:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:19:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:19:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:19:08] local.INFO: DEBUG: GPS processor result {"connection_id":189191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:19:08] local.INFO: GPS data processed {"connection_id":189191,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:19:08] local.INFO: Acknowledgment sent {"connection_id":189191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:19:11] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:11] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:11] local.INFO: IMEI packet received {"connection_id":189192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":189192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:19:14] local.INFO: TCP Data received {"connection_id":191793,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:19:14] local.INFO: Processing buffer {"connection_id":191793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:19:14] local.INFO: IMEI packet received {"connection_id":191793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":191793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:19:16] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.109.136.4","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:16] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:19:16] local.INFO: IMEI packet received {"connection_id":189192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":189192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:19:17] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:17] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:17] local.INFO: Packet analysis {"connection_id":189192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:19:17] local.INFO: Extracted packet for processing {"connection_id":189192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:19:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:19:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":189192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:19:17] local.INFO: GPS data processed {"connection_id":189192,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:19:17] local.INFO: Acknowledgment sent {"connection_id":189192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:19:39] local.INFO: TCP Data received {"connection_id":189191,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189191,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:39] local.INFO: Processing buffer {"connection_id":189191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:19:39] local.INFO: Packet analysis {"connection_id":189191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:19:39] local.INFO: Extracted packet for processing {"connection_id":189191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:19:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:19:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:19:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:19:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:19:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:19:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:19:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:19:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:19:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:19:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:19:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:19:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:19:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:19: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-09-21 23:19:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:19:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:19:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:19:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:19:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:19:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:19:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:19:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:19:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:19:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:19:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:19:39] local.INFO: DEBUG: GPS processor result {"connection_id":189191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:19:39] local.INFO: GPS data processed {"connection_id":189191,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:19:39] local.INFO: Acknowledgment sent {"connection_id":189191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:19:48] local.INFO: TCP Data received {"connection_id":189192,"ip":"42.109.136.4","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189192,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:48] local.INFO: Processing buffer {"connection_id":189192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:19:48] local.INFO: Packet analysis {"connection_id":189192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:19:48] local.INFO: Extracted packet for processing {"connection_id":189192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:19:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:19:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:19:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:19:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":189192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":189192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":189192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.4","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.4","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:19:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:19:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:19:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":189192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:19:49] local.INFO: GPS data processed {"connection_id":189192,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:19:49] local.INFO: Acknowledgment sent {"connection_id":189192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:20:01] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:01] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:01] local.INFO: IMEI packet received {"connection_id":190508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":190508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:20:07] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:07] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:20:07] local.INFO: IMEI packet received {"connection_id":190508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":190508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:20:08] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:20:08] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c511ef10012d34c14006aa40600006000c29..."} 
[2026-09-21 23:20:08] local.INFO: Packet analysis {"connection_id":190508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:20:08] local.INFO: Extracted packet for processing {"connection_id":190508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c511"} 
[2026-09-21 23:20:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":41,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:20:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:20:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243169536001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:20:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012682000,"timestamp_ms":1790012682000,"timestamp_seconds":1790012682,"priority":1,"record_length":96,"hex_timestamp":"000001a0c511ef10"} 
[2026-09-21 23:20:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:20:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:20:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:20:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:20:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:20:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:20:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:20:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:20:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:20:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:20:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:20:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:20:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243169536001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:20:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:20:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:20:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243169536001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:20:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:20:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:20:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:20:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:20:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243169536001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:20:08] local.INFO: DEBUG: GPS processor result {"connection_id":190508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:20:08] local.INFO: GPS data processed {"connection_id":190508,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:20:08] local.INFO: Acknowledgment sent {"connection_id":190508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:20:12] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:12] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:12] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:20:17] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:17] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:20:17] local.INFO: IMEI packet received {"connection_id":189035,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":189035,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:20:17] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:17] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:17] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:20:17] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:20:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:20:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:20:18] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878739,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:20:18] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:20:18] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:20:40] local.INFO: TCP Data received {"connection_id":190508,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:20:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190508,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:20:40] local.INFO: Processing buffer {"connection_id":190508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:20:40] local.INFO: Packet analysis {"connection_id":190508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:20:40] local.INFO: Extracted packet for processing {"connection_id":190508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:20:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:20:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:20:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:20:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:20:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:20:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:20:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:20:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:20:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:20:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:20:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:20:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:20:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:20:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:20:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:20:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:20:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:20:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:20:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:20:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:20:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:20:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:20:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:20:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:20:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:20:40] local.INFO: DEBUG: GPS processor result {"connection_id":190508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:20:40] local.INFO: GPS data processed {"connection_id":190508,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:20:40] local.INFO: Acknowledgment sent {"connection_id":190508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:20:49] local.INFO: TCP Data received {"connection_id":189035,"ip":"42.109.136.9","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189035,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:49] local.INFO: Processing buffer {"connection_id":189035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:20:49] local.INFO: Packet analysis {"connection_id":189035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:20:49] local.INFO: Extracted packet for processing {"connection_id":189035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:20:49] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:20:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":189035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":189035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":189035,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:20:49] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:20:49] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":189035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:20:49] local.INFO: GPS data processed {"connection_id":189035,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:20:49] local.INFO: Acknowledgment sent {"connection_id":189035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:21:02] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:02] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:02] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:21:07] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:07] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:21:07] local.INFO: IMEI packet received {"connection_id":191795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:21:07] local.INFO: IMEI acknowledgment sent {"connection_id":191795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:21:09] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:09] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:09] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:21:09] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:21:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:21: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-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:21: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-09-21 23: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-09-21 23:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:21:09] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:21:09] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:21:11] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:11] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:11] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:21:17] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.7","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:17] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:21:17] local.INFO: IMEI packet received {"connection_id":190509,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":190509,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:21:17] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:17] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:17] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:21:17] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:21:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:21:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:21:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:21:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:21:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:21:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:21:17] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:21:17] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:21:41] local.INFO: TCP Data received {"connection_id":191795,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191795,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:41] local.INFO: Processing buffer {"connection_id":191795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:21:41] local.INFO: Packet analysis {"connection_id":191795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:21:41] local.INFO: Extracted packet for processing {"connection_id":191795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:21:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:21:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21: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-09-21 23:21:41] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:21:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:21:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:21: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-09-21 23:21: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-09-21 23:21:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:21:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:21:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:21:41] local.INFO: Teltonika packet parsed successfully {"connection_id":191795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:21:41] local.INFO: Passing IMEI to GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:21:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":191795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:21:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:21:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:21:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:21:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:21:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:21:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:21:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:21:41] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:21:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:21:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:21:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:21:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:21:41] local.INFO: DEBUG: GPS processor result {"connection_id":191795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:21:41] local.INFO: GPS data processed {"connection_id":191795,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:21:41] local.INFO: Acknowledgment sent {"connection_id":191795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:21:48] local.INFO: TCP Data received {"connection_id":190509,"ip":"42.109.136.7","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190509,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:48] local.INFO: Processing buffer {"connection_id":190509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51369f8012d196f40071fef40003c00ff24..."} 
[2026-09-21 23:21:48] local.INFO: Packet analysis {"connection_id":190509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:21:48] local.INFO: Extracted packet for processing {"connection_id":190509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c513"} 
[2026-09-21 23:21:48] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":36,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243194368001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1790012779000,"timestamp_ms":1790012779000,"timestamp_seconds":1790012779,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51369f8"} 
[2026-09-21 23:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:21:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":9728,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":190509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":190509,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.7","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243194368001,"66":2155,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.7","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243194368001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:21:48] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:21:48] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243194368001,"power":2155,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":190509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:21:49] local.INFO: GPS data processed {"connection_id":190509,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:21:49] local.INFO: Acknowledgment sent {"connection_id":190509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:22:01] local.INFO: TCP Data received {"connection_id":190511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:01] local.INFO: Processing buffer {"connection_id":190511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:01] local.INFO: IMEI packet received {"connection_id":190511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:22:01] local.INFO: IMEI acknowledgment sent {"connection_id":190511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:22:06] local.INFO: TCP Data received {"connection_id":190511,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190511,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:06] local.INFO: Processing buffer {"connection_id":190511,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:22:06] local.INFO: IMEI packet received {"connection_id":190511,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":190511,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:22:08] local.INFO: TCP Data received {"connection_id":190511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:08] local.INFO: Processing buffer {"connection_id":190511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:08] local.INFO: Packet analysis {"connection_id":190511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:22:08] local.INFO: Extracted packet for processing {"connection_id":190511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:22:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:22: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-09-21 23:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:22:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:22:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:22:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":190511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:22:08] local.INFO: GPS data processed {"connection_id":190511,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:22:08] local.INFO: Acknowledgment sent {"connection_id":190511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:22:11] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:11] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:11] local.INFO: IMEI packet received {"connection_id":189193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-09-21 23:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":189193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:22:16] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.109.136.1","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:16] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-09-21 23:22:16] local.INFO: IMEI packet received {"connection_id":189193,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-09-21 23:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":189193,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:22:17] local.INFO: TCP Data received {"connection_id":189193,"ip":"42.109.136.1","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51801c0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189193,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51801c0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:22:17] local.INFO: Processing buffer {"connection_id":189193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51801c0012d196f40071fef40003c00ff26..."} 
[2026-09-21 23:22:17] local.INFO: Packet analysis {"connection_id":189193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c518"} 
[2026-09-21 23:22:17] local.INFO: Extracted packet for processing {"connection_id":189193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c518"} 
[2026-09-21 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":756641600,"raw_latitude":119533376,"longitude_deg":75.66416,"latitude_deg":11.9533376,"altitude":60,"angle":255,"satellites":38,"speed":0,"hex_longitude":"2d196f40","hex_latitude":"071fef40","is_valid_coordinates":true} 
[2026-09-21 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243271424001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":22557627800092672,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1832753972707803136,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790013080000,"timestamp_ms":1790013080000,"timestamp_seconds":1790013080,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51801c0"} 
[2026-09-21 23:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":8704,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-09-21 23:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189193,"device_imei":"862567074811360","avl_records_count":1} 
[2026-09-21 23:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.109.136.1","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-09-21 23:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-09-21 23:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243271424001,"66":2133,"102":206,"83":41984,"24":0,"16":22557627800092672,"45":1832753972707803136},"client_ip":"42.109.136.1","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,83,24,16,45]} 
[2026-09-21 23:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-09-21 23:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-09-21 23:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243271424001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:22:17] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-09-21 23:22:17] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-09-21 23:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":22557627800092672,"km_value":22557627800092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:22:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1832753972707803136,"description":"Unknown IO ID 45"} 
[2026-09-21 23:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243271424001,"power":2133,"unknown_102":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1832753972707803136}} 
[2026-09-21 23:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":189193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878747,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:22:17] local.INFO: GPS data processed {"connection_id":189193,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:22:17] local.INFO: Acknowledgment sent {"connection_id":189193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:22:39] local.INFO: TCP Data received {"connection_id":190511,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190511,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:39] local.INFO: Processing buffer {"connection_id":190511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:22:39] local.INFO: Packet analysis {"connection_id":190511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:22:39] local.INFO: Extracted packet for processing {"connection_id":190511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:22:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:22:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:22:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:22:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:22:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:22: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-09-21 23: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-09-21 23:22:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:22:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:22:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:22:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:22:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190511,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:22:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:22:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:22:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:22:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:22:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:22:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:22:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:22:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:22:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:22:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:22:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:22:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:22:39] local.INFO: DEBUG: GPS processor result {"connection_id":190511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:22:39] local.INFO: GPS data processed {"connection_id":190511,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:22:39] local.INFO: Acknowledgment sent {"connection_id":190511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:23:01] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:01] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:01] local.INFO: IMEI packet received {"connection_id":191796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":191796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:23:06] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:06] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:23:06] local.INFO: IMEI packet received {"connection_id":191796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":191796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:23:08] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:08] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:08] local.INFO: Packet analysis {"connection_id":191796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:23:08] local.INFO: Extracted packet for processing {"connection_id":191796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:23:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:23:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:23:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:23:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:23:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:23:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:23:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:23: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-09-21 23: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-09-21 23:23:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:23:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:23:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:23:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:23:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23: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-09-21 23:23:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:23:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:23:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:23:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:23:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:23:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:23:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:23:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:23:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:23:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:23:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:23:08] local.INFO: DEBUG: GPS processor result {"connection_id":191796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:23:08] local.INFO: GPS data processed {"connection_id":191796,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:23:08] local.INFO: Acknowledgment sent {"connection_id":191796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:23:39] local.INFO: TCP Data received {"connection_id":191796,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191796,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:39] local.INFO: Processing buffer {"connection_id":191796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:23:39] local.INFO: Packet analysis {"connection_id":191796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:23:39] local.INFO: Extracted packet for processing {"connection_id":191796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:23:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:23:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:23:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:23:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:23:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:23:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:23: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-09-21 23: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-09-21 23:23:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:23:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:23:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:23:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:23:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23: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-09-21 23:23:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:23:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:23:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:23:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:23:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:23:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:23:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:23:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:23:39] local.INFO: DEBUG: GPS processor result {"connection_id":191796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:23:39] local.INFO: GPS data processed {"connection_id":191796,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:23:39] local.INFO: Acknowledgment sent {"connection_id":191796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:24:01] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:01] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:01] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:24:07] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:07] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:24:07] local.INFO: IMEI packet received {"connection_id":189037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":189037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:24:09] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:09] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:09] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:24:09] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:24:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:24:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:24:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:24:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:24:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:24:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:24:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:24: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-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:24: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-09-21 23:24:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:24:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:24:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:24:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:24:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:24:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:24:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:24:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:24:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:24:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:24:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:24:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:24:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:24:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:24:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:24:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:24:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:24:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:24:09] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:24:09] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:24:09] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:24:29] local.INFO: TCP Data received {"connection_id":191797,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:24:29] local.INFO: Processing buffer {"connection_id":191797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:24:29] local.INFO: IMEI packet received {"connection_id":191797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:24:29] local.INFO: IMEI acknowledgment sent {"connection_id":191797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:24:40] local.INFO: TCP Data received {"connection_id":189037,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189037,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:40] local.INFO: Processing buffer {"connection_id":189037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:24:40] local.INFO: Packet analysis {"connection_id":189037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:24:40] local.INFO: Extracted packet for processing {"connection_id":189037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:24:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:24:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:24:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:24:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:24:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:24:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:24:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:24:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:24:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:24: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:24:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:24:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:24:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:24:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:24:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:24:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:24:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:24:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:24:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:24:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:24:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:24:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:24:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:24:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:24:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:24:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:24:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:24:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:24:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:24:40] local.INFO: DEBUG: GPS processor result {"connection_id":189037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:24:40] local.INFO: GPS data processed {"connection_id":189037,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:24:40] local.INFO: Acknowledgment sent {"connection_id":189037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:25:01] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:01] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:01] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:25:07] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:07] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:25:07] local.INFO: IMEI packet received {"connection_id":190513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":190513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:25:08] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:25:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:25:08] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51686d8012d34c14006aa40600006000c2a..."} 
[2026-09-21 23:25:08] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:25:08] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c516"} 
[2026-09-21 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:25:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:25:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243246592001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:25:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:25:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:25:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:25:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790012983000,"timestamp_ms":1790012983000,"timestamp_seconds":1790012983,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51686d8"} 
[2026-09-21 23:25:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:25:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:25:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:25:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:25:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:25:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:25:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:25:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:25: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-09-21 23:25:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:25:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:25:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243246592001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:25:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:25:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:25:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243246592001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:25:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:25:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:25:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:25:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:25:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243246592001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:25:08] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:25:08] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:25:08] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:25:19] local.INFO: TCP Data received {"connection_id":189038,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189038,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:25:19] local.INFO: Processing buffer {"connection_id":189038,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:25:19] local.INFO: IMEI packet received {"connection_id":189038,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":189038,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:25:39] local.INFO: TCP Data received {"connection_id":190513,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:25:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190513,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:25:39] local.INFO: Processing buffer {"connection_id":190513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:25:39] local.INFO: Packet analysis {"connection_id":190513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:25:39] local.INFO: Extracted packet for processing {"connection_id":190513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:25:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:25:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:25:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:25:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:25:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:25:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:25:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:25:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:25: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-09-21 23:25:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:25:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:25:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:25:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:25:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:25:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:25: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-09-21 23:25:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:25:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:25:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:25:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:25:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:25:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:25:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:25:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:25:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:25:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:25:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:25:39] local.INFO: DEBUG: GPS processor result {"connection_id":190513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:25:39] local.INFO: GPS data processed {"connection_id":190513,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:25:39] local.INFO: Acknowledgment sent {"connection_id":190513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:26:08] local.INFO: TCP Data received {"connection_id":191798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:08] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:08] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:26:08] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:26:12] local.INFO: TCP Data received {"connection_id":191798,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:12] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:26:12] local.INFO: IMEI packet received {"connection_id":191798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:26:12] local.INFO: IMEI acknowledgment sent {"connection_id":191798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:26:13] local.INFO: TCP Data received {"connection_id":191798,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:13] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:13] local.INFO: Packet analysis {"connection_id":191798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:26:13] local.INFO: Extracted packet for processing {"connection_id":191798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:26:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:26: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-09-21 23:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:26:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:26:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":191798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:26:13] local.INFO: GPS data processed {"connection_id":191798,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:26:13] local.INFO: Acknowledgment sent {"connection_id":191798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:26:17] local.INFO: TCP Data received {"connection_id":191798,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191798,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:17] local.INFO: Processing buffer {"connection_id":191798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:26:17] local.INFO: Packet analysis {"connection_id":191798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:26:17] local.INFO: Extracted packet for processing {"connection_id":191798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":191798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":191798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":191798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.47","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:26:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":191798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:26:17] local.INFO: GPS data processed {"connection_id":191798,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:26:17] local.INFO: Acknowledgment sent {"connection_id":191798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:27:02] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:02] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:02] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:27:07] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:07] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:27:07] local.INFO: IMEI packet received {"connection_id":191800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":191800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:27:08] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:08] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:08] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:27:08] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:27:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:27:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:27:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:27:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:27:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 23:27:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:27:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:27:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:27:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:27:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:27:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:27: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-09-21 23:27:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:27:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:27:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:27:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:27:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:27:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:27:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:27:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:27:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:27:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:27:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:27:08] local.INFO: DEBUG: GPS processor result {"connection_id":191800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:27:08] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:27:08] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:27:40] local.INFO: TCP Data received {"connection_id":191800,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191800,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:40] local.INFO: Processing buffer {"connection_id":191800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:27:40] local.INFO: Packet analysis {"connection_id":191800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:27:40] local.INFO: Extracted packet for processing {"connection_id":191800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:27:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:27:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:27:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:27:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:27:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:27:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:27:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:27:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:27:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:27:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:27:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:27:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:27:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:27:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:27:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:27:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:27:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:27:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:27:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:27:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:27:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:27:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:27:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:27:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:27:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:27:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:27:40] local.INFO: DEBUG: GPS processor result {"connection_id":191800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:27:40] local.INFO: GPS data processed {"connection_id":191800,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:27:40] local.INFO: Acknowledgment sent {"connection_id":191800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:28:01] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:01] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:01] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:28:07] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:07] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:28:07] local.INFO: IMEI packet received {"connection_id":191801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:28:07] local.INFO: IMEI acknowledgment sent {"connection_id":191801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:28:08] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:08] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:08] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:28:08] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:28:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:28:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:28:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:28:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 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-09-21 23:28:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:28:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:28:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:28:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:28:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:28:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:28:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:28:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:28:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:28:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:28:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:28:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:28:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:28:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:28:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:28:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:28:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:28:08] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:28:08] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:28:08] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:28:39] local.INFO: TCP Data received {"connection_id":191801,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191801,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:39] local.INFO: Processing buffer {"connection_id":191801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:28:39] local.INFO: Packet analysis {"connection_id":191801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:28:39] local.INFO: Extracted packet for processing {"connection_id":191801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:28:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:28:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:28:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:28:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:28:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:28:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:28:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:28: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-09-21 23: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-09-21 23:28:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:28:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:28:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:28:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:28:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:28:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:28:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:28:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:28:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:28:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:28:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:28:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:28:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:28:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:28:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:28:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:28:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:28:39] local.INFO: DEBUG: GPS processor result {"connection_id":191801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:28:39] local.INFO: GPS data processed {"connection_id":191801,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:28:39] local.INFO: Acknowledgment sent {"connection_id":191801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:29:02] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:02] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:02] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:29:02] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:29:07] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:07] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:29:07] local.INFO: IMEI packet received {"connection_id":190515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:29:07] local.INFO: IMEI acknowledgment sent {"connection_id":190515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:29:08] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:08] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:08] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:29:08] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:29: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-09-21 23:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:29:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:29:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:29:08] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:29:08] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:29:39] local.INFO: TCP Data received {"connection_id":190515,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190515,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:39] local.INFO: Processing buffer {"connection_id":190515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:29:39] local.INFO: Packet analysis {"connection_id":190515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:29:39] local.INFO: Extracted packet for processing {"connection_id":190515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:29: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-09-21 23: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-09-21 23:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:29: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-09-21 23:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:29:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:29:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":190515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:29:39] local.INFO: GPS data processed {"connection_id":190515,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:29:39] local.INFO: Acknowledgment sent {"connection_id":190515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:30:01] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:01] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:01] local.INFO: IMEI packet received {"connection_id":189195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":189195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:30:07] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:07] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:30:07] local.INFO: IMEI packet received {"connection_id":189195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":189195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:30:08] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:30:08] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51b1ea0012d34c14006aa40600006000c2b..."} 
[2026-09-21 23:30:08] local.INFO: Packet analysis {"connection_id":189195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:30:08] local.INFO: Extracted packet for processing {"connection_id":189195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51b"} 
[2026-09-21 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:30:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243323648001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013284000,"timestamp_ms":1790013284000,"timestamp_seconds":1790013284,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51b1ea0"} 
[2026-09-21 23:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:30: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-09-21 23:30:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:30: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-09-21 23:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243323648001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243323648001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:30:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243323648001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":189195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:30:08] local.INFO: GPS data processed {"connection_id":189195,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:30:08] local.INFO: Acknowledgment sent {"connection_id":189195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:30:39] local.INFO: TCP Data received {"connection_id":189195,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:30:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189195,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:30:39] local.INFO: Processing buffer {"connection_id":189195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:30:39] local.INFO: Packet analysis {"connection_id":189195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:30:39] local.INFO: Extracted packet for processing {"connection_id":189195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:30:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:30:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:30:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:30:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:30:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:30:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:30:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:30:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:30:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:30:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:30:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:30:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:30:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:30:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:30:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:30: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-09-21 23:30:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:30:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:30:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:30:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:30:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:30:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:30:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:30:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:30:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:30:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:30:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:30:39] local.INFO: DEBUG: GPS processor result {"connection_id":189195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:30:39] local.INFO: GPS data processed {"connection_id":189195,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:30:39] local.INFO: Acknowledgment sent {"connection_id":189195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:30:49] local.INFO: TCP Data received {"connection_id":191802,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191802,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:30:49] local.INFO: Processing buffer {"connection_id":191802,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:30:49] local.INFO: IMEI packet received {"connection_id":191802,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":191802,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:31:01] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:01] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:01] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:31:01] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:31:07] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:07] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:31:07] local.INFO: IMEI packet received {"connection_id":191803,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":191803,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:31:07] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:07] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:07] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:31:07] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:31:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:31:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:31:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:31:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 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-09-21 23:31:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:31:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 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-09-21 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-09-21 23:31:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:31:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:31:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:31:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:31: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-09-21 23:31:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:31:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:31:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:31:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:31:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:31:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:31:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:31:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:31:07] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:31:07] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:31:07] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:31:14] local.INFO: TCP Data received {"connection_id":190516,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:31:14] local.INFO: Processing buffer {"connection_id":190516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:31:14] local.INFO: IMEI packet received {"connection_id":190516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:31:14] local.INFO: IMEI acknowledgment sent {"connection_id":190516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:31:40] local.INFO: TCP Data received {"connection_id":191803,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191803,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:40] local.INFO: Processing buffer {"connection_id":191803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:31:40] local.INFO: Packet analysis {"connection_id":191803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:31:40] local.INFO: Extracted packet for processing {"connection_id":191803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:31:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:31:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:31:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:31:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:31:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:31:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:31:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:31:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:31:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:31:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:31:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:31:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191803,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23: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-09-21 23:31:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:31:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:31:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:31:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:31:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:31:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:31:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:31:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:31:40] local.INFO: DEBUG: GPS processor result {"connection_id":191803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:31:40] local.INFO: GPS data processed {"connection_id":191803,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:31:40] local.INFO: Acknowledgment sent {"connection_id":191803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:32:07] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:07] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:07] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:32:07] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:32:12] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:12] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:32:12] local.INFO: IMEI packet received {"connection_id":191804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:32:12] local.INFO: IMEI acknowledgment sent {"connection_id":191804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:32:13] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:13] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:13] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:32:13] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:32:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:32:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:32:13] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:32:13] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:32:18] local.INFO: TCP Data received {"connection_id":191804,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191804,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:18] local.INFO: Processing buffer {"connection_id":191804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:32:18] local.INFO: Packet analysis {"connection_id":191804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:32:18] local.INFO: Extracted packet for processing {"connection_id":191804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:32:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:32:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:32:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:32:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":191804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:32:18] local.INFO: GPS data processed {"connection_id":191804,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:32:18] local.INFO: Acknowledgment sent {"connection_id":191804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:33:02] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:02] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:02] local.INFO: IMEI packet received {"connection_id":190517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":190517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:33:07] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:07] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:33:07] local.INFO: IMEI packet received {"connection_id":190517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":190517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:33:08] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:08] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:08] local.INFO: Packet analysis {"connection_id":190517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:33:08] local.INFO: Extracted packet for processing {"connection_id":190517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:33:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:33:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:33:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:33:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:33:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:33:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:33:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:33:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:33: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-09-21 23:33:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:33:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:33:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:33:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:33:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:33:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:33: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-09-21 23:33:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:33:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:33:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:33:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:33:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:33:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:33:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:33:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:33:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:33:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:33:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:33:08] local.INFO: DEBUG: GPS processor result {"connection_id":190517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:33:08] local.INFO: GPS data processed {"connection_id":190517,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:33:08] local.INFO: Acknowledgment sent {"connection_id":190517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:33:39] local.INFO: TCP Data received {"connection_id":190517,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190517,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:39] local.INFO: Processing buffer {"connection_id":190517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:33:39] local.INFO: Packet analysis {"connection_id":190517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:33:39] local.INFO: Extracted packet for processing {"connection_id":190517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:33:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:33:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:33:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:33:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:33:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:33:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:33:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:33:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:33:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:33:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:33:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:33:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:33:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:33:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:33: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-09-21 23:33:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:33:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:33:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:33:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:33:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:33:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:33:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:33:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:33:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:33:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:33:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":190517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:33:39] local.INFO: GPS data processed {"connection_id":190517,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:33:39] local.INFO: Acknowledgment sent {"connection_id":190517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:34:01] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:01] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:01] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:34:07] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:07] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:34:07] local.INFO: IMEI packet received {"connection_id":189041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":189041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:34:07] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:07] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:07] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:34:07] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:34:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:34:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:34:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:34:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:34:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:34: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-09-21 23:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:34:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:34:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:34:08] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:34:08] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:34:08] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:34:39] local.INFO: TCP Data received {"connection_id":189041,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189041,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:39] local.INFO: Processing buffer {"connection_id":189041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:34:39] local.INFO: Packet analysis {"connection_id":189041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:34:39] local.INFO: Extracted packet for processing {"connection_id":189041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:34:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:34:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:34:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:34:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:34: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-09-21 23:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:34:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:34:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":189041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:34:39] local.INFO: GPS data processed {"connection_id":189041,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:34:39] local.INFO: Acknowledgment sent {"connection_id":189041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:35:01] local.INFO: TCP Data received {"connection_id":191805,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:02] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:02] local.INFO: IMEI packet received {"connection_id":191805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":191805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:35:07] local.INFO: TCP Data received {"connection_id":191805,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:07] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:35:07] local.INFO: IMEI packet received {"connection_id":191805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:35:07] local.INFO: IMEI acknowledgment sent {"connection_id":191805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:35:08] local.INFO: TCP Data received {"connection_id":191805,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:35:08] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c51fb668012d34c14006aa4060000c000c2b..."} 
[2026-09-21 23:35:08] local.INFO: Packet analysis {"connection_id":191805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:35:08] local.INFO: Extracted packet for processing {"connection_id":191805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c51f"} 
[2026-09-21 23:35:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":12,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:35:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:35:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243400704001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:35:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:35:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:35:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013585000,"timestamp_ms":1790013585000,"timestamp_seconds":1790013585,"priority":1,"record_length":96,"hex_timestamp":"000001a0c51fb668"} 
[2026-09-21 23:35:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:35:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:35: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-09-21 23:35:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:35:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:35:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:35:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:35:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:35:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:35: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-09-21 23:35:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:35:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:35:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243400704001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:35:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:35:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:35:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243400704001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:35:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:35:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:35:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:35:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:35:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243400704001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:35:08] local.INFO: DEBUG: GPS processor result {"connection_id":191805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:35:08] local.INFO: GPS data processed {"connection_id":191805,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:35:08] local.INFO: Acknowledgment sent {"connection_id":191805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:35:39] local.INFO: TCP Data received {"connection_id":191805,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:35:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191805,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:35:39] local.INFO: Processing buffer {"connection_id":191805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:35:39] local.INFO: Packet analysis {"connection_id":191805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:35:39] local.INFO: Extracted packet for processing {"connection_id":191805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:35:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:35:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:35:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:35:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:35:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:35:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:35:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:35:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:35:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:35:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:35:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:35:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:35:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:35:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:35:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:35:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:35: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-09-21 23:35:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:35:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:35:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:35:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:35:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:35:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:35:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:35:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:35:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:35:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:35:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:35:39] local.INFO: DEBUG: GPS processor result {"connection_id":191805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:35:39] local.INFO: GPS data processed {"connection_id":191805,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:35:39] local.INFO: Acknowledgment sent {"connection_id":191805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:36:01] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:01] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:01] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:36:07] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:07] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:36:07] local.INFO: IMEI packet received {"connection_id":189043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":189043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:36:08] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:08] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:08] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:36:08] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:36:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:36:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:36:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:36:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:36:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:36:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:36: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-09-21 23:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:36:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:36:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:36:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:36:08] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:36:08] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:36:29] local.INFO: TCP Data received {"connection_id":189197,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189197,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:36:29] local.INFO: Processing buffer {"connection_id":189197,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:36:29] local.INFO: IMEI packet received {"connection_id":189197,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:36:29] local.INFO: IMEI acknowledgment sent {"connection_id":189197,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:36:39] local.INFO: TCP Data received {"connection_id":189043,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189043,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:39] local.INFO: Processing buffer {"connection_id":189043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:36:39] local.INFO: Packet analysis {"connection_id":189043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:36:39] local.INFO: Extracted packet for processing {"connection_id":189043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:36:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:36:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:36:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:36:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:36:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:36:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:36:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:36:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:36:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:36:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:36:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:36:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:36:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:36:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:36: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-09-21 23:36:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:36:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:36:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:36:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:36:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:36:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:36:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:36:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:36:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:36:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:36:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:36:39] local.INFO: DEBUG: GPS processor result {"connection_id":189043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:36:39] local.INFO: GPS data processed {"connection_id":189043,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:36:39] local.INFO: Acknowledgment sent {"connection_id":189043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:37:01] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:01] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:01] local.INFO: IMEI packet received {"connection_id":189198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:37:01] local.INFO: IMEI acknowledgment sent {"connection_id":189198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:37:07] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:07] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:37:07] local.INFO: IMEI packet received {"connection_id":189198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:37:07] local.INFO: IMEI acknowledgment sent {"connection_id":189198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:37:09] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:09] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:09] local.INFO: Packet analysis {"connection_id":189198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:37:09] local.INFO: Extracted packet for processing {"connection_id":189198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:37:09] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:37:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:37:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:37:09] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:37:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:37: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-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:37:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:37:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:37:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:37:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:37:09] local.INFO: Teltonika packet parsed successfully {"connection_id":189198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:37:09] local.INFO: Passing IMEI to GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:37:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:37: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-09-21 23:37:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:37:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:37:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:37:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:37:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:37:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:37:09] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:37:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:37:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:37:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:37:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:37:09] local.INFO: DEBUG: GPS processor result {"connection_id":189198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:37:09] local.INFO: GPS data processed {"connection_id":189198,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:37:09] local.INFO: Acknowledgment sent {"connection_id":189198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:37:14] local.INFO: TCP Data received {"connection_id":190519,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:37:14] local.INFO: Processing buffer {"connection_id":190519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:37:14] local.INFO: IMEI packet received {"connection_id":190519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:37:14] local.INFO: IMEI acknowledgment sent {"connection_id":190519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:37:40] local.INFO: TCP Data received {"connection_id":189198,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189198,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:40] local.INFO: Processing buffer {"connection_id":189198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:37:40] local.INFO: Packet analysis {"connection_id":189198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:37:40] local.INFO: Extracted packet for processing {"connection_id":189198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:37:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:37:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:37:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:37:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:37:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:37:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:37:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:37:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:37:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:37:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:37:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:37:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:37:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:37:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:37:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:37:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:37:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:37:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:37:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:37:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:37:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:37:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:37:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:37:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:37:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:37:40] local.INFO: DEBUG: GPS processor result {"connection_id":189198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:37:40] local.INFO: GPS data processed {"connection_id":189198,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:37:40] local.INFO: Acknowledgment sent {"connection_id":189198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:38:07] local.INFO: TCP Data received {"connection_id":191806,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:07] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:07] local.INFO: IMEI packet received {"connection_id":191806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:38:07] local.INFO: IMEI acknowledgment sent {"connection_id":191806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:38:12] local.INFO: TCP Data received {"connection_id":191806,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:12] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:38:12] local.INFO: IMEI packet received {"connection_id":191806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:38:12] local.INFO: IMEI acknowledgment sent {"connection_id":191806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:38:12] local.INFO: TCP Data received {"connection_id":191806,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:12] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:12] local.INFO: Packet analysis {"connection_id":191806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:38:12] local.INFO: Extracted packet for processing {"connection_id":191806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:38:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:38:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:38:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:38:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":191806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878779,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:38:13] local.INFO: GPS data processed {"connection_id":191806,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:38:13] local.INFO: Acknowledgment sent {"connection_id":191806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:38:18] local.INFO: TCP Data received {"connection_id":191806,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191806,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:18] local.INFO: Processing buffer {"connection_id":191806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:38:18] local.INFO: Packet analysis {"connection_id":191806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:38:18] local.INFO: Extracted packet for processing {"connection_id":191806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:38: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-09-21 23:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":191806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":191806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":191806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:38:18] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:38:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":191806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:38:18] local.INFO: GPS data processed {"connection_id":191806,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:38:18] local.INFO: Acknowledgment sent {"connection_id":191806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:39:02] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:02] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:02] local.INFO: IMEI packet received {"connection_id":190521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":190521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:39:07] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:07] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:39:07] local.INFO: IMEI packet received {"connection_id":190521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":190521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:39:08] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:08] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:08] local.INFO: Packet analysis {"connection_id":190521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:39:08] local.INFO: Extracted packet for processing {"connection_id":190521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:39:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:39:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:39:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:39:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:39:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":190521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:39:08] local.INFO: GPS data processed {"connection_id":190521,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:39:08] local.INFO: Acknowledgment sent {"connection_id":190521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:39:39] local.INFO: TCP Data received {"connection_id":190521,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190521,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:39] local.INFO: Processing buffer {"connection_id":190521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:39:39] local.INFO: Packet analysis {"connection_id":190521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:39:39] local.INFO: Extracted packet for processing {"connection_id":190521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:39:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:39:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:39:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:39:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:39:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:39:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:39:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:39:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:39:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:39:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:39:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:39:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:39:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:39:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:39:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:39: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-09-21 23:39:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:39:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:39:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:39:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:39:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:39:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:39:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:39:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:39:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:39:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:39:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:39:39] local.INFO: DEBUG: GPS processor result {"connection_id":190521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:39:39] local.INFO: GPS data processed {"connection_id":190521,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:39:39] local.INFO: Acknowledgment sent {"connection_id":190521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:40:01] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:01] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:01] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:40:07] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:07] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:40:07] local.INFO: IMEI packet received {"connection_id":191807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":191807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:40:08] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:40:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:40:08] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5244e30012d34c14006aa40600009000c2b..."} 
[2026-09-21 23:40:08] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:40:08] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c524"} 
[2026-09-21 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":9,"angle":12,"satellites":43,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:40:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243477760001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:40:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:40:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:40:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790013886000,"timestamp_ms":1790013886000,"timestamp_seconds":1790013886,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5244e30"} 
[2026-09-21 23:40:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:40:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:40:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:40:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:40:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:40:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:40:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:40:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:40:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23: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-09-21 23:40:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:40:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:40:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243477760001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:40:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:40:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:40:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243477760001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:40:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:40:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:40:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:40:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:40:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243477760001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:40:08] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:40:08] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:40:08] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:40:40] local.INFO: TCP Data received {"connection_id":191807,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:40:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191807,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:40:40] local.INFO: Processing buffer {"connection_id":191807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:40:40] local.INFO: Packet analysis {"connection_id":191807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:40:40] local.INFO: Extracted packet for processing {"connection_id":191807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:40:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:40:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:40:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:40:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:40:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:40:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:40:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:40:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:40:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:40:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:40:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:40:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:40:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:40:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:40:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:40:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:40:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:40:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:40:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:40:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:40:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:40:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:40:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:40:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:40:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:40:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:40:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:40:40] local.INFO: DEBUG: GPS processor result {"connection_id":191807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:40:40] local.INFO: GPS data processed {"connection_id":191807,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:40:40] local.INFO: Acknowledgment sent {"connection_id":191807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:41:01] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:01] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:01] local.INFO: IMEI packet received {"connection_id":189044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":189044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:41:07] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:07] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:41:07] local.INFO: IMEI packet received {"connection_id":189044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":189044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:41:08] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:08] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:08] local.INFO: Packet analysis {"connection_id":189044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:41:08] local.INFO: Extracted packet for processing {"connection_id":189044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:41:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:41:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:41:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23: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-09-21 23:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:41:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:41:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":189044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:41:08] local.INFO: GPS data processed {"connection_id":189044,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:41:08] local.INFO: Acknowledgment sent {"connection_id":189044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:41:39] local.INFO: TCP Data received {"connection_id":189044,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189044,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:39] local.INFO: Processing buffer {"connection_id":189044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:41:39] local.INFO: Packet analysis {"connection_id":189044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:41:39] local.INFO: Extracted packet for processing {"connection_id":189044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:41:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:41:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:41:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:41:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:41:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:41:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:41:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:41:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:41:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:41:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:41:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:41:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:41:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:41:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:41:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:41:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:41:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:41:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:41:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:41:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:41:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:41:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:41:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:41:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:41:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:41:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:41:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:41:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:41:39] local.INFO: DEBUG: GPS processor result {"connection_id":189044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878786,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:41:39] local.INFO: GPS data processed {"connection_id":189044,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:41:39] local.INFO: Acknowledgment sent {"connection_id":189044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:42:01] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:01] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:01] local.INFO: IMEI packet received {"connection_id":189045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":189045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:42:07] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:07] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:42:07] local.INFO: IMEI packet received {"connection_id":189045,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":189045,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:42:08] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:08] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:08] local.INFO: Packet analysis {"connection_id":189045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:42:08] local.INFO: Extracted packet for processing {"connection_id":189045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:42:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:42: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-09-21 23:42:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:42: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-09-21 23:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":189045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:42:08] local.INFO: GPS data processed {"connection_id":189045,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:42:08] local.INFO: Acknowledgment sent {"connection_id":189045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:42:39] local.INFO: TCP Data received {"connection_id":189200,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:42:39] local.INFO: Processing buffer {"connection_id":189200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:42:39] local.INFO: IMEI packet received {"connection_id":189200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:42:39] local.INFO: IMEI acknowledgment sent {"connection_id":189200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:42:39] local.INFO: TCP Data received {"connection_id":189045,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189045,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:39] local.INFO: Processing buffer {"connection_id":189045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:42:39] local.INFO: Packet analysis {"connection_id":189045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:42:39] local.INFO: Extracted packet for processing {"connection_id":189045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:42:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:42:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:42:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:42:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:42:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:42:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:42:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:42:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:42:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:42:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:42:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:42:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:42:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189045,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:42: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-09-21 23:42:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:42:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:42:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:42:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:42:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:42:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:42:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:42:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:42:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:42:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:42:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:42:39] local.INFO: DEBUG: GPS processor result {"connection_id":189045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:42:39] local.INFO: GPS data processed {"connection_id":189045,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:42:39] local.INFO: Acknowledgment sent {"connection_id":189045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:43:07] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:07] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:07] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:43:12] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:12] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:43:12] local.INFO: IMEI packet received {"connection_id":191809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":191809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:43:12] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:12] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:12] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:43:12] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:43:12] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:43:12] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:43:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:43:12] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:43:12] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:43:14] local.INFO: TCP Data received {"connection_id":189201,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:43:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:43:14] local.INFO: Processing buffer {"connection_id":189201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:43:14] local.INFO: IMEI packet received {"connection_id":189201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:43:14] local.INFO: IMEI acknowledgment sent {"connection_id":189201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:43:45] local.INFO: TCP Data received {"connection_id":191809,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191809,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:45] local.INFO: Processing buffer {"connection_id":191809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:43:45] local.INFO: Packet analysis {"connection_id":191809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:43:45] local.INFO: Extracted packet for processing {"connection_id":191809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:43:45] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:43: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-09-21 23:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:43:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:43:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":191809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":191809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:43:45] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:43:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:43:45] local.INFO: DEBUG: GPS processor result {"connection_id":191809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:43:45] local.INFO: GPS data processed {"connection_id":191809,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:43:45] local.INFO: Acknowledgment sent {"connection_id":191809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:44:01] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:01] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:01] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:44:07] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:07] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:44:07] local.INFO: IMEI packet received {"connection_id":190523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:44:07] local.INFO: IMEI acknowledgment sent {"connection_id":190523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:44:08] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:08] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:08] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:44:08] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:44:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:44:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:44:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:44:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 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-09-21 23:44:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:44:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:44:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:44:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:44:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:44:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:44:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:44:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:44:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:44:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:44:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:44:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:44:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:44:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:44:08] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:44:08] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:44:08] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:44:39] local.INFO: TCP Data received {"connection_id":190523,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190523,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:39] local.INFO: Processing buffer {"connection_id":190523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:44:39] local.INFO: Packet analysis {"connection_id":190523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:44:39] local.INFO: Extracted packet for processing {"connection_id":190523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:44:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:44:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:44:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:44:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:44:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:44:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:44:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:44:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:44:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:44:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:44:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:44:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:44: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-09-21 23:44:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:44:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:44:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:44:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:44:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:44:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:44:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:44:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:44:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:44:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:44:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:44:39] local.INFO: DEBUG: GPS processor result {"connection_id":190523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:44:39] local.INFO: GPS data processed {"connection_id":190523,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:44:39] local.INFO: Acknowledgment sent {"connection_id":190523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:45:02] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:02] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:02] local.INFO: IMEI packet received {"connection_id":189203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":189203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:45:06] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:07] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:07] local.INFO: IMEI packet received {"connection_id":189203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:45:07] local.INFO: IMEI acknowledgment sent {"connection_id":189203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:45:12] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.58","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:12] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:45:12] local.INFO: IMEI packet received {"connection_id":189203,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:45:12] local.INFO: IMEI acknowledgment sent {"connection_id":189203,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:45:13] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:45:13] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c528e5f8012d34c14006aa40600008000c2a..."} 
[2026-09-21 23:45:13] local.INFO: Packet analysis {"connection_id":189203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:45:13] local.INFO: Extracted packet for processing {"connection_id":189203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c528"} 
[2026-09-21 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":8,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243554816001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790014187000,"timestamp_ms":1790014187000,"timestamp_seconds":1790014187,"priority":1,"record_length":96,"hex_timestamp":"000001a0c528e5f8"} 
[2026-09-21 23:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":75,"data_length":795,"current_offset":136} 
[2026-09-21 23:45:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243554816001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243554816001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:45:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:45:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243554816001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":189203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:45:13] local.INFO: GPS data processed {"connection_id":189203,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:45:13] local.INFO: Acknowledgment sent {"connection_id":189203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:45:44] local.INFO: TCP Data received {"connection_id":189203,"ip":"42.106.6.58","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189203,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:45:44] local.INFO: Processing buffer {"connection_id":189203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:45:44] local.INFO: Packet analysis {"connection_id":189203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:45:44] local.INFO: Extracted packet for processing {"connection_id":189203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:45:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:45:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:45:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":189203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":189203,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.58","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.58","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:45:44] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:45:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":189203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:45:44] local.INFO: GPS data processed {"connection_id":189203,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:45:44] local.INFO: Acknowledgment sent {"connection_id":189203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:46:01] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:01] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:01] local.INFO: IMEI packet received {"connection_id":191810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":191810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:46:07] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:07] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:46:07] local.INFO: IMEI packet received {"connection_id":191810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":191810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:46:08] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:08] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:08] local.INFO: Packet analysis {"connection_id":191810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:46:08] local.INFO: Extracted packet for processing {"connection_id":191810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 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-09-21 23:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:46: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-09-21 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-09-21 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-09-21 23:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:46:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:46:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:46:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":191810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:46:08] local.INFO: GPS data processed {"connection_id":191810,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:46:08] local.INFO: Acknowledgment sent {"connection_id":191810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:46:39] local.INFO: TCP Data received {"connection_id":191810,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191810,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:39] local.INFO: Processing buffer {"connection_id":191810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:46:39] local.INFO: Packet analysis {"connection_id":191810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:46:39] local.INFO: Extracted packet for processing {"connection_id":191810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:46:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:46:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:46:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:46:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:46:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:46:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:46:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:46: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-09-21 23: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-09-21 23:46:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:46:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:46:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:46:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:46:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:46:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:46:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:46:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:46:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:46:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:46:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:46:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:46:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:46:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:46:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:46:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:46:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:46:39] local.INFO: DEBUG: GPS processor result {"connection_id":191810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:46:39] local.INFO: GPS data processed {"connection_id":191810,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:46:39] local.INFO: Acknowledgment sent {"connection_id":191810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:47:07] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:07] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:07] local.INFO: IMEI packet received {"connection_id":189205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:47:07] local.INFO: IMEI acknowledgment sent {"connection_id":189205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:47:12] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:12] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:47:12] local.INFO: IMEI packet received {"connection_id":189205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":189205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:47:13] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:13] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:13] local.INFO: Packet analysis {"connection_id":189205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:47:13] local.INFO: Extracted packet for processing {"connection_id":189205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:47:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:47: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-09-21 23:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":189205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:47:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":189205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:47:13] local.INFO: GPS data processed {"connection_id":189205,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:47:13] local.INFO: Acknowledgment sent {"connection_id":189205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:47:17] local.INFO: TCP Data received {"connection_id":189205,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189205,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:17] local.INFO: Processing buffer {"connection_id":189205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:47:17] local.INFO: Packet analysis {"connection_id":189205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:47:17] local.INFO: Extracted packet for processing {"connection_id":189205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:47:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:47:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:47:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:47:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:47:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:47:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:47:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:47:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:47:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:47:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:47:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:47:17] local.INFO: Teltonika packet parsed successfully {"connection_id":189205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:47:17] local.INFO: Passing IMEI to GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:47:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":189205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:47:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:47:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:47:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:47:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:47:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:47:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:47:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:47:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:47:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:47:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:47:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:47:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:47:17] local.INFO: DEBUG: GPS processor result {"connection_id":189205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:47:17] local.INFO: GPS data processed {"connection_id":189205,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:47:17] local.INFO: Acknowledgment sent {"connection_id":189205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:48:01] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:01] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:01] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:48:07] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:07] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:48:07] local.INFO: IMEI packet received {"connection_id":191811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":191811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:48:08] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:08] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:08] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:48:08] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:48: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-09-21 23:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:48:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:48:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:48:08] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:48:08] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:48:39] local.INFO: TCP Data received {"connection_id":189047,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189047,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:48:39] local.INFO: Processing buffer {"connection_id":189047,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:48:39] local.INFO: IMEI packet received {"connection_id":189047,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":189047,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:48:39] local.INFO: TCP Data received {"connection_id":191811,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191811,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:39] local.INFO: Processing buffer {"connection_id":191811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:48:39] local.INFO: Packet analysis {"connection_id":191811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:48:39] local.INFO: Extracted packet for processing {"connection_id":191811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:48:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:48:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:48:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:48:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:48:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:48:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:48:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:48:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:48: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-09-21 23: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-09-21 23:48:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:48:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:48:39] local.INFO: Teltonika packet parsed successfully {"connection_id":191811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:48:39] local.INFO: Passing IMEI to GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:48:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":191811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:48: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-09-21 23:48:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:48:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:48:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:48:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:48:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:48:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:48:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:48:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:48:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:48:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:48:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:48:39] local.INFO: DEBUG: GPS processor result {"connection_id":191811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:48:39] local.INFO: GPS data processed {"connection_id":191811,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:48:39] local.INFO: Acknowledgment sent {"connection_id":191811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:49:02] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:02] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:02] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:49:02] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:49:07] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:07] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:49:07] local.INFO: IMEI packet received {"connection_id":190525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":190525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:49:08] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:08] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:08] local.INFO: Packet analysis {"connection_id":190525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:49:08] local.INFO: Extracted packet for processing {"connection_id":190525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:49:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:49:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23: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-09-21 23:49:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":190525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:49:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:49:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:49:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":190525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:49:08] local.INFO: GPS data processed {"connection_id":190525,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:49:08] local.INFO: Acknowledgment sent {"connection_id":190525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:49:14] local.INFO: TCP Data received {"connection_id":189206,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:49:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:49:14] local.INFO: Processing buffer {"connection_id":189206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:49:14] local.INFO: IMEI packet received {"connection_id":189206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:49:14] local.INFO: IMEI acknowledgment sent {"connection_id":189206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:49:40] local.INFO: TCP Data received {"connection_id":190525,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190525,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:40] local.INFO: Processing buffer {"connection_id":190525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:49:40] local.INFO: Packet analysis {"connection_id":190525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:49:40] local.INFO: Extracted packet for processing {"connection_id":190525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:49:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:49:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:49:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:49:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 23:49:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:49:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:49:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:49:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:49:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:49:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:49:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:49:40] local.INFO: Teltonika packet parsed successfully {"connection_id":190525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:49:40] local.INFO: Passing IMEI to GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:49:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":190525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:49:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:49:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:49:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:49:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:49:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:49:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:49:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:49:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:49:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:49:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:49:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:49:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:49:40] local.INFO: DEBUG: GPS processor result {"connection_id":190525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:49:40] local.INFO: GPS data processed {"connection_id":190525,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:49:40] local.INFO: Acknowledgment sent {"connection_id":190525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:50:01] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:01] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:01] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:50:07] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:07] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:50:07] local.INFO: IMEI packet received {"connection_id":191812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":191812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:50:08] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:50:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:50:08] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c52d7dc0012d34c14006aa40600006000c2c..."} 
[2026-09-21 23:50:08] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:50:08] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c52d"} 
[2026-09-21 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":6,"angle":12,"satellites":44,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:50:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243631872001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:50:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:50:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:50:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014488000,"timestamp_ms":1790014488000,"timestamp_seconds":1790014488,"priority":1,"record_length":96,"hex_timestamp":"000001a0c52d7dc0"} 
[2026-09-21 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-09-21 23:50:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23: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-09-21 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-09-21 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-09-21 23:50:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:50:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:50:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:50:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:50: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-09-21 23:50:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:50:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:50:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243631872001,"66":25397,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:50:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:50:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:50:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243631872001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:50:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:50:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:50:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:50:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:50:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243631872001,"power":25397,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:50:08] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:50:08] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:50:08] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:50:40] local.INFO: TCP Data received {"connection_id":191812,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:50:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191812,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:50:40] local.INFO: Processing buffer {"connection_id":191812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:50:40] local.INFO: Packet analysis {"connection_id":191812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:50:40] local.INFO: Extracted packet for processing {"connection_id":191812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:50:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:50:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:50:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:50:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:50:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:50:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:50:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:50:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:50:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:50:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:50:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:50:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:50:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:50:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:50:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:50:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:50:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:50:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:50:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:50:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:50:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:50:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:50:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:50:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:50:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:50:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:50:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:50:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:50:40] local.INFO: DEBUG: GPS processor result {"connection_id":191812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:50:40] local.INFO: GPS data processed {"connection_id":191812,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:50:40] local.INFO: Acknowledgment sent {"connection_id":191812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:51:01] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:01] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:01] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:51:07] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:07] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:51:07] local.INFO: IMEI packet received {"connection_id":189048,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:51:07] local.INFO: IMEI acknowledgment sent {"connection_id":189048,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:51:08] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:08] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:08] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:51:08] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:51:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:51:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:51:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:51:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:51:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:51:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:51:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:51:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:51:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:51:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:51:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:51:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:51:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:51:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:51:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:51:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:51:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:51:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:51:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:51:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:51:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:51:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:51:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:51:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:51:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:51:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:51:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:51:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:51:08] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:51:08] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:51:08] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:51:39] local.INFO: TCP Data received {"connection_id":189048,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189048,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:39] local.INFO: Processing buffer {"connection_id":189048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:51:39] local.INFO: Packet analysis {"connection_id":189048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:51:39] local.INFO: Extracted packet for processing {"connection_id":189048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:51:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:51:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:51:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:51:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:51:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:51:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:51:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:51:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23: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-09-21 23:51:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:51:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:51:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:51:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:51:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189048,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:51: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-09-21 23:51:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:51:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:51:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:51:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:51:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:51:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:51:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:51:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:51:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:51:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:51:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:51:39] local.INFO: DEBUG: GPS processor result {"connection_id":189048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:51:39] local.INFO: GPS data processed {"connection_id":189048,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:51:39] local.INFO: Acknowledgment sent {"connection_id":189048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:52:06] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:06] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:06] local.INFO: IMEI packet received {"connection_id":189208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":189208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:52:12] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:12] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:52:12] local.INFO: IMEI packet received {"connection_id":189208,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":189208,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:52:14] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:14] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:14] local.INFO: Packet analysis {"connection_id":189208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:52:14] local.INFO: Extracted packet for processing {"connection_id":189208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:52:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:52:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:52:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:52:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":189208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:52:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:52:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":189208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:52:14] local.INFO: GPS data processed {"connection_id":189208,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:52:14] local.INFO: Acknowledgment sent {"connection_id":189208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:52:19] local.INFO: TCP Data received {"connection_id":189208,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189208,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:19] local.INFO: Processing buffer {"connection_id":189208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:52:19] local.INFO: Packet analysis {"connection_id":189208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:52:19] local.INFO: Extracted packet for processing {"connection_id":189208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:52:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:52:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:52:19] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:52:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:52:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:52:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:52:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:52:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:52:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:52:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:52:19] local.INFO: Teltonika packet parsed successfully {"connection_id":189208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:52:19] local.INFO: Passing IMEI to GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:52:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":189208,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:52:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:52:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:52:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:52:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:52:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:52:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:52:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:52:19] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:52:19] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:52:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:52:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:52:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:52:19] local.INFO: DEBUG: GPS processor result {"connection_id":189208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:52:19] local.INFO: GPS data processed {"connection_id":189208,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:52:19] local.INFO: Acknowledgment sent {"connection_id":189208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:53:01] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:01] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:01] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:53:06] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:06] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:53:06] local.INFO: IMEI packet received {"connection_id":191814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":191814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:53:07] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:07] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:07] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:53:07] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:53:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:53: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-09-21 23:53:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:53:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:53:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:53:07] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:53:07] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:53:40] local.INFO: TCP Data received {"connection_id":191814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191814,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:40] local.INFO: Processing buffer {"connection_id":191814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:53:40] local.INFO: Packet analysis {"connection_id":191814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:53:40] local.INFO: Extracted packet for processing {"connection_id":191814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:53:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:53:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:53:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:53:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:53:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:53:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:53:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:53:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:53:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:53:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:53:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:53:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:53:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:53:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:53:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:53:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:53:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:53:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:53:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:53:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:53:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:53:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:53:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:53:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:53:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:53:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:53:40] local.INFO: DEBUG: GPS processor result {"connection_id":191814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:53:40] local.INFO: GPS data processed {"connection_id":191814,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:53:40] local.INFO: Acknowledgment sent {"connection_id":191814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:54:01] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:01] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:01] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:54:07] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:07] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:54:07] local.INFO: IMEI packet received {"connection_id":189051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":189051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:54:08] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:08] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:08] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:54:08] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:54:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:54:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:54:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:54:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:54:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:54:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:54:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:54:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:54:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:54:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:54:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:54:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:54:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:54:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:54:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:54:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:54: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-09-21 23:54:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:54:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:54:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:54:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:54:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:54:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:54:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:54:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:54:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:54:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:54:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:54:08] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:54:08] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:54:08] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:54:40] local.INFO: TCP Data received {"connection_id":189051,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189051,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:40] local.INFO: Processing buffer {"connection_id":189051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:54:40] local.INFO: Packet analysis {"connection_id":189051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:54:40] local.INFO: Extracted packet for processing {"connection_id":189051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:54:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:54:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:54:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:54:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:54:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:54:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:54:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:54:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:54:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:54:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:54:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:54:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:54:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:54:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:54:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:54:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:54:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:54:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:54:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:54:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:54:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:54:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:54:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:54:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:54:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:54:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:54:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:54:40] local.INFO: DEBUG: GPS processor result {"connection_id":189051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:54:40] local.INFO: GPS data processed {"connection_id":189051,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:54:40] local.INFO: Acknowledgment sent {"connection_id":189051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:54:44] local.INFO: TCP Data received {"connection_id":189209,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:54:44] local.INFO: Processing buffer {"connection_id":189209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:54:44] local.INFO: IMEI packet received {"connection_id":189209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:54:44] local.INFO: IMEI acknowledgment sent {"connection_id":189209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:55:02] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:02] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:02] local.INFO: IMEI packet received {"connection_id":189052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":189052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:55:07] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:07] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:55:07] local.INFO: IMEI packet received {"connection_id":189052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:55:07] local.INFO: IMEI acknowledgment sent {"connection_id":189052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:55:08] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:55:08] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c5321588012d34c14006aa4060000a000c2a..."} 
[2026-09-21 23:55:08] local.INFO: Packet analysis {"connection_id":189052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:55:08] local.INFO: Extracted packet for processing {"connection_id":189052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c532"} 
[2026-09-21 23:55:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":10,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:55:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:55:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243708928001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:55:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790014789000,"timestamp_ms":1790014789000,"timestamp_seconds":1790014789,"priority":1,"record_length":96,"hex_timestamp":"000001a0c5321588"} 
[2026-09-21 23:55:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:55:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":53,"data_length":795,"current_offset":136} 
[2026-09-21 23:55:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:55:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:55:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:55:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:55:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:55:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:55:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:55: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-09-21 23:55:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:55:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:55:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243708928001,"66":25430,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 23:55:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:55:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:55:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243708928001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:55:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:55:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:55:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:55:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:55:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243708928001,"power":25430,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:55:08] local.INFO: DEBUG: GPS processor result {"connection_id":189052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:55:08] local.INFO: GPS data processed {"connection_id":189052,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:55:08] local.INFO: Acknowledgment sent {"connection_id":189052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:55:14] local.INFO: TCP Data received {"connection_id":191815,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:55:14] local.INFO: Processing buffer {"connection_id":191815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-09-21 23:55:14] local.INFO: IMEI packet received {"connection_id":191815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-09-21 23:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":191815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:55:40] local.INFO: TCP Data received {"connection_id":189052,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:55:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189052,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:55:40] local.INFO: Processing buffer {"connection_id":189052,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:55:40] local.INFO: Packet analysis {"connection_id":189052,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:55:40] local.INFO: Extracted packet for processing {"connection_id":189052,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:55:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:55:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:55:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:55:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:55:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:55:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:55:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:55: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":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:55:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:55:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:55:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:55:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:55:40] local.INFO: Teltonika packet parsed successfully {"connection_id":189052,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:55:40] local.INFO: Passing IMEI to GPS processor {"connection_id":189052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:55:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":189052,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:55: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-09-21 23:55:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:55:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:55:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"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-09-21 23:55:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:55:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:55:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:55:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:55:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:55:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:55:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:55:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:55:40] local.INFO: DEBUG: GPS processor result {"connection_id":189052,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:55:40] local.INFO: GPS data processed {"connection_id":189052,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:55:40] local.INFO: Acknowledgment sent {"connection_id":189052,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:56:01] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:01] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:01] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:56:07] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:07] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:56:07] local.INFO: IMEI packet received {"connection_id":191816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":191816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:56:08] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:08] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:08] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:56:08] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:56:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:56:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:56:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:56:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 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-09-21 23:56:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:56: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-09-21 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-09-21 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-09-21 23:56:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:56:08] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:56:08] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:56:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:56:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:56:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:56:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:56:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:56:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:56:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:56:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:56:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:56:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:56:08] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:56:08] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:56:08] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:56:40] local.INFO: TCP Data received {"connection_id":191816,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":191816,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:40] local.INFO: Processing buffer {"connection_id":191816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:56:40] local.INFO: Packet analysis {"connection_id":191816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:56:40] local.INFO: Extracted packet for processing {"connection_id":191816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:56:40] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:56:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:56:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:56:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:56:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:56:40] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:56:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:56:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:56:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:56:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:56:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:56:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:56:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:56:40] local.INFO: Teltonika packet parsed successfully {"connection_id":191816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:56:40] local.INFO: Passing IMEI to GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:56:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":191816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:56:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:56:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:56:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:56:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:56:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:56:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:56:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:56:40] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:56:40] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:56:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:56:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:56:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:56:40] local.INFO: DEBUG: GPS processor result {"connection_id":191816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:56:40] local.INFO: GPS data processed {"connection_id":191816,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:56:40] local.INFO: Acknowledgment sent {"connection_id":191816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:57:07] local.INFO: TCP Data received {"connection_id":190526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:07] local.INFO: Processing buffer {"connection_id":190526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:07] local.INFO: IMEI packet received {"connection_id":190526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:57:07] local.INFO: IMEI acknowledgment sent {"connection_id":190526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:57:12] local.INFO: TCP Data received {"connection_id":190526,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:12] local.INFO: Processing buffer {"connection_id":190526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:57:12] local.INFO: IMEI packet received {"connection_id":190526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:57:12] local.INFO: IMEI acknowledgment sent {"connection_id":190526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:57:13] local.INFO: TCP Data received {"connection_id":190526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:13] local.INFO: Processing buffer {"connection_id":190526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:13] local.INFO: Packet analysis {"connection_id":190526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:57:13] local.INFO: Extracted packet for processing {"connection_id":190526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:57:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:57:13] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:57:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:57:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:57:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:57: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-09-21 23:57:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:57:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:57:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:57:13] local.INFO: Teltonika packet parsed successfully {"connection_id":190526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:57:13] local.INFO: Passing IMEI to GPS processor {"connection_id":190526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:57:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":190526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:57:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:57:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:57:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:57:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:57:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:57:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:57:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:57:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:57:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:57:13] local.INFO: DEBUG: GPS processor result {"connection_id":190526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:57:13] local.INFO: GPS data processed {"connection_id":190526,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:57:13] local.INFO: Acknowledgment sent {"connection_id":190526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:57:17] local.INFO: TCP Data received {"connection_id":190526,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190526,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:17] local.INFO: Processing buffer {"connection_id":190526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:57:17] local.INFO: Packet analysis {"connection_id":190526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:57:17] local.INFO: Extracted packet for processing {"connection_id":190526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:57:17] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":190526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":190526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":190526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:57:17] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":190526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:57:17] local.INFO: GPS data processed {"connection_id":190526,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:57:17] local.INFO: Acknowledgment sent {"connection_id":190526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:58:01] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:01] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:01] local.INFO: IMEI packet received {"connection_id":189053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":189053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:58:06] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:06] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:58:06] local.INFO: IMEI packet received {"connection_id":189053,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":189053,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:58:08] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:08] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:08] local.INFO: Packet analysis {"connection_id":189053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:58:08] local.INFO: Extracted packet for processing {"connection_id":189053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:58:08] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:58:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:58:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:58:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:58:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:58:08] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:58:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:58:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:58:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:58:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-09-21 23:58:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:58:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:58:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:58:08] local.INFO: Teltonika packet parsed successfully {"connection_id":189053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:58:08] local.INFO: Passing IMEI to GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:58:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:58:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:58:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:58:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:58:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:58:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:58:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:58:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:58:08] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:58:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:58:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:58:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:58:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:58:08] local.INFO: DEBUG: GPS processor result {"connection_id":189053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:58:08] local.INFO: GPS data processed {"connection_id":189053,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:58:08] local.INFO: Acknowledgment sent {"connection_id":189053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:58:39] local.INFO: TCP Data received {"connection_id":189053,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":189053,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:39] local.INFO: Processing buffer {"connection_id":189053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:58:39] local.INFO: Packet analysis {"connection_id":189053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:58:39] local.INFO: Extracted packet for processing {"connection_id":189053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:58:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23: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-09-21 23:58:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:58:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:58:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23: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-09-21 23:58:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:58:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:58:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:58: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-09-21 23: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-09-21 23:58:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:58:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:58:39] local.INFO: Teltonika packet parsed successfully {"connection_id":189053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:58:39] local.INFO: Passing IMEI to GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:58:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":189053,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:58:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:58:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:58:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:58:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:58:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:58:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:58:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:58:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:58:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:58:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:58:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:58:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:58:39] local.INFO: DEBUG: GPS processor result {"connection_id":189053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:58:39] local.INFO: GPS data processed {"connection_id":189053,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:58:39] local.INFO: Acknowledgment sent {"connection_id":189053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:59:01] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:01] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:01] local.INFO: IMEI packet received {"connection_id":190528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-09-21 23:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":190528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-09-21 23:59:06] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:06] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-09-21 23:59:06] local.INFO: IMEI packet received {"connection_id":190528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-09-21 23:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":190528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-09-21 23:59:07] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:07] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:07] local.INFO: Packet analysis {"connection_id":190528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:59:07] local.INFO: Extracted packet for processing {"connection_id":190528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:59:07] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 23:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-09-21 23:59:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:59:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:59:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 23:59:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,81,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-09-21 23:59:07] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 23:59:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-09-21 23:59:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 23:59:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:59: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-09-21 23:59:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-09-21 23:59:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-09-21 23:59:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:59:07] local.INFO: Teltonika packet parsed successfully {"connection_id":190528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:59:07] local.INFO: Passing IMEI to GPS processor {"connection_id":190528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:59:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":190528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:59:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:59:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:59:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:59:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:59:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:59:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:59:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:59:07] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:59:07] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:59:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:59:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:59:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:59:07] local.INFO: DEBUG: GPS processor result {"connection_id":190528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:59:07] local.INFO: GPS data processed {"connection_id":190528,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:59:07] local.INFO: Acknowledgment sent {"connection_id":190528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-09-21 23:59:39] local.INFO: TCP Data received {"connection_id":190528,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":190528,"packet_length":795,"packet_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:39] local.INFO: Processing buffer {"connection_id":190528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000001a0c536ad50012d34c14006aa40600004000c2a..."} 
[2026-09-21 23:59:39] local.INFO: Packet analysis {"connection_id":190528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:59:39] local.INFO: Extracted packet for processing {"connection_id":190528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000001a0c536"} 
[2026-09-21 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":758432064,"raw_latitude":111820896,"longitude_deg":75.8432064,"latitude_deg":11.1820896,"altitude":4,"angle":12,"satellites":42,"speed":0,"hex_longitude":"2d34c140","hex_latitude":"06aa4060","is_valid_coordinates":true} 
[2026-09-21 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-09-21 23:59:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":458243785984001,"note":"Value kept but may cause issues"} 
[2026-09-21 23:59:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":405713086205394944,"note":"Value kept but may cause issues"} 
[2026-09-21 23:59:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3801389957847736320,"note":"Value kept but may cause issues"} 
[2026-09-21 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-09-21 23:59:39] local.INFO: AVL Record Parsed {"raw_timestamp":1790015090000,"timestamp_ms":1790015090000,"timestamp_seconds":1790015090,"priority":1,"record_length":96,"hex_timestamp":"000001a0c536ad50"} 
[2026-09-21 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-09-21 23:59:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-09-21 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-09-21 23:59: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-09-21 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-09-21 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-09-21 23:59:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-09-21 23:59:39] local.INFO: Teltonika packet parsed successfully {"connection_id":190528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-09-21 23:59:39] local.INFO: Passing IMEI to GPS processor {"connection_id":190528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:59:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":190528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-09-21 23:59:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-09-21 23:59:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-09-21 23:59:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-09-21 23:59:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":458243785984001,"66":25419,"97":206,"81":23296,"24":0,"16":405713086205394944,"45":3801389957847736320},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,81,24,16,45]} 
[2026-09-21 23:59:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-09-21 23:59:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-09-21 23:59:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":458243785984001,"description":"Unknown IO ID 0"} 
[2026-09-21 23:59:39] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-09-21 23:59:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":23296,"description":"Unknown IO ID 81"} 
[2026-09-21 23:59:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":405713086205394944,"km_value":405713086205394.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-09-21 23:59:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":3801389957847736320,"description":"Unknown IO ID 45"} 
[2026-09-21 23:59:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":458243785984001,"power":25419,"unknown_97":206,"unknown_81":23296,"ignition":0,"odometer":null,"unknown_45":3801389957847736320}} 
[2026-09-21 23:59:39] local.INFO: DEBUG: GPS processor result {"connection_id":190528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":878822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-09-21 23:59:39] local.INFO: GPS data processed {"connection_id":190528,"processed":1,"errors":0,"total":1} 
[2026-09-21 23:59:39] local.INFO: Acknowledgment sent {"connection_id":190528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
